Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16436

SMN component-support custom service endpoint

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.8.0, 3.9.0
    • Fix Version/s: 3.8.0
    • Component/s: None
    • Labels:
    • Environment:
    • Estimated Complexity:
      Moderate

      Description

      In current SMN component, we get endpoint of  the service using the 

      SmnRegion.valueOf(region).getEndpoint() method in huaweicloud-sdk-smn-3.0.32, while the SmnRegion.valueOf() method restricts the region to Huawei Public Cloud regions. In some situation, sunch as  Huwei Private Cloud, the regions are differernt from those in Public Cloud, and we cannot use the method anymore, so we need to customize the endpoint address. 

      According to the '3. Client Initialization' part in document of SMN SDK, it supports two ways to get endpoint, through region and through  specified endpoint. We can add a new parameter In SMN component , which can enable users to use a custom SMN endpoint.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lyndonmiao lyndonmiao
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified