The GET /aai/v11/examples/external-system will generate a response that 
demonstrates the schema attributes. It is not data until you use it to PUT an 
object in.

The GET /aai/v11/external-system/esr-vnfm-list will attempt to retrieve the 
data, but if you have no data, there is nothing to GET.


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

Hi Keong,

When i tried with the following url, 
https://127.0.0.1:8443/aai/v11/examples/external-system

I got the response with sample vnfm information.
<?xml version="1.0" encoding="UTF-8"?>
<external-system xmlns="http://org.openecomp.aai.inventory/v11";>
    <esr-ems-list>
        <esr-ems>
            <ems-id>example-ems-id-val-36852</ems-id>
            <esr-system-info-list>
                <esr-system-info>
                    
<esr-system-info-id>example-esr-system-info-id-val-29287</esr-system-info-id>
                    <system-name>example-system-name-val-52098</system-name>
                    <type>example-type-val-87614</type>
                    <vendor>example-vendor-val-65073</vendor>
                    <version>example-version-val-46110</version>
                    <service-url>example-service-url-val-3444</service-url>
                    <user-name>example-user-name-val-25161</user-name>
                    <password>example-password-val-96091</password>
                    <system-type>example-system-type-val-27047</system-type>
                    <protocol>example-protocol-val-92818</protocol>
                    <ssl-cacert>example-ssl-cacert-val-43345</ssl-cacert>
                    <ssl-insecure>true</ssl-insecure>
                    <ip-address>example-ip-address-val-36414</ip-address>
                    <port>example-port-val-30751</port>
                    <cloud-domain>example-cloud-domain-val-89959</cloud-domain>
                    
<default-tenant>example-default-tenant-val-87072</default-tenant>
                    <passive>true</passive>
                    <remote-path>example-remotepath-val-59409</remote-path>
                    
<system-status>example-system-status-val-32533</system-status>
                </esr-system-info>
            </esr-system-info-list>
        </esr-ems>
    </esr-ems-list>
    <esr-vnfm-list>
        <esr-vnfm>
            <vnfm-id>example-vnfm-id-val-12209</vnfm-id>
            <vim-id>example-vim-id-val-50716</vim-id>
            <certificate-url>example-certificate-url-val-48641</certificate-url>
            <esr-system-info-list>
                <esr-system-info>
                    
<esr-system-info-id>example-esr-system-info-id-val-81837</esr-system-info-id>
                    <system-name>example-system-name-val-83252</system-name>
                    <type>example-type-val-70245</type>
                    <vendor>example-vendor-val-34830</vendor>
                    <version>example-version-val-65138</version>
                    <service-url>example-service-url-val-31405</service-url>
                    <user-name>example-user-name-val-95992</user-name>
                    <password>example-password-val-6018</password>
                    <system-type>example-system-type-val-23120</system-type>
                    <protocol>example-protocol-val-78602</protocol>
                    <ssl-cacert>example-ssl-cacert-val-54710</ssl-cacert>
                    <ssl-insecure>true</ssl-insecure>
                    <ip-address>example-ip-address-val-3774</ip-address>
                    <port>example-port-val-36684</port>
                    <cloud-domain>example-cloud-domain-val-24329</cloud-domain>
                    
<default-tenant>example-default-tenant-val-92777</default-tenant>
                    <passive>true</passive>
                    <remote-path>example-remotepath-val-66248</remote-path>
                    
<system-status>example-system-status-val-56624</system-status>
                </esr-system-info>
            </esr-system-info-list>
        </esr-vnfm>
    </esr-vnfm-list>
    <esr-thirdparty-sdnc-list>
        <esr-thirdparty-sdnc>
            
<thirdparty-sdnc-id>example-thirdparty-sdnc-id-val-23308</thirdparty-sdnc-id>
            <location>example-location-val-52302</location>
            <product-name>example-product-name-val-78434</product-name>
            <esr-system-info-list>
                <esr-system-info>
                    
<esr-system-info-id>example-esr-system-info-id-val-89479</esr-system-info-id>
                    <system-name>example-system-name-val-85590</system-name>
                    <type>example-type-val-65077</type>
                    <vendor>example-vendor-val-12120</vendor>
                    <version>example-version-val-35535</version>
                    <service-url>example-service-url-val-49042</service-url>
                    <user-name>example-user-name-val-50468</user-name>
                    <password>example-password-val-1251</password>
                    <system-type>example-system-type-val-26932</system-type>
                    <protocol>example-protocol-val-48734</protocol>
                    <ssl-cacert>example-ssl-cacert-val-13744</ssl-cacert>
                    <ssl-insecure>true</ssl-insecure>
                    <ip-address>example-ip-address-val-26255</ip-address>
                    <port>example-port-val-45263</port>
                    <cloud-domain>example-cloud-domain-val-56459</cloud-domain>
                    
<default-tenant>example-default-tenant-val-85926</default-tenant>
                    <passive>true</passive>
                    <remote-path>example-remotepath-val-6088</remote-path>
                    
<system-status>example-system-status-val-14842</system-status>
                </esr-system-info>
            </esr-system-info-list>
        </esr-thirdparty-sdnc>
    </esr-thirdparty-sdnc-list>
</external-system>

But with the https://127.0.0.1:8443/aai/v11/external-system/esr-vnfm-list 
<https://127.0.0.1:8443/aai/v11/external-system/esr-vnfm-list> request url, i 
am not getting any response fro vnfm.

Is my understanding correct

Regards,
Udhay

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

View/Reply Online (#15976): https://lists.onap.org/g/onap-discuss/message/15976
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