summaryrefslogtreecommitdiffstats
path: root/plugins/auth/src/main/resources/open-cli-schema
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/auth/src/main/resources/open-cli-schema')
-rw-r--r--plugins/auth/src/main/resources/open-cli-schema/basic-login-onap-1-1.yaml31
-rw-r--r--plugins/auth/src/main/resources/open-cli-schema/basic-login-onap-sdc-1-1.yaml36
-rw-r--r--plugins/auth/src/main/resources/open-cli-schema/basic-logout-onap-1-1.yaml13
3 files changed, 80 insertions, 0 deletions
diff --git a/plugins/auth/src/main/resources/open-cli-schema/basic-login-onap-1-1.yaml b/plugins/auth/src/main/resources/open-cli-schema/basic-login-onap-1-1.yaml
new file mode 100644
index 00000000..cb17ff12
--- /dev/null
+++ b/plugins/auth/src/main/resources/open-cli-schema/basic-login-onap-1-1.yaml
@@ -0,0 +1,31 @@
+open_cli_schema_version: 1.0
+
+name: basic-login
+
+description: ONAP basic login auth command
+
+version: onap-1.1
+
+type: auth
+
+service:
+ name: onap
+ version: v1
+
+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/auth/src/main/resources/open-cli-schema/basic-login-onap-sdc-1-1.yaml b/plugins/auth/src/main/resources/open-cli-schema/basic-login-onap-sdc-1-1.yaml
new file mode 100644
index 00000000..ca07dca2
--- /dev/null
+++ b/plugins/auth/src/main/resources/open-cli-schema/basic-login-onap-sdc-1-1.yaml
@@ -0,0 +1,36 @@
+open_cli_schema_version: 1.0
+
+name: sdc-basic-login
+
+description: ONAP basic login auth command
+
+version: onap-1.1
+
+type: auth
+
+service:
+ name: onap
+ version: v1
+
+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/auth/src/main/resources/open-cli-schema/basic-logout-onap-1-1.yaml b/plugins/auth/src/main/resources/open-cli-schema/basic-logout-onap-1-1.yaml
new file mode 100644
index 00000000..46a4bea7
--- /dev/null
+++ b/plugins/auth/src/main/resources/open-cli-schema/basic-logout-onap-1-1.yaml
@@ -0,0 +1,13 @@
+open_cli_schema_version: 1.0
+
+name: basic-logout
+
+description: ONAP basic logout auth command
+
+version: onap-1.1
+
+type: auth
+
+service:
+ name: onap
+ version: v1