summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-10-06Fix appc-oam wiring issueHao Kuang1-7/+0
After uninstall appc-event-listener, appc-oam is going to be in installed state which should not happen Issue-Id: APPC-264 Change-Id: I314259382954057e457c7a5c927b31e4920e7336 Signed-off-by: Hao Kuang <Hao.Kuang@amdocs.com>
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-04VM start/stop DG input parameters name changesbeili.zhou2-2/+2
Change VM_start DG input parameters: - from start-vm-url to vm-id - from AICIdentity to identity-id Change VM_stop DG input parameters: - from stop-vm-url to vm-id - from AICIdentity to identity-id Issue-Id: APPC-260 Change-Id: Ifa84a0612a7926db3b176d083f1eb4fb5113dc8e Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-10-04Config pom and feature changesLina George15-15/+7
Issue-ID: APPC-219 Change-Id: I407dd3781edcc6b06c598bc7fa1d57fc024c2648 Signed-off-by: Lina George <lg941u@att.com>
2017-10-03Changes in pom and features.xml filesDilip kumar Pampana10-971/+1005
Issue-ID : APPC-240 Change-Id: I42d2277d73163041ccfebe69897f05ac0314e6a1 Signed-off-by: Dilip kumar Pampana <dp583p@att.com>
2017-10-03Update VMURL to use a range for the versionRY303T2-4/+33
Replaced hardcoded 'v2' in url format with a range Issue-Id: APPC-257 Change-Id: I0411f15d0d2166fb7cf72d2df587ea17b9c8705b Signed-off-by: RY303T <RY303T@att.com>
2017-10-02Updating APPC READMEHector Anapan1-72/+57
Updating the README for this repo to match the updated README in the deployment repo. Change-Id: Ic66a3abbb3034b02fe9809428bb656d3c313460a Signed-off-by: Hector Anapan <ha076r@att.com> Issue-Id: APPC-250
2017-09-29[APPC-246] Updating SDC Listener with unit testAbhai Singh11-54/+487
Created new test classes for SDC-Listener. Contains changes reverted by Patrick. Issue-Id :APPC-246 Change-Id: I593b23bae44db0046f513f4b6a159a86bf8cc885 Signed-off-by: Abhai Singh <Abhai.Singh@amdocs.com>
2017-09-28Sonar Critical Fixsanchitap1-1/+1
WorkflowResolver.java: L47 Sonar link:https://sonar.onap.org/component_issues/index?id=org.openecomp.appc%3Aappc#resolved=false|severities=CRITICAL|rules=squid%3AS2184 Change-Id: Id73e2153b13716706b0dce4204d8c7519885afe5 Issue-Id :APPC-238 Signed-off-by: sanchitap <sanchita@techmahindra.com>
2017-09-28Commenting TOSCA_CSAR as we are not listening tomojahidi1-1/+1
As APP-C is not listening to this artifact type it should not send back NOTIFIED status back to SDC application Issue-ID:APPC-245 Change-Id: I8b4f4b18047181aad9017264136cc5fb054305c9 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-09-28Fix Blocker/Critical sonar issuesshashikanth1-1/+1
Fix Blocker/Critical sonar issues in appc module https://sonar.onap.org/component_issues?id=org.openecomp.appc%3Aappc#resolved=false|severities=BLOCKER|fileUuids=AV36PknS89V-MRZU58_g Issue-Id: APPC-186 Change-Id: I50868e7e76f03a724d97889432f2dce53552b36f Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-27serializing OAM async taskJoey Sullivan15-331/+1125
Change-Id: I0c98636c165a2cc5b9915a3950ab64744e6328c7 Issue-Id: APPC-244 Signed-off-by: Joey Sullivan <joey.sullivan@amdocs.com>
2017-09-27Add Junit test for appc-provider bundleHao Kuang13-203/+1758
1. add junite test for appc-provider bundle to increase sonar test converage. 2. move test files of appc-dg-util under java folder. Issue-Id: APPC-229 Change-Id: I37620a820eb99aecb7fe91974826b4ef2e5d428a Signed-off-by: Hao Kuang <Hao.Kuang@amdocs.com>
2017-09-27Increase sonar coverage for commonbeili.zhou28-83/+1242
Add Junit test in appc-common - cache - cache/impl - configuration - exceptions - i18n - logging Issue-Id: APPC-230 Change-Id: I04c457da4dfa881c1109273b8fd3e16e76ebd68f Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-09-27Fix Blocker/Critical sonar issuesshashikanth1-16/+2
Fix Blocker/Critical sonar issues in appc module https://sonar.onap.org/component_issues?id=org.openecomp.appc%3Aappc#resolved=false|severities=BLOCKER|fileUuids=AV36PknS89V-MRZU58_f Fixed issue Close "FileInputStream". Issue-Id: APPC-186 Change-Id: I2fab5e54735992a4cbf2972628574edd17905fe3 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-27Increased test coverage for appc-java-clientmojahidi22-12/+659
Added Junit test cases to increase test coverage for appc-java-client Change-Id: I31154acea348f50da5df47262611bfb108a4ed3a Issue-ID:APPC-223 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-09-27Sonar Critical Fixsanchitap1-3/+4
ProviderStackOperation.java: L98 and L178 Sonar link:https://sonar.onap.org/component_issues/index?id=org.openecomp.appc%3Aappc#resolved=false|severities=CRITICAL|rules=squid%3AS2184 Change-Id: Id73e2153b13716706b0dce4204d8c7519855afe5 Issue-Id :APPC-237 Signed-off-by: sanchitap <sanchita@techmahindra.com>
2017-09-27Revert Increase coverage of SDC Event ListenerPatrick Brady1-19/+15
This reverts commit 8b88bb6f258cf8af9d1658a0514eba6daa31f93c. The commit is causing test failures and blocks all jobs. Change-Id: I1e82f74d34bc4201690beea89bebe61c9d3845e2 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: APPC-228
2017-09-27Update appc parent pom versonMarcus G K Williams1-1/+1
Updating parent pom to latest version in ccsdk parent. Issue-Id: CCSDK-104 Change-Id: If7c9573f30dac43bf4d0337a349208824d49f1a2 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-09-27Fix Sonar blocker issue for resource leakSummers, Gregory (gs2953)1-11/+10
Issue-ID: APPC-186 Change-Id: I6177d3976e4e91a6f29bee21558dc603aed44f1f Signed-off-by: Summers, Gregory (gs2953) <gs2953@att.com>
2017-09-26Add junits for dg-util to increase test coverageHao Kuang5-205/+743
Issue-Id: APPC-228 Change-Id: I805127d7b57bc88e97151e9a4e217fe384a33ffb Signed-off-by: Hao Kuang <Hao.Kuang@amdocs.com>
2017-09-26Sonar Blockeramshegokar1-3/+1
Fix Sonar Blocker for resource leak Sonar Link: https://sonar.onap.org/component_issues/index?id=org.openecomp.appc%3Aappc#resolved=false|severities=BLOCKER|rules=squid%3AS2095 Change-Id: Id73e2153b13716706b0dce4204d8c7519850afe5 Issue-ID: APPC-236 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2017-09-26[APPC-232] Increase coverage of SDC Event ListenerAbhai Singh1-15/+19
Updated unit test in SdcCallbackTest Issue-Id :APPC-232 Change-Id: Ifa6d998d97de7637e9addc3c6e90984c3accc72d Signed-off-by: Abhai Singh <Abhai.Singh@amdocs.com>
2017-09-25Fix Sonar Blocker for resource leakSummers, Gregory (gs2953)1-22/+21
Issue-ID: APPC-186 Change-Id: Id73e2153b13716706b0dce4204d8c7519840afe3 Signed-off-by: Summers, Gregory (gs2953) <gs2953@att.com>
2017-09-22Increase sonar coverage for LifecycleManagementbeili.zhou20-505/+1261
Add Junit tests in state-machine-lib Issue-Id: APPC-225 Change-Id: I54b307663f1e593d597f1c93ed800ea657959030 Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-09-22Fix VM_Start(2.0.0) and VM_Stop(2.0.0) DGbeili.zhou2-501/+214
VM_Start DG was submitted with Rebuild_VM DG content VM_Stop DG needs an extra block for success path Issue-Id: APPC-217 Change-Id: I69c43576f1e266383b98383879b936b8f4b9c9c4 Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-09-21Sonar Blockeramshegokar1-0/+5
for blocker APP-C Common. Sonar Link:https://sonar.onap.org/component_issues/index?id=org.openecomp.appc%3Aappc#severities=BLOCKER|rules=squid%3AS2097 Change-Id: I65ee1745f5fd5a7f7ac3365704943b22a9341e8a Issue-ID: APPC-224 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2017-09-20Updated APPC DocumentationScott Seabolt3-366/+102
Updated APPC Guides and index.rst for documentation cleanup purposes Issue-ID: [APPC-102] Change-Id: I22e249e4fa6be1bf621a0627edc550e983930380 Signed-off-by: Scott Seabolt <js9808@att.com>
2017-09-20Sonar Blockeramshegokar1-2/+2
For rest healthcheck Adapter-bundle Change-Id: Ic499d7af6c90cd692e8362ba4f7d2f5d62d48422 Issue-ID: APPC-216 Signed-off-by: Shubhada Ramkrishna Vaze <SV00449682@TechMahindra.com> Signed-off-by: Skip Wonnell <skip@att.com>
2017-09-20Fix Blocker/Critical sonar issuesshashikanth1-17/+21
Fix Blocker/Critical sonar issues in appc module https://sonar.onap.org/issues/search#issues=AV36Pm5i89V-MRZU59OH Fixed NullPointerException might be thrown as 'data' is nullable here Issue-Id: APPC-186 Change-Id: I65ee1745f5fd5a7f7ac3365704943b25a9341e8a Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-20Sonar BlockerShubhada Ramkrishna Vaze1-0/+11
Sonar Blocker for PrecheckOption.java Change-Id: Ic499d7af6c90cd692e8362ba4f7d2f5d65d48471 Issue-ID: APPC-223 Signed-off-by: Shubhada Ramkrishna Vaze <SV00449682@TechMahindra.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-19Add APPC VM_Start(2.0.0) and VM_Stop(2.0.0) DGsbeili.zhou2-0/+801
Issue-Id: APPC-217 Change-Id: If7b087b715630fcb8d9d5cb3effdd10548ab00be Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-09-19Fix Blocker/Critical sonar issuesshashikanth1-39/+41
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 localContext and removed redundant check for localContext Issue-Id: APPC-186 Change-Id: I38223655d69b89f6828fbdc7f3f388031e22f412 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-18Removed TOSCA_CSAR and upgrade sdc versionmojahidi3-4/+6
removed TOSCA_CSAR from ArtifactfactProcessorFactory to stop listening tosca_csar artifacts upgrade the sdc client version compatible for 1710 release Change-Id: Id6db5831a1f625fd8fc040bfd50c6662486730f4 Issue-ID:APPC-203 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-09-18Fix Blocker/Critical sonar issuesshashikanth1-1/+1
Fix Blocker/Critical sonar issues in appc module https://sonar.onap.org/component_issues?id=org.openecomp.appc%3Aappc#resolved=false|severities=BLOCKER Redundent if condition removed from DGGeneralDBService.java Issue-Id: APPC-92 Change-Id: I9b963759e562dc0744b3742a70905a417c3c444a Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.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-18Sonar Blockeramshegokar1-1/+1
Sonar Blocker for appc client-simulator Change-Id: Ia7c4d115e2fcbd29eb132791958286b097118431 Issue-ID: APPC-210 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2017-09-18Sonar Blockeramshegokar1-2/+2
Sonar Blocker for appc-sdc-listener-bundle Change-Id: Ia7c4d115e2fcbd29eb132791958286b077118431 Issue-ID: APPC-209 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2017-09-17Add LICENSE.txt to root directorySkip Wonnell1-0/+39
Change-Id: Ib0fc208632783058a4088fe41c5056f2531997d1 Issue-ID: APPC-90 Signed-off-by: Skip Wonnell <skip@att.com>
2017-09-18Add Unit Tests for appc-chef-adapterMarcus G K Williams7-79/+218
Issue-Id: APPC-181 Change-Id: Iee824ca929ea46944ac1673e709074687ad812f9 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-09-15Fix/Add unit tests for appc-rest-adapterMarcus G K Williams3-203/+193
Refactored RestAdapterImpl.java and added RequestFactory.java to enable cleaner unit tests. Added unit tests. Issue-Id: APPC-182 Change-Id: I129a9145ac028eda3257ef8c26f67b87f12c683f Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-09-15Sonar Blocker fixsanchitap1-2/+2
Redundent if condition removed from DGXMLLoadNActive.java L70 & L102 Change-Id: Ia7c4d115e2fcbd29eb132791958286b077118441 Issue-ID: APPC-202 Signed-off-by: sanchitap <sanchita@techmahindra.com>
2017-09-15Changing to mariadb java clientPatrick Brady16-62/+37
Changing from the mysql java connector to the mariadb java client. Change-Id: I2f9b1f5da37424d529e196f9b6b8d0bf4f1f9d2f Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: APPC-198
2017-09-14Updated DG and dg loader textfilerb111y2-8/+7
Updated dg_activate.txt to point to correct rpc. Also made updates to Restart DG for invalid action level. Issue-ID : APPC-197 Change-Id: Ia7c4d115e2fcbd29eb132791958286b077115441 Signed-off-by: Ramya Balaji <rb111y@att.com>
2017-09-14Update TTL calculation to use millisecondsSkip Wonnell2-1/+765
Code used mix of seconds and milliseconds calculate TTL. Updated to use consistent units. Also added a new test file to increase code coverage. Issue-ID: APPC-207 Issue-ID: APPC-181 Change-Id: I07687ac30fa2e75cedb027ec2bb71f6914d42075 Signed-off-by: Skip Wonnell <skip@att.com>
2017-09-13Updated APPC DocumentationScott Seabolt5-386/+16
Updated APPC Guides and index.rst to reflect docs properly and removed conf.py as it is not needed Issue-ID: [APPC-102] Change-Id: I89bf3bc9fa289d9b15205f8cd5da890ae8b29776 Signed-off-by: Scott Seabolt <js9808@att.com>
2017-09-13Correcting incorrect package importPatrick Brady1-1/+1
Change-Id: I1e8738d321769ca713f32ece2b650487d3fdcfdf Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: APPC-91 Issue-id: APPC-158
2017-09-13validate mandatry vnfc vm info is absent in inventmojahidi5-83/+214
when the vnfc SMP is mandatory in the dependency-info block but its corresponding vm details/info is not present in the inventory info validation error should be thrown Issue-ID:APPC-204 Change-Id: I606da8ce086423cf3f23c87ab0166bfb9935875b Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-09-12Correcting maven staging pluginPatrick Brady1-0/+12
Change-Id: I5dd7e431568520fa7d6e65cba435aeadc3444482 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: APPC-91 Issue-id: APPC-158