aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/main
AgeCommit message (Collapse)AuthorFilesLines
2020-05-11sonar security issue fix- Make sure that using a regular expression is safe herepriyanka.akhade1-1/+1
Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: CLI-270 Change-Id: I81537658a9bece901695bd5133e17efd7b3c3b92
2020-05-07sonar security issue fix- Make sure that environment variables are used ↵priyanka.akhade3-4/+4
safely here Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: CLI-270 Change-Id: I653a2ed571755796dd8df28e65f61bd221dc22ce
2020-05-07sonar vulnerability issue fix- Do something with the "boolean" value ↵priyanka.akhade3-3/+9
returned by "delete"; Enable server certificate validation on this SSL/TLS connection Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: CLI-270 Change-Id: I1aa94f93bd71beeb0b6f6758be4b0687ea8536d2
2020-05-04Migrate to Yamlbeanspriyanka.akhade4-18/+34
Issue-ID: CLI-248 Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Change-Id: I182c7a2e2f41bf09990e5b1ac0344f49af33e0c5
2020-03-10Fix the versioning issueKanagaraj Manickam1-2/+2
Issue-ID: CLI-257 Change-Id: I194d8389f0d4fef116b9a87d484ad8b78ad401a5 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2020-03-05Merge "Resolved JsonElement issue for grpc server and other classes"Kanagaraj Manickam1-4/+2
2020-03-04Resolved JsonElement issue for grpc server and other classespriyanka.akhade1-4/+2
Issue-ID: CLI-247 Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Change-Id: Ifcfba782ec6454f58d1df11e6ab7db3e1a04d17b
2020-03-04Resolved RollingFileAppender(filePattern) issuepriyanka.akhade1-1/+1
Issue-ID: CLI-249 Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Change-Id: I49a2187230deaed431f64e4007dee06f0dc799ff
2020-03-02Migrate to apache common loggingKanagaraj Manickam1-0/+56
Issue-ID: CLI-249 Change-Id: Id9b0b37c8aa2d0cfd452ebdbe8c09928ed69dbd5 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2020-02-29Migrate to gsonpriyanka.akhade9-90/+93
Issue-ID: CLI-247 Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Change-Id: If66134db5503382fb45210ece883402fc130ac93
2019-12-19ProcessRunner should use the cwd provided when calling Runtime.exec(...)James Guistwite1-2/+6
Issue-ID: VNFSDK-501 Signed-off-by: James Guistwite <jguistwite@iconectiv.com> Change-Id: If07360da610b8cc27102801f26502fe2df1004be
2019-09-30Fix ovp lcm validationKanagaraj M2-0/+2
Issue-ID: CLI-166 Change-Id: I0c8def49c6d3eb79d4686b40899ff165ae2461ce Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-09-05Improve the process runnerKanagaraj M2-34/+53
Issue-ID: CLI-166 Change-Id: I51fd485652ecccb7696e3023c527622d5e2ef966 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-09-05Make the search more flexibleKanagaraj M1-5/+20
Issue-ID: CLI-166 Change-Id: Ib00fe8325e46f30c773f9c886e08e21996ac18be Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-08-29Minor issues fixKanagaraj Manickam5-3/+26
Issue-ID: CLI-166 Change-Id: I97bd303b4e636bfc53e24732c7c6e4062037909b Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-08-08Sonar fixes and improvementsArindam Mondal1-7/+1
+) 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-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-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-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-01Fix the code vulnerabilitiesKanagaraj Manickam k003651063-35/+6
Issue-ID: CLI-129 Change-Id: I441d7897c2e47b8eda13775d66327401656300ba Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-02-28CVC: Add support for execution, schema, productKanagaraj Manickam k0036510645-187/+2332
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 k003651062-30/+209
Issue-ID: CLI-129 Change-Id: I612ecfe2c25f73714a8759ce87fdc373c8d5a7f0 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-11-23Casablanca final release changesKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-122 Change-Id: Id902cf29488ea6843eeaa345a90d0a6bc4377b72 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-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 k003651063-1/+115
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-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-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>
2018-05-03Strip off invalid exception throws from cli reg.Kanagaraj Manickam k003651061-2/+1
Issue-ID: CLI-106 Change-Id: I3ea8eba1c3d48d553f90cb6beb38add5959187a3 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-03Standardize log namming to comply with rulesKanagaraj Manickam k003651062-6/+6
Issue-ID: CLI-106 Change-Id: I0daeeec33ef09ea7589a7122322a4c88cf2f56fd Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-03Remove invalid throwsKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-100 Change-Id: I21b5dfc810d8f94c1de9b771fc54827299415aff Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-02Del invalid excep throws in OnapCommand getSchemaKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-106 Change-Id: I2b40fb38a77feeea0ec0a743987d7211ad45dd7e Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-02Add hashCode() for SchemaInfoKanagaraj Manickam k003651061-0/+6
Issue-ID: CLI-106 Change-Id: If8e3bc25821bbdd3c56f7f6309c43456424a173b Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-05-02Add type check for Schema info obj compartionKanagaraj Manickam k003651061-0/+7
Issue-ID: CLI-106 Change-Id: Ie650896c0506632347164c57b23f3d264497a62a Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-04-26Merge if statementsKanagaraj Manickam k003651061-13/+10
Issue-ID: CLI-100 Change-Id: Id0db2e9e51b68009177d4847a4b24d2f84c1cb50 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-04-26Remove toString() inappropriateKanagaraj Manickam k003651061-1/+1
Issue-ID: CLI-100 Change-Id: I523eda5664e55e5d2b1b618b7b816d28f0916673 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>