aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src
AgeCommit message (Collapse)AuthorFilesLines
2020-08-05Merge "Add profiles command"Kanagaraj Manickam10-0/+529
2020-08-04code improvements-sonar fixesSravanKumarGunda7-9/+12
Signed-off-by: SravanKumarGunda <sravan.kumar1@huawei.com> Issue-ID: CLI-270 Change-Id: I3f663df51e27e7295f9cad51ace100d784ab94bb
2020-08-04Add profiles commandKanagaraj Manickam10-0/+529
Issue-ID: CLI-273 Change-Id: I3779e08ccb6073ad8574d2b68ef14f485735c07f Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2020-08-04Code improvement for pending sonar issuesjitendra0075-23/+23
Issue-ID: CLI-270 Signed-off-by: jitendra007 <jitendra.sharma1@huawei.com> Change-Id: Ie27d3ff077fa1ef4d13788849aa82d695f183eeb
2020-07-17code improvements- incorporating commentspriyanka.akhade3-61/+61
Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: CLI-270 Change-Id: I656eab21336ba224917ac5df022f59697330b132
2020-07-14Code ImprovementsSravanKumarGunda17-45/+38
Signed-off-by: SravanKumarGunda <sravan.kumar1@huawei.com> Issue-ID: CLI-270 Change-Id: I3de621dab68f153c16a36102239b095c60abf9ab
2020-07-09Fixed sonarcloud issuesjitendra00718-112/+160
Issue-ID: CLI-270 Signed-off-by: jitendra007 <jitendra.sharma1@huawei.com> Change-Id: Ibb52afb2fe8fe7c9be4299d1a1cb1e3d32ab0eca
2020-07-02Code Improvements-Sonar Issue FixesSravanKumarGunda17-67/+159
Signed-off-by: SravanKumarGunda <sravan.kumar1@huawei.com> Issue-ID: CLI-270 Change-Id: Iba00ddc8c471bc5990d87ba3729af373e2bd6711
2020-07-01code improvementspriyanka.akhade12-163/+194
Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: CLI-270 Change-Id: If9eab4bc8642c7c20a841d58c8a9e2bf5ae6c98b
2020-05-13sonar code smells fix- Remove the declaration of thrown exception, as it ↵priyanka.akhade1-3/+3
cannot be thrown from method's body Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: CLI-270 Change-Id: I392b1c4403e7f8cde1d7b06c34455b9f00af4a64
2020-05-13sonar code smells fix- Use the primitive boolean expression herepriyanka.akhade1-5/+5
Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: CLI-270 Change-Id: I3584db40fedae81ceb9bc067a17b012136553fc3
2020-05-13sonar security issue fix- Make sure that hashing data is safe herepriyanka.akhade2-2/+2
Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: CLI-270 Change-Id: If8f46a3773963f56f4912be2decb6d92e164cccc
2020-05-13sonar code smells fix- Format specifiers should be used instead of string ↵priyanka.akhade1-5/+5
concatenation Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: CLI-270 Change-Id: Ib2bf4d6ecb9175372a0fcbff9dbd8d18b21c64ca
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.akhade5-4/+27
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 Manickam2-7/+3
2020-03-04Resolved JsonElement issue for grpc server and other classespriyanka.akhade2-7/+3
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-02Code clean upKanagaraj Manickam1-1/+1
Issue-ID: CLI-249 Change-Id: I9364f7ee3640dd74358f43ed33cd8663c0397103 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
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.akhade12-91/+189
Issue-ID: CLI-247 Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Change-Id: If66134db5503382fb45210ece883402fc130ac93
2020-02-21Merge "ProcessRunner should use the cwd provided when calling ↵Kanagaraj Manickam1-2/+6
Runtime.exec(...) Issue-ID: VNFSDK-501"
2020-02-19Change dependency version for commons-codec and spring-corejitendra sharma1-0/+6
Issue-ID: CLI-246 Signed-off-by: jitendra sharma <jitendra.sharma1@huawei.com> Change-Id: Ia0a07a417f64733e859ea7f1be6488b95d42cb52
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 M2-5/+69
Issue-ID: CLI-166 Change-Id: Ib00fe8325e46f30c773f9c886e08e21996ac18be Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-09-03Revert the command name changeKanagaraj M1-1/+1
Issue-ID: CLI-166 Change-Id: Ie933c02c74b02420745870716e756299020a849f 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-20add Junit test case wth cleanup code for OnapCommandExceutionShowOutCommandTestjitendra sharma1-0/+54
Issue-ID: CLI-169 Signed-off-by: jitendra sharma <jitendra.sharma1@huawei.com> Change-Id: I97ede02fb0b76a0e6680422266570068af4c26e8
2019-08-20Merge "add Junit test cases wth cleanup code for ↵Kanagaraj Manickam2-12/+22
OnapCommandExceutionShowCommandTest and OnapCommandExceutionShowDebugCommandTest"
2019-08-19add Junit test cases wth cleanup code for OnapCommandExecutionStoreTest and ↵jitendra sharma2-37/+75
OnapCommandProfileStoreTest Issue-ID: CLI-169 Signed-off-by: jitendra sharma <jitendra.sharma1@huawei.com> Change-Id: Id08d83f0560b14b32cda4979b12e18a48d929da6
2019-08-19add Junit test case wth cleanup code for OnapSchemaValidateCommandTestjitendra sharma1-0/+58
Issue-ID: CLI-169 Signed-off-by: jitendra sharma <jitendra.sharma1@huawei.com> Change-Id: I1032b9f71de575dba9db17ebeeb417c1f82f56b7
2019-08-19add Junit test case wth cleanup code for OnapSchemaShowCommandTestjitendra sharma1-0/+57
Issue-ID: CLI-169 Signed-off-by: jitendra sharma <jitendra.sharma1@huawei.com> Change-Id: I46fc8bb4a351c2767fea8fd4ba88287b31a7086e
2019-08-19add Junit test case wth cleanup code for OnapSchemaListCommandTestjitendra sharma1-0/+56
Issue-ID: CLI-169 Signed-off-by: jitendra sharma <jitendra.sharma1@huawei.com> Change-Id: I76e20b65f1c98348f46bcf021f08f14d61051d20
2019-08-19add Junit test cases wth cleanup code for ↵jitendra sharma2-12/+22
OnapCommandExceutionShowCommandTest and OnapCommandExceutionShowDebugCommandTest Issue-ID: CLI-169 Signed-off-by: jitendra sharma <jitendra.sharma1@huawei.com> Change-Id: Iab025837347cdc5c10c70cf3afc375312ad6cd9c
2019-08-19Merge changes I8b5f6927,Icf626618Kanagaraj Manickam2-0/+121
* changes: add Junit test case wth cleanup code for OnapCommandExceutionShowErrCommandTest add Junit test cases wth cleanup code for OnapCommandExceutionListCommandTest
2019-08-19Merge "Sonar fixes and improvements"Kanagaraj Manickam2-7/+46
2019-08-16add Junit test case wth cleanup code for OnapCommandExceutionShowErrCommandTestjitendra sharma1-0/+52
Issue-ID: CLI-169 Signed-off-by: jitendra sharma <jitendra.sharma1@huawei.com> Change-Id: I8b5f69279f937d7f2c89f623c154976362fd1540
2019-08-16add Junit test cases wth cleanup code for OnapCommandExceutionListCommandTestjitendra sharma1-0/+69
Issue-ID: CLI-169 Signed-off-by: jitendra sharma <jitendra.sharma1@huawei.com> Change-Id: Icf6266189c7a0c5150a723f2ac9c27129b72dd9d
2019-08-09UT for Onap Commands execution-show and execution-show-debugjitendra sharma2-0/+98
UT Classes are OnapCommandExceutionShowCommandTest and OnapCommandExceutionShowDebugCommandTest Issue-ID: CLI-169 Signed-off-by: jitendra sharma <jitendra.sharma1@huawei.com> Change-Id: I812df7dd504a72f1fed33fbbdb2781f4fa22fc3c
2019-08-08UT for OnapProductsListCommandTest and OnapServiceListCommandTestjitendra sharma2-0/+73
UT for product-list command and service-list command Issue-ID: CLI-169 Signed-off-by: jitendra sharma <jitendra.sharma1@huawei.com> Change-Id: I5fc65771af030a10fb159ea2bf8cfaa30535e37d
2019-08-08UT for OnapCommandProfileStoreTestjitendra sharma1-0/+67
UT for profilestore create, remove and update Issue-ID: CLI-169 Signed-off-by: jitendra sharma <jitendra.sharma1@huawei.com> Change-Id: Ibe1fa94692584d11d3d35155a69049045b5c0c55
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>