فهرست منبع

TESLASTREAM SDK Auto Released By shenshi,Version:1.34.12

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 7 سال پیش
والد
کامیت
7f3826c2f9
3فایلهای تغییر یافته به همراه7 افزوده شده و 4 حذف شده
  1. 3 0
      CHANGELOG
  2. 1 1
      VERSION
  3. 3 3
      teslastream/src/TeslaStreamClient.cc

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2019-03-13 Version: 1.34.12
+1, Distinguish between system and service parameters
+
 2019-03-13 Version: 1.34.11
 1, add DescribeDemands interface
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.34.11
+1.34.12

+ 3 - 3
teslastream/src/TeslaStreamClient.cc

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