appc.git
6 years agoMissing plugin version 65/25465/1 amsterdam
Patrick Brady [Fri, 1 Dec 2017 22:22:45 +0000 (14:22 -0800)]
Missing plugin version

(cherry-pick from master branch)

Yang plugin had missing version causing build failure.
For some reason, it just now became an issue.

Change-Id: If9651a9cdc5f568cd2361fc0e1e80088843b1292
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-324

6 years agoBump patch version 99/24099/2
Jessica Wagantall [Fri, 17 Nov 2017 01:23:58 +0000 (17:23 -0800)]
Bump patch version

Bump patch version in preparation for Amsterdam
branching.

Change-Id: Ie9235cdc12dc487699f50167199ca17834bc9ffd
Issue-ID: CIMAN-120
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Signed-off-by: Patrick Brady <pb071s@att.com>
6 years agoRemoving snapshot version 09/24909/2
Patrick Brady [Fri, 17 Nov 2017 19:49:25 +0000 (11:49 -0800)]
Removing snapshot version

(cherry-pick from master branch)

Change-Id: I7fa9000d157f61cb46ce6c15d4a59d4da53f2c89
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-318

6 years agoChanging to Amsterdam release version 87/22587/2 1.0.0-Amsterdam 1.0.0-ONAP v1.2.0
Patrick Brady [Tue, 7 Nov 2017 19:59:14 +0000 (11:59 -0800)]
Changing to Amsterdam release version

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

6 years agoLoad correct dg 23/22423/1
Patrick Brady [Mon, 6 Nov 2017 23:09:39 +0000 (15:09 -0800)]
Load correct dg

Same change as was made in deployment project.

Fix for vFW use case. The older version of a dg was
being loaded which caused modifyConfig to fail.

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

6 years agoAdd APPC Amsertdam Release Notes 03/22303/1
Scott Seabolt [Mon, 6 Nov 2017 14:05:46 +0000 (09:05 -0500)]
Add APPC Amsertdam Release Notes

Added Release Notes for ONAP Amsterdam release

Issue-Id:  APPC-101
Change-Id: I7243e06b90c3277e364e185e463e24e41136b4a0
Signed-off-by: Scott Seabolt <js9808@att.com>
6 years agoUpdating APPC Titles 13/21713/3
Hector Anapan [Thu, 19 Oct 2017 01:02:18 +0000 (21:02 -0400)]
Updating APPC Titles

Updating the titles in the APPC docs
for title consistency and legiblity purposes.

Change-Id: I603b8fa690630ce1d784fd51eabaecb230c90fe3
Signed-off-by: Hector Anapan <ha076r@att.com>
Issue-Id:[APPC-303]

6 years agoFix missing SqlResource plugin reference in DGs 79/21679/1
Skip Wonnell [Wed, 1 Nov 2017 18:30:23 +0000 (13:30 -0500)]
Fix missing SqlResource plugin reference in DGs

Change-Id: Icc45a0b01748ff1f78e66dd3674c8d6db0fa706f
Issue-ID: [APPC-302]
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoNew cdp-pal version 67/21567/1
Patrick Brady [Tue, 31 Oct 2017 23:16:48 +0000 (16:16 -0700)]
New cdp-pal version

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

6 years agoUpdate DGs for Carbon and remove comments part 2 63/21563/4
Skip Wonnell [Tue, 31 Oct 2017 20:50:11 +0000 (15:50 -0500)]
Update DGs for Carbon and remove comments part 2

Update plugins for Carbon CCSDK
Update schemaLocation and namespace for Carbon CCSDK
Remove license text comments since json files don't handle comments

Change-Id: I6d7cdc7e082d3376b435d0549688a687b2f1cf6a
Issue-ID: APPC-293
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoAai client is not installing 85/21385/2
Patrick Brady [Mon, 30 Oct 2017 21:51:06 +0000 (14:51 -0700)]
Aai client is not installing

Wrong versions and name in features file.

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

6 years agoUpdate DGs for Carbon and remove comments 15/21315/4
Skip Wonnell [Mon, 30 Oct 2017 16:44:18 +0000 (11:44 -0500)]
Update DGs for Carbon and remove comments

Update plugins for Carbon CCSDK
Format json
Remove license text comments since json files don't handle comments

Issue-ID: APPC-293
Change-Id: I6a227c804a424b0c3e49c3427391896ea1b06e15
Signed-off-by: Skip Wonnell <skip@att.com>
6 years agoAdd APPC OAM Guide 95/21295/1
Scott Seabolt [Mon, 30 Oct 2017 13:35:09 +0000 (09:35 -0400)]
Add APPC OAM Guide

Added the APPC OAM Guide and updated the index.rst file accordingly

Issue-Id: APPC-298

Change-Id: I412d138bb4fd105c5ef4ea0f84c0d1442c9d7f44
Signed-off-by: Scott Seabolt <js9808@att.com>
6 years agoAdding missing properties 67/21067/1
Patrick Brady [Fri, 27 Oct 2017 19:35:32 +0000 (12:35 -0700)]
Adding missing properties

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

6 years agoUpdate DG plugins 47/21047/2
Lina George [Fri, 27 Oct 2017 17:39:59 +0000 (13:39 -0400)]
Update DG plugins

Issue-ID: APPC-286
Change-Id: I00c6e34abc29e5f9f4df8551321eb3abe53c4347
Signed-off-by: Lina George <lg941u@att.com>
6 years agoChanges to vnfc reference processing 37/21037/2
Ramya Balaji [Fri, 27 Oct 2017 15:49:49 +0000 (11:49 -0400)]
Changes to vnfc reference processing

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>
6 years agoUpdate cdp-pal version 41/21041/1
Patrick Brady [Fri, 27 Oct 2017 17:12:30 +0000 (10:12 -0700)]
Update cdp-pal version

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

6 years agoFixing problems with features files 37/20837/4
Patrick Brady [Thu, 26 Oct 2017 16:12:23 +0000 (09:12 -0700)]
Fixing problems with features files

In progress.

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

6 years agoChanging site url 15/20715/1
Patrick Brady [Thu, 26 Oct 2017 06:57:50 +0000 (23:57 -0700)]
Changing site url

Looks like content was missing from the url

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

6 years agoNew cdp-pal version 11/20711/1
Patrick Brady [Thu, 26 Oct 2017 06:43:26 +0000 (23:43 -0700)]
New cdp-pal version

The new .25. version of cdp pal is on maven.org now

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

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>