Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
themeMidnight
titleGET HSIA Service Instance relationship-list
linenumberstrue
collapsetrue
curl -X GET \
 'https://aai.api.simpledemo.openecomp.org:30233/aai/v11/business/customers/customer/{{business-customer-UUID}}/service-subscriptions/service-subscription/{{bbs-cfs-service-type}}/service-instances/service-instance/{{bbs-cfs-service-instance-UUID}}?depth=all' \
 -H 'Accept: application/json' \
 -H 'Authorization: Basic TW9kZWxMb2FkZXI6TW9kZWxMb2FkZXI=' \
 -H 'Content-Type: application/json' \
 -H 'Postman-Token: f799a782-ce93-4179-8739-71174aeb1028' \
 -H 'X-FromAppId: AAI' \
 -H 'X-TransactionId: jimmy-postman' \
 -H 'cache-control: no-cache'


Response:


{
 "service-instance-id": "535ee766-09ea-4815-a186-a316c393e849",
 "resource-version": "1553614797867",
 "orchestration-status": "assigned",
 "relationship-list": {
	 "relationship": [
		 {
		 "related-to": "pnf",
		 "relationship-label": "org.onap.relationships.inventory.ComposedOf",
		 "related-link": "/aai/v14/network/pnfs/pnf/pnf",
		 "relationship-data": [
		 	{
		 		"relationship-key": "pnf.pnf-name",
		 		"relationship-value": "pnf"
		 	}
	 		]
	 	}
	 ]
 },
 "metadata": {
 	"metadatum": [
 		{
 			"metaname": "cvlan",
 			"metaval": "1005",
			"resource-version": "1553614797883"
 		},
 		{
			"metaname": "svlan",
 			"metaval": "100",
			"resource-version": "1553614797909"
 		}
 	]
 }	
}

...

  • newState: InService → orchestration status: Active
  • newState: OutofService → orchestration status: Inactive (assigned)

Code Block
languagebash
themeMidnight
titlePUT orchestration status
linenumberstrue
collapsetrue

...