Hi,

While looking at MSB mappings, noticed that there are 2 entries defined for 
each AAI API in manifest of aai-resources deployment against 
msb.onap.org/service-info annotation (see below).

msb.onap.org/service-info: '[
{
"serviceName": "_aai-cloudInfrastructure",
"version": "v11",
"url": "/aai/v11/cloud-infrastructure",
"protocol": "REST",
"port": "8447",
"enable_ssl": true,
"lb_policy":"ip_hash",
"visualRange": "1",
"path": "/aai/v11/cloud-infrastructure"
},
{
"serviceName": "aai-cloudInfrastructure",
"version": "v11",
"url": "/aai/v11/cloud-infrastructure",
"protocol": "REST",
"port": "8447",
"enable_ssl": true,
"lb_policy":"ip_hash",
"visualRange": "1"
}]

Only differences are:
1. First one starts with underscore in serviceName attribute value; Second one 
not.
2. First one has additionally a path attribute (with same value as url 
attribute).

Can someone please help me understand why these 2 entries are needed. In the 
persistence folder of MSB, there are 2 entries appearing for each of these 2 
mappings; with only difference being the underscore character. But that does 
not seem to affect anything functionally, as when I look at MSB UI, only one 
entry is reflecting for this service.

Actually, I am trying to explore an approach to keep correct service mappings 
in MSB Consul in event of cluster issues or rolling upgrade. Any pointers on 
this would be also helpful. Currently using Guilin release of ONAP but I guess 
nothing significant has changed in MSB since that release.

Thanks & Regards
Girish


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#24461): https://lists.onap.org/g/onap-discuss/message/24461
Mute This Topic: https://lists.onap.org/mt/99082051/21656
Mute #msb:https://lists.onap.org/g/onap-discuss/mutehashtag/msb
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to