Hi Ofir,

Can you please send me what response are you expecting from the named query?
Also, send what objects and relationships that you created to check if the 
problem is with your data.

Thanks,
Harish

From: SONSINO, OFIR
Sent: Monday, October 23, 2017 6:13 AM
To: KAJUR, HARISH V <[email protected]>; onap-discuss <[email protected]>
Cc: FORSYTH, JAMES <[email protected]>
Subject: [aai] partial query result

Hi Harish, all,

I query A&AI with POST to this url: 
https://10.12.25.72:8443/aai/search/named-query (integration lab)
With the following request body:
{
   "instance-filters":{
      "instance-filter":[
         {
            "customer":{
               "global-customer-id":"Demonstration"
            },
            "service-subscription":{
               "service-type":"vFW"
            }
         }
      ]
   },
   "query-parameters":{
      "named-query":{
         "named-query-uuid":"6e806bc2-8f9b-4534-bb68-be91267ff6c8"
      }
   }
}

The response is:
{"inventory-response-item":[{"service-subscription":{"service-type":"vFW","resource-version":"1508744915155"},"extra-properties":{}}]}

While it should have an "inventory-response-items" key under each object inside 
the inventory-response-item array. That key is missing, it should contain list 
of possible services to deploy.
Any thoughts ?

Thanks,

Ofir Sonsino
Project Technical Lead, VID
AT&T Network Application Development * NetCom
Tel Aviv | Tampa | Atlanta | New Jersey |Chicago
***************************************************************************
Office: +972 (3) 5451417
Mobile: +972 (52) 4377782
E-mail: [email protected]<mailto:[email protected]>

_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to