Преглед изворни кода

Support groupId operations.

sdk-team пре 6 година
родитељ
комит
7041b32dc4
3 измењених фајлова са 7 додато и 4 уклоњено
  1. 3 0
      CHANGELOG
  2. 1 1
      VERSION
  3. 3 3
      onsmqtt/src/OnsMqttClient.cc

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2020-04-29 Version: 1.36.390
+- Support groupId operations.
+
 2020-04-29 Version: 1.36.389
 - Add ExportTas apis.
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.389
+1.36.390

+ 3 - 3
onsmqtt/src/OnsMqttClient.cc

@@ -31,21 +31,21 @@ OnsMqttClient::OnsMqttClient(const Credentials &credentials, const ClientConfigu
 	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, "onsmqtt");
 }
 
 OnsMqttClient::OnsMqttClient(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, "onsmqtt");
 }
 
 OnsMqttClient::OnsMqttClient(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, "onsmqtt");
 }
 
 OnsMqttClient::~OnsMqttClient()