summaryrefslogtreecommitdiffstats
path: root/plugins/openecomp/auth/src/main/resources/open-cli-schema
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/openecomp/auth/src/main/resources/open-cli-schema')
-rw-r--r--plugins/openecomp/auth/src/main/resources/open-cli-schema/basic-login-onap-1-0.yaml29
-rw-r--r--plugins/openecomp/auth/src/main/resources/open-cli-schema/basic-login-onap-sdc-1-0.yaml35
-rw-r--r--plugins/openecomp/auth/src/main/resources/open-cli-schema/basic-logout-onap-1-0.yaml11
3 files changed, 75 insertions, 0 deletions
diff --git a/plugins/openecomp/auth/src/main/resources/open-cli-schema/basic-login-onap-1-0.yaml b/plugins/openecomp/auth/src/main/resources/open-cli-schema/basic-login-onap-1-0.yaml
new file mode 100644
index 00000000..675a1f88
--- /dev/null
+++ b/plugins/openecomp/auth/src/main/resources/open-cli-schema/basic-login-onap-1-0.yaml
@@ -0,0 +1,29 @@
+open_cli_schema_version: 1.0
+
+name: basic-login
+
+description: ONAP basic login auth command
+
+info:
+ product: openecomp
+ service: basic-auth
+ type: auth
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+results:
+ direction: portrait
+ attributes:
+ - name: Authorization
+ description: Authorization
+ scope: short
+ type: string
+ - name: X-TransactionId
+ description: X-TransactionId
+ scope: short
+ type: string
+ default_value: req-$s{uuid}
+ - name: X-FromAppId
+ description: X-FromAppId
+ scope: short
+ type: string
+ default_value: ONAP CLI
diff --git a/plugins/openecomp/auth/src/main/resources/open-cli-schema/basic-login-onap-sdc-1-0.yaml b/plugins/openecomp/auth/src/main/resources/open-cli-schema/basic-login-onap-sdc-1-0.yaml
new file mode 100644
index 00000000..d9467440
--- /dev/null
+++ b/plugins/openecomp/auth/src/main/resources/open-cli-schema/basic-login-onap-sdc-1-0.yaml
@@ -0,0 +1,35 @@
+open_cli_schema_version: 1.0
+
+name: sdc-basic-login
+
+description: ONAP basic login auth command
+
+
+info:
+ product: openecomp
+ service: sdc-basic-auth
+ type: auth
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
+results:
+ direction: portrait
+ attributes:
+ - name: Authorization
+ description: Authorization
+ scope: short
+ type: string
+ - name: X-TransactionId
+ description: X-TransactionId
+ scope: short
+ type: string
+ default_value: req-$s{uuid}
+ - name: X-FromAppId
+ description: X-FromAppId
+ scope: short
+ type: string
+ default_value: ONAP CLI
+ - name: USER_ID
+ description: USER_ID for sdc
+ scope: short
+ type: string
+ default_value: ${host-username} \ No newline at end of file
diff --git a/plugins/openecomp/auth/src/main/resources/open-cli-schema/basic-logout-onap-1-0.yaml b/plugins/openecomp/auth/src/main/resources/open-cli-schema/basic-logout-onap-1-0.yaml
new file mode 100644
index 00000000..1e2bea22
--- /dev/null
+++ b/plugins/openecomp/auth/src/main/resources/open-cli-schema/basic-logout-onap-1-0.yaml
@@ -0,0 +1,11 @@
+open_cli_schema_version: 1.0
+
+name: basic-logout
+
+description: ONAP basic logout auth command
+
+info:
+ product: openecomp
+ service: basic-auth
+ type: auth
+ author: ONAP CLI Team onap-discuss@lists.onap.org