aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/main/resources/onap-cli-schema
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-09-26 10:04:10 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-11-14 14:38:52 +0530
commit39f345954434553d10e0cea114e15e0521ec9471 (patch)
tree652c0dae69f8238c41f903d9697160e3b3ed2960 /framework/src/main/resources/onap-cli-schema
parent8e14f39a1c41a2b5bf793877926b312e4b6102d4 (diff)
Migrate onap-cli-schema into open-cli-schema
Issue-Id: CLI-66 Change-Id: I719719194bc5f21f4316380e606ce1a58f0f046c Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'framework/src/main/resources/onap-cli-schema')
-rw-r--r--framework/src/main/resources/onap-cli-schema/basic-login.yaml17
-rw-r--r--framework/src/main/resources/onap-cli-schema/basic-logout.yaml13
-rw-r--r--framework/src/main/resources/onap-cli-schema/catalog.yaml42
-rw-r--r--framework/src/main/resources/onap-cli-schema/schema-refresh.yaml31
-rw-r--r--framework/src/main/resources/onap-cli-schema/schema-validate.yaml38
5 files changed, 0 insertions, 141 deletions
diff --git a/framework/src/main/resources/onap-cli-schema/basic-login.yaml b/framework/src/main/resources/onap-cli-schema/basic-login.yaml
deleted file mode 100644
index 10bc8a80..00000000
--- a/framework/src/main/resources/onap-cli-schema/basic-login.yaml
+++ /dev/null
@@ -1,17 +0,0 @@
-open_cli_schema_version: 1.0
-name: basic-login
-description: basic login auth command
-version: cli-1.0
-type: auth
-
-service:
- name: onap-cli
- version: 1.0.0
-
-results:
- direction: portrait
- attributes:
- - name: Authorization
- description: Authorization
- scope: short
- type: string
diff --git a/framework/src/main/resources/onap-cli-schema/basic-logout.yaml b/framework/src/main/resources/onap-cli-schema/basic-logout.yaml
deleted file mode 100644
index ccb05160..00000000
--- a/framework/src/main/resources/onap-cli-schema/basic-logout.yaml
+++ /dev/null
@@ -1,13 +0,0 @@
-open_cli_schema_version: 1.0
-
-name: basic-logout
-
-description: basic logout auth command
-
-version: cli-1.0
-
-type: auth
-
-service:
- name: onap-cli
- version: 1.0.0
diff --git a/framework/src/main/resources/onap-cli-schema/catalog.yaml b/framework/src/main/resources/onap-cli-schema/catalog.yaml
deleted file mode 100644
index 6cfdb0a0..00000000
--- a/framework/src/main/resources/onap-cli-schema/catalog.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
-open_cli_schema_version: 1.0
-
-name: catalog
-
-description: cli catalog command to find the base path for service.
-
-version: cli-1.0
-
-type: catalog
-
-service:
- auth: none
- name: onap-cli
- version: 1.0.0
- mode: direct
-
-parameters:
- - name: catalog-service-name
- type: string
- description: service name registered in catalog service
- short_option: l
- long_option: catalog-service-name
- is_optional: false
- - name: catalog-service-version
- type: string
- description: service version registered in catalog service
- short_option: i
- long_option: catalog-service-version
- is_optional: false
-results:
- direction: portrait
- attributes:
- - name: catalog-service-host-url
- description: Service connection url
- scope: short
- type: string
- default_value: ${host-url}
- - name: catalog-service-base-path
- description: service base path, to append with host-url for connecting the service.
- scope: short
- type: string
- default_value: / \ No newline at end of file
diff --git a/framework/src/main/resources/onap-cli-schema/schema-refresh.yaml b/framework/src/main/resources/onap-cli-schema/schema-refresh.yaml
deleted file mode 100644
index 280dec36..00000000
--- a/framework/src/main/resources/onap-cli-schema/schema-refresh.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
-open_cli_schema_version: 1.0
-name: schema-refresh
-description: Onap command to refresh schemas stored in onap_cli_schema folders.
-version: cli-1.0
-service:
- auth: none
- name: onap-cli
- version: 1.0.0
-results:
- direction: landscape
- attributes:
- - name: sl-no
- description: Serial Number
- scope: short
- type: string
- - name: command
- description: Command name
- scope: short
- type: string
- - name: product-version
- description: Command product version
- scope: short
- type: string
- - name: schema
- description: Schema name
- scope: short
- type: string
- - name: version
- description: Schema version
- scope: short
- type: string \ No newline at end of file
diff --git a/framework/src/main/resources/onap-cli-schema/schema-validate.yaml b/framework/src/main/resources/onap-cli-schema/schema-validate.yaml
deleted file mode 100644
index 55e61e58..00000000
--- a/framework/src/main/resources/onap-cli-schema/schema-validate.yaml
+++ /dev/null
@@ -1,38 +0,0 @@
-open_cli_schema_version: 1.0
-name: schema-validate
-description: Onap command to validate schema
-version: cli-1.0
-service:
- auth: none
- name: onap-cli
- version: 1.0.0
-default_parameters:
- exclude:
- - host-username
- - host-password
- - host-url
- - no-auth
-parameters:
- - name: schema-location
- type: url
- description: Schema file location
- short_option: l
- long_option: schema-location
- is_optional: false
- - name: internal-schema
- type: bool
- description: Validate existing schema file
- short_option: i
- long_option: internal-schema
- is_optional: false
-results:
- direction: landscape
- attributes:
- - name: sl-no
- description: Serial Number of error
- scope: short
- type: string
- - name: error
- description: Schema validation error
- scope: short
- type: string \ No newline at end of file