aboutsummaryrefslogtreecommitdiffstats
path: root/appc-adapters/appc-rest-adapter
AgeCommit message (Collapse)AuthorFilesLines
2019-04-26Increment snapshot versionPatrick Brady6-6/+6
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-03-18Revert "upgrade mapper-asl"Patrick Brady1-14/+3
The old version is a newer version of the dependency. This reverts commit 651430451d2134d14daab15ebae29eccc878b52b. Change-Id: I410e9debc0207c12ffa024ff48a69b5f482006de Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1531
2019-03-15Revert "upgrade databind artifact"Patrick Brady3-42/+0
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-15upgrade async-http-client versionTaka Cho1-106/+0
The installation dependencies can be removed because they are not being used anymore. Removing the async-http-client from being packaged into the installer will remove the security vulnerability. Change-Id: I555d083365a87753b6a406b0abf863c689d65449 Issue-ID: APPC-1538 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-03-13upgrade databind artifactTaka Cho3-0/+42
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-12upgrade mapper-aslTaka Cho1-3/+14
move to 1.9.3 for mapper-asl for securilty vulnerability Change-Id: I9189a59ad96af9a9cd761941ed64ed9eae77743f Issue-ID: APPC-1531 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-02-28Test coverage in RestAdapterImplJoss Armstrong1-95/+77
Increased coverage from 69% to 98% Fixed Sonar major issue for branch coverage Issue-ID: APPC-1512 Change-Id: Idb989cf6266b4e7c7dda1e9bca72483038649eda Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-25Changes for new odl versionPatrick Brady1-3/+9
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-18Added test case for RestActivatorLathishbabu Ganesan1-0/+59
Increased the coverage from 0% to 100% Issue-ID: APPC-1428 Change-Id: Ic33666f14f4cefddf7b6216653229371607b4573 Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-04modified existing test case to increase coverageSandeep J1-24/+29
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ic028f65e2d62529a91de069050aec11db09b6014 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-01Update rest return parametersPatrick Brady1-16/+16
Change-Id: If5d860a37a87ac0feb6452173cf147bbafa079b3 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1381
2019-01-18Update install-feature for pre-installPatrick Brady1-3/+1
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 Brady6-6/+6
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 Brady6-6/+6
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
2019-01-07Fixes feature install on latest ccsdkPatrick Brady2-52/+3
Updated rest adapter to resolve dependencies the same way that other appc features do. This fixed the karaf crash during install. Added necessary dependencies as embedded or karaf bundles to other appc features, as needed. Change-Id: Id04d08cd09c2ff0cae0db8ecbc61405da10882d7 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1304
2018-11-12Increment version numberPatrick Brady6-6/+6
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 Brady6-6/+6
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 Brady6-6/+6
Change-Id: I298b1ac52c849320b67c649017b3604490a5063b Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-09-24Add version to pom filesPatrick Brady3-0/+3
Change-Id: Ia7eaffdb1391b0b836a2911395c2b768b4926ef3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1208
2018-09-21Remove logback 1.1.3 security issuePatrick Brady1-0/+12
cdp-pal and eelf are the dependencies using logback-classic 1.1.3. Need to use exclusions option in pom file Change-Id: Id8f5817ec955e2b7b486bc0215c35541086606aa Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1018
2018-09-11Misplaced shebangs and missing exec flagsNicolas Edel1-2/+2
patch description: Restore of valid shebang lines and exec flags Change-Id: Id44c9d4ac9f2243f478213b34f61a30576ca2235 Issue-ID: APPC-1203 Signed-off-by: Nicolas Edel <nicolas.edel@orange.com>
2018-09-05increase coverage for restAdaptor HTTP_POSTGanesh Chandrasekaran1-0/+33
Issue-ID: APPC-1181 Change-Id: If92c903fa520e1a609d4e4558241709a2b3f6439 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-09-05increase coverage for restAdaptor HTTP_GETGanesh Chandrasekaran1-0/+33
Issue-ID: APPC-1181 Change-Id: Iac9a6be49bc3e4ed2461a337e9b892b821a8d518 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-09-05increase coverage for restAdaptor HTTP_DELETEGanesh Chandrasekaran1-0/+33
Issue-ID: APPC-1181 Change-Id: I50eead8d40c692cd9674fdc2f1f3ed63c9f9031a Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-09-05refactor restAdaptor and add test for HTTP-PUTGanesh Chandrasekaran2-6/+43
Issue-ID: APPC-1181 Change-Id: Ibd70b03db906343c5e9c27439e2da541a54672e2 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-09-02fix com.fasterxml.jackson.core 2.8.4Taka Cho2-15/+15
Group: com.fasterxml.jackson.core Artifact: jackson-core Version: 2.8.4 to Version: 2.8.6 Change-Id: Id691ab4da8d5a5f205cff02acee70719952ef956 Issue-ID: APPC-1018 Signed-off-by: Taka Cho <tc012c@att.com>
2018-08-24Remove old appc-commonRyan Young1-1/+1
Issue-ID: APPC-1159 Change-Id: I65f1bc07fe0088df0624266e6158296ac73884a6 Signed-off-by: Ryan Young <ry303t@att.com>
2018-08-21Revert "resolving logback-classic 1.13"Patrick Brady1-12/+0
Temporary revert to fix failing bundles. This reverts commit 76b6ff1ce84d4c2ab4518dd5f154083b91680245. Change-Id: Ibce5eee91ad8f1bec9b458a52a7f5d25ada85da9 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1018 Signed-off-by: Patrick Brady <pb071s@att.com>
2018-08-20resolving logback-classic 1.13 from security issueTaka Cho1-0/+12
cdp-pal and eelf are the jar using logback-classic 1.1.3. need to use exclusions option in pom file Issue-ID: APPC-1018 Change-Id: I00b41f9c366a5ead3f4205cd6fa6b9eb74599767 Signed-off-by: Taka Cho <tc012c@att.com>
2018-08-17upgrade bcprov to 1.60Taka Cho1-8/+0
upgrade bcprov to 1.60 to avoid security issue Change-Id: I10b20adbcceed68a74ac49dec7a6ade64d34d33c Issue-ID: APPC-1018 Signed-off-by: Taka Cho <tc012c@att.com>
2018-08-13Karaf 4 for first few featuresPatrick Brady6-158/+347
appc-metric appc-dmaap-adapter appc-chef-adapter appc-netconf-adapter appc-rest-adapter Change-Id: I1d5a8e39cac7be74b05a0782f0971f8d08c8162d Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1029
2018-06-14Update license header on appc-adapter xml filesJohn McClung6-12/+6
Modify license header on appc-adapter xml and .code_styling xml files to reflect 2018 changes. I also had to fix the xml_version line syntax for the .code_styling xml files. Change-Id: I361f64d3d6edbf43b6c7ae06611f64ee183b7d82 Issue-ID: APPC-999 Signed-off-by: John McClung <jm1364@att.com>
2018-06-13More updates to lic header in appc propertiesJohn McClung2-4/+2
License header fixes to reflect 2018 changes in various appc-adapters, appc-client, appc-common, appc-config, appc-dg and appc-directed-graph java and properties files. Change-Id: Idbe000f175e11ba42f6e83689a2b2d3d353be008 Issue-ID: APPC-996 Signed-off-by: John McClung <jm1364@att.com>
2018-06-05Update license header in REST and SSH adapter fileJohn McClung8-16/+8
Modify license header in appc-rest-adapter, appc-rest-healthcheck-adapter and appc-ssh-adapter files to reflect 2018 changes. Change-Id: Ie4cfe6984982eff27ce8aa44c8b1df4f3434bc5f Issue-ID: APPC-968 Signed-off-by: John McClung <jm1364@att.com>
2018-05-22Increment version for new branchPatrick Brady4-4/+4
Change from version 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT and update version file. Change-Id: I6b54c3e3b97c3ef0a554fb173d0dd261ca2107d3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-916
2018-04-11ODL Upgrade Method 2Patrick Brady2-19/+6
Changes necessary to support upgrade to ODL Nitrogen, while continuing to use Karaf 3 style features Change-Id: I2edf619e0b889420c32793b958c0926b0311e71d Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-403
2018-04-03Add junit coverage for 2 RequestContext classesIrwin Dunietz1-0/+179
Introduce junit-tests for 2 similar RequestContext classes Change-Id: If8a80e983c24214eccd16f8ad7432e98de61d528 Issue-ID: APPC-824 Signed-off-by: Irwin Dunietz <id1681@att.com>
2018-03-29Unit test for RequestFailedException.javashubhada1-0/+132
Unit test for RequestFailedException.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-rest-healthcheck-adapter-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fadapter%2FrestHealthcheck%2Fimpl%2FRequestFailedException.java Change-Id: Ife89776181fe803d4d02feb7909bc450b6b0e9ed Issue-ID: APPC-810 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-01security issue jackson-mapper 1.9.12Taka Cho1-1/+1
Change-Id: I89266f7a8dde8bc409f4edc8bdf91195c4249515 Issue-ID: APPC-675 Signed-off-by: Taka Cho <tc012c@att.com>
2018-02-20Update .gitignore with license textSkip Wonnell4-4/+66
Update .gitignore with license text Remove IDE generated files from repository Update .gitignore to ignore IDE Generated files Issue-ID: APPC-637 Change-Id: Ie650e2c6d46d55d06dcc54877533cb3e14be66d6 Signed-off-by: Skip Wonnell <skip@att.com>
2018-02-06RestAdapterImpl refactorJakub Dudycz1-38/+38
Change-Id: I41990afaf68bd4bcfa8414efcd0ae9589d86ecbf Issue-ID: APPC-522 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-01-12Add missing license text to pom files, part 1Skip Wonnell4-0/+84
Change-Id: I57a7d2956869519137679550459b001f29992ec2 Issue-ID: APPC-398 Signed-off-by: Skip Wonnell <skip@att.com>
2018-01-09platform hardening changes for appc-adapterskusuma kumari M1-0/+2
Issue-ID: APPC-362 Change-Id: I5dfcee3ea542b130916b055b408f89240e513bba Signed-off-by: kusuma kumari M <km583p@att.com>
2018-01-02Fix for sonar blockerTomek Kaminski1-2/+2
Add missing close operation on ClosableHttpClient instance in executeHttpRequest method of RestAdapterImpl.java Resolve sonar blocker using try-with-resources clause. Change-Id: Ibaf5eba70abd4a042708eb686da073e673d547fb Issue-ID: APPC-364 Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
2017-12-19Update jaxb-api to 2.2.3 or laterTaka1-2/+2
Issue-ID: APPC-306 Change-Id: I95ba608435bcafff5ea9d960d0295900aa14ebef Signed-off-by: Taka <tc012c@att.com>
2017-12-13Fourth part of onap renamePatrick Brady2-2/+2
Some paths within the docker image need to be updated from opt/openecomp to opt/onap Change-Id: I74b32ba6906a0b7c44764485dccef6140c21afa3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-12-13Second part of onap renamePatrick Brady11-0/+0
This is the second commit of the rename. The folder structure is renamed for appc-adapters and appc-config in this commit. Change-Id: Iaa2b8c937ff1ca1b5d1178128961fb115ee65d9b Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-12-13First part of onap renamePatrick Brady16-96/+96
This is the first commit of the rename. This commit changes refereces to org.openecomp.appc > org.onap.appc that occur within files. The package folder structure is not changed in this commit. Change-Id: Ic95d749eb99d8a6f4f2b9ee9b06eb41c5cfa7e1c Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-11-17Bump minor versionJessica Wagantall4-4/+4
Bump minor version in preparation for Amsterdam branching. Change-Id: I83e13547f583db020d6f756ddb8918360c38903b Issue-ID: CIMAN-120 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Signed-off-by: Patrick Brady <pb071s@att.com>
2017-11-07Changing to Amsterdam release versionv1.2.01.0.0-ONAP1.0.0-AmsterdamPatrick Brady4-4/+4
Appc will be realeased as version 1.2.0 since version 1.1.0 already was created spring 2017. Change-Id: I177931e892c2556c11a261f018fd835d62a14d54 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: APPC-314