aboutsummaryrefslogtreecommitdiffstats
path: root/framework
AgeCommit message (Collapse)AuthorFilesLines
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.akhade5-21/+37
Issue-ID: CLI-248 Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Change-Id: I182c7a2e2f41bf09990e5b1ac0344f49af33e0c5
2020-03-20Set version 5.0.3Kanagaraj Manickam1-2/+2
Issue-ID: CLI-255 Change-Id: I98d3f4bb86d1afb2ae6caddf5b29d8cf8afb109e Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2020-03-10Fix the versioning issueKanagaraj Manickam2-4/+4
Issue-ID: CLI-257 Change-Id: I194d8389f0d4fef116b9a87d484ad8b78ad401a5 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2020-03-09Set version 5.0.1Kanagaraj Manickam1-2/+2
Issue-ID: CLI-257 Change-Id: I1bfbc57204b8d263b25791f16f722ce2b906fc11 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-02Verion 5.0.0Kanagaraj Manickam1-2/+2
Issue-ID: CLI-249 Change-Id: I783edd05ad4360638b10ac7dc1eebc738d1ebe80 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2020-03-025.0.0 SNAPSHOTKanagaraj Manickam1-2/+2
Issue-ID: CLI-249 Change-Id: I88fc9367d126e774036563b231bf4b8937bb400d Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2020-03-02Code clean upKanagaraj Manickam2-3/+3
Issue-ID: CLI-249 Change-Id: I9364f7ee3640dd74358f43ed33cd8663c0397103 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2020-03-02Migrate to apache common loggingKanagaraj Manickam2-3/+65
Issue-ID: CLI-249 Change-Id: Id9b0b37c8aa2d0cfd452ebdbe8c09928ed69dbd5 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2020-02-29Migrate to gsonpriyanka.akhade13-99/+192
Issue-ID: CLI-247 Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Change-Id: If66134db5503382fb45210ece883402fc130ac93
2020-02-24SonarCloud migration from SonarQubejitendra sharma1-1/+37
Issue-ID: CLI-250 Signed-off-by: jitendra sharma <jitendra.sharma1@huawei.com> Change-Id: I02713cd1beeb70aac55f34bc8545ae2e222ff2d7
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 sharma2-2/+12
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>
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>