You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "lyndonmiao (Jira)" <ji...@apache.org> on 2021/03/31 02:56:00 UTC
[jira] [Updated] (CAMEL-16435) SMN component-support custom service
endpoint
[ https://issues.apache.org/jira/browse/CAMEL-16435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
lyndonmiao updated CAMEL-16435:
-------------------------------
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.
We can add a new parameter In SMN component , which can enable users to use a custom SMN endpoint.
was:
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.
Environment: (was: [Document of SMN SDK|https://github.com/huaweicloud/huaweicloud-sdk-java-v3/blob/master/README.md])
> SMN component-support custom service endpoint
> ---------------------------------------------
>
> Key: CAMEL-16435
> URL: https://issues.apache.org/jira/browse/CAMEL-16435
> Project: Camel
> Issue Type: Improvement
> Affects Versions: 3.8.0, 3.9.0
> Reporter: lyndonmiao
> Priority: Major
> Labels: SMN
> Fix For: 3.8.0
>
> Original Estimate: 168h
> Remaining Estimate: 168h
>
> 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.
> We can add a new parameter In SMN component , which can enable users to use a custom SMN endpoint.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)