This is an automated email from the ASF dual-hosted git repository.

shenlin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-eventbridge.git


The following commit(s) were added to refs/heads/main by this push:
     new dc195f9  [ISSUE #67] Fix chinese character (#73)
dc195f9 is described below

commit dc195f9109095776b38cd8c1dfb23a724bca8593
Author: zhaohai <[email protected]>
AuthorDate: Mon Apr 3 15:49:52 2023 +0800

    [ISSUE #67] Fix chinese character (#73)
    
    [ISSUE #67] Fix chinese character (#73)
---
 .../common/exception/EventBridgeErrorCode.java     | 36 +++++++++++-----------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git 
a/domain/src/main/java/org/apache/rocketmq/eventbridge/domain/common/exception/EventBridgeErrorCode.java
 
b/domain/src/main/java/org/apache/rocketmq/eventbridge/domain/common/exception/EventBridgeErrorCode.java
index 71f45ce..78ccb8a 100644
--- 
a/domain/src/main/java/org/apache/rocketmq/eventbridge/domain/common/exception/EventBridgeErrorCode.java
+++ 
b/domain/src/main/java/org/apache/rocketmq/eventbridge/domain/common/exception/EventBridgeErrorCode.java
@@ -98,17 +98,17 @@ public enum EventBridgeErrorCode implements BaseErrorCode {
     LimitSizeInvalid(409, "LimitSizeInvalid", "The limit size of page is 
invalid, which must greater than 0 and less than [{0}]."),
     NextTokenInvalid(409, "NextTokenInvalid", "The next token of page is 
invalid. which should be {[0]}."),
     OauthHttpParametersEmpty(409, "OauthHttpParametersEmpty", 
"OauthHttpParameters is Empty."),
-    BasicRequiredParameterIsEmpty(409, "BasicRequiredParameterIsEmpty", "Basic 
required parameters are empty, the required parameters are username and 
password !"),
+    BasicRequiredParameterIsEmpty(409, "BasicRequiredParameterIsEmpty", "Basic 
required parameters are empty, the required parameters are username and 
password!"),
 
-    BasicUserNameLengthExceed(409, "BasicUserNameLengthExceed", "Basic 
username length cannot exceed 127 !"),
+    BasicUserNameLengthExceed(409, "BasicUserNameLengthExceed", "Basic 
username length cannot exceed 127!"),
 
-    BasicPassWordLengthExceed(409, "BasicPassWordLengthExceed", "Basic 
password length cannot exceed 127 !"),
+    BasicPassWordLengthExceed(409, "BasicPassWordLengthExceed", "Basic 
password length cannot exceed 127!"),
 
-    ApiKeyNameLengthExceed(409, "ApiKeyNameLengthExceed", "Api key name length 
cannot exceed 127 !"),
+    ApiKeyNameLengthExceed(409, "ApiKeyNameLengthExceed", "Api key name length 
cannot exceed 127!"),
 
-    ApiKeyValueLengthExceed(409, "ApiKeyValueLengthExceed", "Api key value 
length cannot exceed 127 !"),
-    ApiKeyRequiredParameterIsEmpty(409, "ApiKeyRequiredParameterIsEmpty", "Api 
Key required parameters are empty, the required parameters are apiKeyName and 
apiKeyValue !"),
-    OAuthRequiredParameterIsEmpty(409, "OAuthRequiredParameterIsEmpty", "OAuth 
required parameters are empty, the required parameters are 
authorizationEndpoint and httpMethod !"),
+    ApiKeyValueLengthExceed(409, "ApiKeyValueLengthExceed", "Api key value 
length cannot exceed 127!"),
+    ApiKeyRequiredParameterIsEmpty(409, "ApiKeyRequiredParameterIsEmpty", "Api 
Key required parameters are empty, the required parameters are apiKeyName and 
apiKeyValue!"),
+    OAuthRequiredParameterIsEmpty(409, "OAuthRequiredParameterIsEmpty", "OAuth 
required parameters are empty, the required parameters are 
authorizationEndpoint and httpMethod!"),
 
     //API Destination
     ApiDestinationNameInvalid(409, "ApiDestinationNameInvalid", "The 
api-destination name [{0}] is invalid! Which should match the pattern [{1}]."),
@@ -122,19 +122,19 @@ public enum EventBridgeErrorCode implements BaseErrorCode 
{
     SecretManagerAPIDeleteSecretFailed(409, 
"SecretManagerAPIDeleteSecretFailed", "Delete secret manager api secret [{0}] 
failed"),
     SecretManagerAPIGetSecretValueFailed(409, 
"SecretManagerAPIGetSecretValueFailed", "Get secret manager api secret value 
[{0}] failed"),
 
-    HttpApiParametersIsNull(409, "HttpApiParametersIsNull", "HttpApiParameters 
is null !"),
-    EndpointIsBlank(409, "EndpointIsBlank", "Endpoint is blank !"),
-    MethodIsBlank(409, "Method", "Method is blank !"),
-    NetworkParametersIsNull(409, "NetworkParametersIsNull", "NetworkParameters 
is null !"),
-    NetworkTypeIsBlank(409, "NetworkTypeIsBlank", "NetworkType is blank !"),
-    EndpointLengthExceed(409, "EndpointLengthExceed", "Endpoint length cannot 
exceed 127 !"),
+    HttpApiParametersIsNull(409, "HttpApiParametersIsNull", "HttpApiParameters 
is null!"),
+    EndpointIsBlank(409, "EndpointIsBlank", "Endpoint is blank!"),
+    MethodIsBlank(409, "Method", "Method is blank!"),
+    NetworkParametersIsNull(409, "NetworkParametersIsNull", "NetworkParameters 
is null!"),
+    NetworkTypeIsBlank(409, "NetworkTypeIsBlank", "NetworkType is blank!"),
+    EndpointLengthExceed(409, "EndpointLengthExceed", "Endpoint length cannot 
exceed 127!"),
 
-    ClientIDLengthExceed(409, "ClientIDLengthExceed", "ClientID length cannot 
exceed 127 !"),
+    ClientIDLengthExceed(409, "ClientIDLengthExceed", "ClientID length cannot 
exceed 127!"),
 
-    ClientSecretLengthExceed(409, "ClientSecretLengthExceed", "ClientSecret 
length cannot exceed 127 !"),
-    AuthorizationEndpointLengthExceed(409, 
"AuthorizationEndpointLengthExceed", "Authorization endpoint length cannot 
exceed 127 !"),
-    NetworkParametersIsEmpty(409, "NetworkParametersIsEmpty", "Network 
required parameter is empty !"),
-    RequestParameterInvalid(409, "RequestParameterInvalid", "Request parameter 
Invalid !");
+    ClientSecretLengthExceed(409, "ClientSecretLengthExceed", "ClientSecret 
length cannot exceed 127!"),
+    AuthorizationEndpointLengthExceed(409, 
"AuthorizationEndpointLengthExceed", "Authorization endpoint length cannot 
exceed 127!"),
+    NetworkParametersIsEmpty(409, "NetworkParametersIsEmpty", "Network 
required parameter is empty!"),
+    RequestParameterInvalid(409, "RequestParameterInvalid", "Request parameter 
Invalid!");
 
     private final int httpCode;
     private final String code;

Reply via email to