When you do the PUT for an existing object, you need to add a query parameter for resource-version, so:
curl -i -u 'AAI:AAI' -X PUT 'https://10.0.1.1:8443/aai/v13/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/availability-zones/availability-zone/nova' becomes curl -i -u 'AAI:AAI' -X PUT 'https://10.0.1.1:8443/aai/v13/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/availability-zones/availability-zone/nova?resource-version=1548233389761' The value of the "resource-version" comes from the GET call. Keong -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15135): https://lists.onap.org/g/onap-discuss/message/15135 Mute This Topic: https://lists.onap.org/mt/29521825/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
