aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/onap-1.0/features/sdc/src/main/resources/open-cli-schema/license-models
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.0/features/sdc/src/main/resources/open-cli-schema/license-models
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.0/features/sdc/src/main/resources/open-cli-schema/license-models')
-rw-r--r--plugins/onap-1.0/features/sdc/src/main/resources/open-cli-schema/license-models/license-model-create-schema.yaml15
-rw-r--r--plugins/onap-1.0/features/sdc/src/main/resources/open-cli-schema/license-models/license-model-show-schema.yaml14
2 files changed, 17 insertions, 12 deletions
diff --git a/plugins/onap-1.0/features/sdc/src/main/resources/open-cli-schema/license-models/license-model-create-schema.yaml b/plugins/onap-1.0/features/sdc/src/main/resources/open-cli-schema/license-models/license-model-create-schema.yaml
index 58a8681a..57085d54 100644
--- a/plugins/onap-1.0/features/sdc/src/main/resources/open-cli-schema/license-models/license-model-create-schema.yaml
+++ b/plugins/onap-1.0/features/sdc/src/main/resources/open-cli-schema/license-models/license-model-create-schema.yaml
@@ -1,12 +1,12 @@
open_cli_schema_version: 1.0
name: license-model-create
description: Create License Model
-version: onap-1.0
-service:
- name: sdc
- version: v1.0
- auth: basic
- mode: direct
+
+info:
+ product: onap-1.0
+ service: sdc
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
parameters:
- name: vendor-name
@@ -29,6 +29,9 @@ results:
scope: short
type: string
http:
+ service:
+ auth: basic
+ mode: direct
request:
uri: /onboarding-api/v1.0/vendor-license-models
method: POST
diff --git a/plugins/onap-1.0/features/sdc/src/main/resources/open-cli-schema/license-models/license-model-show-schema.yaml b/plugins/onap-1.0/features/sdc/src/main/resources/open-cli-schema/license-models/license-model-show-schema.yaml
index 8214c19c..fe950f32 100644
--- a/plugins/onap-1.0/features/sdc/src/main/resources/open-cli-schema/license-models/license-model-show-schema.yaml
+++ b/plugins/onap-1.0/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.0
-service:
- name: sdc
- version: v1.0
- auth: basic
- mode: direct
+
+info:
+ product: onap-1.0
+ 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: basic
+ mode: direct
request:
uri: /onboarding-api/v1.0/vendor-software-products/${license-model-id}
method: GET