Re: [onap-discuss] [sdc][msb] Unable to register SDC in MSB

2018-07-03 Thread bharath thiruveedula
Hi Michael,  Zhao Huabing,


Thanks for the prompt response.


I tried with "/sdc/v1/catalog/services" endpoint  it works! instead of just 
"/sdc/v1"


Best Regards

Bharath T



From: zhao.huab...@zte.com.cn 
Sent: Monday, July 2, 2018 4:56 PM
To: ml6...@intl.att.com; bharath_...@hotmail.com
Cc: onap-discuss@lists.onap.org
Subject: Re: RE: [sdc][msb] Unable to register SDC in MSB


Hi  Bharath,

As Michael mentioned, did you try accessing  SDC api directly via "/sdc/v1" ?

If that url works, the API should be able to be reached via MSB internal API 
gateway at 
"http://$OPENO_IP:10081/api/sdc/v1/{$resource};<http://$OPENO_IP:10081/api/sdc/v1/;>


More information can be found on the wiki: 
https://wiki.onap.org/pages/viewpage.action?pageId=20873883<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.onap.org%2Fpages%2Fviewpage.action%3FpageId%3D20873883=02%7C01%7C%7Cc4605626e0e6408f87b708d5e00f5bca%7C84df9e7fe9f640afb435%7C1%7C0%7C636661278939961097=T6V8wbPTDWGF6nJzUKWkjv3TRVWdiR%2FDHGroYVinYIQ%3D=0>

Best Regards,

Huabing


原始邮件
发件人:Lando,Michael 
收件人:bharath thiruveedula 
抄送人:赵化冰10201488;onap-discuss@lists.onap.org 
日 期 :2018年07月02日 01:06
主 题 :RE: [sdc][msb] Unable to register SDC in MSB

Hi,



I think that your API is missing the basic authentication credentials need to 
access that API.



In addition did you try accessing the api directly with out msb?





















BR,



[Michael Lando]



AT Network Application Development ・ NetCom

Tel Aviv | Tampa | Atlanta | New Jersey |Chicago

・・・

Office: +972 (3) 5451487

Mobile: +972 (54) 7833603

e-mail: michael.la...@intl.att.com<mailto:michael.la...@intl.att.com>



From: bharath thiruveedula 
Sent: Friday, June 29, 2018 21:17
To: onap-discuss@lists.onap.org
Cc: Lando,Michael ; zhao.huab...@zte.com.cn
Subject: [sdc][msb] Unable to register SDC in MSB



Hi



I am trying to register SDC in MSB using Beijing release. I tried to register 
based on the requests mentioned in 
https://git.onap.org/demo/tree/boot/msb_vm_init.sh?h=beijing#n134<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__git.onap.org_demo_tree_boot_msb-5Fvm-5Finit.sh-3Fh-3Dbeijing-23n134%26d%3DDwMFAw%26c%3DLFYZ-o9_HUMeMTSQicvjIg%26r%3DFYvXSElfSmWIXOeZxWIxQysejuz9-TXmaL6uftBh8MY%26m%3DPIMbGW-cMXk1yRB6thkZ1Rvx37T9FKGx9gM_OuabJ7E%26s%3DgPvaJ1lbmuoItKLpcOWzt6EseqKPT7SLtZXJ5wj6gjU%26e%3D=02%7C01%7C%7Cc4605626e0e6408f87b708d5e00f5bca%7C84df9e7fe9f640afb435%7C1%7C0%7C636661278939961097=ADMugFcBJ48bvMVgNyVLXczLd3eCforRE2IFzqj6Wqk%3D=0>
 which  is curl -X POST -H "Content-Type: application/json" -d '{"serviceName": 
"sdc", "version": "v1", "url": "/sdc/v1","protocol": "REST", "nodes": [ {"ip": 
"'$SDC_IP'","port": "8080"}]}' 
"http://$OPENO_IP:10081/api/microservices/v1/services;<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttp-3A__-24OPENO-5FIP-3A10081_api_microservices_v1_services-2522%26d%3DDwQFAw%26c%3DLFYZ-o9_HUMeMTSQicvjIg%26r%3DFYvXSElfSmWIXOeZxWIxQysejuz9-TXmaL6uftBh8MY%26m%3DPIMbGW-cMXk1yRB6thkZ1Rvx37T9FKGx9gM_OuabJ7E%26s%3Dqwu7s4XiepdWW3uWVefi3bk9vv308S_NdepmHDFEQuA%26e%3D=02%7C01%7C%7Cc4605626e0e6408f87b708d5e00f5bca%7C84df9e7fe9f640afb435%7C1%7C0%7C636661278939961097=Dd48heWp%2BM7XgjEMNUyGEYpez%2Bz4Ry5AvHeOBAwL%2B2s%3D=0>



But when I am trying to access the sdc from MSB, we get 404 not found. Is 
/sdc/v1/ is  the right URL? I can see the sdc2/rest/swagger.json to get swagger 
details. But I am not sure how to register  SDC properly. Am I missing 
something here?



Best Regards

Bharath T


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

View/Reply Online (#10785): https://lists.onap.org/g/onap-discuss/message/10785
Mute This Topic: https://lists.onap.org/mt/22899978/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [onap-discuss] [sdc][msb] Unable to register SDC in MSB

2018-07-01 Thread Michael Lando
Hi,

I think that your API is missing the basic authentication credentials need to 
access that API.

In addition did you try accessing the api directly with out msb?










BR,

[Michael Lando]

AT Network Application Development * NetCom
Tel Aviv | Tampa | Atlanta | New Jersey |Chicago
***
Office: +972 (3) 5451487
Mobile: +972 (54) 7833603
e-mail: michael.la...@intl.att.com

From: bharath thiruveedula 
Sent: Friday, June 29, 2018 21:17
To: onap-discuss@lists.onap.org
Cc: Lando,Michael ; zhao.huab...@zte.com.cn
Subject: [sdc][msb] Unable to register SDC in MSB


Hi



I am trying to register SDC in MSB using Beijing release. I tried to register 
based on the requests mentioned in 
https://git.onap.org/demo/tree/boot/msb_vm_init.sh?h=beijing#n134
 which is curl -X POST -H "Content-Type: application/json" -d '{"serviceName": 
"sdc", "version": "v1", "url": "/sdc/v1","protocol": "REST", "nodes": [ {"ip": 
"'$SDC_IP'","port": "8080"}]}' 
"http://$OPENO_IP:10081/api/microservices/v1/services;



But when I am trying to access the sdc from MSB, we get 404 not found. Is 
/sdc/v1/ is  the right URL? I can see the sdc2/rest/swagger.json to get swagger 
details. But I am not sure how to register SDC properly. Am I missing something 
here?



Best Regards

Bharath T

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

View/Reply Online (#10721): https://lists.onap.org/g/onap-discuss/message/10721
Mute This Topic: https://lists.onap.org/mt/22899978/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-