aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf')
-rw-r--r--plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-certify-complete-schema-1.1.yaml31
-rw-r--r--plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-certify-request-schema-1.1.yaml31
-rw-r--r--plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-certify-start-schema-1.1.yaml31
-rw-r--r--plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-checkin-schema-1.1.yaml31
-rw-r--r--plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-create-schema-1.1.yaml63
-rw-r--r--plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-list-schema-1.1.yaml70
-rw-r--r--plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf2vfmodule-model-list-schema-1.1.yaml64
7 files changed, 0 insertions, 321 deletions
diff --git a/plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-certify-complete-schema-1.1.yaml b/plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-certify-complete-schema-1.1.yaml
deleted file mode 100644
index 06ac254c..00000000
--- a/plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-certify-complete-schema-1.1.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
-open_cli_schema_version: 1.0
-name: vf-model-certify-complete
-description: Complete certifying Virtual function
-
-info:
- product: onap-amsterdam
- service: sdc
- author: ONAP CLI Team onap-discuss@lists.onap.org
-
-
-parameters:
- - name: vf-id
- description: VF ID
- type: string
- long_option: vf-id
- short_option: b
- is_optional: true
-
-http:
- service:
- name: sdc
- version: v1.0
- auth: basic
- mode: direct
- request:
- uri: /sdc2/rest/v1/catalog/resources/${vf-id}/lifecycleState/certify
- method: POST
- body: '{"userRemarks": "Completing certification via CLI"}'
- success_codes:
- - 200
-
diff --git a/plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-certify-request-schema-1.1.yaml b/plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-certify-request-schema-1.1.yaml
deleted file mode 100644
index 5af2098e..00000000
--- a/plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-certify-request-schema-1.1.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
-open_cli_schema_version: 1.0
-name: vf-model-certify-request
-description: Request for certifying Virtual function
-
-info:
- product: onap-amsterdam
- service: sdc
- author: ONAP CLI Team onap-discuss@lists.onap.org
-
-
-parameters:
- - name: vf-id
- description: VF ID
- type: string
- long_option: vf-id
- short_option: b
- is_optional: true
-
-http:
- service:
- name: sdc
- version: v1.0
- auth: basic
- mode: direct
- request:
- uri: /sdc2/rest/v1/catalog/resources/${vf-id}/lifecycleState/certificationRequest
- method: POST
- body: '{"userRemarks": "Requesting certification via CLI"}'
- success_codes:
- - 200
-
diff --git a/plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-certify-start-schema-1.1.yaml b/plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-certify-start-schema-1.1.yaml
deleted file mode 100644
index e7944133..00000000
--- a/plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-certify-start-schema-1.1.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
-open_cli_schema_version: 1.0
-name: vf-model-certify-start
-description: Start certifying Virtual function
-
-info:
- product: onap-amsterdam
- service: sdc
- author: ONAP CLI Team onap-discuss@lists.onap.org
-
-
-parameters:
- - name: vf-id
- description: VF ID
- type: string
- long_option: vf-id
- short_option: b
- is_optional: true
-
-http:
- service:
- name: sdc
- version: v1.0
- auth: basic
- mode: direct
- request:
- uri: /sdc2/rest/v1/catalog/resources/${vf-id}/lifecycleState/startCertification
- method: POST
- body: '{}'
- success_codes:
- - 200
-
diff --git a/plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-checkin-schema-1.1.yaml b/plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-checkin-schema-1.1.yaml
deleted file mode 100644
index 019cab00..00000000
--- a/plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-checkin-schema-1.1.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
-open_cli_schema_version: 1.0
-name: vf-model-checkin
-description: Checkin Virtual function
-
-info:
- product: onap-amsterdam
- service: sdc
- author: ONAP CLI Team onap-discuss@lists.onap.org
-
-
-parameters:
- - name: vf-id
- description: VF ID
- type: string
- long_option: vf-id
- short_option: b
- is_optional: true
-
-http:
- service:
- name: sdc
- version: v1.0
- auth: basic
- mode: direct
- request:
- uri: /sdc2/rest/v1/catalog/resources/${vf-id}/lifecycleState/checkin
- method: POST
- body: '{"userRemarks": "Checked in via CLI"}'
- success_codes:
- - 200
-
diff --git a/plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-create-schema-1.1.yaml b/plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-create-schema-1.1.yaml
deleted file mode 100644
index 44b706d0..00000000
--- a/plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-create-schema-1.1.yaml
+++ /dev/null
@@ -1,63 +0,0 @@
-open_cli_schema_version: 1.0
-name: vf-model-create
-description: Create Virtual function from Vendor Software Product
-
-info:
- product: onap-amsterdam
- service: sdc
- author: ONAP CLI Team onap-discuss@lists.onap.org
-
-
-parameters:
- - name: name
- description: Onap VF Name
- type: string
- short_option: x
- long_option: name
- is_optional: false
- - name: description
- description: Description for VF
- type: string
- short_option: y
- long_option: description
- is_optional: true
- - name: vendor-name
- description: Vendor name
- type: string
- long_option: vendor-name
- short_option: z
- is_optional: true
- - name: vsp-id
- description: VSP ID
- type: string
- long_option: vsp-id
- short_option: b
- is_optional: true
- - name: vsp-version
- description: VSP version
- type: string
- long_option: vsp-version
- short_option: g
- is_optional: true
-results:
- direction: portrait
- attributes:
- - name: ID
- description: VF ID
- scope: short
- type: string
-http:
- service:
- name: sdc
- version: v1.0
- auth: basic
- mode: direct
- request:
- uri: /sdc2/rest/v1/catalog/resources
- method: POST
- body: '{"contactId": "${onap-username}", "vendorRelease": "1.0", "requirements": {}, "artifacts": {}, "capabilities": {}, "componentInstancesProperties": {}, "deploymentArtifacts": {}, "icon": "defaulticon", "vendorName": "${vendor-name}", "description": "${description}", "tags": ["CLI", "${name}"], "groups": [], "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": []}'
- success_codes:
- - 201
- result_map:
- ID: $b{$.uniqueId}
-
diff --git a/plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-list-schema-1.1.yaml b/plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-list-schema-1.1.yaml
deleted file mode 100644
index 48619c87..00000000
--- a/plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-list-schema-1.1.yaml
+++ /dev/null
@@ -1,70 +0,0 @@
-open_cli_schema_version: 1.0
-name: vf-model-list
-description: List the VF resource model in SDC
-
-info:
- product: onap-amsterdam
- service: sdc
- author: ONAP CLI Team onap-discuss@lists.onap.org
-
-
-results:
- direction: landscape
- attributes:
- - name: uuid
- description: UUID
- type: string
- scope: short
- - name: uniqueid
- description: UUID
- type: string
- scope: short
- - name: invariant-uuid
- description: Invariant UUID
- type: string
- scope: short
- - name: name
- description: Name
- type: string
- scope: short
- - name: version
- description: version
- type: string
- scope: short
- - name: status
- description: status
- type: string
- scope: short
- - name: description
- description: description
- type: string
- scope: long
- - name: vsp-uuid
- description: VSP uuid
- type: string
- scope: long
- - name: vsp-version
- description: VSP version
- type: string
- scope: long
-http:
- service:
- name: sdc
- version: v1.0
- auth: basic
- mode: direct
- request:
- uri: /sdc2/rest/v1/followed
- method: GET
- success_codes:
- - 200
- result_map:
- uuid: $b{resources.[*].uuid}
- uniqueid: $b{resources.[*].uniqueId}
- invariant-uuid: $b{resources.[*].invariantUUID}
- version: $b{resources.[*].version}
- name: $b{resources.[*].name}
- status: $b{resources.[*].lifecycleState}
- description: $b{resources.[*].description}
- vsp-uuid: $b{resources.[*].csarUUID}
- vsp-version: $b{resources.[*].csarVersion}
diff --git a/plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf2vfmodule-model-list-schema-1.1.yaml b/plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf2vfmodule-model-list-schema-1.1.yaml
deleted file mode 100644
index ae151279..00000000
--- a/plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf2vfmodule-model-list-schema-1.1.yaml
+++ /dev/null
@@ -1,64 +0,0 @@
-open_cli_schema_version: 1.0
-name: vf2vfmodule-model-list
-description: List the VF modules in a given VF model in SDC
-
-info:
- product: onap-amsterdam
- service: sdc
- author: ONAP CLI Team onap-discuss@lists.onap.org
-
-
-parameters:
- - name: vf-id
- description: VF uuid
- type: string
- short_option: z
- long_option: vf-id
- is_optional: false
-
-results:
- direction: landscape
- attributes:
- - name: vsp-uuid
- description: VSP uuid
- type: string
- scope: short
- - name: vsp-version
- description: VSP version
- type: string
- scope: short
- - name: module-uuid
- description: UUID
- type: string
- scope: short
- - name: module-invariant-uuid
- description: Invariant UUID
- type: string
- scope: short
- - name: module-name
- description: name
- type: string
- scope: short
- - name: module-version
- description: version
- type: string
- scope: short
-
-http:
- service:
- name: sdc
- version: v1.0
- auth: basic
- mode: direct
- request:
- uri: /sdc2/rest/v1/catalog/resources/${vf-id}
- method: GET
- success_codes:
- - 200
- result_map:
- module-uuid: $b{groups.[?(@.type == 'org.openecomp.groups.VfModule')].groupUUID}
- module-name: $b{groups.[?(@.type == 'org.openecomp.groups.VfModule')].name}
- module-version: $b{groups.[?(@.type == 'org.openecomp.groups.VfModule')].version}
- module-invariant-uuid: $b{groups.[?(@.type == 'org.openecomp.groups.VfModule')].invariantUUID}
- vsp-uuid: $b{$.csarUUID}
- vsp-version: $b{$.csarVersion} \ No newline at end of file