appc.git
6 years agoUpload dgloader JAR w dependencies to Nexus Repo 35/20635/2
Hector Anapan-Lavalle [Wed, 25 Oct 2017 22:04:31 +0000 (18:04 -0400)]
Upload dgloader JAR w dependencies to Nexus Repo

This change uses the shade maven plugin to be able to deploy the
dg-loader JAR version that carries the dependencies needed to
trigger the dg-loader commands appropriately in
platform-logic/installer/src/main/scripts/install-converted-dgs.sh

Change-Id: I7a0980a29eb63a01b5e31c6a3788f85453cab8e8
Issue-Id: [APPC-287]
Signed-off-by: Hector Anapan-Lavalle <ha076r@att.com>
6 years agoNew version of ccsdk 13/20613/1
Patrick Brady [Wed, 25 Oct 2017 20:06:18 +0000 (13:06 -0700)]
New version of ccsdk

Updating to the release version of ccsdk which
has dependencies listed differently to fix resolution
errors which were causing javadocs to fail and a lot of
other warning to show up.

Change-Id: I756d87a872d31636323504e71f95d29cd7d9ab7c
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-id: APPC-266

6 years agoSonar Critical Use a logger 19/20119/3
Shubhada Ramkrishna Vaze [Mon, 23 Oct 2017 11:19:14 +0000 (16:49 +0530)]
Sonar Critical Use a logger

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/sdc/listener/SdcCallback.java
Line No:142

Change-Id: I6d1ce3e3847af7a81496b0a0b4425a11bab24a88
Issue-ID: APPC-290
Signed-off-by: Shubhada Ramkrishna Vaze <SV00449682@TechMahindra.com>
6 years agoAdded APPC User Guide 59/20359/1
Scott Seabolt [Tue, 24 Oct 2017 13:12:13 +0000 (09:12 -0400)]
Added APPC User Guide

Added the APPC User Guide

Identity-Id: APPC-103

Change-Id: I91b24ff47c2d7a670728b4c67147db5d9bf7d1d1
Signed-off-by: Scott Seabolt <js9808@att.com>
6 years agoUpdating APPC Guides with License 45/20145/1
Scott Seabolt [Mon, 23 Oct 2017 13:11:51 +0000 (09:11 -0400)]
Updating APPC Guides with License

Updated APPC Guides with License and added the APPC Logging Guide

Issue-Id: APPC-284

Change-Id: Ic54100636ddb229a3257e336e184d3588e92877b
Signed-off-by: Scott Seabolt <js9808@att.com>
6 years agoChange ECOMP by ONAP 73/19773/1
Eric Debeau [Thu, 19 Oct 2017 17:09:44 +0000 (17:09 +0000)]
Change ECOMP by ONAP

Change-Id: I0285454e18d52257f992b1283ddad4246a781aa8
Issue-ID: DOC-104
Signed-off-by: Eric Debeau <eric.debeau@orange.com>
6 years agoChange ECOMP by ONAP 83/19583/1
Eric Debeau [Wed, 18 Oct 2017 19:20:11 +0000 (19:20 +0000)]
Change ECOMP by ONAP

Change-Id: I755967d88980988251f4ec2e1d5a3265a300b020
Issue-ID: DOC-104
Signed-off-by: Eric Debeau <eric.debeau@orange.com>
6 years agoChanges for capability artifact check 35/19335/2
Ramya Balaji [Tue, 17 Oct 2017 16:24:06 +0000 (12:24 -0400)]
Changes for capability artifact check

Ignore capability check for non VM level
Start, Stop,Restart

Issue-ID: APPC-281
Change-Id: I0bc888a9fbfede5923ba8b130f8ab4850559abcb
Signed-off-by: Ramya Balaji <rb111y@att.com>
6 years agoSonar Blocker Use a logger 11/19011/2
amshegokar [Mon, 16 Oct 2017 07:32:40 +0000 (13:02 +0530)]
Sonar Blocker Use a logger

Use a logger to log this exception
Sonar Link:https://sonar.onap.org/component_issues/index?id=org.openecomp.appc%3Aappc#resolved=false|severities=CRITICAL|assignees=amshegokar

Change-Id: Idb5f7ad9fcc5cf8be7361ffddcc9dbf97d6a0d65
Issue-ID: APPC-278
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
6 years agoAdd null checks to ServiceCatalogFactory 81/18781/3
Patrick Brady [Fri, 13 Oct 2017 15:55:06 +0000 (08:55 -0700)]
Add null checks to ServiceCatalogFactory

Change-Id: Ibee4af7ba6a7b7fcf1dafdc1e5b46b42608d98f0
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-id: APPC-274

6 years agoChanges to capability artifact generation check 63/18863/1
Ramya Balaji [Sat, 14 Oct 2017 03:42:48 +0000 (23:42 -0400)]
Changes to capability artifact generation check

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>
6 years agoChanges to capability check processing 53/18353/2
Ramya Balaji [Wed, 11 Oct 2017 19:55:05 +0000 (15:55 -0400)]
Changes to capability check processing

Code changes to ensure processing continues if
capability artifact is not available

Issue-ID:APPC-269
Change-Id: I27663622e56f54f721d40705d842ab30a173519d
Signed-off-by: Ramya Balaji <rb111y@att.com>
6 years agoArtifact Handler code fixes 11/18411/2
Ramya Balaji [Thu, 12 Oct 2017 02:38:03 +0000 (22:38 -0400)]
Artifact Handler code fixes

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>
6 years agoCorrecting iaas property names 37/18437/2
Patrick Brady [Thu, 12 Oct 2017 04:27:27 +0000 (21:27 -0700)]
Correcting iaas property names

The skiphypervisorcheck property was misspelled.

Change-Id: I7aa4d01ed079d33e23b7c8be36bb6e7f24aa4bd6
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-id: APPC-268

6 years agoAdd support for OpenStack V3 Identity Service 67/18167/3
RY303T [Wed, 11 Oct 2017 06:16:18 +0000 (02:16 -0400)]
Add support for OpenStack V3 Identity Service

replaced ServiceCatalog with a factory to select correct version
ServiceCatalogV2 contains code previously found in ServiceCatalog
add ServiceCatalogV3 implementation of V3 connector

Issue-ID: APPC-259
Change-Id: Iba7d98cfc9e50914b8063be0b35494a9d0fea793
Signed-off-by: RY303T <RY303T@att.com>
6 years agoUpdating the formatting for APPC docs 91/17991/2
Scott Seabolt [Tue, 10 Oct 2017 15:27:11 +0000 (11:27 -0400)]
Updating the formatting for APPC docs

Updated header formatting for docs

Issue-Id:  APPC-102
Change-Id: Id26a4c85c8d370088eb0d2aef5e9aaadc075f4ab
Signed-off-by: Scott Seabolt <js9808@att.com>
6 years agoChange for Quote Issue 97/17997/3
Sonali Das [Fri, 6 Oct 2017 18:38:04 +0000 (14:38 -0400)]
Change for Quote Issue

Issue-ID : APPC-221
Change in appc-config-generator appc-artifact-handler

Change-Id: I9abaef2839ca60f10855a61c48fa696be012db5f
Signed-off-by: Sonali Das <sd394g@att.com>
6 years agoRemoving duplicate dependency 19/17719/1
Patrick Brady [Mon, 9 Oct 2017 20:16:46 +0000 (13:16 -0700)]
Removing duplicate dependency

The dblib artifact is listed twice which
is causing errors in maven site generation.

Change-Id: If7b023b71700991738f049e2307c256bfeaaf856
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-id: APPC-266

6 years agoFix for the LCM Restart Request date issue 25/17525/2
Rahul Sharma (153216) [Fri, 6 Oct 2017 21:44:28 +0000 (17:44 -0400)]
Fix for the LCM Restart Request date issue

Issue-Id: APPC-262
Change-Id: I34455f902d55ff0c97ca1dc81e7388da388d735e
Signed-off-by: Rahul Sharma <Rahul.Sharma2@amdocs.com>
6 years agoAPPC - OAM ConcurrentModificationException 79/17379/2
Joey Sullivan [Thu, 5 Oct 2017 19:48:12 +0000 (19:48 +0000)]
APPC - OAM ConcurrentModificationException

Fixes:

- In the AsyncTaskHelper, the cancel future augmentation in the
scheduleBaseRunnable(...) removed itself from the myFutureSet while
it was iterating over the entries. This caused the
ConcurrentModificationException

- The Timeout operation in the ConfigurationHelper was not converting
the units to millisecond.

- The Timeout in the BaseProcessor. preProcess(...) was NOT using the
request-timeout value supplied in the request.

- When a timeout occurred in the BaseProcessor. preProcess(...) method,
the OAM state was not being switched to ERROR state

Issue-Id: APPC-263
Change-Id: I02c5e3adaca9a595d2c3541d8a997f3254bf097a
Signed-off-by: Joey Sullivan <joey.sullivan@amdocs.com>
6 years agoFix appc-oam wiring issue 57/17457/1
Hao Kuang [Fri, 6 Oct 2017 14:26:55 +0000 (14:26 +0000)]
Fix appc-oam wiring issue

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>
6 years agoRemoving org.powermock javaagent 63/17263/4
Patrick Brady [Wed, 4 Oct 2017 18:00:43 +0000 (11:00 -0700)]
Removing org.powermock javaagent

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

6 years agoVM start/stop DG input parameters name changes 75/17275/2
beili.zhou [Wed, 4 Oct 2017 19:13:56 +0000 (15:13 -0400)]
VM start/stop DG input parameters name changes

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>
6 years agoConfig pom and feature changes 11/17111/3
Lina George [Tue, 3 Oct 2017 18:18:35 +0000 (14:18 -0400)]
Config pom and feature changes

Issue-ID: APPC-219
Change-Id: I407dd3781edcc6b06c598bc7fa1d57fc024c2648
Signed-off-by: Lina George <lg941u@att.com>
6 years agoChanges in pom and features.xml files 25/15725/5
Dilip kumar Pampana [Tue, 26 Sep 2017 20:33:29 +0000 (16:33 -0400)]
Changes in pom and features.xml files

Issue-ID : APPC-240
Change-Id: I42d2277d73163041ccfebe69897f05ac0314e6a1
Signed-off-by: Dilip kumar Pampana <dp583p@att.com>
6 years agoUpdate VMURL to use a range for the version 09/17109/1
RY303T [Tue, 3 Oct 2017 18:18:28 +0000 (14:18 -0400)]
Update VMURL to use a range for the version

Replaced hardcoded 'v2' in url format with a range

Issue-Id: APPC-257
Change-Id: I0411f15d0d2166fb7cf72d2df587ea17b9c8705b
Signed-off-by: RY303T <RY303T@att.com>
6 years agoUpdating APPC README 63/16663/2
Hector Anapan [Fri, 29 Sep 2017 19:50:37 +0000 (15:50 -0400)]
Updating APPC README

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

6 years ago[APPC-246] Updating SDC Listener with unit test 27/16427/2
Abhai Singh [Thu, 28 Sep 2017 14:07:54 +0000 (19:37 +0530)]
[APPC-246] Updating SDC Listener with unit test

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>
6 years agoSonar Critical Fix 29/16229/2
sanchitap [Thu, 28 Sep 2017 06:04:52 +0000 (11:34 +0530)]
Sonar Critical Fix

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>
6 years agoCommenting TOSCA_CSAR as we are not listening to 99/16399/4
mojahidi [Thu, 28 Sep 2017 12:56:05 +0000 (18:26 +0530)]
Commenting TOSCA_CSAR as we are not listening to

 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>
6 years agoFix Blocker/Critical sonar issues 17/15417/3
shashikanth [Tue, 26 Sep 2017 09:13:01 +0000 (14:43 +0530)]
Fix Blocker/Critical sonar issues

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>
6 years agoserializing OAM async task 45/16145/2
Joey Sullivan [Wed, 27 Sep 2017 23:02:31 +0000 (23:02 +0000)]
serializing OAM async task

Change-Id: I0c98636c165a2cc5b9915a3950ab64744e6328c7
Issue-Id: APPC-244
Signed-off-by: Joey Sullivan <joey.sullivan@amdocs.com>
6 years agoAdd Junit test for appc-provider bundle 15/16115/3
Hao Kuang [Wed, 27 Sep 2017 21:26:02 +0000 (21:26 +0000)]
Add Junit test for appc-provider bundle

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>
6 years agoIncrease sonar coverage for common 65/16065/3
beili.zhou [Wed, 27 Sep 2017 18:37:10 +0000 (14:37 -0400)]
Increase sonar coverage for common

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>
6 years agoFix Blocker/Critical sonar issues 07/15407/6
shashikanth [Tue, 26 Sep 2017 08:11:49 +0000 (13:41 +0530)]
Fix Blocker/Critical sonar issues

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>
6 years agoIncreased test coverage for appc-java-client 91/15491/7
mojahidi [Tue, 26 Sep 2017 12:09:23 +0000 (17:39 +0530)]
Increased test coverage for appc-java-client

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>
6 years agoSonar Critical Fix 15/15815/2
sanchitap [Wed, 27 Sep 2017 06:56:01 +0000 (12:26 +0530)]
Sonar Critical Fix

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>
6 years agoRevert Increase coverage of SDC Event Listener 05/16105/1
Patrick Brady [Wed, 27 Sep 2017 20:52:25 +0000 (13:52 -0700)]
Revert Increase coverage of SDC Event Listener

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

6 years agoUpdate appc parent pom verson 09/15709/2
Marcus G K Williams [Tue, 26 Sep 2017 20:35:23 +0000 (13:35 -0700)]
Update appc parent pom verson

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>
6 years agoFix Sonar blocker issue for resource leak 37/15737/2
Summers, Gregory (gs2953) [Tue, 26 Sep 2017 21:12:27 +0000 (16:12 -0500)]
Fix Sonar blocker issue for resource leak

Issue-ID: APPC-186
Change-Id: I6177d3976e4e91a6f29bee21558dc603aed44f1f
Signed-off-by: Summers, Gregory (gs2953) <gs2953@att.com>
6 years agoAdd junits for dg-util to increase test coverage 31/15231/3
Hao Kuang [Mon, 25 Sep 2017 22:19:44 +0000 (22:19 +0000)]
Add junits for dg-util to increase test coverage

Issue-Id: APPC-228
Change-Id: I805127d7b57bc88e97151e9a4e217fe384a33ffb
Signed-off-by: Hao Kuang <Hao.Kuang@amdocs.com>
6 years agoSonar Blocker 55/15455/1
amshegokar [Tue, 26 Sep 2017 10:53:38 +0000 (16:23 +0530)]
Sonar Blocker

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>
6 years ago[APPC-232] Increase coverage of SDC Event Listener 51/15051/2
Abhai Singh [Mon, 25 Sep 2017 12:09:30 +0000 (17:39 +0530)]
[APPC-232] Increase coverage of SDC Event Listener

Updated unit test in SdcCallbackTest

Issue-Id :APPC-232

Change-Id: Ifa6d998d97de7637e9addc3c6e90984c3accc72d
Signed-off-by: Abhai Singh <Abhai.Singh@amdocs.com>
6 years agoFix Sonar Blocker for resource leak 79/15179/1
Summers, Gregory (gs2953) [Tue, 19 Sep 2017 15:27:30 +0000 (10:27 -0500)]
Fix Sonar Blocker for resource leak

Issue-ID: APPC-186
Change-Id: Id73e2153b13716706b0dce4204d8c7519840afe3
Signed-off-by: Summers, Gregory (gs2953) <gs2953@att.com>
6 years agoIncrease sonar coverage for LifecycleManagement 31/14731/1
beili.zhou [Fri, 22 Sep 2017 21:16:48 +0000 (17:16 -0400)]
Increase sonar coverage for LifecycleManagement

Add Junit tests in state-machine-lib

Issue-Id: APPC-225
Change-Id: I54b307663f1e593d597f1c93ed800ea657959030
Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
6 years agoFix VM_Start(2.0.0) and VM_Stop(2.0.0) DG 49/14649/3
beili.zhou [Fri, 22 Sep 2017 15:12:11 +0000 (11:12 -0400)]
Fix VM_Start(2.0.0) and VM_Stop(2.0.0) DG

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>
6 years agoSonar Blocker 57/14257/1
amshegokar [Thu, 21 Sep 2017 13:51:47 +0000 (19:21 +0530)]
Sonar Blocker

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>
6 years agoUpdated APPC Documentation 11/13911/2
Scott Seabolt [Wed, 20 Sep 2017 14:33:30 +0000 (10:33 -0400)]
Updated APPC Documentation

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>
6 years agoSonar Blocker 07/13807/2
amshegokar [Wed, 20 Sep 2017 08:48:03 +0000 (14:18 +0530)]
Sonar Blocker

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>
6 years agoFix Blocker/Critical sonar issues 65/13065/4
shashikanth [Mon, 18 Sep 2017 09:14:59 +0000 (14:44 +0530)]
Fix Blocker/Critical sonar issues

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>
6 years agoSonar Blocker 47/13747/2
Shubhada Ramkrishna Vaze [Wed, 20 Sep 2017 07:49:55 +0000 (13:19 +0530)]
Sonar Blocker

Sonar Blocker for PrecheckOption.java
Change-Id: Ic499d7af6c90cd692e8362ba4f7d2f5d65d48471
Issue-ID: APPC-223
Signed-off-by: Shubhada Ramkrishna Vaze <SV00449682@TechMahindra.com>
6 years agoChanges to ProtocolReference table insert 87/13587/2
Ramya Balaji [Wed, 20 Sep 2017 00:58:45 +0000 (20:58 -0400)]
Changes to ProtocolReference table insert

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>
6 years agoAdd APPC VM_Start(2.0.0) and VM_Stop(2.0.0) DGs 35/13535/1
beili.zhou [Tue, 19 Sep 2017 17:14:53 +0000 (13:14 -0400)]
Add APPC VM_Start(2.0.0) and VM_Stop(2.0.0) DGs

Issue-Id: APPC-217
Change-Id: If7b087b715630fcb8d9d5cb3effdd10548ab00be
Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
6 years agoFix Blocker/Critical sonar issues 05/13105/3
shashikanth [Mon, 18 Sep 2017 10:53:55 +0000 (16:23 +0530)]
Fix Blocker/Critical sonar issues

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>
6 years agoRemoved TOSCA_CSAR and upgrade sdc version 47/11947/6
mojahidi [Tue, 12 Sep 2017 12:19:10 +0000 (17:49 +0530)]
Removed TOSCA_CSAR and upgrade sdc version

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>
6 years agoFix Blocker/Critical sonar issues 89/13089/2
shashikanth [Mon, 18 Sep 2017 09:59:53 +0000 (15:29 +0530)]
Fix Blocker/Critical sonar issues

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>
6 years agoFix Blocker/Critical sonar issues 41/13041/2
shashikanth [Mon, 18 Sep 2017 08:23:55 +0000 (13:53 +0530)]
Fix Blocker/Critical sonar issues

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>
6 years agoSonar Blocker 99/12999/2
amshegokar [Mon, 18 Sep 2017 06:44:28 +0000 (12:14 +0530)]
Sonar Blocker

Sonar Blocker for appc client-simulator
Change-Id: Ia7c4d115e2fcbd29eb132791958286b097118431
Issue-ID: APPC-210
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
6 years agoSonar Blocker 95/12995/2
amshegokar [Mon, 18 Sep 2017 06:17:25 +0000 (11:47 +0530)]
Sonar Blocker

Sonar Blocker for appc-sdc-listener-bundle
Change-Id: Ia7c4d115e2fcbd29eb132791958286b077118431
Issue-ID: APPC-209
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
6 years agoAdd LICENSE.txt to root directory 65/12965/1
Skip Wonnell [Mon, 18 Sep 2017 04:11:45 +0000 (23:11 -0500)]
Add LICENSE.txt to root directory

Change-Id: Ib0fc208632783058a4088fe41c5056f2531997d1
Issue-ID: APPC-90
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoAdd Unit Tests for appc-chef-adapter 29/11029/10
Marcus G K Williams [Fri, 8 Sep 2017 00:16:09 +0000 (17:16 -0700)]
Add Unit Tests for appc-chef-adapter

Issue-Id: APPC-181
Change-Id: Iee824ca929ea46944ac1673e709074687ad812f9
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
6 years agoFix/Add unit tests for appc-rest-adapter 15/12815/1
Marcus G K Williams [Fri, 8 Sep 2017 00:17:07 +0000 (17:17 -0700)]
Fix/Add unit tests for appc-rest-adapter

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>
6 years agoSonar Blocker fix 57/12657/2
sanchitap [Fri, 15 Sep 2017 06:24:44 +0000 (11:54 +0530)]
Sonar Blocker fix

Redundent if condition removed from DGXMLLoadNActive.java L70 & L102
Change-Id: Ia7c4d115e2fcbd29eb132791958286b077118441
Issue-ID: APPC-202
Signed-off-by: sanchitap <sanchita@techmahindra.com>
6 years agoChanging to mariadb java client 09/12109/4
Patrick Brady [Wed, 13 Sep 2017 07:11:21 +0000 (00:11 -0700)]
Changing to mariadb java client

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

6 years agoUpdated DG and dg loader textfile 25/12525/1
rb111y [Tue, 5 Sep 2017 20:18:36 +0000 (16:18 -0400)]
Updated DG and dg loader textfile

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>
6 years agoUpdate TTL calculation to use milliseconds 63/12463/1
Skip Wonnell [Thu, 14 Sep 2017 14:50:07 +0000 (09:50 -0500)]
Update TTL calculation to use milliseconds

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>
6 years agoUpdated APPC Documentation 95/12295/1
Scott Seabolt [Wed, 13 Sep 2017 21:31:44 +0000 (17:31 -0400)]
Updated APPC Documentation

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>
6 years agoCorrecting incorrect package import 05/12105/2
Patrick Brady [Wed, 13 Sep 2017 06:55:40 +0000 (23:55 -0700)]
Correcting incorrect package import

Change-Id: I1e8738d321769ca713f32ece2b650487d3fdcfdf
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-id: APPC-91
Issue-id: APPC-158

6 years agovalidate mandatry vnfc vm info is absent in invent 55/11955/2
mojahidi [Tue, 12 Sep 2017 13:23:34 +0000 (18:53 +0530)]
validate mandatry vnfc vm info is absent in invent

 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>
6 years agoCorrecting maven staging plugin 99/11999/1
Patrick Brady [Tue, 12 Sep 2017 17:29:40 +0000 (10:29 -0700)]
Correcting maven staging plugin

Change-Id: I5dd7e431568520fa7d6e65cba435aeadc3444482
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-id: APPC-91
Issue-id: APPC-158

6 years agoJunit Cases for Artifact Handler. 33/10933/4
Ramya Balaji [Mon, 11 Sep 2017 19:50:25 +0000 (15:50 -0400)]
Junit Cases for Artifact Handler.

Issue-ID : APPC-168
Change-Id: Id2b211d5656ffa8d5f326c30d745bc497e76f4d0
Signed-off-by: Ramya Balaji <rb111y@att.com>
6 years agoCorrecting problems related to ccsdk,new odl 29/11529/4
Patrick Brady [Mon, 11 Sep 2017 03:12:40 +0000 (20:12 -0700)]
Correcting problems related to ccsdk,new odl

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

6 years agoAdd APPC API Guide and APPC Client Library Guide 27/11227/2
Scott Seabolt [Fri, 8 Sep 2017 19:08:33 +0000 (15:08 -0400)]
Add APPC API Guide and APPC Client Library Guide

Update index.rst to reflect new docs added

Issue-ID: [APPC-102]

Change-Id: Id07852a9318cd8168c26f074f9ab3b6b6c441232
Signed-off-by: Scott Seabolt <js9808@att.com>
6 years agoCleanup project's name in Sonar 69/11369/2
Jessica Wagantall [Fri, 8 Sep 2017 21:32:54 +0000 (14:32 -0700)]
Cleanup project's name in Sonar

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>
6 years agoFix sonar block in Encryption Tool 23/10923/2
Skip Wonnell [Thu, 7 Sep 2017 19:42:29 +0000 (14:42 -0500)]
Fix sonar block in Encryption Tool

Fix blockers and other Sonar findings.
Update license text

Issue-ID: APPC-186
Change-Id: Ib45020d85bde95f79b112ebd85fedfe62469b58f
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoFix dblib DBResourceManager instantiation 27/10927/1
Marcus G K Williams [Thu, 7 Sep 2017 20:26:31 +0000 (13:26 -0700)]
Fix dblib DBResourceManager instantiation

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>
6 years agoChange to CCSDK and ODL Carbon 81/10281/11
Patrick Brady [Tue, 5 Sep 2017 04:37:25 +0000 (21:37 -0700)]
Change to CCSDK and ODL Carbon

Change-Id: I49a0f436e366ff4a1b99705fb6bb5e7ba82e6ecc
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-Id: [APPC-91]
Issue-Id: [APPC-158]

6 years agoCode clean-up in ChefAdapterImpl.java 49/10049/1
Skip Wonnell [Sat, 2 Sep 2017 02:11:16 +0000 (21:11 -0500)]
Code clean-up in ChefAdapterImpl.java

Fix multiple issues found in Sonar Analysis

Issue-ID: APPC-156
Change-Id: I242c45a2eab7c4e31fb42ff9d17405aa3f210147
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoJunit Changes for APPC Params Bundle 97/9997/2
Chaturvedi, Anand (ac204h) [Fri, 1 Sep 2017 21:00:25 +0000 (17:00 -0400)]
Junit Changes for APPC Params Bundle

Issue-ID: APPC-168
Change-Id: Ie0ddf5905f90a409db111a1cfdf728a44737a158
Signed-off-by: Chaturvedi, Anand (ac204h) <ac204h@att.com>
6 years ago[JunitCases]for config audit and config generator. 53/9953/2
Chaturvedi, Anand (ac204h) [Thu, 31 Aug 2017 23:07:53 +0000 (19:07 -0400)]
[JunitCases]for config audit and config generator.

Change-Id: I7fc00ce3c8efab282954aab87db0b23da336d732
Issue-ID: APPC-189
Signed-off-by: Chaturvedi, Anand (ac204h) <ac204h@att.com>
6 years agoJunit Cases for Application Controller. 77/9977/2
Chaturvedi, Anand (ac204h) [Fri, 1 Sep 2017 19:35:26 +0000 (15:35 -0400)]
Junit Cases for Application Controller.

Issue-ID: APPC-168
Change-Id: Iacfc853bef0b641599c60055ac05b1fd090ee3f8
Signed-off-by: Chaturvedi, Anand (ac204h) <ac204h@att.com>
6 years ago[JunitCases]for config audit and config generator. 73/9773/2
Chaturvedi, Anand (ac204h) [Thu, 31 Aug 2017 23:07:53 +0000 (19:07 -0400)]
[JunitCases]for config audit and config generator.

Issue-ID: APPC-168
Change-Id: Ie6f5e13b63f3162530d71c60cf352a8bfcddf4ff
Signed-off-by: Chaturvedi, Anand (ac204h) <ac204h@att.com>
6 years agoFix classNotFound issue when executing dg-loader 23/9923/1
Hao Kuang [Fri, 1 Sep 2017 14:11:57 +0000 (14:11 +0000)]
Fix classNotFound issue when executing dg-loader

Change slf4j from transitive dependency to explicit dependency.

Issue-Id: APPC-188
Change-Id: I8054b5c4e0c0023be1fd6ae7a7e89799682f20fd
Signed-off-by: Hao Kuang <Hao.Kuang@amdocs.com>
6 years agoModify IaaS adapter URL parsing to include path 25/9525/7
RY303T [Wed, 30 Aug 2017 20:12:42 +0000 (16:12 -0400)]
Modify IaaS adapter URL parsing to include path

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>
6 years agoUpdate ASDC References to SDC 1/2 09/9109/5
mojahidi [Tue, 29 Aug 2017 12:50:26 +0000 (18:20 +0530)]
Update ASDC References to SDC 1/2

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>
6 years agoFix sonar blocker in ChefAdpater 95/9695/2
Skip Wonnell [Thu, 31 Aug 2017 14:27:46 +0000 (09:27 -0500)]
Fix sonar blocker in ChefAdpater

Issue-ID: APPC-156
Change-Id: Ic2cbb76bb639094386c14bd06e068c9d5ad7bd0d
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoAdd appc directory and index 09/9509/1
Scott Seabolt [Wed, 30 Aug 2017 18:15:26 +0000 (14:15 -0400)]
Add appc directory and index

Adding docs index directory

Issue-ID: [APPC-102]
Signed-off-by: Scott Seabolt <js9808@att.com>
Change-Id: I4882dc6ae042010edf6c999fc1ceb415c350beb0

6 years agoremoved att reference from pom file 57/9057/4
Kalpesh Chaniyara [Tue, 29 Aug 2017 08:38:52 +0000 (04:38 -0400)]
removed att reference from pom file

Removed att reference from the feature
repository in pom file

Issue-Id : APPC-177

Change-Id: Id2f7df836e3a0bd1204bdb93b72e9ac76d38fbba
Signed-off-by: Kalpesh Chaniyara <kalpeshkumar.chaniyara@amdocs.com>
6 years agoRemove catch throwable and error 37/9237/3
beili.zhou [Tue, 29 Aug 2017 22:33:57 +0000 (18:33 -0400)]
Remove catch throwable and error

Fix the following sonar blocker issue:
 - Catch Exception instead of Throwable
 - Catch Exception instead of Error

Issue-Id: APPC-175
Change-Id: I16a1018001b067216740ec11e5a97e52d714db69
Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
6 years ago Increase unit test coverage of appc-metric module 59/9059/4
Abhai Singh [Tue, 29 Aug 2017 09:14:41 +0000 (14:44 +0530)]
 Increase unit test coverage of appc-metric module

Updated test class TestMetricServiceImpl with unit test cases

Change-Id: I4290f426259b837ad4db63efd8d64ba9989843cd
Issue-ID:APPC-176
Signed-off-by: Abhai Singh <Abhai.Singh@amdocs.com>
6 years agoAdded domain model package as bundle dependency 15/8915/4
Kalpesh Chaniyara [Mon, 28 Aug 2017 11:40:55 +0000 (17:10 +0530)]
Added domain model package as bundle dependency

Added org.openecomp.appc.domainmodel.lcm package
as the dependency for bundle appc-provider-bundle

Change-Id: I9130c36204dd595dceb5e04689014f40774b4f2c
Issue-Id:APPC-169
Signed-off-by: Kalpesh Chaniyara <kalpeshkumar.chaniyara@amdocs.com>
6 years agoInitial add of APPC client libraries 91/9291/3
Skip Wonnell [Wed, 30 Aug 2017 03:39:17 +0000 (22:39 -0500)]
Initial add of APPC client libraries

Issue-ID: APPC-180
Change-Id: Ie0be2b518b90bb7f9996e9260c43fef75d1a5821
Signed-off-by: Skip Wonnell <kw5258@att.com>
6 years agoChefAdapter code clean-up 95/9195/2
Skip Wonnell [Tue, 29 Aug 2017 19:16:20 +0000 (14:16 -0500)]
ChefAdapter code clean-up

Issue-ID: APPC-90
Change-Id: I582d6b0c81d5a89938fff6038dfcc221ccaf19c1
Signed-off-by: Skip Wonnell <kw5258@att.com>
6 years agoTruncate Service_Description field 33/9333/2
Abhai Singh [Wed, 30 Aug 2017 07:42:53 +0000 (13:12 +0530)]
Truncate Service_Description field

Updated ArtifactStorageService to truncate if length exceeds 255

Change-Id: If456802c3370553d9ed3a8942ff16b407f896ed2
Issue-ID:APPC-184
Signed-off-by: Abhai Singh <Abhai.Singh@amdocs.com>
6 years agoRemove duplicate code 33/9233/1
beili.zhou [Tue, 29 Aug 2017 22:06:38 +0000 (18:06 -0400)]
Remove duplicate code

Create a method for duplicated code to reduce code duplication in IAAS
adapter provider operation.

Issue-Id: APPC-175
Change-Id: Idfbfc7ffad433d0e7469b214e5b09d0dfd5dd7d2
Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
6 years agoFix local build failure 09/9209/2
beili.zhou [Tue, 29 Aug 2017 20:26:56 +0000 (16:26 -0400)]
Fix local build failure

Fix local build is failing in appc-network-inventory-client-provider due to
missing dependency definition for PowerMockito.

Issue-Id: APPC-175
Change-Id: I47695277d6d635707cfd23246951ae22f02698f2
Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
6 years agoRestAdapter code clean-up 97/8997/3
Skip Wonnell [Tue, 29 Aug 2017 01:59:46 +0000 (20:59 -0500)]
RestAdapter code clean-up

Issue-ID: APPC-90
Change-Id: I34b07327c82fb080d94d0fa6c70ae5cdfd8c5eb0
Signed-off-by: Skip Wonnell <kw5258@att.com>
6 years agoClean up directed graph java code 23/9023/1
Skip Wonnell [Tue, 29 Aug 2017 03:02:54 +0000 (22:02 -0500)]
Clean up directed graph java code

Issue-ID: APPC-90
Change-Id: I3ea4912523eed1fed85aa2e5909ec897bb13b72b
Signed-off-by: Skip Wonnell <kw5258@att.com>
6 years agoFix that APP-C LCM Command Running After OAM Stop 11/8811/3
Hao Kuang [Fri, 25 Aug 2017 16:15:26 +0000 (16:15 +0000)]
Fix that APP-C LCM Command Running After OAM Stop

The fix code does that waiting for threads in the queue completely
interrupted than let bundle:stop() method return.

Issue-Id: APPC-162
Change-Id: I8b34fc48fd2ae5ae1ad67d11ee3ad5f349171b47
Signed-off-by: Hao Kuang <Hao.Kuang@amdocs.com>
6 years agoJunit for APPC for Network Client 39/8839/3
Anand Chaturvedi [Fri, 25 Aug 2017 23:17:38 +0000 (19:17 -0400)]
Junit for APPC  for Network Client

Issue-ID: APPC-168
Change-Id: I0654a0d6123b5827458cd3e15e12a1b5b254f918
Signed-off-by: Anand Chaturvedi <ac204h@att.com>