aboutsummaryrefslogtreecommitdiffstats
path: root/appc-inbound
AgeCommit message (Collapse)AuthorFilesLines
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>
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-25Fixes in DesignServiceConstantsburdziak1-9/+9
Change-Id: I3596e1dc833c84138c41717f045e5299fd32f117 Issue-ID: APPC-506 Signed-off-by: burdziak <olaf.burdziakowski@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 Wonnell10-32/+44
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 Wonnell15-0/+315
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-09Appc Interface ServicesDilip kumar Pampana31-28/+1876
Scope Overlap API Or REST service Issue-ID: APPC-348 Change-Id: Id32b4c88f57a9f9ce2234598d03dcca5946d4683 Signed-off-by: Dilip kumar Pampana <dp583p@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>
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 APPCTaka11-46/+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 Cho2-24/+24
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 Brady41-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 Brady59-169/+169
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 Brady2-3/+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 Brady3-26/+43
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 Wagantall11-11/+11
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 Brady11-11/+11
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-27Adding missing propertiesPatrick Brady1-1/+8
These properties exist in a few of the other parts, like directed graph and config. This was breaking artifact-handler. Change-Id: I4948d0969199c1a4aafe609333cb947235431853 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: APPC-296
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 Brady5-7/+15
In progress. Change-Id: Idb0d3f13eaa89d9241f4c543f1222c14ea288f2f Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: APPC-296