summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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-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-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>
2017-08-16Add auth mode in serviceKanagaraj Manickam k0036510616-29/+33
ONAP is using basic auth already for some services and AAF is being used as well. so there are more than one auth type being used across. to support it, new property call auth is introduced in service section. also no-auth is now migrated as auth: none CLI-29 Change-Id: I151a4669151f67884f9875f47c8df396836ae25b Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-08-11Migrate msb-url into host-urlKanagaraj Manickam k0036510617-48/+48
CLI framework is being enhanced to support different service mode like direct and catalog and msb term is verfy specific to catalog mode. so its migrated to move to generic format CLI-29 Change-Id: I93f8354e2f32f7cae1660168ce403c76cca0587f Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-08-10Introduce direct service modeKanagaraj Manickam k003651064-2/+35
CLI-29 Change-Id: I68cfd8e7b68d6e3839f202509899509c2cdb539b Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-08-10Populate default param based on no-authsubhash kumar singh21-41/+254
Based on no-auth customise the default parameter for onap-command. e.g. If "no-auth = true" then command should not add default parameter "onap-username, onap-password, msb-url and no-auth". Issue-Id: CLI-22 Change-Id: Ic9228feb1deb7e6f24eb9b9f0c8f15fd45364e94 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-08-10Fix maven versionKanagaraj Manickam k003651061-0/+2
mvn versions: steps are failing due to version entry is missing in top pom.xml CIMAN-17 Change-Id: I7c34f8b8dffebbe8ab975b0fd1957275e1a881b0 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-08-09Enable docker push into nexus3Kanagaraj Manickam k003651062-3/+46
It adds required settings in pom.xml for pushing the cli docker image into nexus as part of mvn deploy phase. CLI-26 Change-Id: I693593ad99f5761328bc0145649a6e54f7ab7b51 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-08-08Add missing onap.shKanagaraj Manickam k003651061-0/+0
As part of docker deployment changes, onap.sh got missed to add into repository CLI-26 Change-Id: I1968c9f8b94e4d93f3c726450936c3516ff04d1c Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-08-08Add version.propertiesKanagaraj Manickam k003651061-0/+13
Helps to build the jenkins daily job CIMAN-17 Change-Id: I1eaecc00614870d6843d869090f75444349a3561 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-08-08Add docker deployment modeKanagaraj Manickam k003651065-86/+380
Makes deployment into zip and docker based mvn module project. CLI-26 Change-Id: I3e26e64a787ad3795c11a60f796d9d1935be0146 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-08-04Merge "Fix invalid help parameters"Kanagaraj Manickam20-102/+394
2017-08-04Fix invalid help parameterssubhash kumar singh20-102/+394
Introduce new section "default_parameter" to add "include" and "exclude" parameter from defalut parameter list. Following is a example for the parameter section to use it: xyz.yaml: ... default_parameters: include: - parameter1 - parameter2 ... exclude: - parameter3 - parameter4 ... parameters: - parameter5 .... .... Issue-Id: CLI-20 Change-Id: I99fd91a130739f2007fdd85a23c76d4e1b30c542 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-08-03Removes invalid test casesKanagaraj Manickam k003651061-149/+0
CLI-21 Change-Id: Iacaa3e7f498efe0f565e826be1638868cdac965d Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-07-31Make cli plugins target libKanagaraj Manickam k0036510616-13/+49
Helps to copy all cli plugins jar into plugins/target/lib, from here deployment project will take them. CLI-21 Change-Id: I52f0a37878f5cd1267f9cf5a1f326a71fb704e79 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>