CRecordMicroServiceInstance

This data record contains the information about a single microservice instance.

This message belongs to the microservice registry API.

{
  "id": "116d6164-0769-4774-92d6-258b0807163a",
  "name": "MICRO_SERVICE_INSTANCE",
  "description": "A microservice instance.",
  "slots": [
    {
      "key": "1",
      "name": "MICRO_SERVICE_ID",
      "direction": "REQUEST",
      "mandatory": "true",
      "type": "ID",
      "description": "The microservice ID."
    },
    {
      "key": "2",
      "name": "MICRO_SERVICE_INSTANCE_ID",
      "direction": "REQUEST",
      "mandatory": "true",
      "type": "ID",
      "description": "The microservice instance ID."
    },
    {
      "key": "3",
      "name": "MICRO_SERVICE_ADDRESS",
      "direction": "REQUEST",
      "mandatory": "true",
      "type": "TARGET_ADDRESS",
      "description": "The microservice target address."
    },
    {
      "key": "4",
      "name": "TIME_ADDED",
      "direction": "REQUEST",
      "mandatory": "true",
      "type": "ZONED_DATE_TIME",
      "description": "The time the microservice instance has been added."
    }
  ]
}

Example of use: see here.

nyssr.net - Innovative Distributed System