aboutsummaryrefslogtreecommitdiffstats
path: root/appc-inbound/appc-artifact-handler
AgeCommit message (Collapse)AuthorFilesLines
2020-03-31Change parent to release version 2.7.1Patrick Brady7-7/+7
Change-Id: I87d105f7c59c0e65bc12ef5e92f708696081f7b1 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1816
2020-01-29add new action ConfigScaleInyongqiangliu3121-5/+9
Change-Id: Iae4bb797c4e86f66e5e3101fc6715fc2c2be470f Issue-ID: APPC-1760 Signed-off-by: Taka Cho <takamune.cho@att.com> Signed-off-by: Patrick Brady <patrick.brady@att.com>
2020-01-29Change code in appc dispatcher for new LCMs in R6Dunietz, Irwin5-269/+345
Also introduce some minor improvements to robustness, efficiency, & formatting. Issue-ID: APPC-1789 Signed-off-by: Dunietz, Irwin <id1681@att.com> Change-Id: I82d970c2f7cde6c8dab1222af86ea70ce93b7e50
2020-01-27Change parent to version 2.7.1-SNAPSHOTPatrick Brady7-7/+7
Change-Id: I5fa014f96f20dad8a6ed4bc2d7a73641ff7846c4 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1816
2020-01-21Increment version to 1.7.1-SNAPSHOTPatrick Brady7-7/+7
Change-Id: I1d1528e9029510ac14f7b527b245854df48c3d9a Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1816
2020-01-14Change parent to release version 2.7.0Patrick Brady7-7/+7
Change-Id: Idf46f142fb571a01575ba146c2a0f32b7541d142 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1816
2019-11-26Add new LCM actions GetConfig, StartTraffic, StopTraffic, etcKeighron, Lori (lk2924)2-4/+24
New LCM actions Change-Id: Ic59607f2a7fc515bdd01be162018aaf695668f82 Issue-ID: APPC-1790 Signed-off-by: Keighron, Lori (lk2924) <lk2924@att.com>
2019-10-18Revert "update mockito version in APPC"Patrick Brady1-8/+0
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 Cho1-0/+8
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 Cho9-29/+23
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 Brady7-7/+7
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 Brady7-7/+7
Change-Id: I5c9c5141f39a653e6604551488e955c2f0a68004 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-09-27remove org.openecomp.sdc artifactTaka Cho1-2/+2
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 Brady7-7/+7
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 Brady7-7/+7
Change-Id: Ic0e49aef6dc78b1a55e8c7c051e716339f3802f6 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-09-20Set appc parent 2.6.2Patrick Brady7-7/+7
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 Brady7-7/+7
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 Brady7-7/+7
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 Brady7-7/+7
Change-Id: I2b1b8329dbad5a8d6cc5ae96e8c44af1ab3d54ea Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-08-30Change parent version to snapshotPatrick Brady7-7/+7
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 Brady7-7/+7
Change-Id: If572b36cdf00e3c6ada36181fb6c678fbd978e72 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-08-07Increment version to 1.6.2Patrick Brady7-7/+7
Change-Id: If6610d1addd323c1ad0f902a0841b979f017adc9 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-08-03Increment versions after releasePatrick Brady7-7/+7
Change-Id: I83b000b7c4ac94b5eba396b5e1856a970fa90623 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-07-24Add value of the argumentsPatrick Brady1-3/+31
Also apply the valueof to non svc context arguments. The original code would always treat null arguments as null strings. This replaces that functionality in the prepared statements. Change-Id: I88ab22c87b86a8f5ff41946757c40a399c37a6c3 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: OJSI-25
2019-07-17Fixes for parameterized sql queriesPatrick Brady2-1/+3
The old non-parameterized queries would treat null entries in the SvcLogicContext as "null" string values. The parameterized query treats these as NULL sql values. This change keeps those values as "null" strings. Change-Id: Iee7f7a1861bdd82dc65d59db2be7862b49cf1207 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1639
2019-06-27Parameterized queriesPatrick Brady8-163/+671
Convert all database queries to use java sql parameterized queries to reduce risk of sql injection attack. Change-Id: I15876ce3a2f2e2dfbd6578f5141367deed75d097 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: OJSI-25
2019-05-20Update parent versionPatrick Brady7-7/+7
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-10Add ConfigModify to if statementPatrick Brady1-8/+10
Requests from cdt with the action set to ConfigModify did not have entries added to the device interface protocol table. With this change the entry will be made in the table. Change-Id: I29835554a0ebf2fea29f1c8745b99ac1813c0d7d Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1593
2019-04-26Increment snapshot versionPatrick Brady7-7/+7
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-04added test cases to DBServiceTest.javaSandeep J1-0/+21
to increase code coverage Issue-ID: APPC-1086 Change-Id: I149ad0ee6354822fcb9712fe12ad22885b65cf8e Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-28added test case to DBServiceTest.javaSandeep J1-0/+16
to increase code coverage Issue-ID: APPC-1086 Change-Id: I02b723e7f9aa83e2f7f51aa5a9c8883ac149299c Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-26added test cases to ArtifactHandlerProviderTestSandeep J1-5/+22
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ic03b32bc4c8b87a76db2e2aae45f7706f19e9bd4 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-26added test case to DBServiceTest.javaSandeep J1-1/+9
to increase code coverage Issue-ID: APPC-1086 Change-Id: I202822e53c2086b5db41a8028410c07c46821d1d Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-15Revert "upgrade databind artifact"Patrick Brady3-38/+1
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-13upgrade databind artifactTaka Cho3-1/+38
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-06Test coverage in ArtifactHandlerProviderJoss Armstrong1-29/+20
Increase coverage from 51% to 96% Fix assertions and Sonar major branch coverage problem Issue-ID: APPC-1335 Change-Id: I1edb662db199dda46972fdf37820aa1de1ad46fc Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-25Changes for new odl versionPatrick Brady12-357/+68
Changes required to update to latest opendaylight version. Some powermock tests have been temporarily removed due to an powermock incompatibility. They will be fixed and re-added. Change-Id: I418d44913fcd42423d2d9bd37b189f6301eaab81 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1370
2019-02-21Remove duplicate versionsPatrick Brady1-3/+1
These versions are inherited from opendaylight parent poms. Removing the override for these inherited versions. Change-Id: I83b374e4d8815e21fd48bedbe4dd46bc246e44a4 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1355
2019-02-15Support multiple Ansible serversSonali Das3-107/+320
Issue-ID: APPC-1364 Change-Id: I63cf89f5964bcfaba7d1f0b0eac2477f827b69fa Signed-off-by: Sonali Das <sd394g@att.com> Review Comment update Issue-ID: APPC-1364 Change-Id: I03fa97d60c6497218c14b53531c2dea69c7fba34 Signed-off-by: Sonali Das <sd394g@att.com> Review Comment update Issue-ID: APPC-1364 Change-Id: I03fa97d60c6497218c14b53531c2dea69c7fba34 Signed-off-by: Sonali Das <sd394g@att.com> Support multiple Ansible servers Issue-ID: APPC-1364 Change-Id: I63cf89f5964bcfaba7d1f0b0eac2477f827b69fa Signed-off-by: Sonali Das <sd394g@att.com> Support multiple Ansible servers Issue-ID: APPC-1364 Change-Id: I63cf89f5964bcfaba7d1f0b0eac2477f827b69fa Signed-off-by: Sonali Das <sd394g@att.com>
2019-02-14Added interrupt method to notify caller methodJegadeesh Babu1-1/+4
Called interrupt method on current thread Issue-ID: APPC-1437 Change-Id: I0dbb8cf01f285c01f96fe4f1c0396999e3361373 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-01-22Test coverage in artifact-handler-utils packageJoss Armstrong1-0/+56
Increased coverage from 21% to 91% Issue-ID: APPC-1335 Change-Id: Ib0ed16e6e0ef01c83666491644564d1c6f341160 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-22Increase coverage in artifact-handler-node packageJoss Armstrong4-111/+115
Increased coverage from 56% to 93% Issue-ID: APPC-1335 Change-Id: I65ed7979141a035444ff45e7540d7fb022d24355 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-22Coverage for appc-artifact-handler packageJoss Armstrong5-41/+262
Increased coverage from 0% to 95% Issue-ID: APPC-1335 Change-Id: I3c2e1f22009c47cda983e61eda7e98c48564ee98 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-21Correct unit tests for DBService classJoss Armstrong5-113/+221
Increased test coverage from 74% to 92% in DBService class Issue-ID: APPC-1335 Change-Id: Iabd792eb104429d5090e0099dba463e8ad6d499a Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-18Update install-feature for pre-installPatrick Brady2-6/+2
Since the feature zip files will be extracted during docker build, the install-features scripts need to be modified so that the script will not fail when the zip file does not exist, since the zip file will have already been unzipped. Change-Id: I441064226db956addae5c2f238114ce3965c13ef Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1337
2019-01-08Change parent version to appc snapshotPatrick Brady7-7/+7
Changing to the current release snapshot version of the appc parents instead of the previous release version. This allows updated changes to parents to be in builds. Change-Id: I6cec484012c2cb48ee1ea7f10fd058d017f00947 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1304
2019-01-07Update parent pom versionPatrick Brady7-7/+7
Update the parent version to appc parent 1.4.1 Change-Id: I185d086595bed6410f7fd6b8c139cc6300e4467e Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1304
2018-11-12Increment version numberPatrick Brady7-7/+7
Changing to version 1.5.0-SNAPSHOT Change-Id: I1e0773d16cb058ac2fb96718581cfbf8d716a2e0 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-10-11Roll to next version after releasePatrick Brady7-7/+7
Change to version 1.4.1-SNAPSHOT Change-Id: Ie6238743cbe2bebeb122ce3985fb2488d9a6c62e Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-10-09Change to released parent pomsPatrick Brady7-7/+7
Change-Id: I298b1ac52c849320b67c649017b3604490a5063b Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212