aboutsummaryrefslogtreecommitdiffstats
path: root/main/src
AgeCommit message (Collapse)AuthorFilesLines
2022-05-09Sonar violation fixes for Parameterized tests and Lambda Expressionsabhishek.c921-32/+36
Violations : Parameterized tests for OnapCommandprintTest Use lambda expression for OnapCommandSchemaCmdLoader Refactor method in OnapCli Signed-off-by: abhishek.c92 <abhishek.c92@samsung.com> Issue-ID: CLI-446 Change-Id: I8e8337d2b5993983d8ea105b2d1882952a3783a3
2022-04-12Merge "Refactored the code in order to not assign to the loop counter from ↵Kanagaraj Manickam1-8/+11
within the loop body."
2022-04-08Removed unnecessary assertionssharath reddy1-14/+0
Issue-ID: CLI-442 report: tested weather-report, execution-list sonar issue link: https://sonarcloud.io/project/issues?resolved=false&types=CODE_SMELL&id=onap_cli&open=AXl7xG7awWvHrAKRLY55 Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I28084d9f2c9c24bbb596446dd2d7a4cd52659f7a
2022-04-07Refactored the code in order to not assign to the loop counter from within ↵sharath reddy1-8/+11
the loop body. alias: "for" loop stop conditions should be invariant Issue-ID: CLI-439 report: tested weather-report, execution-list Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I5c4066b7b68de1882345fc1ffc53750bb9718fca Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2022-04-04removed block of commented-out lines of codesharath reddy1-2/+0
Issue-ID: CLI-439 report: tested weather-report Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I78c626ecd9b3d51f50339b3a616949899ca9b4cd Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2022-03-31Merge "Removed thed use of deprecated "readFileToString""Kanagaraj Manickam1-2/+3
2022-03-30Removed thed use of deprecated "readFileToString"sharath reddy1-2/+3
Issue-ID: CLI-439 Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: Ia3bb90320ac98bb375713db99c7d543e8a9fcc30
2022-03-30Removed the use of deprecated "toString"sharath reddy1-1/+2
Issue-ID: CLI-439 Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: Ide23136cd026c905d661770700c6308d62eaf964
2022-03-25Fixed Sonar Bug and Code Smell Blockerssharath reddy2-12/+14
Issue-ID: CLI-439 Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I81bd79661ab7c6b1152fa481d9273a86e77b4f3a Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2020-10-08revert optimization logic in order to avoid regression in vnfsdk/validationpriyanka.akhade1-11/+8
Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: CLI-324 Change-Id: I5822fa53df664739d02ba0babc567a7d8c093271
2020-08-06Merge "Code improvement - Pending sonar issues"Kanagaraj Manickam2-21/+20
2020-08-05Code improvement - Pending sonar issuespriyanka.akhade2-21/+20
Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: CLI-270 Change-Id: I11bff3e6fa5f3299ee3ad0f7bf5d3e42ee7a704c
2020-08-04code improvements-sonar fixesSravanKumarGunda1-1/+1
Signed-off-by: SravanKumarGunda <sravan.kumar1@huawei.com> Issue-ID: CLI-270 Change-Id: I3f663df51e27e7295f9cad51ace100d784ab94bb
2020-08-04Code improvement for pending sonar issuesjitendra0071-47/+39
Issue-ID: CLI-270 Signed-off-by: jitendra007 <jitendra.sharma1@huawei.com> Change-Id: Ie27d3ff077fa1ef4d13788849aa82d695f183eeb
2020-07-14Code ImprovementsSravanKumarGunda3-12/+11
Signed-off-by: SravanKumarGunda <sravan.kumar1@huawei.com> Issue-ID: CLI-270 Change-Id: I3de621dab68f153c16a36102239b095c60abf9ab
2020-07-09Fixed sonarcloud issuesjitendra0073-5/+26
Issue-ID: CLI-270 Signed-off-by: jitendra007 <jitendra.sharma1@huawei.com> Change-Id: Ibb52afb2fe8fe7c9be4299d1a1cb1e3d32ab0eca
2020-07-02Code Improvements-Sonar Issue FixesSravanKumarGunda1-0/+24
Signed-off-by: SravanKumarGunda <sravan.kumar1@huawei.com> Issue-ID: CLI-270 Change-Id: Iba00ddc8c471bc5990d87ba3729af373e2bd6711
2020-07-01code improvementspriyanka.akhade1-1/+1
Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: CLI-270 Change-Id: If9eab4bc8642c7c20a841d58c8a9e2bf5ae6c98b
2020-05-12sonar security issue fix- Make sure that command line arguments are used ↵priyanka.akhade1-1/+1
safely here Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: CLI-270 Change-Id: I103cc54099f7cdd9f196479c934149da4b65dd01
2020-05-04Migrate to Yamlbeanspriyanka.akhade3-2/+36
Issue-ID: CLI-248 Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Change-Id: I182c7a2e2f41bf09990e5b1ac0344f49af33e0c5
2020-02-29Migrate to gsonpriyanka.akhade1-14/+25
Issue-ID: CLI-247 Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Change-Id: If66134db5503382fb45210ece883402fc130ac93
2019-09-30Fix ovp lcm validationKanagaraj M1-1/+2
Issue-ID: CLI-166 Change-Id: I0c8def49c6d3eb79d4686b40899ff165ae2461ce Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-08-31Fix NullpointerArindam Mondal1-1/+1
Issue-ID: CLI-213 Change-Id: I495fe15ab0b8c557f8a8d52c11953c083e5492e4 Signed-off-by: arindamm <arind.mondal@samsung.com>
2019-08-29Minor issues fixKanagaraj Manickam1-11/+32
Issue-ID: CLI-166 Change-Id: I97bd303b4e636bfc53e24732c7c6e4062037909b Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-08-13remove test folder of grpc-client from test folder of cli- mainjitendra sharma1-53/+0
Issue-ID: CLI-169 Signed-off-by: jitendra sharma <jitendra.sharma1@huawei.com> Change-Id: I314f559e761aa593acc063c3a1d94e4e42f31eaf
2019-08-08UT for OpenRemoteCliTestjitendra sharma1-0/+53
UT for OpenRemoteCli UT for runs cli remotely Issue-ID: CLI-169 Signed-off-by: jitendra sharma <jitendra.sharma1@huawei.com> Change-Id: I18912257fe90a14aab6f79a7f4bd1c18cd5fefc9
2019-08-07Add place holder for onap-el-altoKanagaraj Manickam k003651061-1/+0
Issue-ID: CLI-169 Change-Id: Idcd8872f979844c69259bf126e09133cfc9a7018 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-08-05Update frameworkKanagaraj M2-46/+103
Issue-ID: CLI-169 Change-Id: Ice38da575d2e349bb875149afd894e348bc20253 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-08-05Update the READMEKanagaraj M1-25/+10
Issue-ID: CLI-169 Change-Id: If725efa114995827c3484abba0f93353940b79f9 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-04-12Fix interactive shellKanagaraj M1-0/+1
Issue-ID: CLI-154 Change-Id: Ie4dde68c3ae4e11ff0d1c0f6b1550b0f0935e12d Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-02-28CVC: Add support for execution, schema, productKanagaraj Manickam k003651063-113/+246
Issue-ID: CLI-129 Change-Id: I602859733b8f965ab031625eba6494a9b754cb64 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-09-18VTP: Fix map input treat as stringhttp-migrationKanagaraj Manickam k003651061-1/+2
Issue-ID: VNFSDK-305 Change-Id: Idd9ccdbbd391863fcd186091d60cf4d5d9fb7ea2 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-09-11Fix verify to report debug infoKanagaraj Manickam k003651061-0/+6
Issue-ID: CLI-122 Change-Id: I692bc084280d7c445afdcf649a630814b9f986a0 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-06-04Update README to reflect OCLIPKanagaraj Manickam k003651061-2/+2
Issue-ID: CLI-114 Change-Id: I771f6b271f9481c0471cf6afe58ef863822e78d2 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-15Make CLI into pojoKanagaraj Manickam k003651061-3/+24
Issue-ID: CLI-100 Change-Id: Iba7f9690efba645f425cb33392cd07ae456eda83 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-09Update cli utils test to std compliantKanagaraj Manickam k003651061-16/+33
Issue-ID: CLI-100 Change-Id: Iae82c8a28481c74d3fedb7c5c907a4d68a2ad898 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-09Fix import warningsKanagaraj Manickam k003651061-2/+2
Issue-ID: CLI-100 Change-Id: I2b332c2a0cbc076ab62b7e2a9c74ff52728cb93c Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-09Fix intendation warning in main testKanagaraj Manickam k003651061-8/+7
Issue-ID: CLI-100 Change-Id: Id72d34b43ebf5b9a95244b89bb8e290d069d2b43 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-03Standardize log var names in onapCliKanagaraj Manickam k003651061-2/+2
Issue-ID: CLI-106 Change-Id: I0a24f5189bae0edb53e4db4d1f1a30104665f440 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-03Reuse Constants values instead of redefiningKanagaraj Manickam k003651061-3/+3
Issue-ID: CLI-100 Change-Id: I9aafa8b652d254c90ef7c4d96455218ceca5e66e Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-04-20Fails to clears interactive args listKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-100 Change-Id: I52252ec472c4b0d3427b6a5a6f5518f8e1b9d8ac Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-04-18License: Add headerKanagaraj Manickam k003651062-0/+28
Change-Id: I8ec6bab71fea73f8639278ddc69fccf8691ea33a Issue-ID: CLI-100 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-04-18License: Add headerKanagaraj Manickam k003651061-0/+14
Change-Id: I861b74e9fcaad7f08057be70b1e7ec1bc46add6a Issue-ID: CLI-100 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-03-26Merge "Enable feature to disable mock for verify"Kanagaraj Manickam1-0/+13
2018-03-23Ignore null on consoleKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-104 Change-Id: I8fbe6c64355fbd27ef87c2c86ef6b5e8498e99a4 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-03-13Enable feature to disable mock for verifysubhash kumar singh1-0/+13
Enable feature to disable mock for verify so that real environment can be used. Issue-ID: CLI-74 Change-Id: Ibaa15b7c93fcf077e3f28e9f7e96b1b8a68ad5c0 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-03-13Impl Verify feature for CLIsubhash kumar singh2-53/+113
Implement verify feature for CLI. So that command developer will come up with his mocking file and can use framework to develope the command. Change-Id: I0ac22aaa7284626de60c66e56e83bb75ec9d773d Issue-ID: CLI-74 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-03-09Support batch commanding using param fileKanagaraj Manickam k003651063-83/+167
Issue-ID: CLI-93 Change-Id: I562ebb052a076dc803571688cfea25d26f581f92 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-03-09Rename default profile to defaultKanagaraj Manickam k003651061-7/+8
Issue-ID: CLI-99 Change-Id: I668fd3639c5f0fda1fc96d21a7da6a336a8b7100 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-03-09Fix Profile creation failedKanagaraj Manickam k003651061-2/+2
Issue-ID: CLI-99 Change-Id: I66a7a2bde49ae5747d0deb2f52d3b7c25319919e Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>