aboutsummaryrefslogtreecommitdiffstats
path: root/appc-inbound
AgeCommit message (Collapse)AuthorFilesLines
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-24Fix query statements in DBServiceMei Su1-2/+2
Fix query statements related to url in DBService Issue-ID: APPC-1107 Change-Id: I2f8e2bc77c04a4b96160af00bdc9d3debe4395c3 Signed-off-by: Mei Su <ms6523@att.com>
2018-07-16Junits for Interface-servicesDilip kumar Pampana1-0/+17
Junit test for vf-module-id to check for scope overlap Issue-ID: APPC-1079 Change-Id: I7345e709809f46df3532d8d8608ce5d53d04ed11 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-22Artifact-Handler - Appc-InboundDilip kumar Pampana5-98/+146
Support Multiple Templates For Configure and ConfigModify for VNFs with VNFC level templates Issue-ID: APPC-1010 Change-Id: I7540af3b793bac696bdc28aabc3c0c8e0c13d29e Signed-off-by: Dilip kumar Pampana <dp583p@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 McClung23-46/+23
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 McClung3-6/+3
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 McClung47-94/+47
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-23Healthcheck bug fixesBalaji, Ramya (rb111y)1-0/+4
Fixed code to set userid and password correctly. Also set the url in context when passed in reference artifact. Issue-ID: APPC-917 Change-Id: Iba5a873cc311ab5677b6223c08865c048dbdcf00 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-05-22Increment version for new branchPatrick Brady16-16/+16
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-14Add appc-yang-generator as bundlePatrick Brady2-1/+1
Change-Id: Ifaa388425d21d62e34481f38bfa6d014e023d5e7 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-895
2018-05-14Fix class not found errorPatrick Brady1-1/+1
Class not found error related to snakeyaml dependency. Change-Id: I9d5a2c6b86c355050ecea0d4010113aec0cf285b Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-893
2018-05-11Changes to fix artifact handlerPatrick Brady2-84/+31
Change-Id: I49d6210898eb974401099ab73b2dd7f16e81229c Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-891
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-04Changes needed to install appc-interfaces-servicePatrick Brady2-5/+5
Change-Id: I3592f49b2561b518fb85e080031ce2bc0e432cf3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-880
2018-05-01Fixes for the two features that were not installedPatrick Brady3-10/+6
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 Brady11-45/+33
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-10Fixed multiple templates queriesBalaji, Ramya (rb111y)3-17/+136
Added model id to condition when checking for update/insert of records Issue-ID: APPC-837 Change-Id: I3fb49c378ac8c1d3180b05772d214d5cc8892810 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-04-09Enhance DMaaP Adapter ConfigurationRyan Young3-50/+41
Change-Id: I5385cf2710fc33a85da9a67d5f4d31dce1e460aa Signed-off-by: Ryan Young <ry303t@att.com> Issue-ID: APPC-658
2018-04-06code fix to resolve duplct data in prop filevidhyasree1-7/+12
Code changes to Dbservice.java in artifact-handler Issue-ID: APPC-821 Change-Id: I805a16e90866e946ca2e8d331b2c63b3ef209f71 Signed-off-by: vidhyasree <sn141y@att.com>
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-29Unit test for SdcArtifactHandlerConstants.javaamshegokar1-0/+33
Unit test for SdcArtifactHandlerConstants.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-artifact-handler-provider%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fartifact%2Fhandler%2Futils%2FSdcArtifactHandlerConstants.java Change-Id: I21e97b7afcd58196ea064be4c4e8e9dc38cf487b Issue-ID: APPC-793 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-27Unit Test Coverage for ExecutorException.javaamshegokar1-0/+35
Unit Test Coverage for ExecutorException.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-interfaces-service-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Finterfaces%2Fservice%2Fexecutor%2FExecutorException.java Change-Id: Id40401081af528248c20acc48b0bdbc60f480663 Issue-ID: APPC-790 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-26Unit test coverage for DBException.javaamshegokar1-0/+37
Unit test coverage for DBException.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-artifact-handler-provider%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fartifact%2Fhandler%2Fdbservices%2FDBException.java Change-Id: Iae0c5a90358f61560c8e164fa506a0e3e75857f5 Issue-ID: APPC-791 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-26Coverage for ArtifactHandlerInternalExceptionamshegokar1-0/+55
Unit test for ArtifactHandlerInternalException.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-artifact-handler-provider%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fartifact%2Fhandler%2Fnode%2FArtifactHandlerInternalException.java Change-Id: I887613bc793256be84e288ca432d11c45d320cfc Issue-ID: APPC-792 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-26Unit test coverage for ServiceConstants.javaamshegokar1-0/+35
Unit test coverage for ServiceConstants.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-interfaces-service-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Finterfaces%2Fservice%2Futils%2FServiceConstants.java Change-Id: I1ad3aea2018e82436fed97d97d72904477b74b28 Issue-ID: APPC-789 Signed-off-by: amshegokar <AS00500801@techmahindra.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 Cho3-1/+23
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-21DBService sonar fixesJakub Dudycz3-287/+346
Change-Id: I6c58803ab47ff411d7ff29097a7e64a489dfed03 Issue-ID: APPC-605 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-21Update license text part 3Skip Wonnell4-3/+95
Issue-ID: APPC-637 Change-Id: I361c457acd27099294365f8ee3aeb167cd7fcafd Signed-off-by: Skip Wonnell <skip@att.com>
2018-02-20Update .gitignore with license textSkip Wonnell18-55/+451
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-15ArtifactHandlerNode sonar fixesJakub Dudycz2-246/+307
Change-Id: I4cc803bc6c5d88b569405ea0af918a6c340fce9d Issue-ID: APPC-581 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-14Artifact Handler code changesRamya Balaji2-78/+149
Refactored code for storing reference data and added unit test cases Issue-ID: APPC-543 Change-Id: I60ed5e327324403409ec0d9725c5880038a3e186 Signed-off-by: Ramya Balaji <rb111y@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-09ServiceExecutor sonar fixesJakub Dudycz2-25/+27
Change-Id: Id169ae3943c74893d885b8be098af96e44292ce5 Issue-ID: APPC-585 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-09ArtifactHandlerProviderUtil sonar fixesJakub Dudycz1-81/+83
Change-Id: Id5fc42637e56cdab8be6c03d269f0bc3ac2e19fe Issue-ID: APPC-582 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-07Removing old name referencesPatrick Brady1-5/+1
Removing references to bvc, att Change-Id: I794861fe40b96c922f6e5c011b2fe5d2c4bc515b Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-292
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-05Artifact Handler updates for ConfigScaleOutRamya Balaji6-56/+112
Code changes and Unit Tests cases for new code Issue-ID: APPC-532 Change-Id: Id945354ec476e4f067cb7a1a411d8c77b3271f42 Signed-off-by: Ramya Balaji <rb111y@att.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-30Removed redundant conditions in DBServiceJakub Dudycz1-141/+170
Change-Id: If78e2ecb407532e3399497f0eda14213130699d1 Issue-ID: APPC-496 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-01-30Fixed exception handling in ArtifactHandlerNodeJakub Dudycz2-123/+171
Change-Id: I81243ba0704b348995f135d2289135fd9e070928 Issue-ID: APPC-498 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-01-25Removed unnecesary checksburdziak1-12/+12
Issue-ID: APPC-446 Change-Id: I3d93bcff6c3ed8167dd7f273d90528a76cb2b02f Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>