summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-10-05Set default log level to ERRORKanagaraj Manickam k003651061-1/+1
CLI-34 Change-Id: I40804541122978a75e6326e824aae88c0c791c8d Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-10-05Improve profile verificationKanagaraj Manickam k003651061-22/+24
CLI-34 Change-Id: I7c0443c80506dcc12151c448de4b8ebda42dadea Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-10-03Set log file under ONAP_CLI_HOME/logsKanagaraj Manickam k003651063-4/+17
CLI-2 Change-Id: I65585cb69fe7ba71b57bf338cdc87b926a9bac51 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-30Normalize the error code in exceptionsKanagaraj Manickam k0036510649-100/+113
CLI-2 Change-Id: I9d205993c9ca8fbf58459352fa023a2bf80ca376 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-29remove onap.properties from test resourcesKanagaraj Manickam k003651061-56/+0
CLI-2 Change-Id: Ib0100610d8a77cb504250cf0173b236adfdd076b Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-29Enable exception to get tracedKanagaraj Manickam k0036510623-59/+125
CLI-2 Change-Id: Ib16490d6800a07d69c995f2301d34bebf3f78c28 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-29Remove CLI_DEV and replace by discover_always confKanagaraj Manickam k003651068-25/+22
CLI-2 Change-Id: Ic67ac30c6f6c9a0a8928b1fac6d5adc85ca53a5b Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-27Fix installer script to check for java existenceKanagaraj Manickam k003651061-1/+9
CLI-49 Change-Id: I2757180faa5b71c85cf81432006690d3a5637839 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-26Fix broken link of cmd_helpKanagaraj Manickam k003651061-0/+5
CLI-34 Change-Id: Ie7999b6279973bc57d3df87242c64872bda727b0 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-26Fix broken link of help documentKanagaraj Manickam k003651061-3/+5
CLI-34 Change-Id: I7fc21e2562f4fa054026b6ebf79255ddcfd7424b Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-26Add command help documentKanagaraj Manickam k003651062-0/+3634
CLI-34 Change-Id: I8c61343369fbc6893425ba5368959e63546b5cac Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-26Add commands help generation codeKanagaraj Manickam k003651062-13/+19
CLI-34 Change-Id: Ic71c0a0d79ad4e1e1be74d5f98c3e1c40f300e2a Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-25Merge "[WIP]Add CLI support for license-models"Kanagaraj Manickam2-0/+91
2017-09-24[WIP]Add CLI support for license-modelsBharath Thiruveedula2-0/+91
Issue-ID: CLI-16 Signed-Off-By: Bharath Thiruveedula<bharath.thiruveedula@verizon.com> Change-Id: I33f1d261b5eec96da2fc0d583f7af2c86ada2915
2017-09-23Add sample pluginKanagaraj Manickam k003651068-5/+167
CLI-48 Change-Id: Iaef4fec04df0eaedf84616bdcaf03612627feb8c Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-23Fix Version directive to print current p versionKanagaraj Manickam k003651061-1/+1
CLI-2 Change-Id: I85eac5af5637e4123241d4695edf9332b5b503d8 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-21Add documentation samples for msb commandssubhash kumar singh4-0/+56
Add documentation yaml sample for msb commands. Change-Id: Ia3630bef82f0e89c7e914ad10d06504a88d66909 Issue-ID: CLI-35 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-09-21Remove the sample yaml from msbsubhash kumar singh2-108/+0
Remove sample yaml from msb. Change-Id: I40ceaf2036937c6e9c5afbecbde1bc119f885168 Issue-ID: CLI-35 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-09-21Implement CLI for VF module deletesubhash kumar singh2-0/+58
Implement CLI for VF module delete. Change-Id: I3432db598e90fdb565467b793f20e00dec72cd11 Issue-ID: CLI-15 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-09-21Implement CLI for VF module creationsubhash kumar singh2-0/+82
Implement CLI for VF module creation. Change-Id: I923938e4991fce29387e6b943abdbee68baad53d Issue-ID: CLI-15 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-09-21Implement CLI for SO VNF deletionsubhash kumar singh2-0/+52
Implement CLI for SO VNF deletion. Change-Id: I4ef7c65cbb543ce9fd3ed31ee19151501fba00ae Issue-ID: CLI-15 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-09-21CLI implementation for SO vnf createsubhash kumar singh2-0/+82
CLI implementation for SO vnf create. Change-Id: I8a69d4e6781364f5eb9ca76f29cf40303735cfbc Issue-ID: CLI-15 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-09-21Implement command SO service deletesubhash kumar singh2-0/+33
Implement command for SO service delete. Change-Id: I8857e935504a32e83edcf36916d4082dfdb55c14 Issue-ID: CLI-15 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-09-21Service create command for SOsubhash kumar singh5-0/+112
CLI implementation for service create command. Change-Id: Ifa834e70625c840cdf2278962679b6cbdec116f5 Issue-ID: CLI-15 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-09-21Add install.sh for CLIKanagaraj Manickam k003651061-0/+50
CLI-47 Change-Id: Ib4746e21e55de6b224f51a45110f29fa35dd3c2a Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-20Fix yaml for microservice-delete commandsubhash kumar singh1-1/+15
Fix yaml for microservice-delete command. Change-Id: I48fa6080f2040c8c147d1c58321c2c3355fca9cc Issue-ID: CLI-45 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-09-20Fix yaml for microservice-createsubhash kumar singh1-6/+2
Fix yaml to fix microservice-create command. Change-Id: I3cd7c5d803d0289e1fbb5df7aff49b5f0ddbe593 Issue-ID: CLI-45 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-09-19Fix structure of cli schema formatKanagaraj Manickam k003651063-58/+60
CLI-40 Change-Id: I84f37e01100f9b55ad231e419d6c3d3e42390a62 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-19CLI documents over all structureKanagaraj Manickam k003651065-2/+61
CLI-40 Change-Id: I933acfb653c5f9f3a746dd922e63810723f85281 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
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>