castorqin commented on code in PR #9101:
URL: https://github.com/apache/inlong/pull/9101#discussion_r1369994362
##########
inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/config/ProxyConfigManager.java:
##########
@@ -740,8 +741,8 @@ private String requestConfiguration(String url,
List<BasicNameValuePair> params)
httpPost.addHeader(BasicAuth.BASIC_AUTH_HEADER,
BasicAuth.genBasicAuthCredential(clientConfig.getAuthSecretId(),
clientConfig.getAuthSecretKey()));
- StringEntity se = getEntity(params);
- httpPost.setEntity(se);
+ UrlEncodedFormEntity urlEncodedFormEntity = new
UrlEncodedFormEntity(params, "UTF-8");
+ httpPost.setEntity(urlEncodedFormEntity);
HttpResponse response = httpClient.execute(httpPost);
returnStr = EntityUtils.toString(response.getEntity());
if (Utils.isNotBlank(returnStr) &&
response.getStatusLine().getStatusCode() == 200) {
Review Comment:
done
##########
inlong-sdk/dataproxy-sdk/pom.xml:
##########
@@ -108,6 +108,35 @@
-Dmaven.deploy.skip=true</arguments>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>3.2.4</version>
Review Comment:
done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]