diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-09-20 16:17:43 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-11-14 14:38:23 +0530 |
commit | e3fbe2ce554c851aee4cb3d047ec08510ed4d382 (patch) | |
tree | 10e8b8f1be9b8eaa261d296dabf0e56d75e65db5 /plugins/auth/src/main/resources/onap-cli-schema/basic-login-onap-sdc-1-1.yaml | |
parent | 1ecc057676a6ef788d5193261abd98bd364f10c0 (diff) |
Basic auth login and logout command
Issue-Id: CLI-66
Change-Id: Ief44cd0d12d7814c029129ff4d8a384dc36c369f
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins/auth/src/main/resources/onap-cli-schema/basic-login-onap-sdc-1-1.yaml')
-rw-r--r-- | plugins/auth/src/main/resources/onap-cli-schema/basic-login-onap-sdc-1-1.yaml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/plugins/auth/src/main/resources/onap-cli-schema/basic-login-onap-sdc-1-1.yaml b/plugins/auth/src/main/resources/onap-cli-schema/basic-login-onap-sdc-1-1.yaml new file mode 100644 index 00000000..ca07dca2 --- /dev/null +++ b/plugins/auth/src/main/resources/onap-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 |