Add license headers and improves help for CLI cmds 23/43923/2
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Tue, 10 Apr 2018 10:34:38 +0000 (16:04 +0530)
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Mon, 23 Apr 2018 05:20:19 +0000 (10:50 +0530)
Issue-ID: CLI-100

Change-Id: I43a7d310afae4a3bbda699c443e8ba1a8a283575
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
profiles/http/src/main/resources/open-cli-schema/http/basic-login.yaml
profiles/http/src/main/resources/open-cli-schema/http/basic-logout.yaml
profiles/http/src/main/resources/open-cli-schema/http/catalog.yaml
profiles/http/src/main/resources/open-cli-schema/http/default_input_parameters_http.yaml

index a3e63af..b3b5149 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2018 Huawei Technologies Co., Ltd.
+# Copyright 2017-18 Huawei Technologies Co., Ltd.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -16,7 +16,8 @@ open_cli_schema_version: 1.0
 
 name: basic-login
 
-description: basic login auth command
+description: |
+  Provides HTTP basic authorization support.
 
 info:
   product: open-cli
index d89b6a4..3590f26 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2018 Huawei Technologies Co., Ltd.
+# Copyright 2017-18 Huawei Technologies Co., Ltd.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -16,7 +16,8 @@ open_cli_schema_version: 1.0
 
 name: basic-logout
 
-description: basic logout auth command
+description: |
+  Provides HTTP basic authorization support. As part of logout, it invalidate authoirzation key generated while login.
 
 info:
   product: open-cli
index e8b0718..9cb6b7b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2018 Huawei Technologies Co., Ltd.
+# Copyright 2017-18 Huawei Technologies Co., Ltd.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -16,7 +16,10 @@ open_cli_schema_version: 1.0
 
 name: catalog
 
-description: cli catalog command to find the base path for service.
+description: |
+  Provides catalog discovery support to find the base api path for given service from product's catalog service.
+  Any product want to support catalog, it could derive from this command. Currently ONAP uses it and create
+  derived command by using ONAP MSB service.
 
 info:
   product: open-cli
index 2f7999a..585aebb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2018 Huawei Technologies Co., Ltd.
+# Copyright 2017-18 Huawei Technologies Co., Ltd.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -42,14 +42,14 @@ parameters:
     is_default_param: true
   - name: no-auth
     type: bool
-    description: whether to authenticate user or not
+    description: Whether to authenticate user or not
     short_option: a
     long_option: no-auth
     default_value: false
     is_default_param: true
   - name: no-catalog
     type: bool
-    description: whether to use given host-url directly without looking into catalog, it will override the service->mode.
+    description: Whether to use given host-url directly or discover it from catalog, it will override the service->mode.
     short_option: C
     long_option: no-catalog
     is_optional: true
@@ -57,7 +57,9 @@ parameters:
     default_value: false
   - name: verify
     type: bool
-    description: verify the command using available command sample file and mocking file. By default it goes with mock style. To enable the verification in real time, set DISABLE_MOCKING=true in the context param.
+    description: |
+       Helps to verify the command using samples provides under open-cli-samples directory. By default, it goes with mock.
+       To enable the verification of samples in real time, set DISABLE_MOCKING=true in the context parameter.
     default_value: false
     is_include: true
     is_optional: true
\ No newline at end of file