summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-07-28Update oparent detailsKanagaraj Manickam k003651061-1/+1
CLI-4 Change-Id: I06670761e10fdc4fc9529819a7c840eb5c95d7cb Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-07-19Add seed code from Open-Orelease-1.0.0Kanagaraj Manickam k00365106164-0/+14846
It migrated the code from Open-O into onap namespace and adds the required framework, main, deployment and some sample plugins for msb. CLI-7 CLI-8 CLI-11 Change-Id: I499e34237daccb971ef74bd10e50f50707baa4d3 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-06-22Adds .gitignoreKanagaraj Manickam k003651061-0/+5
Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com> Change-Id: I0e258bce5852561b2557c2d01efa443eb2382e60
2017-06-22Initial empty repositoryJessica Wagantall0-0/+0