Sfoglia il codice sorgente

Modify the helpUrl parameter of OnsTopicList and OnsGroupList API to be invisible.

sdk-team 5 anni fa
parent
commit
7035fc5c51
3 ha cambiato i file con 7 aggiunte e 4 eliminazioni
  1. 3 0
      CHANGELOG
  2. 1 1
      VERSION
  3. 3 3
      ons/src/OnsClient.cc

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2021-03-19 Version: 1.36.645
+- Modify the helpUrl parameter of OnsTopicList and OnsGroupList API to be invisible.
+
 2021-03-19 Version: 1.36.644
 - Export new API.
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.644
+1.36.645

+ 3 - 3
ons/src/OnsClient.cc

@@ -31,21 +31,21 @@ OnsClient::OnsClient(const Credentials &credentials, const ClientConfiguration &
 	RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
 {
 	auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
-	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
+	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "ons");
 }
 
 OnsClient::OnsClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
 	RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
 {
 	auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
-	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
+	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "ons");
 }
 
 OnsClient::OnsClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
 	RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
 {
 	auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
-	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
+	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "ons");
 }
 
 OnsClient::~OnsClient()