summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2017-09-12Junit Cases for Artifact Handler.Ramya Balaji14-484/+1483
Issue-ID : APPC-168 Change-Id: Id2b211d5656ffa8d5f326c30d745bc497e76f4d0 Signed-off-by: Ramya Balaji <rb111y@att.com>
2017-09-11Correcting problems related to ccsdk,new odlPatrick Brady6-6/+17
Some imports and dependencies needed to be updated which no longer exist in the new ODl version Change-Id: I57c52b73810d3f9770b764a2afe4147d3120a87b Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: APPC-91 Issue-id: APPC-158
2017-09-11Add APPC API Guide and APPC Client Library GuideScott Seabolt4-1/+2237
Update index.rst to reflect new docs added Issue-ID: [APPC-102] Change-Id: Id07852a9318cd8168c26f074f9ab3b6b6c441232 Signed-off-by: Scott Seabolt <js9808@att.com>
2017-09-08Cleanup project's name in SonarJessica Wagantall1-1/+1
The name parameter in the root pom.xml should match the project name in gerrit to reflect consistency in Sonar. Change-Id: Iede5b1c1bf5e1459e01048e900cbfb46d5f3ded8 Issue-id: CIMAN-65 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-09-07Fix sonar block in Encryption ToolSkip Wonnell3-178/+118
Fix blockers and other Sonar findings. Update license text Issue-ID: APPC-186 Change-Id: Ib45020d85bde95f79b112ebd85fedfe62469b58f Signed-off-by: Skip Wonnell <skip@att.com>
2017-09-07Fix dblib DBResourceManager instantiationMarcus G K Williams3-3/+3
Fix APPC Build, failing upstream and locally due to change in CCSDK that changes dblib to use service injection via Aries Blueprint. The change causing this in CCSDK is https://gerrit.onap.org/r/#/c/7931/ Issue-Id: APPC-196 Change-Id: I9bcfb6d87b7527fd07cb76a242b272a5bc0ad07c Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-09-07Change to CCSDK and ODL CarbonPatrick Brady285-778/+768
Change-Id: I49a0f436e366ff4a1b99705fb6bb5e7ba82e6ecc Signed-off-by: Patrick Brady <pb071s@att.com> Issue-Id: [APPC-91] Issue-Id: [APPC-158]
2017-09-01Code clean-up in ChefAdapterImpl.javaSkip Wonnell1-116/+67
Fix multiple issues found in Sonar Analysis Issue-ID: APPC-156 Change-Id: I242c45a2eab7c4e31fb42ff9d17405aa3f210147 Signed-off-by: Skip Wonnell <skip@att.com>
2017-09-01Junit Changes for APPC Params BundleChaturvedi, Anand (ac204h)17-550/+566
Issue-ID: APPC-168 Change-Id: Ie0ddf5905f90a409db111a1cfdf728a44737a158 Signed-off-by: Chaturvedi, Anand (ac204h) <ac204h@att.com>
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-09-01Junit Cases for Application Controller.Chaturvedi, Anand (ac204h)20-83/+1147
Issue-ID: APPC-168 Change-Id: Iacfc853bef0b641599c60055ac05b1fd090ee3f8 Signed-off-by: Chaturvedi, Anand (ac204h) <ac204h@att.com>
2017-09-01[JunitCases]for config audit and config generator.Chaturvedi, Anand (ac204h)15-346/+460
Issue-ID: APPC-168 Change-Id: Ie6f5e13b63f3162530d71c60cf352a8bfcddf4ff Signed-off-by: Chaturvedi, Anand (ac204h) <ac204h@att.com>
2017-09-01Fix classNotFound issue when executing dg-loaderHao Kuang1-2/+20
Change slf4j from transitive dependency to explicit dependency. Issue-Id: APPC-188 Change-Id: I8054b5c4e0c0023be1fd6ae7a7e89799682f20fd Signed-off-by: Hao Kuang <Hao.Kuang@amdocs.com>
2017-09-01Modify IaaS adapter URL parsing to include pathRY303T5-16/+139
Modified the pattern in IdentityURL and VMURL to include optional path Modified the toString in IdentityURL and VMURL to properly print the full url string Updated tests to include new URL format Issue-ID: APPC-133 Change-Id: Ic7c272b70d4fe18c815d5dd5311f760d8b8953c1 Signed-off-by: RY303T <RY303T@att.com>
2017-08-31Update ASDC References to SDC 1/2mojahidi90-629/+776
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>