Skip to content

Registering and Unregistering Applications

Each registry supports array of metadata according to the latest metadata schema information.

Notice

Each application's metadata is uniquely identified by its appInstanceId. If an appInstanceId is already registered in the service registry, any subsequent registration attempt with that ID will be rejected. Similarly, attempts to unregister this metadata via the service registry will also be blocked, as this metadata is directly tied to the application's installation and is only cleared upon uninstallation.

Error on Duplicate Registration:

{
  "code": 6,
  "details": "Service with AppInstanceId 'css7pdriver1' already exists as application metadata and cannot be registered via gRPC",
  "metadata": {
    "content-type": [
      "application/grpc"
    ]
  }
}

Error on Unregistering Metadata App:

{
  "code": 9,
  "details": "Service with AppInstanceId 'css7pdriver1' originates from application metadata and cannot be unregistered via gRPC",
  "metadata": {
    "content-type": [
      "application/grpc"
    ]
  }
}