diff --git a/apiserver/httpserver/i18n/en.toml b/apiserver/httpserver/i18n/en.toml index b86443923..d514a7755 100644 --- a/apiserver/httpserver/i18n/en.toml +++ b/apiserver/httpserver/i18n/en.toml @@ -1,158 +1,153 @@ -200000 = "execute success" #ExecuteSuccess -200001 = "discover data is no change" #DataNoChange -200002 = "update data is no change, no need to update" #NoNeedUpdate -400000 = "bad request" #BadRequest -400001 = "request decode failed" #ParseException -400002 = "empty request" #EmptyRequest -400003 = "batch size over the limit" #BatchSizeOverLimit -400004 = "invalid discover resource" #InvalidDiscoverResource -400100 = "invalid request id" #InvalidRequestID -400101 = "invalid user name" #InvalidUserName -400102 = "invalid user token" #InvalidUserToken -400103 = "invalid parameter" #InvalidParameter -400104 = "query instance parameter is empty" #EmptyQueryParameter -400105 = "query instance, (service,namespace) or host is required" #InvalidQueryInsParameter -400110 = "invalid namespace name" #InvalidNamespaceName -400111 = "invalid namespace owners" #InvalidNamespaceOwners -400112 = "invalid namespace token" #InvalidNamespaceToken -400120 = "invalid service name" #InvalidServiceName -400121 = "invalid service owners" #InvalidServiceOwners -400122 = "invalid service token" #InvalidServiceToken -400123 = "invalid service metadata" #InvalidServiceMetadata -400124 = "invalid service ports" #InvalidServicePorts -400125 = "invalid service business" #InvalidServiceBusiness -400126 = "invalid service department" #InvalidServiceDepartment -400127 = "invalid service CMDB" #InvalidServiceCMDB -400128 = "invalid service comment" #InvalidServiceComment -400129 = "invalid service alias comment" #InvalidServiceAliasComment -400130 = "invalid instance id" #InvalidInstanceID -400131 = "invalid instance host" #InvalidInstanceHost -400132 = "invalid instance port" #InvalidInstancePort -400133 = "invalid service alias" #InvalidServiceAlias -400134 = "request namespace is not allow to create sid type alias" #InvalidNamespaceWithAlias -400135 = "invalid service alias owners" #InvalidServiceAliasOwners -400136 = "invalid instance protocol" #InvalidInstanceProtocol -400137 = "invalid instance version" #InvalidInstanceVersion -400138 = "invalid instance logic set" #InvalidInstanceLogicSet -400139 = "invalid instance isolate" #InvalidInstanceIsolate -400140 = "server not open health check" #HealthCheckNotOpen -400141 = "heartbeat on disabled instance" #HeartbeatOnDisabledIns -400142 = "instance can only heartbeat 1 time per second" #HeartbeatExceedLimit -400143 = "" #HeartbeatTypeNotFound -400150 = "the length of metadata is too long or metadata contains invalid characters" #InvalidMetadata -400151 = "invalid rate limit id" #InvalidRateLimitID -400152 = "invalid rate limit labels" #InvalidRateLimitLabels -400153 = "invalid rate limit amounts" #InvalidRateLimitAmounts -400154 = "" #InvalidRateLimitName -400160 = "invalid circuit breaker id" #InvalidCircuitBreakerID -400161 = "invalid circuit breaker version" #InvalidCircuitBreakerVersion -400162 = "invalid circuit breaker name" #InvalidCircuitBreakerName -400163 = "invalid circuit breaker namespace" #InvalidCircuitBreakerNamespace -400164 = "invalid circuit breaker owners" #InvalidCircuitBreakerOwners -400165 = "invalid circuit breaker token" #InvalidCircuitBreakerToken -400166 = "invalid circuit breaker business" #InvalidCircuitBreakerBusiness -400167 = "invalid circuit breaker department" #InvalidCircuitBreakerDepartment -400168 = "invalid circuit breaker comment" #InvalidCircuitBreakerComment -400170 = "services existed mesh" #ServicesExistedMesh -400171 = "resources existed mesh" #ResourcesExistedMesh -400172 = "invalid mesh parameter" #InvalidMeshParameter -400180 = "invalid platform id" #InvalidPlatformID -400181 = "invalid platform name" #InvalidPlatformName -400182 = "invalid platform domain" #InvalidPlatformDomain -400183 = "invalid platform qps" #InvalidPlatformQPS -400184 = "invalid platform token" #InvalidPlatformToken -400185 = "invalid platform owner" #InvalidPlatformOwner -400186 = "invalid platform department" #InvalidPlatformDepartment -400187 = "invalid platform comment" #InvalidPlatformComment -400188 = "not found platform" #NotFoundPlatform -400190 = "invalid flux ratelimit id" #InvalidFluxRateLimitId -400191 = "invalid flux ratelimit qps" #InvalidFluxRateLimitQps -400192 = "invalid flux ratelimit key" #InvalidFluxRateLimitSetKey -400201 = "existed resource" #ExistedResource -400202 = "not found resource" #NotFoundResource -400203 = "some services existed in namespace" #NamespaceExistedServices -400204 = "some instances existed in service" #ServiceExistedInstances -400205 = "some routings existed in service" #ServiceExistedRoutings -400206 = "some rate limits existed in service" #ServiceExistedRateLimits -400207 = "exist released config" #ExistReleasedConfig -400208 = "the same instance request" #SameInstanceRequest -400209 = "some circuit breakers existed in service" #ServiceExistedCircuitBreakers -400210 = "some aliases existed in service" #ServiceExistedAlias -400211 = "some mesh resources existed in namespace" #NamespaceExistedMeshResources -400212 = "some circuit breakers existed in namespace" #NamespaceExistedCircuitBreakers -400213 = "service subscribed by some mesh" #ServiceSubscribedByMeshes -400214 = "" #ServiceExistedFluxRateLimits -400215 = "exist user" #UserExisted -400216 = "exist usergroup" #UserGroupExisted -400217 = "exist auth strategy rule" #AuthStrategyRuleExisted -400218 = "some sub-account existed in owner" #SubAccountExisted +200000 = "execute success" #ExecuteSuccess +200001 = "discover data is no change" #DataNoChange +200002 = "update data is no change, no need to update" #NoNeedUpdate +400000 = "bad request" #BadRequest +400001 = "request decode failed" #ParseException +400002 = "empty request" #EmptyRequest +400003 = "batch size over the limit" #BatchSizeOverLimit +400004 = "invalid discover resource" #InvalidDiscoverResource +400100 = "invalid request id" #InvalidRequestID +400101 = "invalid user name" #InvalidUserName +400102 = "invalid user token" #InvalidUserToken +400103 = "invalid parameter" #InvalidParameter +400104 = "query instance parameter is empty" #EmptyQueryParameter +400105 = "query instance, (service,namespace) or host is required" #InvalidQueryInsParameter +400110 = "invalid namespace name" #InvalidNamespaceName +400111 = "invalid namespace owners" #InvalidNamespaceOwners +400112 = "invalid namespace token" #InvalidNamespaceToken +400120 = "invalid service name" #InvalidServiceName +400121 = "invalid service owners" #InvalidServiceOwners +400122 = "invalid service token" #InvalidServiceToken +400123 = "invalid service metadata" #InvalidServiceMetadata +400124 = "invalid service ports" #InvalidServicePorts +400125 = "invalid service business" #InvalidServiceBusiness +400126 = "invalid service department" #InvalidServiceDepartment +400127 = "invalid service CMDB" #InvalidServiceCMDB +400128 = "invalid service comment" #InvalidServiceComment +400129 = "invalid service alias comment" #InvalidServiceAliasComment +400130 = "invalid instance id" #InvalidInstanceID +400131 = "invalid instance host" #InvalidInstanceHost +400132 = "invalid instance port" #InvalidInstancePort +400133 = "invalid service alias" #InvalidServiceAlias +400134 = "request namespace is not allow to create sid type alias" #InvalidNamespaceWithAlias +400135 = "invalid service alias owners" #InvalidServiceAliasOwners +400136 = "invalid instance protocol" #InvalidInstanceProtocol +400137 = "invalid instance version" #InvalidInstanceVersion +400138 = "invalid instance logic set" #InvalidInstanceLogicSet +400139 = "invalid instance isolate" #InvalidInstanceIsolate +400140 = "server not open health check" #HealthCheckNotOpen +400141 = "heartbeat on disabled instance" #HeartbeatOnDisabledIns +400142 = "instance can only heartbeat 1 time per second" #HeartbeatExceedLimit +400143 = "heartbeat type not found" #HeartbeatTypeNotFound +400150 = "the length of metadata is too long or metadata contains invalid characters" #InvalidMetadata +400151 = "invalid rate limit id" #InvalidRateLimitID +400152 = "invalid rate limit labels" #InvalidRateLimitLabels +400153 = "invalid rate limit amounts" #InvalidRateLimitAmounts +400154 = "invalid rate limit name" #InvalidRateLimitName +400160 = "invalid circuit breaker id" #InvalidCircuitBreakerID +400161 = "invalid circuit breaker version" #InvalidCircuitBreakerVersion +400162 = "invalid circuit breaker name" #InvalidCircuitBreakerName +400163 = "invalid circuit breaker namespace" #InvalidCircuitBreakerNamespace +400164 = "invalid circuit breaker owners" #InvalidCircuitBreakerOwners +400165 = "invalid circuit breaker token" #InvalidCircuitBreakerToken +400166 = "invalid circuit breaker business" #InvalidCircuitBreakerBusiness +400167 = "invalid circuit breaker department" #InvalidCircuitBreakerDepartment +400168 = "invalid circuit breaker comment" #InvalidCircuitBreakerComment +400170 = "services existed mesh" #ServicesExistedMesh +400171 = "resources existed mesh" #ResourcesExistedMesh +400172 = "invalid mesh parameter" #InvalidMeshParameter +400180 = "invalid platform id" #InvalidPlatformID +400181 = "invalid platform name" #InvalidPlatformName +400182 = "invalid platform domain" #InvalidPlatformDomain +400183 = "invalid platform qps" #InvalidPlatformQPS +400184 = "invalid platform token" #InvalidPlatformToken +400185 = "invalid platform owner" #InvalidPlatformOwner +400186 = "invalid platform department" #InvalidPlatformDepartment +400187 = "invalid platform comment" #InvalidPlatformComment +400188 = "not found platform" #NotFoundPlatform +400190 = "invalid flux ratelimit id" #InvalidFluxRateLimitId +400191 = "invalid flux ratelimit qps" #InvalidFluxRateLimitQps +400192 = "invalid flux ratelimit key" #InvalidFluxRateLimitSetKey +400201 = "existed resource" #ExistedResource +400202 = "not found resource" #NotFoundResource +400203 = "some services existed in namespace" #NamespaceExistedServices +400204 = "some instances existed in service" #ServiceExistedInstances +400205 = "some routings existed in service" #ServiceExistedRoutings +400206 = "some rate limits existed in service" #ServiceExistedRateLimits +400207 = "exist released config" #ExistReleasedConfig +400208 = "the same instance request" #SameInstanceRequest +400209 = "some circuit breakers existed in service" #ServiceExistedCircuitBreakers +400210 = "some aliases existed in service" #ServiceExistedAlias +400211 = "some mesh resources existed in namespace" #NamespaceExistedMeshResources +400212 = "some circuit breakers existed in namespace" #NamespaceExistedCircuitBreakers +400213 = "service subscribed by some mesh" #ServiceSubscribedByMeshes +400214 = "service existed flux rate limits" #ServiceExistedFluxRateLimits +400215 = "exist user" #UserExisted +400216 = "exist usergroup" #UserGroupExisted +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