summaryrefslogtreecommitdiffstats
path: root/appc-inbound/appc-artifact-handler
AgeCommit message (Collapse)AuthorFilesLines
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. Cherry-pick from master branch Issue-ID: APPC-917 Change-Id: Iba5a873cc311ab5677b6223c08865c048dbdcf00 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com> (cherry picked from commit 17e3dbc0a2af683609c5d8cebdcc68884a29b1aa)
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-04-11ODL Upgrade Method 2Patrick Brady5-25/+17
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 Young1-16/+13
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-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-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 Wonnell1-1/+24
Issue-ID: APPC-637 Change-Id: I361c457acd27099294365f8ee3aeb167cd7fcafd Signed-off-by: Skip Wonnell <skip@att.com>
2018-02-20Update .gitignore with license textSkip Wonnell7-3/+159
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-09ArtifactHandlerProviderUtil sonar fixesJakub Dudycz1-81/+83
Change-Id: Id5fc42637e56cdab8be6c03d269f0bc3ac2e19fe Issue-ID: APPC-582 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-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>
2018-01-25Logging exceptions in ArtifactHandlerProviderJakub Dudycz1-4/+3
Update Change-Id: I4214b99b84f951a6b508ff40d599585a092467f5 Issue-ID: APPC-495 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-01-19Fix missing update for protocol in DBService.javaSkip Wonnell1-110/+121
DBService.updateProtocolReference() needs to include the protocol in the SQL update. Also updating file to ONAP java style. Change-Id: I8dc5f8e6387c0a28a32c911e68ecd73ac21dc609 Issue-ID: APPC-435 Signed-off-by: Skip Wonnell <skip@att.com>
2018-01-19Refactor ArtifactHandlerNodekurczews6-235/+179
* 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-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 Wonnell4-0/+84
Change-Id: I47c09b26da03ca7ca10ef632c9880d744df6a7f4 Issue-ID: APPC-398 Signed-off-by: Skip Wonnell <skip@att.com>
2018-01-12Refactor ArtifactHandlerNodekurczews4-230/+235
* 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-09Artifact Handler UpdatesDilip kumar Pampana1-4/+2
replaced Constants.APPC_CONFIG_DIR with System.getenv("APPC_CONFIG_DIR") in dbServices.java Issue-ID: APPC-350 Change-Id: Ib0f3ec47311848a5a75525d0e35361485cc63956 Signed-off-by: Dilip kumar Pampana <dp583p@att.com>
2018-01-08Artifact Handler UpdatesDilip kumar Pampana7-49/+145
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-21Fix sonar issues for APPCTaka1-5/+0
Change-Id: I386f6794215eb69b8547fa06193ad78f951b327b Issue-ID: APPC-323 Signed-off-by: Taka <tc012c@att.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-19Update appc-config-parms to use onap packagingTakamune Cho1-1/+1
Issue-ID: APPC-13 Change-Id: I490847faabfed2e977ee21c0157adf8a790cea65 Signed-off-by: Takamune Cho <tc012c@att.com>
2017-12-13Third part of onap renamePatrick Brady15-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 Brady24-74/+74
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-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-27Changes to vnfc reference processingRamya Balaji2-2/+20
Logic changed to delete existing records for vnf then insert new records per incoming reference artifact. Issue-ID: APPC-297 Change-Id: Iaec59463a41113923cb330c922e83a6061050dd2 Signed-off-by: Ramya Balaji <rb111y@att.com>
2017-10-26Fixing problems with features filesPatrick Brady4-4/+12
In progress. Change-Id: Idb0d3f13eaa89d9241f4c543f1222c14ea288f2f Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: APPC-296
2017-10-13Changes to capability artifact generation checkRamya Balaji1-2/+5
Added blank string condition when checking for vnfc type in scope in reference artifact Issue-ID: APPC-277 Change-Id: I25841585b4ba4d0be553303f0020cba247a21086 Signed-off-by: Ramya Balaji <rb111y@att.com>
2017-10-12Artifact Handler code fixesRamya Balaji4-29/+80
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-10-10Change for Quote IssueSonali Das1-2/+2
Issue-ID : APPC-221 Change in appc-config-generator appc-artifact-handler Change-Id: I9abaef2839ca60f10855a61c48fa696be012db5f Signed-off-by: Sonali Das <sd394g@att.com>
2017-10-03Changes in pom and features.xml filesDilip kumar Pampana1-2/+2
Issue-ID : APPC-240 Change-Id: I42d2277d73163041ccfebe69897f05ac0314e6a1 Signed-off-by: Dilip kumar Pampana <dp583p@att.com>
2017-09-19Changes to ProtocolReference table insertRamya Balaji2-1/+44
Added Code to check if record exists previously in table. If so, make an update else insert. Issue-ID:APPC-220 Change-Id: I3825128d8381a4f0c7e62926be6ecec9ab178194 Signed-off-by: Ramya Balaji <rb111y@att.com>
2017-09-18Fix Blocker/Critical sonar issuesshashikanth1-40/+39
Fix Blocker/Critical sonar issues in appc module https://sonar.onap.org/component_issues?id=org.openecomp.appc%3Aappc#resolved=false|severities=BLOCKER Fixed null pointer exceptions for QueryStatus and db string. Issue-Id: APPC-92 Change-Id: Ic499d7af6c90cd692e8362ba4f7d2f5d65d49471 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-12Junit Cases for Artifact Handler.Ramya Balaji11-482/+1411
Issue-ID : APPC-168 Change-Id: Id2b211d5656ffa8d5f326c30d745bc497e76f4d0 Signed-off-by: Ramya Balaji <rb111y@att.com>
2017-09-07Change to CCSDK and ODL CarbonPatrick Brady6-56/+58
Change-Id: I49a0f436e366ff4a1b99705fb6bb5e7ba82e6ecc Signed-off-by: Patrick Brady <pb071s@att.com> Issue-Id: [APPC-91] Issue-Id: [APPC-158]
2017-09-01[JunitCases]for config audit and config generator.Chaturvedi, Anand (ac204h)1-134/+141
Change-Id: I7fc00ce3c8efab282954aab87db0b23da336d732 Issue-ID: APPC-189 Signed-off-by: Chaturvedi, Anand (ac204h) <ac204h@att.com>
2017-08-31Update ASDC References to SDC 1/2mojahidi8-302/+324
This patch changes ASDC to SDC in APPC code, bundle names and other pertinent places. This change sanitizes SDC for Open Source. It is the first in a two part change, the first updates code mentions and artifacts. The second will update database references. Change-Id: Iffd73480cc325172b5d8969fe839728f1c88ef78 Issue-ID:APPC-179 Signed-off-by: mojahidi <mojahidul.islam@amdocs.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>