aboutsummaryrefslogtreecommitdiffstats
path: root/appc-inbound/appc-artifact-handler/provider/src/test/java/org
AgeCommit message (Collapse)AuthorFilesLines
2018-08-31Junit for code coverage in artifact-handlerDilip kumar Pampana3-6/+186
Junit Test cases for checking Exceptions part and also for isUpdate in DBService.java file Issue-ID: APPC-1140 Change-Id: Ibbfe9daf5465f4efcc8d42e8ed508d0b5e5129bb Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
2018-06-22Artifact-Handler - Appc-InboundDilip kumar Pampana1-5/+43
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-08Update license header in appc-inbound filesJohn McClung4-8/+4
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-04-10Fixed multiple templates queriesBalaji, Ramya (rb111y)1-2/+26
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-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-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-02-14Artifact Handler code changesRamya Balaji1-4/+55
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-05Artifact Handler updates for ConfigScaleOutRamya Balaji3-3/+33
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-01-19Refactor ArtifactHandlerNodekurczews2-82/+25
* replace user-mock with Mockito mock * fix typos Change-Id: Ibc86177c024e5a5e7eec8cf8dd3e49d9a6d1ede4 Issue-ID: APPC-397 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-01-12Refactor ArtifactHandlerNodekurczews1-7/+3
* Introduce method setAttribute(...) to avoid repeatable instructions and improve readability * Remove prefix from constants (SdcArtifactHandlerConstants.*) Change-Id: I5684e990933aaa66b8dd0a25d702f482489c6b9d Issue-ID: APPC-397 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-01-08Artifact Handler UpdatesDilip kumar Pampana1-2/+2
Fixed vnfc_reference table, Added code to process VM level capabilities for VNF Issue-ID: APPC-350 Change-Id: If1b8862e1d81c5dc8d3c29b148d5b1d865567951 Signed-off-by: Dilip kumar Pampana <dp583p@att.com>
2017-12-13Third part of onap renamePatrick Brady6-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 Brady6-13/+13
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-04Correcting or skipping testsPatrick Brady2-26/+33
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-10-12Artifact Handler code fixesRamya Balaji2-3/+14
Code corrections in Artifact Handler to use vnf type to store capability artifact, process download dg reference even if it is not sent in reference file, to not generate capability artifact if reference file is at vnfc level Issue-ID: APPC-271 Change-Id: If7e436576f9c64c3933ea681355e710ebf82c497 Signed-off-by: Ramya Balaji <rb111y@att.com>
2017-09-12Junit Cases for Artifact Handler.Ramya Balaji6-8/+679
Issue-ID : APPC-168 Change-Id: Id2b211d5656ffa8d5f326c30d745bc497e76f4d0 Signed-off-by: Ramya Balaji <rb111y@att.com>
2017-08-24Added New Junit Cases for APPC Design ServicesAnand Chaturvedi1-2/+0
Issue-ID: APPC-168 Change-Id: Ib321bb77af3cb47abfce80d96f50a6b75b34b34e Signed-off-by: Anand Chaturvedi <ac204h@att.com>
2017-08-18Initial adds artifact handler and design servicesSkip Wonnell1-0/+38
asdc-artifact-handler: an interface to receive artifacts distributed by SDC and persist them into the local database. appc-design-services: an interface to manage VNF configuration artifacts, primarily those generated by the configuration design tool. Includes these user stories: APPC-28/85 Change-Id: Ib207070d4593554fa424fc69d9c77a6cd5349fec Signed-off-by: Skip Wonnell <kw5258@att.com> Issue-Id: APPC-9