XMLWordPrintable

Details

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

    Description

      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

       
       
       

      Attachments

        Issue Links

          # Subject Branch Project Status CR V

          Activity

            People

              ranvijay Ranvijay Singh
              MatthieuGeerebaert Matthieu Geerebaert
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: