aboutsummaryrefslogtreecommitdiffstats
path: root/appc-config
AgeCommit message (Collapse)AuthorFilesLines
2019-11-19Apply defect and Fortify fixes to config bundle codeKeighron, Lori (lk2924)10-9/+37
Apply defect and Fortify fixes to config bundle code Change-Id: I30ec12950c8e2ddcee8a643a9b74a06486c7d6bf Issue-ID: APPC-1787 Signed-off-by: Keighron, Lori (lk2924) <lk2924@att.com>
2019-10-18Revert "update mockito version in APPC"Patrick Brady7-49/+21
The version is in the parent files again. This reverts commit c13a9c95e47b072afb701ad490480036ef36db26. Change-Id: Ie6cb57e8b1b8efbf5e516820efbbfb144791b97f Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1767
2019-10-15update mockito version in APPCTaka Cho7-21/+49
sonar does not take the test coverage from parent pom file Issue-ID: APPC-1767 Change-Id: Ic6530ddc553b404f49937d61481ca2e076362e64 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-10-08Neon SR1 upgradeTaka Cho50-122/+100
change pom files for ODL Neon SR1 upgrade Issue-ID: APPC-1749 Change-Id: Ib10ff74852a2b38933c0df034c71e21665430f62 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-10-08Set appc parent 2.7.0-SNAPSHOTPatrick Brady42-42/+42
Change-Id: Ib68d389e9e39951e47b785550134729a9f678497 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-10-08Increment version to 1.7.0-SNAPSHOTPatrick Brady43-51/+51
Change-Id: I5c9c5141f39a653e6604551488e955c2f0a68004 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-09-27remove org.openecomp.sdc artifactTaka Cho5-17/+15
replace to org.onap.sdc Issue-ID: APPC-736 Change-Id: I6b9b451ad0196e03e7db90e6157e11139f0d0428 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-09-26Change to snapshot parent versionPatrick Brady42-42/+42
Change to appc parent version 2.6.3-SNAPSHOT Change-Id: I51e4485098a271ff80de64ea6c20a81df94c7d8f Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-09-26Increment version to 1.6.5-SNAPSHOTPatrick Brady43-51/+51
Change-Id: Ic0e49aef6dc78b1a55e8c7c051e716339f3802f6 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-09-20Set appc parent 2.6.2Patrick Brady42-42/+42
Change-Id: I4d3fe28ac744a62b448816fe14b645f19a3e5209 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1735
2019-09-17Increment version to 1.6.4-SNAPSHOTPatrick Brady43-51/+51
Change-Id: I0dfdd848265f21e1584903ea14aa4df6d08a2f94 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-09-11Change to released parent 1.6.1Patrick Brady42-42/+42
Change-Id: Ieb506dd5bcc146a45c9e75ec27641f80245548e3 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-09-11Increment version to 1.6.3-SNAPSHOTPatrick Brady43-51/+51
Change-Id: I2b1b8329dbad5a8d6cc5ae96e8c44af1ab3d54ea Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-08-30Updated jersey from com.sun.jersey to org.glassfish.jerseyvmuthukrishnan6-77/+98
ODL upgrade Change-Id: I1167ad7cdb429c9c3e2808db820e3fc26e605383 Signed-off-by: vmuthukrishnan <vmuthukrishnan@aarnanetworks.com> Issue-ID: APPC-1630
2019-08-30Change parent version to snapshotPatrick Brady42-42/+42
Changing the parent version to snapshot in order to build with the new version of appc parent which has the Fluorine SR2 ccsdk parent poms. Change-Id: I03d9a0d38b6d97bab17cd887562ae42ed1b19611 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1630
2019-08-07Change to release parent versionPatrick Brady42-42/+42
Change-Id: If572b36cdf00e3c6ada36181fb6c678fbd978e72 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-08-07Increment version to 1.6.2Patrick Brady43-51/+51
Change-Id: If6610d1addd323c1ad0f902a0841b979f017adc9 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-08-03Increment versions after releasePatrick Brady43-51/+51
Change-Id: I83b000b7c4ac94b5eba396b5e1856a970fa90623 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-07-24Prepared statements for DG servicesPatrick Brady13-453/+1153
Convert sql queries to prepared statements in other parts of appc. Change-Id: If29225394de2ab286e4f2f7bdd17f6af6b286576 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: OJSI-25
2019-07-17Replace Lists with new ArrayListPatrick Brady1-2/+2
The Lists.newArrayList method is not being used here in a way that provides significant benefit over new ArrayList and Lists was causing a class not found exception. Change-Id: I61bbfc5e55cb283c10f3681a7e336ae346347d03 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1613
2019-07-06Fixed netconf-xml parsing issueLathish3-11/+76
Issue-ID: APPC-1624 Change-Id: I12aa5f1a42d5e09b5eb8886132ea9e5a2c84ef5e Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2019-06-05Fix for jackson annotationPatrick Brady1-5/+3
Fasterxml jackson annotations was not available during runtime and was causing json property annotations to be ignored and json was not parsing. Change-Id: I1cb48e6fc54fc39d24bde1683cb141f1f64c9906 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1613
2019-05-22Fix escapeInternalJson methodPatrick Brady1-8/+23
The method incorrectly handled cases where the json string contained json objects internally. These cases should be handled correctly now. Change-Id: I43b40414526bcb6577242ab737097dfb9119e618 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1576
2019-05-20Update parent versionPatrick Brady42-42/+42
Update the parent version to match the new 2.* parent versioning. Change-Id: I77280d8cf12de1de20c01249491dc85243f5d655 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1601
2019-05-02Add method to escape json stringsPatrick Brady3-0/+86
All backslash escape characters are being stripped out of strings. They need to be added back to strings containing json data. Change-Id: Ic8d9ba95da904b96f65598752133971f8c324694 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1576
2019-04-30Fix for extra json quotesPatrick Brady1-1/+1
Substring method output was being lost, causing extra quotes to stay in the String. Change-Id: I35e9eee60756b7b743386600e3ab1d203cca036a Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1576
2019-04-26Increment snapshot versionPatrick Brady43-51/+51
Change from 1.5.0-SNAPSHOT to 1.6.0-SNAPSHOT to prepare for next development cycle. Change-Id: I187785ab4b11a37815289d20ba802c48e86cee7f Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1585
2019-04-22Escape quotes in json stringsPatrick Brady1-2/+11
The JSONObject parser strips all text of backslash escape characters, even if it is treaing the object as a string and not a series of json keys. If a string contains a json object within it, the removal of these escape characters causes problems. Adding the JSONObject.quote method on all strings to automatically add escape characters to any strings which contain characters requiring escapes. Change-Id: Ifac68844dd132971ba35803f1b9c03a5372bd500 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1576
2019-04-10Fix for Ansible Healthcheck bugJoss Armstrong2-18/+18
Update to directed graph and merge JSON template code Issue-ID: APPC-1472 Change-Id: I4332ad74d34f455261b1c001339d0542be4514fc Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-03-27ConfigComponentAdaptor.java - Sonar FixesDriptaroop Das1-25/+10
ConfigComponentAdaptor.java - Sonar Fixes Issue-ID: APPC-1560 Change-Id: Ia22fc64e378ffb3a206eed256f0a9ab7365381cd Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-03-27Fix incorrect passing of SvcLogicContext valueJoss Armstrong1-5/+3
EncyrptionToolDGWrapper changes for Multiple Ansible server support not working when retrieving data from SvcLogicContext used for querying DEVICE_AUTHENTICATION table. Issue-ID: APPC-1545 Change-Id: I8f08910156d6e2b4ae6341c847bc773e4d15841e Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-03-26remove cassandra-driver-coreTaka Cho1-6/+0
In appc-config-param, remove cassandra-driver-core to avoid security vulnerability for guava and netty-handler Change-Id: I660ae35c4abbc9537e9f9bf5e18fd630e111ca93 Issue-ID: APPC-1553 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-03-21Modified code to avoid Null pointer excJegadeesh Babu1-1/+1
Sonar fix Issue-ID: APPC-1547 Change-Id: Ie242256130f255a05366774516cf503c2a3d47cc Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-03-21Fix for incorrect handling of SQL resultsJoss Armstrong1-1/+2
Corrected handling of SQL COUNT query Issue-ID: APPC-1545 Change-Id: I8c246b97c8ed8b483e79ae0e3b2cb51f8b4b62be Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-03-20Suppression of long logs in GraphExecutorJoss Armstrong1-1/+13
Logging full configuration files to info log was causing failures and timeouts on configuration operations in APPC. Some were removed already under this JIRA but this one was missed. Issue-ID: APPC-1489 Change-Id: I619f2d1140095859092d6ceff6c7cb44855fb2e1 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-03-15Revert "upgrade databind artifact"Patrick Brady26-242/+4
Fasterxml databind is being brought in to karaf by opendaylight and trying to force a different version for the appc components is causing class errors. This reverts commit 52cf1a81d591efb2b1ee4b8c5a70b137dfb6c212. Change-Id: I6d0da2ed081e4abd4b83e8b11935ba43bee0e1aa Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1533
2019-03-15added file to test Input.javaSandeep J1-0/+45
to increase code coverage Issue-ID: APPC-1086 Change-Id: I0878084535f77d1be78c82248d597660bb57ddaa Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-14added test case to cover Parameters.javaSandeep J1-0/+6
to increase code coverage Issue-ID: APPC-1086 Change-Id: Icf7850c8fa43a5d6e5128b00bf708f551c57d1f7 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-14added test case to VmTest.javaSandeep J1-0/+6
to increase code coverage Issue-ID: APPC-1086 Change-Id: I21c87ab20f6c3faee200fcf2d25120175f58e2c5 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-14added test case to TunableParametersTest.javaSandeep J1-0/+6
to increase code coverage Issue-ID: APPC-1086 Change-Id: I0ad33fb62276caeb91e08cd1d0aef7a2e2c39864 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-13Added Junit Class for ParamsHandlerActivatorSudarshan Kumar1-0/+85
Added Junit Class for ParamsHandlerActivator Issue-ID: APPC-1372 Change-Id: I1198cd62354e8781f4fe9e07676ad64fc7f3ccf9 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-03-13upgrade databind artifactTaka Cho26-4/+242
upgrade jackson's databind from 2.8.11.2 to 2.8.11.3 Change-Id: I9bf3ab8021f91f6ed36bdffdacbaeeac78d2e87c Issue-ID: APPC-1533 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-03-11added file to test EnvVariables.javaSandeep J1-0/+42
to increase code coverage Issue-ID: APPC-1086 Change-Id: I0ccef8fe411dec8a699152d7710ac83683c5cb72 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-08added test case to TestDGGeneralDBService.javaSandeep J1-0/+12
to increase code coverage Issue-ID: APPC-1086 Change-Id: Idfc3aa674b566f5e4e04e29396dd9c08607854b6 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-08added file to test FqdnList.javaSandeep J1-0/+67
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ic2028fa37825facb1e8999a8328c0773eb41abcc Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-08added file to test Parameters.javaSandeep J1-0/+84
to increase code coverage Issue-ID: APPC-1086 Change-Id: I046d1154ce19801cbc18883799f71ec401baa1cb Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-06added file to test EscapeUtils.javaSandeep J1-0/+36
to increase code coverage Issue-ID: APPC-1086 Change-Id: I3c98deea811048097be6f87449d0f58b43b29be6 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-06added file to test Vnfcslist.javaSandeep J1-0/+58
to increase code coverage Issue-ID: APPC-1086 Change-Id: Id574d909b674b1bdad8b96663d3fdb66cc276ecd Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-05added file to test Vm.javaSandeep J1-0/+55
to increase code coverage Issue-ID: APPC-1086 Change-Id: I251cbcaa1566ad405198a8b8f6669f783aef260e Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-05added file to test TunableParameters.javaSandeep J1-0/+54
to increase code coverage Issue-ID: APPC-1086 Change-Id: I7844c0c99f1c9ad6e58a6bc7d8b71aee1ff0bd55 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>