I found my issue :

MSB adds a « /api » in the URL just after msb-port
MSB uses also the declared service name and the declared version to build the 
URL

curl -X GET \
  http://msb.api.discovery.simpledemo.onap.org:30280/api/nbi/v4/status \
  -H 'cache-control: no-cache'



De : [email protected] [mailto:[email protected]] De la 
part de Rene Robert via Lists.Onap.Org
Envoyé : jeudi 8 août 2019 17:34
À : [email protected]; ROBERT René TGI/OLN
Objet : [onap-discuss][MSB]: failed to register a new service

Hi,

I tried to register NBI service on MSB via MSB GUI

Service Name : nbi
url : /nbi/api/v4
protocol : REST
Version: v4
Load balance: IPHash
HostList :
I provided the Host IP address and 8080 port.


I saved and nbi is now in the msb service list.

Trying to get data via the API : 502 Bad Gateway error message:No route found 
for this request!

I made a test via NBI without MSB : it is ok
I made a test via MSB to get AAI or SDC data : it is ok

Any idea ?

René


[Logo Orange]<http://www.orange.com/>

René Robert
«Open and Smart solutions for autOmating Network Services»
ORANGE/IMT/OLN/CNC/NARA/OSONS

Fixe : +33 2 96 07 39 29 
<https://monsi.sso.francetelecom.fr/index.asp?target=http%3A%2F%2Fclicvoice.sso.francetelecom.fr%2FClicvoiceV2%2FToolBar.do%3Faction%3Ddefault%26rootservice%3DSIGNATURE%26to%3D+33%202%2096%2007%2039%2029>
Mobile : +33 6 74 78 68 43 
<https://monsi.sso.francetelecom.fr/index.asp?target=http%3A%2F%2Fclicvoice.sso.francetelecom.fr%2FClicvoiceV2%2FToolBar.do%3Faction%3Ddefault%26rootservice%3DSIGNATURE%26to%3D+33%206%2074%2078%2068%2043>
[email protected]<mailto:[email protected]>



_________________________________________________________________________________________________________________________



Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.



This message and its attachments may contain confidential or privileged 
information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete 
this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.

Thank you.


_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#18499): https://lists.onap.org/g/onap-discuss/message/18499
Mute This Topic: https://lists.onap.org/mt/32799614/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to