X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=docs%2Fapi%2Fswagger%2Fncmp%2Fopenapi-inventory.yaml;h=53f51f3f8bdcd6f13b11fce38b3a49cec139ad8e;hb=ddc467140f29038f4506468a30b2eb1414e93aad;hp=af6b004b1ba93c63f816ba3fa84a5c21ca15cc71;hpb=0af82141cb75a04a16248e17d4e915a580e82300;p=cps.git diff --git a/docs/api/swagger/ncmp/openapi-inventory.yaml b/docs/api/swagger/ncmp/openapi-inventory.yaml index af6b004b1..53f51f3f8 100644 --- a/docs/api/swagger/ncmp/openapi-inventory.yaml +++ b/docs/api/swagger/ncmp/openapi-inventory.yaml @@ -261,32 +261,46 @@ components: example: updatedCmHandles: - cmHandle: my-cm-handle + alternateId: my-alternate-id publicCmHandleProperties: key: my-property cmHandleProperties: key: my-property moduleSetTag: my-module-set-tag + trustLevel: COMPLETE - cmHandle: my-cm-handle + alternateId: my-alternate-id publicCmHandleProperties: key: my-property cmHandleProperties: key: my-property moduleSetTag: my-module-set-tag + trustLevel: COMPLETE createdCmHandles: - cmHandle: my-cm-handle + alternateId: my-alternate-id publicCmHandleProperties: key: my-property cmHandleProperties: key: my-property moduleSetTag: my-module-set-tag + trustLevel: COMPLETE - cmHandle: my-cm-handle + alternateId: my-alternate-id publicCmHandleProperties: key: my-property cmHandleProperties: key: my-property moduleSetTag: my-module-set-tag + trustLevel: COMPLETE dmiPlugin: my-dmi-plugin dmiModelPlugin: my-dmi-model-plugin + upgradedCmHandles: + cmHandles: + - my-cm-handle1 + - my-cm-handle2 + - my-cm-handle3 + moduleSetTag: my-module-set-tag dmiDataPlugin: my-dmi-data-plugin removedCmHandles: - my-cm-handle1 @@ -321,15 +335,19 @@ components: items: type: string type: array + upgradedCmHandles: + $ref: '#/components/schemas/UpgradedCmHandles' type: object RestInputCmHandle: example: cmHandle: my-cm-handle + alternateId: my-alternate-id publicCmHandleProperties: key: my-property cmHandleProperties: key: my-property moduleSetTag: my-module-set-tag + trustLevel: COMPLETE properties: cmHandle: example: my-cm-handle @@ -347,6 +365,15 @@ components: moduleSetTag: example: my-module-set-tag type: string + trustLevel: + enum: + - COMPLETE + - NONE + example: COMPLETE + type: string + alternateId: + example: my-alternate-id + type: string required: - cmHandle type: object @@ -355,6 +382,29 @@ components: example: my-property type: string type: object + UpgradedCmHandles: + example: + cmHandles: + - my-cm-handle1 + - my-cm-handle2 + - my-cm-handle3 + moduleSetTag: my-module-set-tag + properties: + cmHandles: + example: + - my-cm-handle1 + - my-cm-handle2 + - my-cm-handle3 + items: + type: string + type: array + moduleSetTag: + default: "" + example: my-module-set-tag + type: string + required: + - cmHandles + type: object ErrorMessage: properties: status: @@ -379,6 +429,10 @@ components: items: $ref: '#/components/schemas/CmHandlerRegistrationErrorResponse' type: array + failedUpgradeCmHandles: + items: + $ref: '#/components/schemas/CmHandlerRegistrationErrorResponse' + type: array type: object CmHandlerRegistrationErrorResponse: properties: