summaryrefslogtreecommitdiffstats
path: root/plugins/onap-1.0/features/aai/src/main/resources
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/aai/src/main/resources
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/aai/src/main/resources')
-rw-r--r--plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/cloud-region/cloud-list-schema.yaml15
-rw-r--r--plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-create-schema.yaml15
-rw-r--r--plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-delete-schema.yaml15
-rw-r--r--plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-list-schema.yaml15
-rw-r--r--plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-show-schema.yaml15
-rw-r--r--plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/service-type/service-type-create-schema.yaml15
-rw-r--r--plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/service-type/service-type-delete-schema.yaml15
-rw-r--r--plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/service-type/service-type-list-schema.yaml15
-rw-r--r--plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/subscription/subscription-create-schema.yaml15
-rw-r--r--plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/subscription/subscription-list-schema.yaml15
10 files changed, 90 insertions, 60 deletions
diff --git a/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/cloud-region/cloud-list-schema.yaml b/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/cloud-region/cloud-list-schema.yaml
index 10a7e954..f3e93e4d 100644
--- a/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/cloud-region/cloud-list-schema.yaml
+++ b/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/cloud-region/cloud-list-schema.yaml
@@ -1,12 +1,12 @@
open_cli_schema_version: 1.0
name: cloud-list
description: List the configured clouds and Onap service subscriptions
-version: onap-1.0
-service:
- name: aai
- version: v8
- auth: basic
- mode: direct
+
+info:
+ product: onap-1.0
+ service: aai
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
results:
direction: landscape
@@ -36,6 +36,9 @@ results:
scope: long
type: string
http:
+ service:
+ auth: basic
+ mode: direct
request:
uri: /aai/v8/cloud-infrastructure/cloud-regions
method: GET
diff --git a/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-create-schema.yaml b/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-create-schema.yaml
index e79cd5e6..304f5471 100644
--- a/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-create-schema.yaml
+++ b/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-create-schema.yaml
@@ -1,12 +1,12 @@
open_cli_schema_version: 1.0
name: customer-create
description: Create a customer in Onap
-version: onap-1.0
-service:
- name: aai
- version: v8
- auth: basic
- mode: direct
+
+info:
+ product: onap-1.0
+ service: aai
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
parameters:
- name: customer-name
@@ -23,6 +23,9 @@ parameters:
is_optional: false
http:
+ service:
+ auth: basic
+ mode: direct
request:
uri: /aai/v8/business/customers/customer/${customer-name}
method: PUT
diff --git a/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-delete-schema.yaml b/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-delete-schema.yaml
index 48455cdc..98e11b8e 100644
--- a/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-delete-schema.yaml
+++ b/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-delete-schema.yaml
@@ -1,12 +1,12 @@
open_cli_schema_version: 1.0
name: customer-delete
description: Delete a customer from Onap
-version: onap-1.0
-service:
- name: aai
- version: v8
- auth: basic
- mode: direct
+
+info:
+ product: onap-1.0
+ service: aai
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
parameters:
- name: customer-name
@@ -22,6 +22,9 @@ parameters:
long_option: resource-version
is_optional: true
http:
+ service:
+ auth: basic
+ mode: direct
request:
uri: /aai/v8/business/customers/customer/${customer-name}?resource-version=${resource-version}
method: DELETE
diff --git a/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-list-schema.yaml b/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-list-schema.yaml
index 0866cfb4..dab97755 100644
--- a/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-list-schema.yaml
+++ b/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-list-schema.yaml
@@ -1,12 +1,12 @@
open_cli_schema_version: 1.0
name: customer-list
description: Lists the registetred customers in Onap
-version: onap-1.0
-service:
- name: aai
- version: v8
- auth: basic
- mode: direct
+
+info:
+ product: onap-1.0
+ service: aai
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
results:
direction: landscape
attributes:
@@ -19,6 +19,9 @@ results:
scope: short
type: string
http:
+ service:
+ auth: basic
+ mode: direct
request:
uri: /aai/v8/business/customers
method: GET
diff --git a/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-show-schema.yaml b/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-show-schema.yaml
index bb37aa27..45caad5d 100644
--- a/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-show-schema.yaml
+++ b/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-show-schema.yaml
@@ -1,12 +1,12 @@
open_cli_schema_version: 1.0
name: customer-show
description: Lists the registetred customers in Onap
-version: onap-1.0
-service:
- name: aai
- version: v8
- auth: basic
- mode: direct
+
+info:
+ product: onap-1.0
+ service: aai
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
parameters:
- name: customer-name
@@ -36,6 +36,9 @@ results:
scope: long
type: string
http:
+ service:
+ auth: basic
+ mode: direct
request:
uri: /aai/v8/business/customers/customer/${customer-name}
method: GET
diff --git a/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/service-type/service-type-create-schema.yaml b/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/service-type/service-type-create-schema.yaml
index f8a73841..e5f398ed 100644
--- a/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/service-type/service-type-create-schema.yaml
+++ b/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/service-type/service-type-create-schema.yaml
@@ -1,12 +1,12 @@
open_cli_schema_version: 1.0
name: service-type-create
description: Add a service type in Onap
-version: onap-1.0
-service:
- name: aai
- version: v8
- auth: basic
- mode: direct
+
+info:
+ product: onap-1.0
+ service: aai
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
parameters:
- name: service-type
@@ -23,6 +23,9 @@ parameters:
is_optional: true
http:
+ service:
+ auth: basic
+ mode: direct
request:
uri: /aai/v8/service-design-and-creation/services/service/${service-type-id}
method: PUT
diff --git a/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/service-type/service-type-delete-schema.yaml b/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/service-type/service-type-delete-schema.yaml
index a2b438b6..977e78ad 100644
--- a/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/service-type/service-type-delete-schema.yaml
+++ b/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/service-type/service-type-delete-schema.yaml
@@ -1,12 +1,12 @@
open_cli_schema_version: 1.0
name: service-type-delete
description: Delete a service type from Onap
-version: onap-1.0
-service:
- name: aai
- version: v8
- auth: basic
- mode: direct
+
+info:
+ product: onap-1.0
+ service: aai
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
parameters:
- name: service-type-id
@@ -22,6 +22,9 @@ parameters:
long_option: resource-version
is_optional: true
http:
+ service:
+ auth: basic
+ mode: direct
request:
uri: /aai/v8/service-design-and-creation/services/service/${service-type-id}?resource-version=${resource-version}
queries:
diff --git a/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/service-type/service-type-list-schema.yaml b/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/service-type/service-type-list-schema.yaml
index bdff43c3..c97ea77d 100644
--- a/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/service-type/service-type-list-schema.yaml
+++ b/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/service-type/service-type-list-schema.yaml
@@ -1,12 +1,12 @@
open_cli_schema_version: 1.0
name: service-type-list
description: List the service types configured in Onap
-version: onap-1.0
-service:
- name: aai
- version: v8
- auth: basic
- mode: direct
+
+info:
+ product: onap-1.0
+ service: aai
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
results:
direction: landscape
@@ -24,6 +24,9 @@ results:
scope: short
type: string
http:
+ service:
+ auth: basic
+ mode: direct
request:
uri: /aai/v8/service-design-and-creation/services
method: GET
diff --git a/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/subscription/subscription-create-schema.yaml b/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/subscription/subscription-create-schema.yaml
index a45f8cfd..e6d059aa 100644
--- a/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/subscription/subscription-create-schema.yaml
+++ b/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/subscription/subscription-create-schema.yaml
@@ -1,12 +1,12 @@
open_cli_schema_version: 1.0
name: subscription-create
description: Create a subscription for a customer in Onap
-version: onap-1.0
-service:
- name: aai
- version: v8
- auth: basic
- mode: direct
+
+info:
+ product: onap-1.0
+ service: aai
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
parameters:
- name: customer-name
@@ -52,6 +52,9 @@ parameters:
long_option: resource-version
is_optional: true
http:
+ service:
+ auth: basic
+ mode: direct
request:
uri: /aai/v8/business/customers/customer/${customer-name}
method: PUT
diff --git a/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/subscription/subscription-list-schema.yaml b/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/subscription/subscription-list-schema.yaml
index 634c5cb2..75b9b3a7 100644
--- a/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/subscription/subscription-list-schema.yaml
+++ b/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/subscription/subscription-list-schema.yaml
@@ -1,12 +1,12 @@
open_cli_schema_version: 1.0
name: subscription-list
description: Lists the subscription for a given customer in Onap
-version: onap-1.0
-service:
- name: aai
- version: v8
- auth: basic
- mode: direct
+
+info:
+ product: onap-1.0
+ service: aai
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
parameters:
- name: customer-name
@@ -25,6 +25,9 @@ results:
type: string
http:
+ service:
+ auth: basic
+ mode: direct
request:
uri: /aai/v8/business/customers/customer/${customer-name}
method: GET