aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/onap-1.1/features/sdc/src
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-04 18:26:10 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-11-20 12:24:16 +0530
commit325ea8e8f7bc4df7b07fd107cc9b3bd315d8e7f1 (patch)
tree70d829802692d52f2bd8aa8f9091e00e313893c4 /plugins/onap-1.1/features/sdc/src
parent864eafac295bb9cc4c0b4315aa7c262eb214ccc6 (diff)
Migrate plugins to use info section
Issue-Id: CLI-66 Change-Id: I06a2b76ac426bfcfe3b5fcf5e3b828d18c0e9a68 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins/onap-1.1/features/sdc/src')
-rw-r--r--plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/license-models/license-model-create-schema.yaml14
-rw-r--r--plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/license-models/license-model-show-schema.yaml14
-rw-r--r--plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-checkin-schema.yaml14
-rw-r--r--plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-checkout-schema.yaml16
-rw-r--r--plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-create-schema.yaml14
-rw-r--r--plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-list-schema.yaml14
-rw-r--r--plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-show-schema.yaml14
-rw-r--r--plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-submit-schema.yaml14
-rw-r--r--plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-upload-schema.yaml14
9 files changed, 74 insertions, 54 deletions
diff --git a/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/license-models/license-model-create-schema.yaml b/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/license-models/license-model-create-schema.yaml
index a6b844cb..d107846d 100644
--- a/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/license-models/license-model-create-schema.yaml
+++ b/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/license-models/license-model-create-schema.yaml
@@ -1,12 +1,11 @@
open_cli_schema_version: 1.0
name: license-model-create
description: Create License Model
-version: onap-1.1
-service:
- name: sdc
- version: v1.0
- auth: basic
- mode: direct
+
+info:
+ product: onap-1.1
+ service: sdc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
parameters:
- name: vendor-name
@@ -29,6 +28,9 @@ results:
scope: short
type: string
http:
+ service:
+ auth: none
+ mode: direct
request:
uri: /onboarding-api/v1.0/vendor-license-models
method: POST
diff --git a/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/license-models/license-model-show-schema.yaml b/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/license-models/license-model-show-schema.yaml
index c0ae3e07..4d1d8a9d 100644
--- a/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/license-models/license-model-show-schema.yaml
+++ b/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/license-models/license-model-show-schema.yaml
@@ -1,12 +1,11 @@
open_cli_schema_version: 1.0
name: license-model-show
description: Details of the License Model
-version: onap-1.1
-service:
- name: sdc
- version: v1.0
- auth: basic
- mode: direct
+
+info:
+ product: onap-1.1
+ service: sdc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
parameters:
- name: license-model-id
@@ -36,6 +35,9 @@ results:
scope: short
type: string
http:
+ service:
+ auth: none
+ mode: direct
request:
uri: /onboarding-api/v1.0/vendor-software-products/${license-model-id}
method: GET
diff --git a/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-checkin-schema.yaml b/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-checkin-schema.yaml
index ce6aef09..acb6a076 100644
--- a/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-checkin-schema.yaml
+++ b/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-checkin-schema.yaml
@@ -1,12 +1,11 @@
open_cli_schema_version: 1.0
name: vsp-checkin
description: Checkin Vendor Software Product
-version: onap-1.1
-service:
- name: sdc
- version: v1.0
- auth: basic
- mode: direct
+
+info:
+ product: onap-1.1
+ service: sdc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
parameters:
- name: vsp-id
@@ -16,6 +15,9 @@ parameters:
long_option: vsp-id
is_optional: false
http:
+ service:
+ auth: none
+ mode: direct
request:
uri: /onboarding-api/v1.0/vendor-software-products/${vsp-id}/actions
method: PUT
diff --git a/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-checkout-schema.yaml b/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-checkout-schema.yaml
index d790ce55..033b9374 100644
--- a/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-checkout-schema.yaml
+++ b/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-checkout-schema.yaml
@@ -1,13 +1,11 @@
open_cli_schema_version: 1.0
name: vsp-checkout
description: Checkout Vendor Software Product
-version: onap-1.1
-service:
- name: sdc
- version: v1.0
- auth: basic
- mode: direct
+info:
+ product: onap-1.1
+ service: sdc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
parameters:
- name: vsp-id
@@ -17,6 +15,12 @@ parameters:
long_option: vsp-id
is_optional: false
http:
+ service:
+ auth: none
+ mode: direct
+ service:
+ auth: none
+ mode: direct
request:
uri: /onboarding-api/v1.0/vendor-software-products/${vsp-id}/actions
method: PUT
diff --git a/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-create-schema.yaml b/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-create-schema.yaml
index 4b3da1d0..690ecabf 100644
--- a/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-create-schema.yaml
+++ b/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-create-schema.yaml
@@ -1,12 +1,11 @@
open_cli_schema_version: 1.0
name: vsp-create
description: Create Vendor Software Product
-version: onap-1.1
-service:
- name: sdc
- version: v1.0
- auth: basic
- mode: direct
+
+info:
+ product: onap-1.1
+ service: sdc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
parameters:
- name: vsp-name
@@ -67,6 +66,9 @@ results:
scope: short
type: string
http:
+ service:
+ auth: none
+ mode: direct
request:
uri: /onboarding-api/v1.0/vendor-software-products
method: POST
diff --git a/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-list-schema.yaml b/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-list-schema.yaml
index 24212102..77fda362 100644
--- a/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-list-schema.yaml
+++ b/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-list-schema.yaml
@@ -1,12 +1,11 @@
open_cli_schema_version: 1.0
name: vsp-list
description: List of the Vendor Software Products
-version: onap-1.1
-service:
- name: sdc
- version: v1.0
- auth: basic
- mode: direct
+
+info:
+ product: onap-1.1
+ service: sdc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
results:
direction: landscape
@@ -20,6 +19,9 @@ results:
scope: short
type: string
http:
+ service:
+ auth: none
+ mode: direct
request:
uri: /onboarding-api/v1.0/vendor-software-products
method: GET
diff --git a/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-show-schema.yaml b/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-show-schema.yaml
index bb3cde39..9310275d 100644
--- a/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-show-schema.yaml
+++ b/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-show-schema.yaml
@@ -1,12 +1,11 @@
open_cli_schema_version: 1.0
name: vsp-show
description: Details of the Vendor Software Product
-version: onap-1.1
-service:
- name: sdc
- version: v1.0
- auth: basic
- mode: direct
+
+info:
+ product: onap-1.1
+ service: sdc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
parameters:
- name: vsp-id
@@ -32,6 +31,9 @@ results:
scope: short
type: string
http:
+ service:
+ auth: none
+ mode: direct
request:
uri: /onboarding-api/v1.0/vendor-software-products/${vsp-id}
method: GET
diff --git a/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-submit-schema.yaml b/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-submit-schema.yaml
index 13170725..029fd123 100644
--- a/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-submit-schema.yaml
+++ b/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-submit-schema.yaml
@@ -1,12 +1,11 @@
open_cli_schema_version: 1.0
name: vsp-submit
description: Submit Vendor Software Product
-version: onap-1.1
-service:
- name: sdc
- version: v1.0
- auth: basic
- mode: direct
+
+info:
+ product: onap-1.1
+ service: sdc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
parameters:
- name: vsp-id
@@ -16,6 +15,9 @@ parameters:
long_option: vsp-id
is_optional: false
http:
+ service:
+ auth: none
+ mode: directs
request:
uri: /onboarding-api/v1.0/vendor-software-products/${vsp-id}/actions
method: PUT
diff --git a/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-upload-schema.yaml b/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-upload-schema.yaml
index c868d3d7..fda1144f 100644
--- a/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-upload-schema.yaml
+++ b/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-upload-schema.yaml
@@ -1,12 +1,11 @@
open_cli_schema_version: 1.0
name: vsp-upload
description: Upload the CSAR file to VSP
-version: onap-1.1
-service:
- name: sdc
- version: v1.0
- auth: basic
- mode: direct
+
+info:
+ product: onap-1.1
+ service: sdc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
parameters:
- name: vsp-id
@@ -22,6 +21,9 @@ parameters:
long_option: vsp-file
is_optional: false
http:
+ service:
+ auth: none
+ mode: direct
request:
uri: /onboarding-api/v1.0/vendor-software-products/${vsp-id}/upload
method: POST