Details
-
Bug
-
Status: Closed
-
Medium
-
Resolution: Done
-
Casablanca Release, Dublin Release, Casablanca Maintenance 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
- 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
- is blocked by
-
EXTAPI-216 Check if NBI is available as HTTPs only via MSB
-
- Open
-
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
106638,1 | Added fix for ExtAPI-197: MSB registration | master | externalapi/nbi | Status: NEW | +2 | +1 |
106227,1 | Added fix for ExtAPI-197:MSB registration | master | externalapi/nbi | Status: ABANDONED | 0 | +1 |
107245,1 | Added fix for EXTAPI-197: MSB registration | master | externalapi/nbi | Status: MERGED | +2 | +1 |