aboutsummaryrefslogtreecommitdiffstats
path: root/framework
AgeCommit message (Collapse)AuthorFilesLines
2019-08-08UT for OnapCommandExecutionStorejitendra sharma1-0/+85
UT for storing of execution details such as output,debug. Issue-ID: CLI-169 Signed-off-by: jitendra sharma <jitendra.sharma1@huawei.com> Change-Id: Ia281273204360f17225214898521f8810e702cf4
2019-08-08UT for OnapCommandArtifactStorejitendra sharma1-0/+86
UT for artifacts create, delete and update Issue-ID: CLI-169 Signed-off-by: jitendra sharma <jitendra.sharma1@huawei.com> Change-Id: Iba639576d02b4241446f9c7ff5f1ede5643c4b66
2019-08-08Sonar fixes and improvementsArindam Mondal2-7/+46
+) Implement try-with-resources ++)Added ut Issue-ID: CLI-170 Change-Id: Id040a05c8f83666b26908bd4b29e9701a0544e98 Signed-off-by: arindamm <arind.mondal@samsung.com>
2019-08-07Fix the boolean checkKanagaraj M1-6/+6
Issue-ID: CLI-169 Change-Id: I9c739092e7db0c9ff028d711090719528091600a Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-08-05Update frameworkKanagaraj M22-54/+501
Issue-ID: CLI-169 Change-Id: Ice38da575d2e349bb875149afd894e348bc20253 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-08-05Update open-cli.propertiesKanagaraj M1-5/+8
Issue-ID: CLI-169 Change-Id: I243858b5553ec52e8f4f0bafbcc727d4efaf1219 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-08-05Add product into service and schema listKanagaraj M3-5/+13
Issue-ID: CLI-169 Change-Id: I89c2d0f9b3d9aa747ec7dc8db0e7a41a715bc2c8 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-08-05Update the version formatKanagaraj M2-7/+1
Issue-ID: CLI-169 Change-Id: I9d5d7c8f6820052cadf90ffc82586a2aac58a76d Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-08-05Set SNAPSHOT versioningKanagaraj M1-17/+25
Issue-ID: CLI-169 Change-Id: I37930d594df46a9cf306d66db3ba212237041e0c Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-06-28General sonar fixesArindam Mondal3-5/+1
+) remove unused imports ++) use isEmpty to check empty list Issue-ID: CLI-170 Change-Id: I90cc07013b8db1982fdca2ccd2f4d715d8176e9d Signed-off-by: arindamm <arind.mondal@samsung.com>
2019-05-21Fix oclip grpc client versionKanagaraj M1-1/+1
Issue-ID: CLI-129 Change-Id: I2bd25d0f52d5653a39c48f87b65d24054f50c75d Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-05-14Set version to 3.0.0Kanagaraj Manickam1-1/+1
Issue-ID: CLI-129 Change-Id: I5e7ec06080210c547e65b1d11acbdf8fa6e1ec7e Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-04-12Fix interactive shellKanagaraj M1-2/+2
Issue-ID: CLI-154 Change-Id: Ie4dde68c3ae4e11ff0d1c0f6b1550b0f0935e12d Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-03-15Add metadata support in infoKanagaraj Manickam4-3/+34
Issue-ID: CLI-129 Change-Id: Icf12f0ef03645b91ff6236b4812663dc0828d5d9 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-03-14Fix process runner on unixKanagaraj Manickam1-1/+9
Issue-ID: CLI-129 Change-Id: Ic40c94b1059453858ff36e302beb44dbb4c1613b Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-03-07Fix ignore default param while schema-showKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-129 Change-Id: I1498aca28f1170cc81874c5a1b806d77af271cb6 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-03-07Increase vesrion2.0.6Kanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-129 Change-Id: I37d1136e8446e8f604d2235cfee3fb4949cd9cf7 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-03-06Fix Empty service list in productKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-129 Change-Id: Id6d9f2570c7526ea7b2bd935aeaa7ab0a5b3ca6f Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-03-01Increase the grpc version 1.0.3Kanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-129 Change-Id: I5ac586e7b45a78e0379775c459a023cefd89f56e Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-03-01Fix the code vulnerabilitiesKanagaraj Manickam k003651064-42/+26
Issue-ID: CLI-129 Change-Id: I441d7897c2e47b8eda13775d66327401656300ba Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-02-28Merge changes I60285973,I612ecfe2subhash kumar singh57-257/+2565
* changes: CVC: Add support for execution, schema, product CMD: Enhace command profile with additional macros
2019-02-28CVC: Add support for execution, schema, productKanagaraj Manickam k0036510654-224/+2352
Issue-ID: CLI-129 Change-Id: I602859733b8f965ab031625eba6494a9b754cb64 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-02-28CMD: Enhace command profile with additional macrosKanagaraj Manickam k003651063-33/+213
Issue-ID: CLI-129 Change-Id: I612ecfe2c25f73714a8759ce87fdc373c8d5a7f0 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-01-29Junits for OnapCommandUtils classpkaras1-18/+194
Change-Id: Ic39b09408cf4eab586e15ee51020c6168ffdffda Issue-ID: CLI-128 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2018-11-23Casablanca final release changesKanagaraj Manickam k003651062-2/+2
Issue-ID: CLI-122 Change-Id: Id902cf29488ea6843eeaa345a90d0a6bc4377b72 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-10-11CLI version update3.0.1-ONAP3.0.0-ONAP2.0.4Kanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-122 Change-Id: I2a0351668813d441d17eeee99dda9d3f928c3dcd Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-09-18VTP: Fix the vnftest-run cliKanagaraj Manickam k003651061-1/+5
Issue-ID: VNFSDK-305 Change-Id: I833114b975b4d44b1eab3b9c2fa34dc3fdb9971d Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-09-06OCLIP: Bump version for releaseKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-122 Change-Id: I87f707bbb19a8fdd2717fc941aad23eaca7d5824 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-09-05OCLIP: Fix the correct type of OCS commandKanagaraj Manickam k003651062-2/+2
Issue-ID: VNFSDK-305 Change-Id: Ic0b547f77d5247b5fd175746688598e2152029d4 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-09-05VTP: Add schema-list commandKanagaraj Manickam k003651064-2/+116
To list the commands available under given product Issue-ID: VNFSDK-305 Change-Id: I932b1cebd9d2493b175814c67a63b5c8267288ab Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-09-05OCLIP: Fix OCLIP registrar to log register eventsKanagaraj Manickam k003651061-0/+1
Issue-ID: VNFSDK-305 Change-Id: I26c990321967fb98a9ab4bf0a9591c7977472a61 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-09-05OCLIP: Fix json print formatKanagaraj Manickam k003651061-1/+2
When value is null, ignore the result attribute Issue-ID: VNFSDK-304 Change-Id: Ifaeeb8f47fd7f8a7a1a6798b7dc7b3972a6d4abd Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-08-13Long is not workingKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-123 CLI-123 Change-Id: I5a0062527b15f1dca9fc0019c06aa8f71390c6a2 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-06-04Set version to 2.0.2Kanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-114 Change-Id: Ia3f718dd4b63695d727870d93ef30418b8530d30 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-06-04Set error level for loggingKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-114 Change-Id: I73d51bef5afd35d2ade810eaad191be0e68de10d Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-23Bump version to 2.0.2v2.0.22.0.0-ONAP2.0.0-ONAPKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-114 Change-Id: Ia22f0a5347422401152a8f60e6737b7467e1d315 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-16CLI beijing release version incrementKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-114 Change-Id: Ia62bf183ef9f3e0aee923f6796ed62d7ec00d67f Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-10Update the list of short optionsKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-100 Change-Id: I15bdf99cb015af276b960539659d216e1e0e08f8 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-09Improve param cache with entrySetKanagaraj Manickam k003651061-5/+5
Issue-ID: CLI-100 Change-Id: I12e68fee18f9affdbda414bf411e08c06fe7e724 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-09Fix import warningsKanagaraj Manickam k003651061-13/+16
Issue-ID: CLI-100 Change-Id: Ie8a303c2b9d69b4e3b9725c442c1cfd8a4f96fe9 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-09Fix validation testKanagaraj Manickam k003651061-1/+2
Issue-ID: CLI-100 Change-Id: I969048f352242a6a449cdd3a626417edbb575a6e Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-09Fix the style warings reported in registrarKanagaraj Manickam k003651061-16/+14
Issue-ID: CLI-100 Change-Id: Id9c413b7bb496212342da3c018b99fb2fd51a531 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-09Remove unsed vars from Print testingKanagaraj Manickam k003651061-7/+1
Issue-ID: CLI-100 Change-Id: I76ccc1ed1c0860eac6f57cf7621b6a4f3493ce3d Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-09Make the conditional check shorterKanagaraj Manickam k003651061-3/+5
Issue-ID: CLI-100 Change-Id: Id725711c37d2804039a0959a50ca018de4bd2361 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-09Fix assertness in Result testKanagaraj Manickam k003651061-1/+2
Issue-ID: CLI-100 Change-Id: Id02d38b7ca308ed57e6ca601004487bf8e5a706d Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-09Remove extra line charsKanagaraj Manickam k003651062-3/+5
Issue-ID: CLI-100 Change-Id: I939ef3c7fe09e1ec1c751283dc087727ad58de05 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-09Remove the build warning reportedKanagaraj Manickam k003651061-66/+67
Issue-ID: CLI-100y Change-Id: Ic4871efa3dea780dd11c5416a04ef457baefdc18 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-09Fix OnapCommandSample with coding std.Kanagaraj Manickam k003651061-1/+2
Issue-ID: CLI-100 Change-Id: Id0e4d267352feba3e884948251ce5c80902edeb5 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-03Remove this unused import from CommandPrintKanagaraj Manickam k003651061-1/+0
Issue-ID: CLI-100 Change-Id: Ifc85d5f47f3ef1fac715300663149501463a2e53 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-03Make the var names compliant to standardKanagaraj Manickam k003651061-3/+3
Issue-ID: CLI-100 Change-Id: I2bd87604b9fa1438f9d2fb96857176263eed86c2 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>