summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-08-29Fix classpath to include docs and confKanagaraj Manickam k003651064-58/+14
CLI-37 Change-Id: Iba7be18c12fd242c966eb7567dad401e82bc5149 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-08-28Add deamon mode to dockerfileKanagaraj Manickam k003651062-2/+17
Helps to run docker in either console mode(default) or deamon mode (by setting env MODE=deamon CLI-14 Change-Id: Iaa4adc2c5d20978ffa6c91bb270411cab7ff85a8 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-08-26Add VSP lifecycle commandsBharath Thiruveedula25-20/+440
Change-Id: Ibdc78b3ab1921c160f8ee193fcd47be0c75f94a9 Issue-ID: CLI-16 Signed-off-by: Bharath T<bharath.thiruveedula@verizon.com>
2017-08-24Merge "Enable remote debugging for onapcli"Kanagaraj Manickam1-1/+7
2017-08-24Merge "Fix sonar blocker issues"Kanagaraj Manickam1-6/+6
2017-08-24Merge "Add samples for cloud-list command"Kanagaraj Manickam1-0/+16
2017-08-23Add distributionManagement tag for site deployGary Wu1-0/+8
Change-Id: Iab53f44c79476ddb6c43179fb069b5d2fb2aafae Issue-id: INT-110 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-08-24Enable remote debugging for onapclisubhash kumar singh1-1/+7
Enable remote debugging for onapcli. Introduce following two environment variable: ONAP_CLI_DEBUG: set true to enable remote debugging. ONAP_CLI_DEBUG: set remote debugging port (default 5005). Issue-Id: CLI-36 Change-Id: I971d3bd22d283c44da307896c20ae75e42c51bef Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-08-23Merge "Replace if-else check with switch case"Kanagaraj Manickam2-261/+324
2017-08-23Fix sonar blocker issuesKanagaraj Manickam k003651061-6/+6
CLI-34 Change-Id: Ie143e3cdaf89497474c916b4a61a92617eef6efc Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-08-23Merge "Add simple http server"Kanagaraj Manickam4-4/+67
2017-08-23Add samples for cloud-list commandKanagaraj Manickam k003651061-0/+16
CLI-34 Change-Id: I9daac7878e0d11605f977db274f34e75f2e0a30a Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-08-23Replace if-else check with switch caseSubhash Kumar Singh2-261/+324
Replace if-else check in schema load with switch case. Issue-Id: CLI-24 Change-Id: I0990b9ea8a1ebb9a2f739cfe527ba2e051ade03c Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>