diff options
-rw-r--r-- | deployment/http/web/version.json | 2 | ||||
-rw-r--r-- | docs/cmd_help_onap_beijing.rst | 50 | ||||
-rw-r--r-- | docs/user_guide_verification_program.rst | 17 | ||||
-rw-r--r-- | framework/src/main/resources/log4j.properties | 2 |
4 files changed, 43 insertions, 28 deletions
diff --git a/deployment/http/web/version.json b/deployment/http/web/version.json index 6fce85a8..168ae006 100644 --- a/deployment/http/web/version.json +++ b/deployment/http/web/version.json @@ -1 +1 @@ -{"name": "oclip", "version": "2.0.0"}
\ No newline at end of file +{"name": "oclip", "version": "2.0.2"}
\ No newline at end of file diff --git a/docs/cmd_help_onap_beijing.rst b/docs/cmd_help_onap_beijing.rst index db2b2e33..550422d1 100644 --- a/docs/cmd_help_onap_beijing.rst +++ b/docs/cmd_help_onap_beijing.rst @@ -13,7 +13,7 @@ onap-beijing ============== -[1] basic-login +basic-login ----------------------------------------------- @@ -77,7 +77,7 @@ Error:: -[2] basic-logout +basic-logout ----------------------------------------------- @@ -128,7 +128,7 @@ Error:: -[3] catalog +catalog ----------------------------------------------- @@ -190,7 +190,7 @@ Error:: -[4] cloud-create +cloud-create ----------------------------------------------- @@ -254,7 +254,7 @@ Error:: -[5] cloud-delete +cloud-delete ----------------------------------------------- @@ -321,7 +321,7 @@ Error:: -[6] cloud-list +cloud-list ----------------------------------------------- @@ -392,7 +392,7 @@ Error:: -[7] customer-create +customer-create ----------------------------------------------- @@ -456,7 +456,7 @@ Error:: -[8] customer-delete +customer-delete ----------------------------------------------- @@ -520,7 +520,7 @@ Error:: -[9] customer-list +customer-list ----------------------------------------------- @@ -587,7 +587,7 @@ Error:: -[10] customer-show +customer-show ----------------------------------------------- @@ -658,7 +658,7 @@ Error:: -[11] ems-list +ems-list ----------------------------------------------- @@ -724,7 +724,7 @@ Error:: -[12] ems-register +ems-register ----------------------------------------------- @@ -804,7 +804,7 @@ Error:: -[13] ems-show +ems-show ----------------------------------------------- @@ -875,7 +875,7 @@ Error:: -[14] ems-unregister +ems-unregister ----------------------------------------------- @@ -938,7 +938,7 @@ Error:: -[15] ep-create +ep-create ----------------------------------------------- @@ -1024,7 +1024,7 @@ Error:: -[16] ep-show +ep-show ----------------------------------------------- @@ -1096,7 +1096,7 @@ Error:: -[17] generic-search +generic-search ----------------------------------------------- @@ -1169,7 +1169,7 @@ Error:: -[18] license-group-create +license-group-create ----------------------------------------------- @@ -1241,7 +1241,7 @@ Error:: -[19] license-group-show + license-group-show ----------------------------------------------- @@ -1313,7 +1313,7 @@ Error:: -[20] license-model-create +license-model-create ----------------------------------------------- @@ -1382,7 +1382,7 @@ Error:: -[21] license-model-show +license-model-show ----------------------------------------------- @@ -1453,7 +1453,7 @@ Error:: -[22] logic-link-create +logic-link-create ----------------------------------------------- @@ -1539,7 +1539,7 @@ Error:: -[23] logic-link-delete +logic-link-delete ----------------------------------------------- @@ -1603,7 +1603,7 @@ Error:: -[24] logic-link-list +logic-link-list ----------------------------------------------- @@ -1677,7 +1677,7 @@ Error:: -[25] logic-link-list +logic-link-list ----------------------------------------------- diff --git a/docs/user_guide_verification_program.rst b/docs/user_guide_verification_program.rst index e944d8e5..462badb8 100644 --- a/docs/user_guide_verification_program.rst +++ b/docs/user_guide_verification_program.rst @@ -8,4 +8,19 @@ CLI verification program ============================================== -TBD.
\ No newline at end of file +Verification program helps the author to setup the mocking environment for the HTTP profile (and +in future it could be extended to other profile) for authoring the testing the CLI OCS YAMLs. + +It provides the model based test environment where author needs to setup following aspects: + +# Write the moco json which capture the HTTP request and response in moco style + +# Write the sample YAML which capture the one or more functional test case(s) + +# Place them under open-cli-sample directory under OPEN_CLI_HOME + +Once this setup is done, author can verify the OCS YAML by running the following CLI :: + + oclip <command name> --verify | -V + +It will list out the success/failure of each test cases written in sample YAML. diff --git a/framework/src/main/resources/log4j.properties b/framework/src/main/resources/log4j.properties index 4c783d37..97422c39 100644 --- a/framework/src/main/resources/log4j.properties +++ b/framework/src/main/resources/log4j.properties @@ -14,7 +14,7 @@ log4j.rootLogger=ERROR, file -log4j.logger.org.onap.cli=DEBUG, file +log4j.logger.org.onap.cli=ERROR, file # Direct log messages to stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender |