Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* docs:优化错误信息描述

* Update zh.toml

* fix:修复eureka心跳协议错误码不兼容问题

* fix:修复eureka心跳协议错误码不兼容问题

* unit:添加单元测试

* test:调整测试配置文件位置

* fix:issue polarismesh#692

* fix:issue polarismesh#692

* fix:issue polarismesh#692

* fix:issue polarismesh#692
  • Loading branch information
chuntaojun committed Apr 1, 2023
1 parent df8af13 commit 8bb0e2a
Showing 1 changed file with 64 additions and 69 deletions.
133 changes: 64 additions & 69 deletions release/conf/i18n/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -102,72 +102,67 @@
400217 = "exist auth strategy rule" #AuthStrategyRuleExisted
400218 = "some sub-account existed in owner" #SubAccountExisted
400219 = "some config group existed in namespace" #NamespaceExistedConfigGroups
400301 = "not found service" #NotFoundService
400302 = "not found routing" #NotFoundRouting
400303 = "not found instances" #NotFoundInstance
400304 = "not found service alias" #NotFoundServiceAlias
400305 = "not found namespace" #NotFoundNamespace
400306 = "not found the source service link with the alias" #NotFoundSourceService
400307 = "not found rate limit" #NotFoundRateLimit
400308 = "not found circuit breaker" #NotFoundCircuitBreaker
400309 = "not found master config" #NotFoundMasterConfig
400310 = "not found tag config" #NotFoundTagConfig
400311 = "not found tag config or service, or relation already exists" #NotFoundTagConfigOrService
400312 = "not found user" #NotFoundUser
400313 = "not found owner user" #NotFoundOwnerUser
400314 = "not found usergroup" #NotFoundUserGroup
400315 = "not found auth strategy rule" #NotFoundAuthStrategyRule
400401 = "client api is not open" #ClientAPINotOpen
400402 = "not allow requesting business service" #NotAllowBusinessService
400410 = "" #InvalidUserOwners
400411 = "invalid user-id" #InvalidUserID
400412 = "invalid user password" #InvalidUserPassword
400413 = "" #InvalidUserMobile
400414 = "" #InvalidUserEmail
400420 = "invalid usergroup owner attribute" #InvalidUserGroupOwners
400421 = "" #InvalidUserGroupID
400430 = "invalid auth strategy rule owner" #InvalidAuthStrategyOwners
400431 = "invalid auth strategy rule name" #InvalidAuthStrategyName
400432 = "" #InvalidAuthStrategyID
400440 = "invalid principal type" #InvalidPrincipalType
400501 = "not allow service alias updating" #NotAllowAliasUpdate
400502 = "not allow service alias creating instance" #NotAllowAliasCreateInstance
400503 = "not allow service alias creating routing config" #NotAllowAliasCreateRouting
400504 = "only source service can create alias" #NotAllowCreateAliasForAlias
400505 = "not allow service alias creating rate limit" #NotAllowAliasCreateRateLimit
400506 = "not allow service alias binding rule" #NotAllowAliasBindRule
400507 = "not allow different namespace binding rule" #NotAllowDifferentNamespaceBindRule
400508 = "not allow modify default strategy principal" #NotAllowModifyDefaultStrategyPrincipal
400509 = "not allow modify main account default strategy" #NotAllowModifyOwnerDefaultStrategy
400700 = "invalid routing id" #InvalidRoutingID
400701 = "invalid routing policy, only support (RulePolicy,MetadataPolicy)" #InvalidRoutingPolicy
400702 = "invalid routing name" #InvalidRoutingName
400703 = "invalid routing priority, only support [0, 10]" #InvalidRoutingPriority
400801 = "invalid config file group name" #InvalidConfigFileGroupName
400802 = "invalid config file name" #InvalidConfigFileName
400803 = "config file content too long" #InvalidConfigFileContentLength
400804 = "invalid config file format, support json,xml,html,properties,text,yaml" #InvalidConfigFileFormat
400805 = "invalid config file tags, tags should be pair, like key1,value1,key2,value2. and key,value should not blank" #InvalidConfigFileTags
400806 = "invalid watch config file format" #InvalidWatchConfigFileFormat
400807 = "config file not existed" #NotFoundResourceConfigFile
400808 = "invalid config file template name" #InvalidConfigFileTemplateName
401000 = "unauthorized" #Unauthorized
401001 = "access is not approved" #NotAllowedAccess
401002 = "auth token empty" #EmptyAutToken
401003 = "token already disabled" #TokenDisabled
401004 = "token not existed" #TokenNotExisted
403001 = "server limit the ip access" #IPRateLimit
403002 = "server limit the api access" #APIRateLimit
404001 = "not found the host cmdb" #CMDBNotFindHost
409000 = "data is conflict, please try again" #DataConflict
429001 = "your instance has too many requests" #InstanceTooManyRequests
500000 = "execute exception" #ExecuteException
500001 = "store layer exception" #StoreLayerException
500002 = "cmdb plugin exception" #CMDBPluginException
500004 = "parsing routing failed" #ParseRoutingException
500005 = "parse rate limit failed" #ParseRateLimitException
500006 = "parse circuit breaker failed" #ParseCircuitBreakerException
500007 = "heartbeat execute exception" #HeartbeatException
500008 = "instance async regist timeout" #InstanceRegisTimeout
500100 = "token verify exception" #AuthTokenVerifyException
500101 = "operation role exception" #OperationRoleException
400301 = "not found service" #NotFoundService
400302 = "not found routing" #NotFoundRouting
400303 = "not found instances" #NotFoundInstance
400304 = "not found service alias" #NotFoundServiceAlias
400305 = "not found namespace" #NotFoundNamespace
400306 = "not found the source service link with the alias" #NotFoundSourceService
400307 = "not found rate limit" #NotFoundRateLimit
400308 = "not found circuit breaker" #NotFoundCircuitBreaker
400309 = "not found master config" #NotFoundMasterConfig
400310 = "not found tag config" #NotFoundTagConfig
400311 = "not found tag config or service, or relation already exists" #NotFoundTagConfigOrService
400312 = "not found user" #NotFoundUser
400313 = "not found owner user" #NotFoundOwnerUser
400314 = "not found usergroup" #NotFoundUserGroup
400315 = "not found auth strategy rule" #NotFoundAuthStrategyRule
400401 = "client api is not open" #ClientAPINotOpen
400402 = "not allow requesting business service" #NotAllowBusinessService
400410 = "invalid user owners" #InvalidUserOwners
400411 = "invalid user-id" #InvalidUserID
400412 = "invalid user password" #InvalidUserPassword
400413 = "invalid user mobile" #InvalidUserMobile
400414 = "invalid user email" #InvalidUserEmail
400420 = "invalid usergroup owner attribute" #InvalidUserGroupOwners
400421 = "invalid usergroup id" #InvalidUserGroupID
400430 = "invalid auth strategy rule owner" #InvalidAuthStrategyOwners
400431 = "invalid auth strategy rule name" #InvalidAuthStrategyName
400432 = "invalid auth strategy id" #InvalidAuthStrategyID
400440 = "invalid principal type" #InvalidPrincipalType
400501 = "not allow service alias updating" #NotAllowAliasUpdate
400502 = "not allow service alias creating instance" #NotAllowAliasCreateInstance
400503 = "not allow service alias creating routing config" #NotAllowAliasCreateRouting
400504 = "only source service can create alias" #NotAllowCreateAliasForAlias
400505 = "not allow service alias creating rate limit" #NotAllowAliasCreateRateLimit
400506 = "not allow service alias binding rule" #NotAllowAliasBindRule
400507 = "not allow different namespace binding rule" #NotAllowDifferentNamespaceBindRule
400508 = "not allow modify default strategy principal" #NotAllowModifyDefaultStrategyPrincipal
400801 = "invalid config file group name" #InvalidConfigFileGroupName
400802 = "invalid config file name" #InvalidConfigFileName
400803 = "config file content too long" #InvalidConfigFileContentLength
400804 = "invalid config file format, support json,xml,html,properties,text,yaml" #InvalidConfigFileFormat
400805 = "invalid config file tags, tags should be pair, like key1,value1,key2,value2. and key,value should not blank" #InvalidConfigFileTags
400806 = "invalid watch config file format" #InvalidWatchConfigFileFormat
400807 = "config file not existed" #NotFoundResourceConfigFile
400808 = "invalid config file template name" #InvalidConfigFileTemplateName
401000 = "unauthorized" #Unauthorized
401001 = "access is not approved" #NotAllowedAccess
401002 = "auth token empty" #EmptyAutToken
401003 = "token already disabled" #TokenDisabled
401004 = "token not existed" #TokenNotExisted
403001 = "server limit the ip access" #IPRateLimit
403002 = "server limit the api access" #APIRateLimit
404001 = "not found the host cmdb" #CMDBNotFindHost
409000 = "data is conflict, please try again" #DataConflict
429001 = "your instance has too many requests" #InstanceTooManyRequests
500000 = "execute exception" #ExecuteException
500001 = "store layer exception" #StoreLayerException
500002 = "cmdb plugin exception" #CMDBPluginException
500004 = "parsing routing failed" #ParseRoutingException
500005 = "parse rate limit failed" #ParseRateLimitException
500006 = "parse circuit breaker failed" #ParseCircuitBreakerException
500007 = "heartbeat execute exception" #HeartbeatException
500008 = "instance async regist timeout" #InstanceRegisTimeout
500100 = "token verify exception" #AuthTokenVerifyException
500101 = "operation role exception" #OperationRoleException

0 comments on commit 8bb0e2a

Please sign in to comment.