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}" More information can be found on the wiki: https://wiki.onap.org/pages/viewpage.action?pageId=20873883 Best Regards, Huabing 原始邮件 发件人:Lando,Michael <[email protected]> 收件人:bharath thiruveedula <[email protected]> 抄送人:赵化冰10201488;[email protected] <[email protected]> 日 期 :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, AT&T Network Application Development · NetCom Tel Aviv | Tampa | Atlanta | New Jersey |Chicago ··········································································· Office: +972 (3) 5451487 Mobile: +972 (54) 7833603 e-mail: [email protected] From: bharath thiruveedula <[email protected]> Sent: Friday, June 29, 2018 21:17 To: [email protected] Cc: Lando,Michael <[email protected]>; [email protected] 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 (#10731): https://lists.onap.org/g/onap-discuss/message/10731 Mute This Topic: https://lists.onap.org/mt/22899978/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
