SO sets that field in A&AI, at distribution time.

Thanks

-Steve

From: <[email protected]> on behalf of Andrew Fenner 
<[email protected]>
Date: Thursday, May 3, 2018 at 12:51 PM
To: "[email protected]" <[email protected]>
Subject: [onap-discuss] [integration][vid][aai] Distribution status attribute 
in AAI for models

Hi,

Looking at the latest (todays) images for VID and AAI I think I see a mismatch.

VID is doing a query into AAI looking for
{"start" : "service-design-and-creation/models/","query" : 
"query/serviceModels-byDistributionStatus?distributionStatus=DISTRIBUTION_COMPLETE_OK"}

But in the distributed model I only have
{
  "model-version-id": "2add64e4-9cce-46c1-82dd-7a7565fe2f89",
  "model-name": "EricssonMME",
  "model-version": "1.0",
  "model-description": "aaaa",
  "resource-version": "1525356180694"
}

No models were found by vid.

I updated the model with a PUT so that I had

{
  "model-version-id": "2add64e4-9cce-46c1-82dd-7a7565fe2f89",
 "model-name": "EricssonMME",
  "model-version": "1.0",
  "distribution-status": "DISTRIBUTION_COMPLETE_OK",
  "model-description": "aaaa",
  "resource-version": "1525365593392"
}

And then the model appears in VID.

Should AAI be setting the distribution-status ?? or is Vid been to strict ????

Thanks

/Andrew

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

Reply via email to