Uploaded image for project: 'Microservices Bus'
  1. Microservices Bus
  2. MSB-98

No information is available to select proper node IP from registered services

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Dublin Release
    • None
    • None
    • MSB Sprint 13

      Currently some service register two addresses in MSB one starts with 172.X.X.X the other start with 10.Y.Y.Y. If an external system queries the MSB for service endpoints only the globally available endpoint (10.Y.Y.Y) should be registered, because the caller can not chose from the two addresses based on the information returned on the API.

       

      Example service.

      {{{}}
      {{ "serviceName": "catalog",}}
      {{ "version": "v1",}}
      {{ "url": "/api/catalog/v1",}}
      {{ "protocol": "REST",}}
      {{ "visualRange": "1",}}
      {{ "lb_policy": "",}}
      {{ "publish_port": "",}}
      {{ "namespace": "",}}
      {{ "network_plane_type": "",}}
      {{ "host": "",}}
      {{ "path": "",}}
      {{ "enable_ssl": false,}}
      {{ "nodes": [}}
      {{ {}}
      {{ "ip": "172.17.0.15",}}
      {{ "port": "8806",}}
      {{ "checkType": "",}}
      {{ "checkUrl": "",}}
      {{ "ha_role": "",}}
      {{ "nodeId": "_catalog_172.17.0.15_8806",}}
      {{ "status": "passing"}}

      {\{ },}}
      {{ {}}
      {{ "ip": "10.0.14.1",}}
      {{ "port": "8806",}}
      {{ "checkType": "",}}
      {{ "checkUrl": "",}}
      {{ "ha_role": "",}}
      {{ "nodeId": "_catalog_10.0.14.1_8806",}}
      {{ "status": "passing"}}{{ }

      }}
      {{ ],}}
      {{ "metadata": [],}}
      {{ "labels": [],}}
      {{ "status": "1",}}
      {{ "is_manual": false}}
      },

            nancylizi nancylizi
            thelittlemouse thelittlemouse
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: