ListGreyTagRoute
Region:
China (Beijing)
Request Parameters
Required
AppId7171a6ca-d1cd-4928-...
Plugin DownloadLearn more
VS Code Plugin
Before installing the plugin, please install VS CodeBefore installing the plugin, please install VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains Plugin
Before installing the plugin, please install JetBrains IDEBefore installing the plugin, please install JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

Operation Description

Note You can configure only one canary release rule for each application.

Request Syntax

GET /pop/v1/sam/tagroute/greyTagRouteList HTTP/1.1

Request Parameters

Field NameField Details
AppIdstring

7171a6ca-d1cd-4928-8642-7d5cfe69****

Example:7171a6ca-d1cd-4928-8642-7d5cfe69****

Request Description

  • Parameters in the ScRule parameter
ParameterTypeExampleDescription
conditionStringORThe relationship between the conditions in the canary release rule. Valid values:
  • AND: The conditions are in the logical AND relation. All conditions must be met at the same time.

  • OR: The conditions are in the logical OR relation. At least one of the conditions must be met. | | path | String | /path | The path of the canary release rule of the Spring Cloud application. | | items | Array of items | | The conditions. | Parameters in the Item parameter| Parameter | Type | Example | Description | | --------- | ---- | ------- | ----------- | | name | String | test | The name of the parameter. | | cond | String | == | The comparison operator. Valid values: >, <, >=, <=, ==, and ! =. | | type | String | cookie | The type of the comparison. Valid values:

  • param: parameter

  • cookie: cookie

  • header: header | | value | String | test | The value of the parameter. This value is compared with the value that is obtained based on the type and name parameters. | | operator | String | rawvalue | The operator. Valid values:

  • rawvalue: direct comparison.

  • list: whitelist.

  • mod: mods 100.

  • deterministic_proportional_steaming_division: percentage. |

  • Parameters in the DubboRule parameter

ParameterTypeExampleDescription
conditionStringORThe relationship between the conditions in the canary release rule. Valid values:
  • AND: The conditions are in the logical AND relation. All conditions must be met at the same time.

  • OR: The conditions are in the logical OR relation. At least one of the conditions must be met. | | methodName | String | echo | The method name of the Dubbo service. | | serviceName | String | com.alibaba.edas.boot.EchoService | The name of the Dubbo service. | | version | String | 1.0.0 | The version of the Dubbo service. | | items | Array of items | | The conditions. | | group | String | DUBBO | The group of the Dubbo service that corresponds to the canary release rule. | Parameters in the Item parameter| Parameter | Type | Example | Description | | --------- | ---- | ------- | ----------- | | index | Integer | 0 | The index of the parameter. The value 0 indicates the first parameter. | | expr | String | .name | The expression that is used to obtain the value of the parameter. The syntax of the expression must follow the standard of the Spring Expression Language (SpEL). Valid values:

  • Empty: obtains the value of the parameter.

  • .name: obtains the name property of the parameter. This expression works the same way as args0.getName().

  • .isEnabled(): obtains the enabled property of the parameter. This expression works the same way as args0.isEnabled().

  • [0]: indicates that the value of the parameter is an array and obtains the first value of the array. This expression works the same way as args0[0]. This expression does not start with a period (.).

  • .get(0): indicates that the value of the parameter is a list and obtains the first value of the list. This expression works the same way as args0.get(0).

  • .get("key"): indicates that the value of the parameter is a map and obtains the value of the key in the map. This expression works the same way as args0.get("key"). | | cond | String | == | The comparison operator. Valid values: >, <, >=, <=, ==, and ! =. | | value | String | test | The value of the parameter. This value is compared with the value that is obtained based on the expr and index parameters. | | operator | String | rawvalue | The operator. Valid values:

  • rawvalue: direct comparison.

  • list: whitelist.

  • mod: mods 100.

  • deterministic_proportional_steaming_division: percentage. |

Response Parameters

Field NameField Details
RequestIdstring

The ID of the request.

Example:9D29CBD0-45D3-410B-9826-52F86F90****
Messagestring

The returned information. Valid values:View Details...

Example:success
TraceIdstring

The trace ID that is used to query the details of the request.

Example:0a98a02315955564772843261e****
Dataobject

The information about the canary release rule.

ErrorCodestring

The returned error code. Valid values:View Details...

Codestring

The HTTP status code. Valid values:View Details...

Example:200
Successboolean

Indicates whether the information of the change order was queried. Valid values:View Details...

Example:true
Change History
No Change History found.