aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-09-19Merge "Add document for open cli schema 1.0"Kanagaraj Manickam2-3/+843
2017-09-18Fix sonar coverage issuesKanagaraj Manickam k003651063-3/+39
CLI-43 Change-Id: I7dc674db9ffc0bd2281003b3a680e52a0af9baab Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-18Improve the UT of profileKanagaraj Manickam k003651067-17/+46
CLI-43 Change-Id: If2f1040a93d18d8f4375c459db3e7250f4dba99f Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-18Add exception for profile persist layerKanagaraj Manickam k003651069-12/+155
CLI-43 Change-Id: I6b2b969cc3a56dbee60d2b9056a6a7f8f793a8b4 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-15Add document for open cli schema 1.0Kanagaraj Manickam k003651062-3/+843
CLI-2 Change-Id: I3dce578f5f1edb3babea2c948db4a28304cad75f Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-15Fixes SONAR critical bugsKanagaraj Manickam k003651066-22/+113
CLI-43 Change-Id: I8a901da62617589ec17b125b788104d201afafef Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-14Migrate type long into digitKanagaraj Manickam k0036510625-85/+34
CLI-3 Change-Id: I5706963146d9575a9094aa7c24b85e1a0d8e7f80 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-13Add vnfm show commandKanagaraj Manickam k003651068-41/+136
CLI-5 Change-Id: If3416c709d0bae0edd0c1eaa4a2449e848d8b030 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-13Add EMS show commandKanagaraj Manickam k003651068-43/+127
Adds ems-show command. in addition, adds samples for other ems commands CLI-5 Change-Id: I778e4a855f009c557d04f2f8b3651ebabbab7112 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-13Fix VIM commands and samplesKanagaraj Manickam k003651065-17/+61
AAI has fixed the ESR to create the VIM properly and VIM commands are updated to reflect that change. CLI-5 Change-Id: Ic768846129f218979d87737fc47cab272e6c83b8 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-13Print exception stack in dev modeKanagaraj Manickam k003651063-2/+12
CLI-14 Change-Id: I5df0d582e8c1885ac815e91af6d2536036143c34 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-13Namespace migration to open_cli_schema_versionKanagaraj Manickam k0036510689-95/+95
CLI-3 Change-Id: I87d739c9c9b9f8e7724f1aa736a51b0fd91c30df Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-13Fix subscription creation commandKanagaraj Manickam k003651062-1/+10
subscription-create has invalide PUT json body and is fixed. CLI-13 Change-Id: Ie5cae994606547c60ef07ea4a08dd5135fce62d0 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-11Add profile support in interactive modeKanagaraj Manickam k003651062-1/+16
CLI-5 Change-Id: I993da7756b8495a2cc1205ad9085391c9212e54c Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-11CLI profile supportKanagaraj Manickam k003651069-89/+246
invoke CLI with --profile <name> to persist the settings across the sessions. CLI-5 Change-Id: I214334dab11fecdb730c780976d5d9bb2c14509d Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-11Merge changes Ic38bf4d4,Ife8e618b,I99e0cf1e,I696e4e14,Idc93bd06, ...Kanagaraj Manickam22-10/+867
* changes: Migrate MSB commands to onap-1.1 version Add service context in set and unset Fix to consider 404 for delete success code Add ESR SDNC commands Add ESR VNFM commands Add ESR EMS commands Add ESR VIM commands
2017-09-11Migrate MSB commands to onap-1.1 versionKanagaraj Manickam k003651068-8/+8
CLI-5 Change-Id: Ic38bf4d43e0a7f81d7016b6728881fc3aa0b97aa Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-11Add service context in set and unsetKanagaraj Manickam k003651061-1/+5
To set service specific parameters, use set <service>:param-name=value CLI-5 Change-Id: Ife8e618ba50cbbd4357ac36f03d22dacd5c46de8 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-11Fix to consider 404 for delete success codeKanagaraj Manickam k003651061-1/+3
CLI-5 Change-Id: I99e0cf1ee39ce967d1d1f470b2df51f3378adeb5 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-11Add ESR SDNC commandsKanagaraj Manickam k003651063-0/+220
CLI-5 Change-Id: I696e4e145fef76e85c62df27c2fcae31a90f1bde Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-11Add ESR VNFM commandsKanagaraj Manickam k003651063-0/+198
CLI-5 Change-Id: Idc93bd0681c1a63cb91aaecfca585ba28816ced8 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-11Add ESR EMS commandsKanagaraj Manickam k003651063-0/+187
CLI-5 Change-Id: I10c1d5cec84f0c797cbdd8b71b40ab4d0024d852 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-11Add ESR VIM commandsKanagaraj Manickam k003651063-0/+246
CLI-5 Change-Id: I91da82e1a4ac94c37053880ac628e83b68064dc4 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-11Merge changes Ic267f3f4,I1347393eKanagaraj Manickam9-25/+75
* changes: Add CLI_DEV Base docker image to openjdk:8-jre-slim
2017-09-11Merge "Add TEXT parameter type"Kanagaraj Manickam2-1/+22
2017-09-08Add CLI_DEVKanagaraj Manickam k003651067-5/+35
While working on the commands implementation CLI_DEV env can be used to refresh the YAML everytime cli is ran CLI-2 Change-Id: Ic267f3f4eba7f8bd653eee9c82269d154a44e05c Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-08Base docker image to openjdk:8-jre-slimKanagaraj Manickam k003651062-20/+40
CLI-14 Change-Id: I1347393ebdeb643806f6fc7c78c9df12e97fd21f Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-08Merge "Make set specific to product version"Kanagaraj Manickam6-10/+84
2017-09-07Add TEXT parameter typeKanagaraj Manickam k003651062-1/+22
CLI-2 Change-Id: I4af65e154649e1cd891f30b870406fe5b5ea8cbb Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-07Make set specific to product versionKanagaraj Manickam k003651066-10/+84
CLI-2 Change-Id: If6c72255c4c84615dafe5f0074eb5532bc90bf5e Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-06Merge "Fix subscription-list command"Kanagaraj Manickam2-0/+43
2017-09-06Fix subscription-list commandKanagaraj Manickam k003651062-0/+43
Now it reports tenant, region and cloud CLI-14 Change-Id: I6d2bd1459d5a942603ac7c6e8b02ac06fe5b7625 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-05Merge changes I70ca564c,I502ca257Kanagaraj Manickam9-17/+142
* changes: Add set unset directive Make the cli zip download consistent
2017-09-05Add set unset directiveKanagaraj Manickam k003651067-29/+134
CLI-2 Change-Id: I70ca564cc2c41508bb209b5fae54104aba13a8be Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-05Make the cli zip download consistentKanagaraj Manickam k003651063-3/+23
CLI-14 Change-Id: I502ca257cb68f8817936f13bc3252bb0feac2ce6 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-05Merge "Add RST docs directory and index"Kanagaraj Manickam1-0/+8
2017-09-04Add RST docs directory and indexKanagaraj Manickam k003651061-0/+8
CLI-34 Change-Id: If9830f2dee721949acbeeced6b07f83f65a907c3 Signed-off-by: Kanagaraj Manickam k00365106<kanagaraj.manickam@huawei.com>
2017-09-04Merge "Add checkout command for VSP"Kanagaraj Manickam2-0/+37
2017-09-04Set the version 1.1.0Kanagaraj Manickam k003651061-1/+1
In Amesterdam release, to make the deployment very simple increasing the version to 1.1.0 from 1.0.0 CLI-14 Change-Id: Ie102bb13770ff42067b826bdfb2633cf7fd6cc3f Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-03Add checkout command for VSPBharath Thiruveedula2-0/+37
CLI-17 Signed-Off-By: Bharath T<bharath.thiruveedula@verizon.com> Change-Id: I0589f168848a94e5d891f2dc0d4e487b8d8efd9d
2017-09-01Subscription management commandsKanagaraj Manickam k0036510615-37/+211
CLI-13 Change-Id: I850b48d0e1974a087d1dd29550f4f726cb85f4d2 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-01Add occKanagaraj Manickam k003651066-18/+68
Enables ONAP command console at port 9090 CLI-13 Change-Id: If9f3a41853be200cc9e8e2b6d5c3470e6f013c53 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-08-31Make interactive mode as defaultKanagaraj Manickam k003651068-74/+125
CLI-37 Change-Id: Ic1ea32d4d38a46652de3fe7840391e76bc35a934 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-08-31Correct the spelling for cli mode daemonKanagaraj Manickam k003651061-2/+2
CLI-13 Change-Id: I5ba398dc8a458ba34fda086ab332ca1ca6d1c5c1 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-08-31Add command useKanagaraj Manickam k003651066-4/+77
use command helps to choose the product version to use while there are more than one product commands present in cli CLI-37 Change-Id: I4020bbbcc7574cfcc73ddcd4d46c627087990d20 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-08-30Update the customer commands for 1.1Kanagaraj Manickam k0036510624-24/+270
CLI-13 Change-Id: I1e95e2e29bec719cf25931e1468f92136072577e Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-08-30Consider missing attributes as blankKanagaraj Manickam k003651062-2/+2
sometime the response does not have the required filed to process and consider it as blank instead of failing it CLI-37 Change-Id: I953fcd5ee92aac5ca926029462f15f45ba765dfc Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-08-30Add validation for all commandsKanagaraj Manickam k003651067-43/+136
Add new project to validate the commands and optionally add required test cases CLI-35 Change-Id: I8bd437c77421a590b0e60e4aec12cc99997451a1 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-08-30Update Schema refresh to report product versionKanagaraj Manickam k003651065-6/+16
CLI-37 Change-Id: Ifabd3e0581c74fd76cc60ec2a5b3005fb023e55e Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-08-30Add versioning for commandKanagaraj Manickam k0036510681-99/+795
By allowing to add version to the YAML, helps to create same command for multiple versions of product say onap 1.0, 1.1 CLI-37 Change-Id: Ic3982ea912045ff4f422fcf093cbd98ecd99716d Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>