aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sdc/src/main/resources/onap-cli-schema/vf
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sdc/src/main/resources/onap-cli-schema/vf')
-rw-r--r--plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-certify-complete-schema-1.1.yaml26
-rw-r--r--plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-certify-request-schema-1.1.yaml26
-rw-r--r--plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-certify-start-schema-1.1.yaml26
-rw-r--r--plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-checkin-schema-1.1.yaml26
-rw-r--r--plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-create-schema-1.1.yaml58
-rw-r--r--plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-list-schema-1.1.yaml65
-rw-r--r--plugins/sdc/src/main/resources/onap-cli-schema/vf/vf2vfmodule-model-list-schema-1.1.yaml59
7 files changed, 0 insertions, 286 deletions
diff --git a/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-certify-complete-schema-1.1.yaml b/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-certify-complete-schema-1.1.yaml
deleted file mode 100644
index 4baca00c..00000000
--- a/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-certify-complete-schema-1.1.yaml
+++ /dev/null
@@ -1,26 +0,0 @@
-open_cli_schema_version: 1.0
-name: vf-model-certify-complete
-description: Complete certifying Virtual function
-version: onap-1.1
-service:
- name: sdc
- version: v1.0
- auth: basic
- mode: direct
-
-parameters:
- - name: vf-id
- description: VF ID
- type: string
- long_option: vf-id
- short_option: b
- is_optional: true
-
-http:
- 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/sdc/src/main/resources/onap-cli-schema/vf/vf-model-certify-request-schema-1.1.yaml b/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-certify-request-schema-1.1.yaml
deleted file mode 100644
index 301449ce..00000000
--- a/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-certify-request-schema-1.1.yaml
+++ /dev/null
@@ -1,26 +0,0 @@
-open_cli_schema_version: 1.0
-name: vf-model-certify-request
-description: Request for certifying Virtual function
-version: onap-1.1
-service:
- name: sdc
- version: v1.0
- auth: basic
- mode: direct
-
-parameters:
- - name: vf-id
- description: VF ID
- type: string
- long_option: vf-id
- short_option: b
- is_optional: true
-
-http:
- 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/sdc/src/main/resources/onap-cli-schema/vf/vf-model-certify-start-schema-1.1.yaml b/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-certify-start-schema-1.1.yaml
deleted file mode 100644
index f37a1af0..00000000
--- a/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-certify-start-schema-1.1.yaml
+++ /dev/null
@@ -1,26 +0,0 @@
-open_cli_schema_version: 1.0
-name: vf-model-certify-start
-description: Start certifying Virtual function
-version: onap-1.1
-service:
- name: sdc
- version: v1.0
- auth: basic
- mode: direct
-
-parameters:
- - name: vf-id
- description: VF ID
- type: string
- long_option: vf-id
- short_option: b
- is_optional: true
-
-http:
- request:
- uri: /sdc2/rest/v1/catalog/resources/${vf-id}/lifecycleState/startCertification
- method: POST
- body: '{}'
- success_codes:
- - 200
-
diff --git a/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-checkin-schema-1.1.yaml b/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-checkin-schema-1.1.yaml
deleted file mode 100644
index 4ee74e12..00000000
--- a/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-checkin-schema-1.1.yaml
+++ /dev/null
@@ -1,26 +0,0 @@
-open_cli_schema_version: 1.0
-name: vf-model-checkin
-description: Checkin Virtual function
-version: onap-1.1
-service:
- name: sdc
- version: v1.0
- auth: basic
- mode: direct
-
-parameters:
- - name: vf-id
- description: VF ID
- type: string
- long_option: vf-id
- short_option: b
- is_optional: true
-
-http:
- 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/sdc/src/main/resources/onap-cli-schema/vf/vf-model-create-schema-1.1.yaml b/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-create-schema-1.1.yaml
deleted file mode 100644
index fb3635fa..00000000
--- a/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-create-schema-1.1.yaml
+++ /dev/null
@@ -1,58 +0,0 @@
-open_cli_schema_version: 1.0
-name: vf-model-create
-description: Create Virtual function from Vendor Software Product
-version: onap-1.1
-service:
- name: sdc
- version: v1.0
- auth: basic
- mode: direct
-
-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:
- 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/sdc/src/main/resources/onap-cli-schema/vf/vf-model-list-schema-1.1.yaml b/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-list-schema-1.1.yaml
deleted file mode 100644
index 50a568a8..00000000
--- a/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-list-schema-1.1.yaml
+++ /dev/null
@@ -1,65 +0,0 @@
-open_cli_schema_version: 1.0
-name: vf-model-list
-description: List the VF resource model in SDC
-version: onap-1.1
-service:
- name: sdc
- version: v1.0
- auth: basic
- mode: direct
-
-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:
- 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/sdc/src/main/resources/onap-cli-schema/vf/vf2vfmodule-model-list-schema-1.1.yaml b/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf2vfmodule-model-list-schema-1.1.yaml
deleted file mode 100644
index a138363f..00000000
--- a/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf2vfmodule-model-list-schema-1.1.yaml
+++ /dev/null
@@ -1,59 +0,0 @@
-open_cli_schema_version: 1.0
-name: vf2vfmodule-model-list
-description: List the VF modules in a given VF model in SDC
-version: onap-1.1
-service:
- name: sdc
- version: v1.0
- auth: basic
- mode: direct
-
-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:
- 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