Jimmy,

Thanks for the update.

Thanks,
Thiriloshini

-----Original Message-----
From: FORSYTH, JAMES <[email protected]> 
Sent: Friday, February 15, 2019 1:28 PM
To: [email protected]; [email protected]; Thoppekrishnakumar, 
Thiriloshini <[email protected]>
Subject: Re: [onap-discuss] [AAI] Questions on AAI REST APIs

Hi, Thiriloshini,

I have added the document:

https://urldefense.proofpoint.com/v2/url?u=https-3A__onap.readthedocs.io_en_casablanca_submodules_aai_aai-2Dcommon.git_docs_AAI-2520REST-2520API-2520Documentation_bulkApi.html&d=DwIGaQ&c=09aR81AqZjK9FqV5BSCPBw&r=I1jivgCaLtLwcDmPXao4FVAfQHO4jJsh_tzGG-LrvaM4UX5OI9qN3wJdIa2CCyRw&m=ZPrSJ2v66cecuHOaioWjMmmGl1m27-qs9ofaloAXq1s&s=StUPCkuGOcca0I5Nrvg94HsWUIGQlzgJN-7WppKJEiw&e=

thanks,
jimmy

On 2/14/19, 7:19 PM, "[email protected] on behalf of Keong Lim" 
<[email protected] on behalf of [email protected]> wrote:

    Hi Thiriloshini,
    
    As we discussed on 
https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_2019-2D02-2D14-2BAAI-2BDevelopers-2BMeeting&d=DwIFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=Oej6QUk5p2KdqNEWySpOHA&m=9h3PkcV5Lz1GnId5yxBa1XIquAyozfMzrT8yWMExyyw&s=4z_L6Ectc1jUaO0oTi0y5RN7LSjXp0_rdWDszKzE02c&e=
 :
    
    On Fri, Feb 15, 2019 at 05:25 AM, 
[email protected] wrote:
    > I am new to ONAP and I am currently working on AAI (Casablanca branch) 
and I
    > have below questions for the same.
    > 
    > 
    > 1.       I see APIs to ADD/DELETE/UPDATE a single PNF to/from AAI. Is it
    > possible to do a bulk ADD/DELETE/UPDATE ? That is, ADD/DELETE/UPDATE 
multiple
    > PNFs in one API call instead of doing multiple calls for each PNF.
    
    The documentation at:
    
    
https://urldefense.proofpoint.com/v2/url?u=https-3A__onap.readthedocs.io_en_casablanca_submodules_aai_aai-2Dcommon.git_docs_AAI-2520REST-2520API-2520Documentation_AAIRESTAPI-5FCASABLANCA.html-23bulk-2Dapis&d=DwIFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=Oej6QUk5p2KdqNEWySpOHA&m=9h3PkcV5Lz1GnId5yxBa1XIquAyozfMzrT8yWMExyyw&s=RMpUF0Ya2ofU4y0ArOXklWXZjvWs9PQlNlEbpRoR4EE&e=
    
    is intended to have a link to the wiki, but it appears to be broken. That 
will be fixed.
    
    
    > 2.       I added some p-interfaces as part of adding a pnf. Please find 
below
    > a sample json that I used. I use POSTMAN for all REST operations.
    > The pnf addition was successful. When I try to fetch the pnf, I expected 
to
    > see the p-interfaces as well under the pnf element as that's how I see in 
the
    > pnf model. But I had to make a separate GET API call to see the 
interfaces.
    
    The default GET API uses a "depth" of zero, meaning that related objects 
are not returned.
    However, you can change this by adding the optional query parameter 
"depth=1":
    
    
https://urldefense.proofpoint.com/v2/url?u=https-3A__onap.readthedocs.io_en_casablanca_submodules_aai_aai-2Dcommon.git_docs_AAI-2520REST-2520API-2520Documentation_AAIRESTAPI-5FCASABLANCA.html-23optional-2Dquery-2Dparameters&d=DwIFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=Oej6QUk5p2KdqNEWySpOHA&m=9h3PkcV5Lz1GnId5yxBa1XIquAyozfMzrT8yWMExyyw&s=70XKjU-16zTo6ideP0PY5Kblo-qqHuuOX3J4MGzkXBc&e=
    
    Note that on the query API, the default depth is 1:
    
    
https://urldefense.proofpoint.com/v2/url?u=https-3A__onap.readthedocs.io_en_casablanca_submodules_aai_aai-2Dcommon.git_docs_AAI-2520REST-2520API-2520Documentation_AAIRESTAPI-5FCASABLANCA.html-23depth&d=DwIFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=Oej6QUk5p2KdqNEWySpOHA&m=9h3PkcV5Lz1GnId5yxBa1XIquAyozfMzrT8yWMExyyw&s=LqmUrdRweC0Zp6Hj0aR7G1LzYh7L4nMjNfTIV-nxvxc&e=
    
    Thanks for raising it to the AAI Developers meeting!
    
    
    
    


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

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

Reply via email to