aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src
AgeCommit message (Collapse)AuthorFilesLines
2022-07-01ValidateSchemaTest sonar issue, Replace these 3 tests with a single ↵Ganesh1-22/+7
Parameterized one Signed-off-by: Ganesh <ganesh.c@samsung.com> Change-Id: I7f65fcecea7ac6ba574f2cb9bd128a200fbae4e1 Issue-ID: CLI-444
2022-06-27sonar issue, Replace these 3 tests with a single Parameterized oneGanesh1-18/+5
Signed-off-by: Ganesh <ganesh.c@samsung.com> Change-Id: I3868ba6b54e2412de99580d19165cff448937465 Issue-ID: CLI-444
2022-05-09Sonar violation fixes for Parameterized tests and Lambda Expressionsabhishek.c921-27/+33
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-13Merge "re visit a block of commented-out lines of code"Kanagaraj Manickam2-4/+6
2022-04-13Merge "Removed useless curly braces around statement and useless return keyword"Kanagaraj Manickam1-3/+1
2022-04-12re visit a block of commented-out lines of codesharath reddy2-4/+6
Issue-ID: CLI-439 report: tested weather-report Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: Idb5178bff022e7d1a5450730ed55e025de53f25c Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2022-04-08Removed unnecessary assertionssharath reddy1-2/+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=AXl7xGycwWvHrAKRLY53 Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I6d99e0f49ad9b33ff56e7fb5a02c8af7ece480cf
2022-04-08Removed useless curly braces around statement and useless return keywordsharath reddy1-3/+1
Issue-ID: CLI-442 report: tested weather-report, execution-list Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: Iad499395c2465893a766dc9e9e5315c48e0315ee
2022-04-08Merge "simplified an assertion."Kanagaraj Manickam1-2/+2
2022-04-08Merge "Removed the declaration of thrown exceptions that cannot be thrown ↵Kanagaraj Manickam1-1/+1
from method's body"
2022-04-07Changed an instance-reference to a static reference.sharath reddy1-1/+1
Issue-ID: CLI-439 report: tested weather-report Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I2fb7e5665fad6c807ec191e535ac6f9b6854fee2
2022-04-07Merge "Removed the deprecated usage of readFileToString & writeStringToFile"Kanagaraj Manickam1-27/+28
2022-04-07Merge "Changed an instance-reference to a static reference."Kanagaraj Manickam1-1/+1
2022-04-07Merge "removed dead code"Kanagaraj Manickam1-1/+0
2022-04-07Merge "Changed the visibility of abstract class constructors to "protected""Kanagaraj Manickam1-3/+3
2022-04-07Merge "Renamed variables to not match a restricted identifier"Kanagaraj Manickam1-12/+12
2022-04-07Merge "Updated loop to iterate over the "entrySet" instead of the "keySet"."Kanagaraj Manickam1-2/+3
2022-04-07Merge "Removed built-in format specifier Ignored unused parameter"Kanagaraj Manickam1-2/+2
2022-04-07Removed the declaration of thrown exceptions that cannot be thrown from ↵sharath reddy1-1/+1
method's body Issue-ID: CLI-439 report: tested weather-report, execution-list Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: If0bcd9047eb4746fdbce23f4443460c699b86342
2022-04-06Removed the deprecated usage of readFileToString & writeStringToFilesharath reddy1-27/+28
Issue-ID: CLI-439 Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: Ib736111e9f1f287ba31414fbaf4cf9835c156aa5 Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2022-04-05simplified an assertion.sharath reddy1-2/+2
Issue-ID: CLI-439 report: tested weather-report, execution-list Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I08cb34a86b00fe7832511cb6ec30b718f7c26aca Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2022-04-05Merge "Reduced code complexity"Kanagaraj Manickam1-66/+79
2022-04-04Removed built-in format specifiersharath reddy1-2/+2
Ignored unused parameter Issue-ID: CLI-439 report: tested weather-report, execution-list Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: Ia29b208100ef8c71d1ff4458293dea23349fc9d0
2022-04-04Updated loop to iterate over the "entrySet" instead of the "keySet".sharath reddy1-2/+3
Issue-ID: CLI-439 report: tested weather-report, execution-list Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I68295df76db1ed4015958fd1933fd5a6ac05dcd1 Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2022-04-04Renamed variables to not match a restricted identifiersharath reddy1-12/+12
Issue-ID: CLI-439 report: tested weather-report, execution-list Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I9f66d0aeda50ad7981357ff2030b9a937a211a83
2022-04-04Changed the visibility of abstract class constructors to "protected"sharath reddy1-3/+3
Issue-ID: CLI-439 report: tested weather-report, execution-list Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I09ba1fa91f1a79817bcbbc274533fc19ded0bd95
2022-04-04removed dead codesharath reddy1-1/+0
Issue-ID: CLI-439 report: tested weather-report, execution-list Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I3155c0d4613bc8c239828dd55a1f9df1d89f4591
2022-04-04Changed an instance-reference to a static reference.sharath reddy1-1/+1
Issue-ID: CLI-439 report: tested weather-report, execution-list Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I6762dd800659648ed84e79deb07a69d979d4cf83
2022-04-04Reduced code complexitysharath reddy1-66/+79
Issue-ID: CLI-439 Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I05b08060ed242b03bef9c85157a89a748bbaa477 Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2022-04-04Merge "removed block of commented-out lines of code"Kanagaraj Manickam1-6/+1
2022-04-01removed block of commented-out lines of codesharath reddy1-3/+0
Issue-ID: CLI-439 report: tested weather-report Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I2ae7d3f1f8c9e1bdbf5ff95b00cd8d8a8487b9e4
2022-04-01removed block of commented-out lines of codesharath reddy1-6/+1
Issue-ID: CLI-439 report: tested weather-report Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I2e15d26c85909fa46df248c7ff9ac38fc7c34c70
2022-03-31Removed the deprecated usage of readFileToString & writeStringToFilesharath reddy1-3/+4
Issue-ID: CLI-439 report: tested weather-report Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: Ic0cb23c2588341892500fc911eca91b5b695ead5
2022-03-31Merge "Reduced code complexity"Kanagaraj Manickam1-42/+49
2022-03-31Merge "Removed thed use of deprecated "readFileToString""Kanagaraj Manickam1-1/+2
2022-03-31Merge "Removed the use of deprecated "toString""Kanagaraj Manickam1-1/+2
2022-03-31Merge "Removed the unnecessary cast to "Map""Kanagaraj Manickam1-1/+1
2022-03-31Merge "Reduced code complexity"Kanagaraj Manickam1-27/+32
2022-03-30Removed thed use of deprecated "readFileToString"sharath reddy1-1/+2
Issue-ID: CLI-439 Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: Id2a05e85c9c0e10983854b1049db4d42f4bf3dea
2022-03-30Removed the unnecessary cast to "Map"sharath reddy1-1/+1
Issue-ID: CLI-439 Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: Ib1493b31b9b2df0bed73e6dc0a9ec5f22a0c05c3
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: I5a4124295c42f068689dd7c0004657bdd58902ca
2022-03-30Reduced code complexitysharath reddy1-27/+32
Issue-ID: CLI-439 Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I7673049c257b463204fa2fa0f3bc8aac395cdfab
2022-03-30Reduced code complexitysharath reddy1-42/+49
Issue-ID: CLI-439 Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I9b7e6838d4f856cfeeafd3f71825ceb534bed43e Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2022-03-28Fixed Sonar Cloud Critical Issuessharath reddy2-30/+46
Issue-ID: CLI-439 Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I857188b246848c045171bc4b3d442f3315764274
2022-03-25Fixed Sonar Bug and Code Smell Blockerssharath reddy3-5/+6
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>
2022-03-23Fixed Minor Code Smells issues "Deprecated JsonParser"sharath reddy1-1/+1
Issue-ID: CLI-439 Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I49fdc2fe1aa48ae78317aba94fdd7f0232334860 Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2022-03-22Fixed Sonar Bugs & Vulnerabilitiessharath reddy3-4/+4
Issue-ID: CLI-439 Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: Icbe3d40286d15b8b3639af7a7eb6c4e189169a3f Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2021-01-12Fix OnapCommand class modelBogumil Zebek4-14/+117
- No Metadata in OnapCommand Info section - Optional parameters with default values are lost after overriding selected parameter Issue-ID: CLI-349 CLI-348 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com> Change-Id: I893bb01809737b4262a99f355d6c7681c8c275bb
2020-12-16Merge "printyaml method fix"Kanagaraj Manickam2-10/+40
2020-12-14printyaml method fixpriyanka.akhade2-10/+40
Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Change-Id: I4e9178a884981600731b2a33fb8bec2640fcd9b7 Issue-ID: CLI-251