Updated on 2023-07-19 GMT+08:00

ServiceInfo

Table 1 Parameters

Parameter

Mandatory

Type

Description

serviceId

Yes

String

Microservice ID, which must be unique. The value is a UUID. Regular expression: ^.*$.

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, which must be unique in an application. 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]$.

version

Yes

String

Microservice version. The value contains 1 to 64 characters. Regular expression: ^[0-9]*$|^[0-9]+(\.[0-9]+)*$'.

level

Yes

String

Microservice level.

  • FRONT
  • MIDDLE
  • BACK

status

Yes

String

Service status.
  • UP
  • DOWN

timestamp

Yes

String

Timestamp.