Hi Udhay,

Documentation of the ExternalSystem namespace of AAI was mentioned in a recent 
meeting, but it looks like the JIRA case has not been created yet.

If you check the MSB registration, you can discover the underlying REST API 
call and try to call that directly e.g.

GET /api/microservices/v1/services

  {
    "serviceName": "aai-esr-gui",
    "version": "v1",
    "url": "/esr-gui",
    "protocol": "UI",
    "visualRange": "1",
    "lb_policy": "",
    "publish_port": "",
    "namespace": "",
    "network_plane_type": "",
    "host": "",
    "path": "/iui/aai-esr-gui",
    "enable_ssl": false,
    "nodes": [
      {
        "ip": "10.247.108.185",
        "port": "8080",
        "checkType": "",
        "checkUrl": "",
        "tls_skip_verify": true,
        "ha_role": "",
        "nodeId": "_v1_aai-esr-gui_10.247.108.185_8080",
        "status": "passing"
      }
    ],
    "metadata": [],
    "labels": [],
    "status": "1",
    "is_manual": false
  },

Knowing the AAI schema elements from the OXM file, you can guess at the 
appropriate REST API calls, e.g.

GET /aai/v14/external-system/esr-vnfm-list
GET /aai/v14/nodes/esr-vnfm-list


Keong

From: udhayachandran.m via lists.onap.org 
[mailto:[email protected]]
Sent: Tuesday, 12 March 2019 16:58
To: Keong Lim <[email protected]>; [email protected]
Subject: Re: [onap-discuss] Unable to test schema change in AAI - Master branch 
#aai

Thanks Keong, I will try the same in casablanca branch.

I would also like to know is there any direct api calls from AAI to query the 
available vnfms, Currently  ESR is fetching the available vnfms in ESR-GUI by 
calling msb.

There is no api call available in aai-swagger file to get the available vnfms. 
Is there any possible way to fetch the vnfm list using curl request directly 
from aai.

Regards,
Udhay

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

View/Reply Online (#15963): https://lists.onap.org/g/onap-discuss/message/15963
Mute This Topic: https://lists.onap.org/mt/30296097/21656
Mute #aai: https://lists.onap.org/mk?hashtag=aai&subid=2740164
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to