summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-08-21Add simple http serverKanagaraj Manickam k003651064-4/+67
For providing download link, README, etc a tiny http server is embedded into CLI CLI-33 Change-Id: Ifacb9067613be4414da7a5faad06e7671cd1bc63 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-08-18Merge "Add DELETE for customer and service"Kanagaraj Manickam4-0/+72
2017-08-18Merge changes I8fdb8450,I68855cafKanagaraj Manickam17-1404/+795
* changes: Move schema validation to load schema Move schema validation to load schema
2017-08-18Move schema validation to load schemasubhash kumar singh11-1402/+683
Move schema validation to load schema. Issue-Id: CLI-25 Change-Id: I8fdb8450f6f95b7170c10b0ec5883162a4cf406a Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-08-18Move schema validation to load schemasubhash kumar singh6-2/+112
Move schema validation to load schema. Issue-Id: CLI-25 Change-Id: I68855caf80cf1b55b41916e124a53b53e7af93d3 Signed-off-by: Subhash Kumar Singh <Subhash.Kumar.Singh@huawei.com>
2017-08-17Add DELETE for customer and serviceKanagaraj Manickam k003651064-0/+72
CLI-13 Change-Id: Ie7276ddc4c7607c28c67f68d5f057e8bde3c8a5f Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-08-17Add cloud and service commandsKanagaraj Manickam k003651064-0/+120
CLI-13 Change-Id: Ic9f3c5182580a6241c8f97d675b2819f025a01db Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-08-17Add UUID param typeKanagaraj Manickam k003651062-1/+6
CLI-13 Change-Id: Ia312119a9bf6b5075d482d28008569658c76ae58 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-08-17Add customer & subscription management commandsKanagaraj Manickam k003651068-0/+255
CLI-13 Change-Id: Ia21006ca1dae3a451782c7c2e4df535e05ecaca6 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-08-17Add basic auth mode for serviceKanagaraj Manickam k0036510612-99/+125
CLI-29 Change-Id: I8c46a23d5875275dadcdddfd8cc2fbb864ab03f4 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>