diff options
Diffstat (limited to 'products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf')
5 files changed, 13 insertions, 3 deletions
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-certify-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-certify-schema-elalto.yaml index b7ac626f..c3e4ff9b 100644 --- a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-certify-schema-elalto.yaml +++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-certify-schema-elalto.yaml @@ -60,6 +60,8 @@ http: request: uri: /sdc2/rest/v1/catalog/resources/${vf-id}/lifecycleState/certify method: POST + headers: + USER_ID: ${host-username} body: '{"userRemarks":"${remarks}"}' success_codes: - 200 diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-checkin-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-checkin-schema-elalto.yaml index a2db03f2..d88e0bac 100644 --- a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-checkin-schema-elalto.yaml +++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-checkin-schema-elalto.yaml @@ -59,10 +59,12 @@ http: request: uri: /sdc2/rest/v1/catalog/resources/${vf-id}/lifecycleState/CHECKIN method: POST + headers: + USER_ID: ${host-username} body: '{"userRemarks": "${remarks}"}' success_codes: - 200 result_map: id: $b{$.uniqueId} version: $b{$.version} - uuid: $b{$.uuid}
\ No newline at end of file + uuid: $b{$.uuid} diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-checkout-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-checkout-schema-elalto.yaml index 4ce33529..d4fa5491 100644 --- a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-checkout-schema-elalto.yaml +++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-checkout-schema-elalto.yaml @@ -51,9 +51,11 @@ http: request: uri: /sdc2/rest/v1/catalog/resources/${vf-id}/lifecycleState/CHECKOUT method: POST + headers: + USER_ID: ${host-username} body: '{}' success_codes: - 200 result_map: id: $b{$.uniqueId} - version: $b{$.version}
\ No newline at end of file + version: $b{$.version} diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-create-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-create-schema-elalto.yaml index 9d1b3e91..c5496202 100644 --- a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-create-schema-elalto.yaml +++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-create-schema-elalto.yaml @@ -78,6 +78,8 @@ http: request: uri: /sdc2/rest/v1/catalog/resources method: POST + headers: + USER_ID: ${host-username} body: '{"contactId": "${host-username}", "vendorRelease": "1.0", "requirements": {}, "artifacts": {}, "capabilities": {}, "componentInstancesProperties": {}, "deploymentArtifacts": {}, "icon": "defaulticon", "vendorName": "${vendor-name}", "description": "${description}", "tags": ["CLI", "${name}"], "properties": [], "categories": [{"subcategories": [{"normalizedName": "abstract", "name": "Abstract", "uniqueId": "resourceNewCategory.generic.abstract", "icons": ["database"]}], "normalizedName": "generic", "name": "Generic", "uniqueId": "resourceNewCategory.generic"}], "name": "${name}", "toscaArtifacts": {}, "csarUUID": "${vsp-id}", "resourceType": "VF", "csarVersion": "${vsp-version}", "componentType": "RESOURCE", "componentInstancesAttributes": {}, "attributes": [], "componentInstances": []}' context: remove_empty_node: true @@ -86,4 +88,4 @@ http: result_map: id: $b{$.uniqueId} uuid: $b{$.uuid} - inputs: $b{$.inputs.[*].uniqueId}
\ No newline at end of file + inputs: $b{$.inputs.[*].uniqueId} diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-list-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-list-schema-elalto.yaml index e05b1a30..dff8467e 100644 --- a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-list-schema-elalto.yaml +++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-list-schema-elalto.yaml @@ -70,6 +70,8 @@ http: request: uri: /sdc2/rest/v1/followed method: GET + headers: + USER_ID: ${host-username} success_codes: - 200 result_map: |