appc.git
3 years agoRefactor property logging 32/116832/2 frankfurt
Marcin Wilk [Thu, 14 Jan 2021 11:30:23 +0000 (12:30 +0100)]
Refactor property logging

Log property values in a consistent way during the initialization.
Hide passwords/secrets if not at DEBUG level.

Issue-ID: APPC-1916
Signed-off-by: Marcin Wilk <m.wilk@samsung.com>
Change-Id: I89fbb1ab74001ba3ca0dc39c275c5340f700a6b1
(cherry picked from commit 0a5c2dc5ea4efb67eb6bc4b542cd6ac4180fec98)

3 years agoFix property logging 31/116831/1
Marcin Wilk [Thu, 14 Jan 2021 10:26:20 +0000 (11:26 +0100)]
Fix property logging

Make property values logging consistent across
default/file/command line properties during the
initialization.

Issue-ID: APPC-1915
Signed-off-by: Marcin Wilk <m.wilk@samsung.com>
Change-Id: I3353623235dfa2fb8e74057158a52920726f92d5
(cherry picked from commit f6e6c96af876136f0db3be703a45546fe231cef3)

3 years agoFix LCM evacuate issue 13/116113/1
Marcin Wilk [Fri, 4 Dec 2020 12:24:43 +0000 (13:24 +0100)]
Fix LCM evacuate issue

The code was missing reset() call on RequestContext prior
calling the waitForStateChange, which relies on the reset attempt
value. As a result, the code didn't wait for the VM status change.

Issue-ID: APPC-1913
Signed-off-by: Marcin Wilk <m.wilk@samsung.com>
Change-Id: Ib80bb154e6380dd6a90077179db41117ec74e31b
(cherry picked from commit 443c060154392b18cd3bd358cafd6a643636eba6)

3 years agoFix NoClassDefFoundError for HTTPS connections 03/116103/1
Marcin Wilk [Mon, 30 Nov 2020 12:15:59 +0000 (13:15 +0100)]
Fix NoClassDefFoundError for HTTPS connections

Missing Import-Package entries in pom.xml file for
appc-iaas-adapter-bundle module prevents from successfull
communication to managed OpenStack over HTTPS

Issue-ID: APPC-1911
Signed-off-by: Marcin Wilk <m.wilk@samsung.com>
Change-Id: Ic7605532b70bce78944b405138b7212f268d4c07
(cherry picked from commit e2c031cc1046812af05c8564fa7d000447e8ed49)

3 years agoFix vm-id URL parsing 14/116014/2
Marcin Wilk [Mon, 30 Nov 2020 11:18:03 +0000 (12:18 +0100)]
Fix vm-id URL parsing

vm-id APPC request parameter contains a full OpenStack nova
VM URL, which is not parsed correctly. This prevents any APPC LCM
requests from successfull completion

Issue-ID: APPC-1902
Signed-off-by: Marcin Wilk <m.wilk@samsung.com>
Change-Id: I1fd1432ad81d432b51055e99c3697f3280f82e9a
(cherry picked from commit d0dd24994a0c1aa0f6600adceeaf76c9bdd064b2)

3 years agoFix LCM migrate issue 15/116015/1
Marcin Wilk [Thu, 3 Dec 2020 10:32:26 +0000 (11:32 +0100)]
Fix LCM migrate issue

The code was missing reset() call on RequestContext prior
calling the waitForStateChange, which relies on the reset attempt
value. As a result, the code didn't wait for the VM status change.

Issue-ID: APPC-1912
Signed-off-by: Marcin Wilk <m.wilk@samsung.com>
Change-Id: I5e47a789ae8529ce461326fe25003362a4e42ec5
(cherry picked from commit 7c8a9e1f3b759089c935231cb7d2d950429b33a3)

3 years agoadd 1.7.2 docker in release note 48/108048/1 6.0.0-ONAP
Taka Cho [Sat, 23 May 2020 13:31:13 +0000 (09:31 -0400)]
add 1.7.2 docker in release note

add 1.7.2 docker in release note

Issue-ID: APPC-1880
Change-Id: Ie071aaef09672370b050546ca846e35ce1fad3a2
Signed-off-by: Taka Cho <takamune.cho@att.com>
3 years agoIncrement version to 1.7.3-SNAPSHOT 59/108159/1
Patrick Brady [Fri, 22 May 2020 22:18:41 +0000 (15:18 -0700)]
Increment version to 1.7.3-SNAPSHOT

Change-Id: I41e19b982bbcf5f84e63d13591a0e9df71650a50
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1816

3 years agoAdd 1.7.2 release file 10/108110/3
Patrick Brady [Thu, 21 May 2020 21:57:26 +0000 (14:57 -0700)]
Add 1.7.2 release file

Change-Id: I1b5e029c4a0f72e0f5b5b8e1730789304e2b6587
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1816

3 years agoCorrect version to 2.7.2-SNAPSHOT 16/108116/1
Patrick Brady [Fri, 22 May 2020 00:37:49 +0000 (17:37 -0700)]
Correct version to 2.7.2-SNAPSHOT

Change-Id: Ibdb931b68dfc41420396faf8db3fbc5c81e75160
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1816

3 years agoChange parent to release version 2.7.2 41/108041/1
Patrick Brady [Thu, 21 May 2020 19:04:20 +0000 (12:04 -0700)]
Change parent to release version 2.7.2

Change-Id: Id2788d2f1abf23e618aaa914ff6f604863b58c70
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1816

3 years agofix minor link in release note 41/107841/1
Taka Cho [Tue, 19 May 2020 14:21:51 +0000 (10:21 -0400)]
fix minor link in release note

fix minor link in release note

Issue-ID: APPC-1880
Change-Id: If8fb8104a421afb3311a350c150b860bb339a4b6
Signed-off-by: Taka Cho <takamune.cho@att.com>
3 years agoupdate release note for Frankfurt 93/107793/2
Taka Cho [Mon, 18 May 2020 17:20:44 +0000 (13:20 -0400)]
update release note for Frankfurt

APPC release note updated
for Frankfurt release

Issue-ID: APPC-1880
Change-Id: I1bff2a6f8f2d6f032033fb80ccc22796be608823
Signed-off-by: Taka Cho <takamune.cho@att.com>
3 years agoadd back ConfigModify 94/107494/1
Taka Cho [Mon, 11 May 2020 19:24:39 +0000 (15:24 -0400)]
add back ConfigModify

when selecting ConfigMofidy with Netconf xml
protocol, DEVICE_INTERFACE_PROTOCOL table is empty

Issue-ID: APPC-1879
Change-Id: I0d29caad47700ad5207ee1d1393aa246e775ea03
Signed-off-by: Taka Cho <takamune.cho@att.com>
3 years agolowered code smells 83/107083/2
Rupinder [Tue, 5 May 2020 07:25:26 +0000 (12:55 +0530)]
lowered code smells

Issue-ID: APPC-1859
Change-Id: I72ead8caf7c34efbd62d215e7d55a688c5cfe5e5
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agoIncrement version to 1.8.0-SNAPSHOT 66/107066/2
Patrick Brady [Mon, 4 May 2020 19:16:20 +0000 (12:16 -0700)]
Increment version to 1.8.0-SNAPSHOT

Change-Id: Ia39d2dbe393d3ce325abae026e94cd5b761f096c
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1816

3 years agoRename the fields to match the regular expression 19/107019/4
Rupinder [Mon, 4 May 2020 08:43:59 +0000 (14:13 +0530)]
Rename the fields to match the regular expression

Issue-ID: APPC-1859
Change-Id: Ia8ab60d61f2f077e87b9c9eb165637acf8746403
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agoRename the fields to match the regular expression 25/107025/2
Rupinder [Mon, 4 May 2020 09:59:27 +0000 (15:29 +0530)]
Rename the fields to match the regular expression

Issue-ID: APPC-1859
Change-Id: Id60e1a8df6cf03c1956904bbcf3a5802501ec5fb
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agolowered code smells 26/107026/1
Rupinder [Mon, 4 May 2020 10:24:03 +0000 (15:54 +0530)]
lowered code smells

Issue-ID: APPC-1859
Change-Id: I4ec9adbc3070ca3371c948e4a01c7c869e1fd24a
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
4 years agosonarFixes. reduce code smell 01/106701/4
Mamtha [Mon, 27 Apr 2020 19:00:59 +0000 (00:30 +0530)]
sonarFixes. reduce code smell

Issue-ID: APPC-1858
Change-Id: I5cfdba67456b0fcbd566117584471e6616e888e7
Signed-off-by: Mamtha <mamtha.sabesan@in.ibm.com>
4 years agoReduce code smells 16/106216/3
Mamtha [Fri, 17 Apr 2020 19:41:43 +0000 (01:11 +0530)]
Reduce code smells

Issue-ID: APPC-1858
Change-Id: Id6dde417125b0c51426284dbcfa27cb7b8802822
Signed-off-by: Mamtha <mamtha.sabesan@in.ibm.com>
4 years agoCode smell fix for appc-ansible-adapter-bundle module 94/106194/2
Mamtha [Fri, 17 Apr 2020 13:25:35 +0000 (18:55 +0530)]
Code smell fix for appc-ansible-adapter-bundle module

Issue-ID: APPC-1858
Change-Id: I20362c71c8c54def706bb2fe94970ab18965d62d
Signed-off-by: Mamtha <mamtha.sabesan@in.ibm.com>
4 years agoindentation corrected with spaces 39/106039/1
Mamtha [Wed, 15 Apr 2020 18:14:48 +0000 (23:44 +0530)]
indentation corrected with spaces

Issue-ID: APPC-1858
Change-Id: I3e5d8404b32e9432e89587942173464a516ef6c5
Signed-off-by: Mamtha <mamtha.sabesan@in.ibm.com>
4 years agocode smell. Corrected suggested formating 48/105948/1
Mamtha [Tue, 14 Apr 2020 19:32:38 +0000 (01:02 +0530)]
code smell. Corrected suggested formating

Issue-ID: APPC-1858
Change-Id: I9e384a71e756e2fd168be7d30ad726dfe08b261d
Signed-off-by: Mamtha <mamtha.sabesan@in.ibm.com>
4 years agoFix Directories with spaces and ' 09/105809/3
Aric Gardner [Fri, 10 Apr 2020 20:21:31 +0000 (16:21 -0400)]
Fix Directories with spaces and '

Directories with spaces and ' break intersphinx linking

Issue-ID: CIMAN-376
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Change-Id: Idf41f31e6da9a60c10c7b6c2e3cc68f0a6d47d80

4 years agolowered code smells 93/105193/4
Rupinder [Tue, 7 Apr 2020 07:31:48 +0000 (13:01 +0530)]
lowered code smells

Removed some unused imports

Issue-ID: APPC-1859
Change-Id: Ida19cc613baf2a8d95c6b0f3e91e7a739fa322fe
Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
4 years agoremoved code smells 37/105337/4
Rupinder [Tue, 7 Apr 2020 13:24:10 +0000 (18:54 +0530)]
removed code smells

Removed unused imports

Issue-ID: APPC-1859
Change-Id: I43556cc2ef71b6adef3f62f7ab229592a5db2a7d
Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
4 years agoLowered code smells 39/105139/4
Rupinder [Mon, 6 Apr 2020 11:21:06 +0000 (16:51 +0530)]
Lowered code smells

Removed unused imports

Issue-ID: APPC-1859
Change-Id: Idcd49f4b9c0ee28ec46ccbb298d957c656900ad8
Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
4 years agoAutomation adds release-notes.rst 22/105422/4
LF Jenkins CI [Tue, 7 Apr 2020 20:13:32 +0000 (20:13 +0000)]
Automation adds release-notes.rst

Issue-ID: CIMAN-33

Change-Id: I00ccf3fbfa8583812ffba3d8c7840bf1fc25b2ce
Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
4 years agoAutomation adds index.rst 58/105358/2
LF Jenkins CI [Tue, 7 Apr 2020 17:37:15 +0000 (17:37 +0000)]
Automation adds index.rst

Issue-ID: CIMAN-376

Change-Id: Ib201dbbe8a9c94d203f740aa4af378e255a4d2f8
Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
4 years agoActivate DGs for CDS POC scaleout 44/105044/2
Patrick Brady [Thu, 2 Apr 2020 20:57:22 +0000 (13:57 -0700)]
Activate DGs for CDS POC scaleout

Adding the DGs for the CDS POC scaleout
to the dg_activate file so they will be
marked active in the database.

Change-Id: I1a9077bec657c9a868847022f0ab3178c911cef2
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1850

4 years agoimproved code structure 37/105137/1
Rupinder [Mon, 6 Apr 2020 10:34:15 +0000 (16:04 +0530)]
improved code structure

Removed code smells

Issue-ID: APPC-1859
Change-Id: I241ac80a75fdebfb9048349ae993a891a7a9642d
Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
4 years agoIncrement version to 1.7.2-SNAPSHOT 99/104899/1
Patrick Brady [Wed, 1 Apr 2020 16:53:42 +0000 (09:53 -0700)]
Increment version to 1.7.2-SNAPSHOT

Change-Id: I125f12f8193f27e6827a270bb7d5ec12c3295020
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1816

4 years agoAdd 1.7.1 release file 13/104813/1
Patrick Brady [Tue, 31 Mar 2020 23:35:58 +0000 (16:35 -0700)]
Add 1.7.1 release file

Change-Id: Ia34bf119d659db4de375bf6e8aabaaf1241e9d3a
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1816

4 years agoChange parent to release version 2.7.1 75/104775/1
Patrick Brady [Tue, 31 Mar 2020 16:46:37 +0000 (09:46 -0700)]
Change parent to release version 2.7.1

Change-Id: I87d105f7c59c0e65bc12ef5e92f708696081f7b1
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1816

4 years agoadd ConfigScaleIn in LCM API Doc 62/103762/3
Taka Cho [Mon, 16 Mar 2020 18:32:31 +0000 (14:32 -0400)]
add ConfigScaleIn in LCM API Doc

add ConfigScaleIn in LCM API Doc

Issue-ID: APPC-1852
Change-Id: If2e714d14bd4e32af18b9da148b293a45c0584d3
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agoAppc POC configscaleout usecase 35/103135/3
shashikanth.vh@huawei.com [Thu, 5 Mar 2020 14:06:16 +0000 (19:36 +0530)]
Appc POC configscaleout usecase

Change-Id: Ifd010541ecbd1c01729f2c9566c4d2613df60cd0
Issue-ID: APPC-1850
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
4 years agoAllow storing db.user and db.pass in environment variables 97/101097/4
Dominik Mizyn [Tue, 4 Feb 2020 10:24:32 +0000 (11:24 +0100)]
Allow storing db.user and db.pass in environment variables

This patch allows to store and get db.user and db.pass from
environment variables. This is needed if we want to send those
variables by helm secrets.

Change-Id: I166dbee857c95256fa5253379205c81414771c53
Issue-ID: OOM-2275
Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
4 years agoupdate parent version for appc 00/101700/4
Taka Cho [Thu, 13 Feb 2020 17:31:05 +0000 (12:31 -0500)]
update parent version for appc

upgrade to 1.5.1 for Frankfurt

Issue-ID: APPC-1731
Change-Id: Ia7cde5fbc394a345e7e476affc72689d14177fb5
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agoRemove unused feature.xml files in appc 50/101550/2
vrvarma [Tue, 11 Feb 2020 18:09:49 +0000 (13:09 -0500)]
Remove unused feature.xml files in appc

features.xml file is no longer used in odl

Change-Id: Id33c240f79d30b8dcff525c37b21eae2c717ab10
Signed-off-by: vrvarma <vv8305@att.com>
Issue-ID: APPC-1832

4 years agoAdd new LCM actions DownloadNESw and ActivateNESw, etc 88/99988/13
Enbo Wang [Sat, 1 Feb 2020 13:35:09 +0000 (21:35 +0800)]
Add new LCM actions DownloadNESw and ActivateNESw, etc

1. Add LCM actions DownloadNESw and ActivateNESw;
2. Add payload field in the output of Rollback action.

Issue-ID: APPC-1811
Change-Id: I2e05522909a45d03927035fe35e9168751b5de0d
Signed-off-by: Enbo Wang <wangenbo@huawei.com>
4 years agoMigrate appc docs 91/101291/2
Jessica Wagantall [Thu, 6 Feb 2020 22:43:00 +0000 (14:43 -0800)]
Migrate appc docs

Merging this will create
https://onap-appc.readthedocs.io
This build will run in parallel
to the current docs generation method
until we are ready to cut over.

Issue-ID: CIMAN-364
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: I4f504049c8faedf14c14c31c7912b5ee8767389a

4 years agobuild with ONAP-ODL dist 98/100998/3
Taka Cho [Fri, 31 Jan 2020 21:49:59 +0000 (16:49 -0500)]
build with ONAP-ODL dist

ODL provides ONAP distribution
for Neon SR1

Issue-ID: APPC-1731
Change-Id: I21b26f4ddf6ac9940e7162b9e1fa081e4b25c269
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agoadd new action ConfigScaleIn 28/100828/2
yongqiangliu312 [Mon, 27 Jan 2020 02:40:41 +0000 (10:40 +0800)]
add new action ConfigScaleIn

Change-Id: Iae4bb797c4e86f66e5e3101fc6715fc2c2be470f
Issue-ID: APPC-1760
Signed-off-by: Taka Cho <takamune.cho@att.com>
Signed-off-by: Patrick Brady <patrick.brady@att.com>
4 years agoChange code in appc dispatcher for new LCMs in R6 91/100391/4
Dunietz, Irwin [Thu, 16 Jan 2020 20:13:14 +0000 (15:13 -0500)]
Change code in appc dispatcher for new LCMs in R6

Also introduce some minor improvements to robustness, efficiency, & formatting.

Issue-ID: APPC-1789
Signed-off-by: Dunietz, Irwin <id1681@att.com>
Change-Id: I82d970c2f7cde6c8dab1222af86ea70ce93b7e50

4 years agoChange parent to version 2.7.1-SNAPSHOT 25/100825/1
Patrick Brady [Mon, 27 Jan 2020 16:57:06 +0000 (08:57 -0800)]
Change parent to version 2.7.1-SNAPSHOT

Change-Id: I5fa014f96f20dad8a6ed4bc2d7a73641ff7846c4
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1816

4 years agoIncrement version to 1.7.1-SNAPSHOT 43/100343/2
Patrick Brady [Wed, 15 Jan 2020 20:25:18 +0000 (12:25 -0800)]
Increment version to 1.7.1-SNAPSHOT

Change-Id: I1d1528e9029510ac14f7b527b245854df48c3d9a
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1816

4 years agoAdd 1.7.0 release file 42/100342/2
Patrick Brady [Wed, 15 Jan 2020 20:22:24 +0000 (12:22 -0800)]
Add 1.7.0 release file

Change-Id: Icd26f9d227877425f1f7378a51a3e4bd846c47a5
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1816

4 years agoChange parent to release version 2.7.0 01/100301/1
Patrick Brady [Wed, 15 Jan 2020 06:31:38 +0000 (22:31 -0800)]
Change parent to release version 2.7.0

Change-Id: Idf46f142fb571a01575ba146c2a0f32b7541d142
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1816

4 years agoansible chnages for adding configdata and bugfixes 23/99523/3
Modaboina, Kusumakumari (km583p) [Wed, 11 Dec 2019 18:59:04 +0000 (13:59 -0500)]
ansible chnages for adding configdata and bugfixes

Change-Id: Ide9528baa569815198b18951af7f355c7c7e54d8
Issue-ID: APPC-1786
Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@att.com>
4 years agopick from jacoco.xml 62/100162/1
Taka Cho [Thu, 9 Jan 2020 22:13:06 +0000 (17:13 -0500)]
pick from jacoco.xml

add sonar config in pom file

Issue-ID: APPC-1808
Change-Id: I58d2ff0de74506a8c5021649af4b0f730b370e34
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agoFix incorrect parent versions 54/100154/4
Patrick Brady [Thu, 9 Jan 2020 20:39:24 +0000 (12:39 -0800)]
Fix incorrect parent versions

The parent versions in these pom files should be
1.7.0-SNAPSHOT in order to match the rest of appc.

Change-Id: I002f78235f07d588658e86c5ac8e99d4346d51fa
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1808

4 years agopick from jacoco.xml 55/100155/1
Taka Cho [Thu, 9 Jan 2020 21:06:13 +0000 (16:06 -0500)]
pick from jacoco.xml

part 1: fix APPC's pom file

Issue-ID: APPC-1808
Change-Id: I4bc0caf34f5861d6597181fa003ef4ff2af18c52
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agoremove unused code for appc-common 20/99920/3
Taka Cho [Thu, 26 Dec 2019 14:56:57 +0000 (09:56 -0500)]
remove unused code for appc-common

the code should pick from under src/main
not from java folder

Issue-ID: APPC-1808
Change-Id: I2e674212a739d5b0299d671b3f3b9c1f8e47c102
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agofix jacoco.exec file name 18/99918/2
Taka Cho [Thu, 26 Dec 2019 14:21:26 +0000 (09:21 -0500)]
fix jacoco.exec file name

part 1: fix APPC's pom file

Issue-ID: APPC-1808
Change-Id: I443c32f2299795580efc7bf5ca6af466bc083ada
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agoFix dependencies error of appc-client 87/99987/1
Enbo Wang [Fri, 3 Jan 2020 08:36:48 +0000 (16:36 +0800)]
Fix dependencies error of appc-client

Fix dependencies error about Enforcer rules failed of appc-client.

Issue-ID: APPC-1810
Signed-off-by: Enbo Wang <wangenbo@huawei.com>
Change-Id: I2fcb5392cc6d21e7fe5d22af1bb027e977684abe

4 years agoupdate document for new LCMs 44/99744/4
Taka Cho [Tue, 17 Dec 2019 22:41:10 +0000 (17:41 -0500)]
update document for new LCMs

update document for new LCMs

Issue-ID: APPC-1778
Change-Id: I98ebaffe91f6ae162b0eab66bd6fded47039ce45
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agoFix inconsistent use of encrypt method 25/98825/3
Patrick Brady [Mon, 25 Nov 2019 23:04:21 +0000 (15:04 -0800)]
Fix inconsistent use of encrypt method

The appc Configuration class handles decryption of encrypted
passwords with no additional method calls needed.
This change removes the incorrect call the the EncryptionTool
encrypt method.

Change-Id: I3b9664911d087da25919ae96db038008b8427e24
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1766

4 years agoVNFC Support for Ansible actions 73/98973/3
Lukasz Rajewski [Fri, 29 Nov 2019 15:16:28 +0000 (16:16 +0100)]
VNFC Support for Ansible actions

Introduced AutoNodeList parameter for
ansible request template which allows to generate
NodeList section from infromation about VMs and VNFC
in the AAI. List is being filtered by vnfc-name,vserver-id,
vnfc-type and vf-module-id parameters which can be specified
in the request-parameters of payload section.

Change-Id: I3d5b79ab6ff778116856b513612721a9637363df
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Issue-ID: APPC-1729

4 years agoAdd new LCM actions GetConfig, StartTraffic, StopTraffic, etc 20/98820/2
Keighron, Lori (lk2924) [Mon, 25 Nov 2019 19:17:57 +0000 (14:17 -0500)]
Add new LCM actions GetConfig, StartTraffic, StopTraffic, etc

New LCM actions

Change-Id: Ic59607f2a7fc515bdd01be162018aaf695668f82
Issue-ID: APPC-1790
Signed-off-by: Keighron, Lori (lk2924) <lk2924@att.com>
4 years agoAdd context sensitive logging to ConfigurationFactory.java 78/98778/1
Zihmin Hoover [Fri, 22 Nov 2019 19:53:04 +0000 (14:53 -0500)]
Add context sensitive logging to ConfigurationFactory.java

Add context sensitive logging to ConfigurationFactory.java

Change-Id: I950687870f2c9d9835ec6b04ccb73ef57c884152
Issue-ID: APPC-1782
Signed-off-by: Zihmin Hoover <zh4590@att.com>
4 years agoAdd vm caps fixes to sequence-generator code (vm caps) 37/98337/3
Keighron, Lori (lk2924) [Mon, 11 Nov 2019 22:53:30 +0000 (17:53 -0500)]
Add vm caps fixes to sequence-generator code (vm caps)

Add vm caps fixes to sequence-generator code (vm caps)
output/start.json not needed

Change-Id: Id3f65d2780d9d92ab971c9c6ed5ab60669135808
Issue-ID: APPC-1787
Signed-off-by: Keighron, Lori (lk2924) <lk2924@att.com>
4 years agoApply defect and Fortify fixes to config bundle code 30/98630/1
Keighron, Lori (lk2924) [Tue, 19 Nov 2019 20:12:06 +0000 (15:12 -0500)]
Apply defect and Fortify fixes to config bundle code

Apply defect and Fortify fixes to config bundle code

Change-Id: I30ec12950c8e2ddcee8a643a9b74a06486c7d6bf
Issue-ID: APPC-1787
Signed-off-by: Keighron, Lori (lk2924) <lk2924@att.com>
4 years agoAdd additional error messages to dmaap service 33/98433/2
Patrick Brady [Thu, 14 Nov 2019 22:17:04 +0000 (14:17 -0800)]
Add additional error messages to dmaap service

Add error checking and logging if required properties
are not present.

Change-Id: I270a7a088e36de603b89133e9ccb22f206e931e4
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1744

4 years agoAdd parent pom to dmaap service root pom 20/98420/4
Patrick Brady [Thu, 14 Nov 2019 17:53:15 +0000 (09:53 -0800)]
Add parent pom to dmaap service root pom

Without a parent pom, the appc dmaap service
root pom did not have the required plugins or
repositories.

Change-Id: Ife1ee2ec3ec32e7a221471a450e97f3fc1a92ce6
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1744

4 years agoUpdate provider blueprint mdsal naming 93/98393/2
Patrick Brady [Thu, 14 Nov 2019 01:48:36 +0000 (17:48 -0800)]
Update provider blueprint mdsal naming

The blueprint file should be updated to the new
package naming that opendaylight is using. This
change matches the changes made to appc provider
java files.

Change-Id: Ibf9f7c5abbe8ca1037194a7c89497555890b840f
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1764

4 years agoUse ssh feature install for srvcomm 85/98385/2
Patrick Brady [Wed, 13 Nov 2019 21:38:33 +0000 (13:38 -0800)]
Use ssh feature install for srvcomm

Use the ssh method for feature install, the same way
that all other features are using.

Change-Id: I4f4a1b5d721984435490681f99c81caab80a7c7e
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1744

4 years agoAdd dependency management for dmaap service 38/98338/1
Patrick Brady [Tue, 12 Nov 2019 23:40:28 +0000 (15:40 -0800)]
Add dependency management for dmaap service

Maven deploy during jenkins build was failing since dmaap event
service did not have repositories defined. This should fix the
problem.

Change-Id: If6ff2178f6ba51084721fbd25b312dc27cb576d5
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1744

4 years agoUpdate INFO yaml file 48/98248/2
Taka Cho [Mon, 11 Nov 2019 16:12:50 +0000 (11:12 -0500)]
Update INFO yaml file

Remove Marcus@Intel from
APPC committer

Issue-ID: APPC-1793
Change-Id: I1fa5b883503b5ea7bad51f32ee3e6b44cb42c138
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agoadd jacoco plugin for sonar cloud 97/98197/4
Taka Cho [Fri, 8 Nov 2019 18:44:40 +0000 (13:44 -0500)]
add jacoco plugin for sonar cloud

in IT-7899, Jess recommends add
plugin for sonar cloud

Issue-ID: APPC-1791
Change-Id: Ia4b73a7e41ac4c1b2c1638e45ab806c054667d42
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agoFix dg-common bundle error 18/97718/4
Patrick Brady [Tue, 29 Oct 2019 22:35:20 +0000 (15:35 -0700)]
Fix dg-common bundle error

Fix a dg-common blueprint error that was caused by the
changes with the new appc-service-communicator.

Added an interface for the EventSender, and created a blueprint file
to publish the interface as a service.

Change-Id: I37248fcbfa7cfa75e62965dad811b648c336b5e2
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1744

4 years agoChange code to use dmaap microservice 17/97717/5
Patrick Brady [Tue, 29 Oct 2019 19:50:10 +0000 (12:50 -0700)]
Change code to use dmaap microservice

Change method calls that used to go to the dmaap adapter, to
now go to the appc service communicator, which connects to the
dmaap micro service.

Change-Id: I619fcb408e14fa0b926950192463d9c92ab7dbba
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1744

4 years agoFeature for micro service communication 07/97407/10
Patrick Brady [Tue, 22 Oct 2019 02:05:35 +0000 (19:05 -0700)]
Feature for micro service communication

The appc-service-communicator feature will be responsible
for communication between any appc microservices which are
developed.

The appc dmaap micro service connector is part of this feature.
MessagingConnector.java is the main new class here.

Some code is copied from appc event listener and dmaap adapter.
Will be moved in a later commit.

Change-Id: Ic57f5ee6a9ab1538c6ddaa3e7c25ac0c9797fae0
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1744

4 years agoDmaap micro service jar 93/97393/7
Patrick Brady [Thu, 10 Oct 2019 22:34:00 +0000 (15:34 -0700)]
Dmaap micro service jar

Creating a service running in a standalone jar to handle
the publishing and recieving of dmaap messages for appc.
Dmaap adapter and event listener code is copeid from the
main appc project. It will be moved in a later commit.

Change-Id: I3fa7b5dc60345f0f38f763a243150b8472f985ac
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1744

4 years agoCleanup of dmaap adapter 00/96600/3
Patrick Brady [Thu, 3 Oct 2019 20:13:06 +0000 (13:13 -0700)]
Cleanup of dmaap adapter

Remvoing the part of the appc-dmaap-adapter that uses
the dmaapClient library. This part of the code was not
being used and the dmaap client library has not been
updated for a long time. Also removed several un-used
dependencies.

Change-Id: I690afaecbfe53d88576c43aa8d114fde54c0fe48
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1744

4 years agoImprove OJSI-185 documentation 75/97475/1
Krzysztof Opasiak [Wed, 23 Oct 2019 10:41:46 +0000 (12:41 +0200)]
Improve OJSI-185 documentation

Add some more details why we no longer consider OJSI-185 as a security
issue.

Issue-ID: OJSI-185
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: Ifd8a9c42abab82e56a7f87891f0d1a3491b92e6e
(cherry picked from commit 8dfcaf2db45f4145e2bcd5c0eec669e294fa0f6a)

4 years agomove to org.opendaylight.mdsal.binding.api 75/96875/6
Taka Cho [Thu, 10 Oct 2019 14:40:40 +0000 (10:40 -0400)]
move to org.opendaylight.mdsal.binding.api

reduce deprecated warning

Issue-ID: APPC-1764
Change-Id: Ie833c20222567f38f240cf3922430b43db32c149
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agoRevert "remove redundant code under appc-common-bundle/java" 29/97329/1
Patrick Brady [Fri, 18 Oct 2019 18:50:47 +0000 (11:50 -0700)]
Revert "remove redundant code under appc-common-bundle/java"

Testing to see if this change is causing probels with
sonar coverage.

This reverts commit 3533ff6d195b9966cbf407238bb5d2fd7ca68bb1.

Change-Id: I986f27b3ca80b9e8db6544f17fdf3086152d1701
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1732

4 years agoRevert "update mockito version in APPC" 28/97328/1
Patrick Brady [Fri, 18 Oct 2019 18:49:03 +0000 (11:49 -0700)]
Revert "update mockito version in APPC"

The version is in the parent files again.

This reverts commit c13a9c95e47b072afb701ad490480036ef36db26.

Change-Id: Ie6cb57e8b1b8efbf5e516820efbbfb144791b97f
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1767

4 years agoupdate release note for unknown issue 75/97275/4
Taka Cho [Thu, 17 Oct 2019 17:57:00 +0000 (13:57 -0400)]
update release note for unknown issue

update release note

Issue-ID: APPC-1766
Change-Id: I200cc60dd8560b30004e2dc260041f755599395d
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agoreplace deprecated addMixInAnnotations 21/97221/1
Taka Cho [Wed, 16 Oct 2019 21:04:43 +0000 (17:04 -0400)]
replace deprecated addMixInAnnotations

addMixInAnnotations(Class<?>, Class<?>)
was deprecated

use  addMixIn instead

Issue-ID: APPC-1764
Change-Id: Ic65e1f18a8d427f641a8d36003f29bdbf1b3b58b
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agoupdate mockito version in APPC 28/97128/1
Taka Cho [Tue, 15 Oct 2019 14:00:29 +0000 (10:00 -0400)]
update mockito version in APPC

sonar does not take the test coverage from
parent pom file

Issue-ID: APPC-1767
Change-Id: Ic6530ddc553b404f49937d61481ca2e076362e64
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agoupdate mockito version 74/97074/2
Taka Cho [Mon, 14 Oct 2019 17:51:20 +0000 (13:51 -0400)]
update mockito version

sonar does not take the test coverage from
parent pom file

Issue-ID: APPC-1767
Change-Id: I852280c31b40dc8a3bdcadc20947ec9c8040fce7
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agoupdate release note for unknown issue 54/97054/2
Taka Cho [Mon, 14 Oct 2019 13:19:21 +0000 (09:19 -0400)]
update release note for unknown issue

update relese note

Issue-ID: APPC-1710
Change-Id: I810a49a8f72ed9c77869b1c1cdb1435c303bdd15
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agoreplace deprecated JsonSerialize.Inclusion 00/96900/1
Taka Cho [Thu, 10 Oct 2019 19:36:32 +0000 (15:36 -0400)]
replace deprecated JsonSerialize.Inclusion

@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
was deprecated

use @JsonInclude(Include.NON_NULL) instead
to suppress when property is NULL

Issue-ID: APPC-1764
Change-Id: I1bbe10a156166bc37a167122ff68d1dc183fcd2f
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agoremove duplicated artifact in chef adapter 33/96833/4
Taka Cho [Wed, 9 Oct 2019 20:41:47 +0000 (16:41 -0400)]
remove duplicated artifact in chef adapter

there are two org.apache.httpcomponents:httpclient
defined in pom file, keep a one from line 63-67

Issue-ID: APPC-1763
Change-Id: Ifd132e316e05c795d68618f8bd13ba6180d55adf
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agoremove redundant code under appc-common-bundle/java 30/96830/1
Taka Cho [Wed, 9 Oct 2019 19:58:47 +0000 (15:58 -0400)]
remove redundant code under appc-common-bundle/java

the code should be taken from src/main
not from java

Issue-ID: APPC-1732
Change-Id: I7d9d8ce24917800f01e4aa84c3e31b584485094a
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agoNeon SR1 upgrade 72/96772/1
Taka Cho [Wed, 9 Oct 2019 02:11:26 +0000 (22:11 -0400)]
Neon SR1 upgrade

change pom files for
ODL Neon SR1 upgrade

Issue-ID: APPC-1749
Change-Id: Ib10ff74852a2b38933c0df034c71e21665430f62
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agoSet appc parent 2.7.0-SNAPSHOT 59/96759/1
Patrick Brady [Tue, 8 Oct 2019 20:39:40 +0000 (13:39 -0700)]
Set appc parent 2.7.0-SNAPSHOT

Change-Id: Ib68d389e9e39951e47b785550134729a9f678497
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1686

4 years agoIncrement version to 1.7.0-SNAPSHOT 52/96752/1
Patrick Brady [Tue, 8 Oct 2019 19:29:24 +0000 (12:29 -0700)]
Increment version to 1.7.0-SNAPSHOT

Change-Id: I5c9c5141f39a653e6604551488e955c2f0a68004
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1686

4 years agoRemove OJSI-176 and OJSI-177 from release notes 85/96685/1
Krzysztof Opasiak [Sat, 5 Oct 2019 20:21:12 +0000 (22:21 +0200)]
Remove OJSI-176 and OJSI-177 from release notes

Both tickets mentioned in the title are false positives.
In OJSI jira they are marked as "Not a bug" thus they shouldn't be
considered as "fixed security issues"

Issue-ID: OJSI-176
Issue-ID: OJSI-177
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: I4d3c0939b5df68ed42e334d492a2751143b41e39

4 years agoSonar Fix: TerminateStack.java 34/96234/2
Arundathi Patil [Wed, 25 Sep 2019 13:52:11 +0000 (19:22 +0530)]
Sonar Fix: TerminateStack.java

Fixed sonar issues in this file

Issue-ID: APPC-1745
Change-Id: I1e750cfa8f7d4628fca0c9af0051fdfa69778977
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
4 years agoSonar Fix: MigrateServer.java 07/96007/2
Arundathi Patil [Thu, 19 Sep 2019 15:14:17 +0000 (20:44 +0530)]
Sonar Fix: MigrateServer.java

Fixed sonar issues across this file

Issue-ID: APPC-1740
Change-Id: I8c2377a99a5de9e9926bc96288e51dfe438d0fa0
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
4 years agoSonar Fix: LookupServer.java 06/96006/2
Arundathi Patil [Thu, 19 Sep 2019 15:05:31 +0000 (20:35 +0530)]
Sonar Fix: LookupServer.java

Fixed sonar issues across this file

Issue-ID: APPC-1739
Change-Id: Iabbaada720d8b3f2ee3916a0d663b90f8fe23bcb
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
4 years agoSonar Fix: CreateSnapshot.java 05/96005/2
Arundathi Patil [Thu, 19 Sep 2019 14:57:43 +0000 (20:27 +0530)]
Sonar Fix: CreateSnapshot.java

Fixed sonar issues across this file

Issue-ID: APPC-1738
Change-Id: Iba43b24d4ae4c14197eed2e5159a4a00dfcfe00b
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
4 years agoremove org.openecomp.sdc artifact 38/96338/1
Taka Cho [Fri, 27 Sep 2019 15:07:49 +0000 (11:07 -0400)]
remove org.openecomp.sdc artifact

replace to org.onap.sdc

Issue-ID: APPC-736
Change-Id: I6b9b451ad0196e03e7db90e6157e11139f0d0428
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agoChange to snapshot parent version 13/96313/1
Patrick Brady [Thu, 26 Sep 2019 22:00:00 +0000 (15:00 -0700)]
Change to snapshot parent version

Change to appc parent version 2.6.3-SNAPSHOT

Change-Id: I51e4485098a271ff80de64ea6c20a81df94c7d8f
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1686

4 years agoIncrement version to 1.6.5-SNAPSHOT 10/96310/1
Patrick Brady [Thu, 26 Sep 2019 21:30:44 +0000 (14:30 -0700)]
Increment version to 1.6.5-SNAPSHOT

Change-Id: Ic0e49aef6dc78b1a55e8c7c051e716339f3802f6
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1686

4 years agoAPPC R5 release note fix 84/96284/2
Taka Cho [Thu, 26 Sep 2019 13:42:10 +0000 (09:42 -0400)]
APPC R5 release note fix

fixed a typo

Issue-ID: APPC-1722
Change-Id: Id1bb4cdbc019d2b92f57c2610e279d964948daae
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agoAPPC R5 release note 31/96231/2
Taka Cho [Wed, 25 Sep 2019 13:41:28 +0000 (09:41 -0400)]
APPC R5 release note

added APPC R5 release note

Issue-ID: APPC-1722
Change-Id: Ic1b19e49fef77e3ed3b995f774cb0f69813fcbe9
Signed-off-by: Taka Cho <takamune.cho@att.com>