XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Guilin Release
    • Casablanca Release, Dublin Release, Casablanca Maintenance Release
    • None
    • None

      Current registration has a bug by using InetAddress.getLocalHost().getHostAddress().

       

      Thanks to OOM it now possible to register through a simple annotation like the one used in multicloud module

      /oom/kubernetes/multicloud/charts/multicloud-k8s/templates/service.yaml

       
      annotations:
      msb.onap.org/service-info: '[
      {
      "serviceName": "multicloud-k8s",
      "version": "v1",
      "url": "/",
      "protocol": "REST",
      "port": "{{ .Values.service.externalPort }}",
      "visualRange": "1"
      }
      ]'


      • Should be something similar for nbi
      • Remove all java code relative to MSB registration

       

      See application.properties, everything must be removed

      1. MSB
        msb.enabled = true
        msb.discovery.host = msb_discovery
        msb.discovery.port = 10081
        msb.discovery.retry = 1
        msb.discovery.retry_interval = 5000
        msb.service.host =
        msb.service.name = nbi
        msb.service.custom_path =
        msb.service.protocol = REST
        msb.service.visual_range = 1
        msb.service.enable_ssl = false

       
       
       

            ranvijay ranvijay
            matthieugeerebaert matthieugeerebaert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: