summaryrefslogtreecommitdiffstats
path: root/appc-inbound/appc-design-services
AgeCommit message (Collapse)AuthorFilesLines
2018-09-11Misplaced shebangs and missing exec flagsNicolas Edel2-4/+4
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-05Code Coverage for XinterfaceServices.javaDilip kumar Pampana1-0/+41
Junit test for code covergae for XinerfaceServices.java in design services Issue-ID: APPC-1190 Change-Id: I8b23975eb1c9d19200b5d0d115763168e48c53b9 Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
2018-08-21Revert "resolving logback-classic 1.13"Patrick Brady1-11/+1
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-1/+11
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-14Karaf 4 for appc-inboundPatrick Brady9-120/+206
Change-Id: I94f8b31e509d0e231e36b8b8d2871ad10bdf02f8 Issue-ID: APPC-1148 Signed-off-by: Patrick Brady <pb071s@att.com>
2018-08-02added test case to TestValidatorService.javaSandeep J1-1/+13
to increase code coverage Issue-ID: APPC-1086 Change-Id: Id3d7d93fb02d62be8288ae7065b69b22ce1d8c2f Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-01updated existing test case to increase coverageSandeep J1-7/+9
updated existing test case to increase code coverage Issue-ID: APPC-1086 Change-Id: Iea8d0a833872cec864436300c4bcbc9e55cd3316 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-31updated test case to increase coverageSandeep J1-6/+5
updated test to cover getAppcTimeStampResponse method in DbResponseProcessor.java Issue-ID: APPC-1086 Change-Id: I6333683181498857aa58ca7ccb404329574513ff Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-31Junits for Inbound/designServicesDilip kumar Pampana4-255/+277
Added new test class files for code coverage of DesignDBServices and removed version for mockito-core as it is overriding existing one in pom.xml file in design services provide. Issue-ID: APPC-1117 Change-Id: I9eddf30c7e3c72467f4bf5f5850c22c083f51a9f Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
2018-07-16Tests for appc-inbound/design-servicesDilip kumar Pampana1-0/+12
Test coverage for GetAppcTimestampUTC in inound/ design-services Issue-ID: APPC-1078 Change-Id: I508c3bcebad5c7c35bd2257436ad3f4099eb8345 Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
2018-07-11Fix XML injection issueMei Su1-0/+5
Fix XML injection security issue Issue-ID: APPC-1068 Change-Id: Id534da6d0c8287ba32febd959c81c313ee21302a Signed-off-by: Mei Su <ms6523@att.com>
2018-07-06APPC CDT Future timestamp issue fix -new HTTP reqod74274-4/+35
APPC CDT GUI generated timestamp in user browser in request data. Sometimes the timestamp appeared in future compared to APPC server time. To fix the APPC CDT Future timestamp issue adding a new HTTP request to DesignDBService to get UTC Timestamp from the APPC server. Also adding this request to DbResponseProcessor, RequestValidator to avoid validation failures. Modified DesignDBService.java to satisfy review comments. Made additional corrections after failed build. Change-Id: Ic9d3f1ebb42143e497e21520843a78ecb882d0fc Issue-ID: APPC-1026 Signed-off-by: od7427 <od7427@att.com>
2018-06-14Update license header in appc xml filesJohn McClung1-2/+1
More license header changes to miscellaneous appc xml files to reflect the 2018 changes. Change-Id: Ia71a0711235ab56bf2cd83719964bc12d7aa420b Issue-ID: APPC-1004 Signed-off-by: John McClung <jm1364@att.com>
2018-06-14More lic header updates to various appc xml filesJohn McClung8-16/+8
Modify license header in appc-event-listener, appc-inbound, appc-lifecycle-management and appc-metric xml files to reflect 2018 changes. Change-Id: I0e5d9eb55b92d9b4274f0ebc5c5a1044e451707c Issue-ID: APPC-1003 Signed-off-by: John McClung <jm1364@att.com>
2018-06-13Update lic header in misc appc properties filesJohn McClung2-4/+2
Modify license header in miscellaneous appc properties files to reflect 2018 changes. Change-Id: I21eb99f680ab4cbddbd7f8abe65720c87e2dbb33 Issue-ID: APPC-998 Signed-off-by: John McClung <jm1364@att.com>
2018-06-08Update license header in appc-inbound filesJohn McClung25-50/+25
Modify license header in appc-inbound java files to reflect 2018 changes. Change-Id: I32b2cf9e659bb8987da56415589c6c773698a09c Issue-ID: APPC-984 Signed-off-by: John McClung <jm1364@att.com>
2018-05-22Increment version for new branchPatrick Brady5-5/+5
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-05-10Change Design Service to use DbLibServiceRyan Young1-3/+2
Change-Id: I5b82345d8790fcfe3fdf73c86b413276673361ec Signed-off-by: Ryan Young <ry303t@att.com> Issue-ID: APPC-890
2018-05-01Fixes for the two features that were not installedPatrick Brady2-9/+5
These features relied on exports that didn't exist. Also versions had to be removed from feature files. Change-Id: I1860ae6c46354061943223ac6a201518871d3608 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-871
2018-04-11ODL Upgrade Method 2Patrick Brady3-10/+8
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-09Enhance DMaaP Adapter ConfigurationRyan Young1-17/+14
Change-Id: I5385cf2710fc33a85da9a67d5f4d31dce1e460aa Signed-off-by: Ryan Young <ry303t@att.com> Issue-ID: APPC-658
2018-04-03Changes made to Inbound/Design-ServicesDilip kumar Pampana1-8/+10
Error Displayed in CDT while saving the artifacts to APPC DB using SAVE ALL TO APPC though the artifacts are saved in DB Issue-ID: APPC-817 Change-Id: I748dd099b3df2ace95b9930aec2fcf1de3f6d148 Signed-off-by: Dilip kumar Pampana <dp583p@att.com>
2018-03-26Add junit coverage to EncryptionTool classLori Keighron1-0/+37
Introduce junit coverage in design-services class Issue-ID: APPC-794 Change-Id: Idbf8d02511b478173950a97c10a642486bc0d45f Signed-off-by: Lori Keighron <lk2924@att.com>
2018-02-27security issue: commons-collectionsTaka Cho1-0/+11
Change-Id: I74a56640065ae6c6a470835ab1022ed0f266fc09 Issue-ID: APPC-665 Signed-off-by: Taka Cho <tc012c@att.com>
2018-02-22ArtifactHandlerClient sonar fixesJakub Dudycz2-95/+103
Change-Id: Ic43b1e4748c753e696ffff1deb89f2b73a8cb9ce Issue-ID: APPC-650 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-21Update license text part 3Skip Wonnell1-0/+23
Issue-ID: APPC-637 Change-Id: I361c457acd27099294365f8ee3aeb167cd7fcafd Signed-off-by: Skip Wonnell <skip@att.com>
2018-02-20Update .gitignore with license textSkip Wonnell5-26/+137
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-14RequestValidator sonar fixesJakub Dudycz2-80/+142
Change-Id: Ib3aa404727f8df4d0427324752f67ab80eb0d580 Issue-ID: APPC-613 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-09ValidatorService sonar fixesJakub Dudycz2-63/+58
Change-Id: I9b67413922f50051348cb8a6ca3bade6e40bed99 Issue-ID: APPC-572 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-07DesignServicesImpl sonar fixesJakub Dudycz2-64/+88
Change-Id: I55159c7b26463965c0d0bee147b4a5f808a6c55a Issue-ID: APPC-571 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-07DbService sonar fixesJakub Dudycz4-56/+58
Change-Id: I3e9ed180c1c0d6be9182e65afc84dd2947404980 Issue-ID: APPC-570 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-05DesignDBService fixesJakub Dudycz2-342/+304
Change-Id: If3a5aaf9818cd3c7f2bb976360e430a0c439ecab Issue-ID: APPC-566 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-01-25Fixes in DesignServiceConstantsburdziak1-9/+9
Change-Id: I3596e1dc833c84138c41717f045e5299fd32f117 Issue-ID: APPC-506 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-01-17Add/update license text part 3Skip Wonnell3-0/+3
Convert some file formats from dos to unix Change-Id: Iab31d84016c84bf03df7fdc8cf0c163c23091a88 Issue-ID: APPC-398 Issue-ID: APPC-305 Signed-off-by: Skip Wonnell <skip@att.com>
2018-01-12Add missing license text to pom files, part 2Skip Wonnell5-0/+105
Change-Id: I47c09b26da03ca7ca10ef632c9880d744df6a7f4 Issue-ID: APPC-398 Signed-off-by: Skip Wonnell <skip@att.com>
2018-01-08Design Services updatesDilip kumar Pampana9-195/+456
API to getInstarData on request from Design Tool GUI Issue-ID: APPC-351 Change-Id: I9188f96049d7cfaf1b2987c65d3c7f92eb636f3e Signed-off-by: Dilip kumar Pampana <dp583p@att.com>
2017-12-21Fix sonar issues for APPCTaka10-41/+0
Change-Id: I386f6794215eb69b8547fa06193ad78f951b327b Issue-ID: APPC-323 Signed-off-by: Taka <tc012c@att.com>
2017-12-21Sonar Critical Use a loggershubhada1-1/+1
Use a logger to log this exception Sonar Link: https://sonar.onap.org/component_issues/index?id=org.openecomp.appc%3Aappc#assignees=Shubhada|resolved=false Location: src/main/java/org/openecomp/appc/design/dbervices/DesignDBService.java Line No:541 Change-Id: Ie81f003ecba00b24fc4d9065b289650af3f846ca Issue-ID: APPC-288 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2017-12-21Sonar Critical Use a loggershubhada1-1/+1
Use a logger to log this exception Sonar Link: https://sonar.onap.org/component_issues/index?id=org.openecomp.appc%3Aappc#assignees=Shubhada|resolved=false Location: src/main/java/org/openecomp/appc/design/dbervices/DesignDBService.java Line No:638 Change-Id: I3f862da26622086b803ffdc8d65cb9e9615cdbbe Issue-ID: APPC-326 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2017-12-19Update bundle names from openecomp to onapTakamune Cho1-12/+12
Change-Id: Ib0cf4edbab87a32c9d83cc9473412feb77b27a0e Issue-ID: APPC-13 Signed-off-by: Takamune Cho <tc012c@att.com>
2017-12-13Third part of onap renamePatrick Brady26-0/+0
This part of the commit changes the folder structure on all other folders of appc. Change-Id: I8acfa11cdfcdcd36be0e137245d1dd7324f1abd3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-12-13First part of onap renamePatrick Brady34-94/+94
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-12-05Removing sdnc version propertiesPatrick Brady1-2/+0
These versions are provided by the ccsdk parent pom and should not be duplicated. Change-Id: I2d013a2b4d46dcf41f2757cc3acb3b6a16c6353f Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-321
2017-12-04Correcting or skipping testsPatrick Brady1-0/+10
These tests seem to be designed to timeout and fail. The resulting exception is either caught or put as an expectation of the test. The tests do not actually test anything and are causing 30 minutes of build delay. Change-Id: I177839c0f08f2c4bd8895e0626f49476b4ed7e85 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-276
2017-11-17Bump minor versionJessica Wagantall5-5/+5
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 Brady5-5/+5
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
2017-10-26Fixing problems with features filesPatrick Brady1-3/+3
In progress. Change-Id: Idb0d3f13eaa89d9241f4c543f1222c14ea288f2f Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: APPC-296
2017-10-04Removing org.powermock javaagentPatrick Brady1-5/+0
The licensing is not approved for this artifact and it seems to not be needed for tests to pass. Change-Id: I67d1f643e8ed725ff87a3e3437ec6695913b17c2 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: APPC-258
2017-10-03Changes in pom and features.xml filesDilip kumar Pampana1-6/+6
Issue-ID : APPC-240 Change-Id: I42d2277d73163041ccfebe69897f05ac0314e6a1 Signed-off-by: Dilip kumar Pampana <dp583p@att.com>
2017-09-07Fix dblib DBResourceManager instantiationMarcus G K Williams1-1/+1
Fix APPC Build, failing upstream and locally due to change in CCSDK that changes dblib to use service injection via Aries Blueprint. The change causing this in CCSDK is https://gerrit.onap.org/r/#/c/7931/ Issue-Id: APPC-196 Change-Id: I9bcfb6d87b7527fd07cb76a242b272a5bc0ad07c Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>