Updated on 2022-08-15 GMT+08:00

ServiceInfo

Table 1 Parameters

Parameter

Type

Mandatory

Description

serviceId

String

Yes

Microservice ID, which must be unique. The value is a UUID.

Regular expression: ^.*$

appId

String

Yes

Application ID, which must be unique.

The value must be 1 to 160 characters long.

Regular expression: ^[a-zA-Z0-9]*$|^[a-zA-Z0-9][a-zA-Z0-9_\-.]*[a-zA-Z0-9]$

serviceName

String

Yes

Microservice name, which must be unique in an application.

The value must be 1 to 128 characters long.

Regular expression: ^[a-zA-Z0-9]*$|^[a-zA-Z0-9][a-zA-Z0-9_\-.]*[a-zA-Z0-9]$

version

String

Yes

Microservice version.

The value must be 1 to 64 characters long.

Regular expression: ^[0-9]*$|^[0-9]+(\.[0-9]+)*$'

level

String

Yes

Microservice level. Options:

  • FRONT
  • MIDDLE
  • BACK

status

String

Yes

Service status.
  • UP
  • DOWN

timestamp

String

Yes

Timestamp.