diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-09-26 10:04:10 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-11-14 14:38:52 +0530 |
commit | 39f345954434553d10e0cea114e15e0521ec9471 (patch) | |
tree | 652c0dae69f8238c41f903d9697160e3b3ed2960 /plugins/auth/src/main/resources/open-cli-schema | |
parent | 8e14f39a1c41a2b5bf793877926b312e4b6102d4 (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 'plugins/auth/src/main/resources/open-cli-schema')
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 |