Updated on 2024-06-14 GMT+08:00

DependencyMicroService

Table 1 Parameters

Parameter

Mandatory

Type

Description

appId

Yes

String

Application ID, which must be unique. The value contains 1 to 160 characters. Regular expression: ^[a-zA-Z0-9]*$|^[a-zA-Z0-9][a-zA-Z0-9_\-.]*[a-zA-Z0-9]$.

serviceName

Yes

String

Microservice name. For a provider microservice, the value can be *, indicating all services of a tenant. If the value is *, both appId and version can be omitted. For a consumer microservice, the value cannot be *. The value contains 1 to 128 characters. Regular expression: ^[a-zA-Z0-9]*$|^[a-zA-Z0-9][a-zA-Z0-9_\-.]*[a-zA-Z0-9]$.

environment

Yes

String

Microservice environment.

  • Empty value
  • development
  • testing
  • acceptance
  • production