appc.git
2 years agoChanged to unmaintained 90/120990/2 master
Kenny Paul [Wed, 28 Apr 2021 22:28:58 +0000 (15:28 -0700)]
Changed to unmaintained

Issue-ID: CIMAN-33
Signed-off-by: Kenny Paul <kpaul@linuxfoundation.org>
Change-Id: I5f9d4ab91909aa3d9fc816a85d92a366714c5e9b

3 years agoRefactor property logging 68/116868/1
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

3 years agoFix property logging 65/116865/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

3 years agoFix LCM evacuate issue 28/116128/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

3 years agoSonar code smell fixes 80/106780/4
Mamtha [Tue, 28 Apr 2020 20:03:22 +0000 (01:33 +0530)]
Sonar code smell fixes

Issue-ID: APPC-1858
Change-Id: I5b3661ab82e916f08ed6d0790acb497ad72f299f
Signed-off-by: Mamtha <mamtha.sabesan@in.ibm.com>
3 years agoFix LCM migrate issue 64/116064/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

3 years agoFix NoClassDefFoundError for HTTPS connections 11/115511/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

3 years agoFix vm-id URL parsing 09/115509/1
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

3 years agoAdded x-onap-requestorid to common-header for LCM commands 20/110020/1
Paira, Saurav (sp694w) [Thu, 9 Jul 2020 16:27:36 +0000 (12:27 -0400)]
Added x-onap-requestorid to common-header for LCM commands

Issue-ID: APPC-1899
Signed-off-by: Paira, Saurav (sp694w) <sp694w@att.com>
Change-Id: I320196f0357a929c8e88645c4a3ab6dec3052587

3 years agoreorder the modifier 48/109148/2
Rupinder [Mon, 15 Jun 2020 06:52:27 +0000 (12:22 +0530)]
reorder the modifier

Issue-ID: APPC-1859
Change-Id: I494466f4d84c8347b52e7a530b48a73ddee278b1
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agoreplace the type specification in the constructor 49/109149/1
Rupinder [Mon, 15 Jun 2020 08:08:42 +0000 (13:38 +0530)]
replace the type specification in the constructor

Issue-ID: APPC-1859
Change-Id: I27984aa94a3107f5cfa7ed5b7efd1ea1ee785e64
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agooptimize size and time using "--no-cache-dir" 59/108859/1
Pratik Raj [Sat, 6 Jun 2020 16:20:19 +0000 (21:50 +0530)]
optimize size and time using "--no-cache-dir"

Using "--no-cache-dir" flag in pip install ,make sure dowloaded packages
by pip don't cached on system . This is a best practise which make sure
to fetch ftom repo instead of using local cached one . Further , in case
of Docker Containers , by restricing caching , we can reduce image size.
In term of stats , it depends upon the number of python packages
multiplied by their respective size . e.g for heavy packages with a lot
of dependencies it reduce a lot by don't caching pip packages.

Further , more detail information can be found at

https://medium.com/sciforce/strategies-of-docker-images-optimization-2ca9cc5719b6

Issue-ID: APPC-1887

Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
Change-Id: Iaf92c95eae404706828c346ac02cf0f63c71f5e2

3 years agolower code smells 13/108613/2
Rupinder [Mon, 1 Jun 2020 08:57:56 +0000 (14:27 +0530)]
lower code smells

Issue-ID: APPC-1859
Change-Id: I6d0a7563199355a446345f568415a78856c0cfa6
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agoRenamed local variable to match the regular expression 11/108611/2
Rupinder [Mon, 1 Jun 2020 08:02:31 +0000 (13:32 +0530)]
Renamed local variable to match the regular expression

Issue-ID: APPC-1859
Change-Id: Ie465c14b37705e98ec289f43c574780a31fe4121
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agoRenamed local variable to match the regular expression 09/108609/2
Rupinder [Mon, 1 Jun 2020 06:08:28 +0000 (11:38 +0530)]
Renamed local variable to match the regular expression

Issue-ID: APPC-1859
Change-Id: Iaddff797c8e86ea38a826592fa67c2f5ddac04a9
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agoUpdate css file name in conf.py 78/108478/2
lf-jobbuilder [Thu, 28 May 2020 20:58:29 +0000 (13:58 -0700)]
Update css file name in conf.py

ribbon.css is the correct name of the css file.

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

3 years agoUpdate INFO.yaml 04/108404/2
Taka Cho [Thu, 28 May 2020 13:23:03 +0000 (09:23 -0400)]
Update INFO.yaml

Update INFO.yaml

Issue-ID: APPC-1883
Change-Id: Idc553fff8c654117290d76cf24236bdeb2c92cee
Signed-off-by: Taka Cho <takamune.cho@att.com>
3 years agoadd 1.7.2 docker in release note 70/108170/1
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 agoChange parent to release version 2.7.2 00/108100/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 agofixed JUnits in 2 test classes 28/108028/2
Rupinder [Thu, 21 May 2020 07:32:03 +0000 (13:02 +0530)]
fixed JUnits in 2 test classes

Issue-ID: APPC-1859
Change-Id: I03854bd43a753d520ea98d48bbbcf128ed27f849
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agofixed jUnit in 3 files 39/107939/2
Rupinder [Wed, 20 May 2020 07:20:14 +0000 (12:50 +0530)]
fixed jUnit in 3 files

Issue-ID: APPC-1859
Change-Id: I911bb2dc4fa46a73cc7ffc60712b66e1902403fe
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agofixed jUnits in TestAaiService.java 42/107942/2
Rupinder [Wed, 20 May 2020 07:42:43 +0000 (13:12 +0530)]
fixed jUnits in TestAaiService.java

Issue-ID: APPC-1859
Change-Id: I1b6b8ba47126aeffdbb0cf8feeb909a4cfb8fa1c
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agofixed jUnits in 5 files 44/107944/2
Rupinder [Wed, 20 May 2020 08:00:28 +0000 (13:30 +0530)]
fixed jUnits in 5 files

Issue-ID: APPC-1859
Change-Id: I4ac447fc9884b30aa07924137d0142b97e43e8a0
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agofix minor link in release note 77/107877/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 agoadded assert statement in dbServiceTest.java 71/107871/2
Rupinder [Tue, 19 May 2020 12:27:48 +0000 (17:57 +0530)]
added assert statement in dbServiceTest.java

Issue-ID: APPC-1859
Change-Id: If145687a4cd9f5a71b9f0da2a65f5211d6653ec0
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agoadded assert statements in Test classes 70/107870/2
Rupinder [Tue, 19 May 2020 12:12:26 +0000 (17:42 +0530)]
added assert statements in Test classes

Issue-ID: APPC-1859
Change-Id: I0a5efe00032124475e53f5ade9a659f714fdaca7
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agofixed JUnits in 3 files 67/107867/1
Rupinder [Tue, 19 May 2020 11:38:04 +0000 (17:08 +0530)]
fixed JUnits in 3 files

Issue-ID: APPC-1859
Change-Id: I8b27ea7dd6f0e30f05297544aaef795695e150f8
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agoupdate release note for Frankfurt 15/107815/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 agoadded asserts statements in 5 JUnits 98/107798/2
Rupinder [Mon, 18 May 2020 08:24:21 +0000 (13:54 +0530)]
added asserts statements in 5 JUnits

Issue-ID: APPC-1859
Change-Id: I121ff2a1514310ccffdecdf2a1bcc78e62f0dbff
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agoadded assert statements in 4 jUnits 74/107774/3
Rupinder [Mon, 18 May 2020 05:33:59 +0000 (11:03 +0530)]
added assert statements in 4 jUnits

Issue-ID: APPC-1859
Change-Id: I82620e573e99fab83870da8402947989d3497895
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agoadded asserts statements in JUnits 73/107773/2
Rupinder [Mon, 18 May 2020 05:14:47 +0000 (10:44 +0530)]
added asserts statements in JUnits

Issue-ID: APPC-1859
Change-Id: I7fbc6a536e0f3fc40d652c3cc402fcb0b9fc7020
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agoadded assert statements in jUnits 24/107724/3
Rupinder [Fri, 15 May 2020 08:13:51 +0000 (13:43 +0530)]
added assert statements in jUnits

Issue-ID: APPC-1859
Change-Id: I80ce69ae34b7560bef1b1be06b8c3bb9fef73e22
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agoadded atleat one assert statement in test case 27/107727/3
Rupinder [Fri, 15 May 2020 09:57:45 +0000 (15:27 +0530)]
added atleat one assert statement in test case

Issue-ID: APPC-1859
Change-Id: I0aa503664224aa2f6d1ced5faff59f7156609693
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agoworked on code smells 60/107660/2
Rupinder [Thu, 14 May 2020 07:34:15 +0000 (13:04 +0530)]
worked on code smells

Removed some unused imports and reorder the modifiers to comply with
java language

Issue-ID: APPC-1859
Change-Id: Ieaf032f7d4466186b4813e6dcee5c475e4472d4d
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agoreduced code smells 61/107661/2
Rupinder [Thu, 14 May 2020 07:44:50 +0000 (13:14 +0530)]
reduced code smells

Issue-ID: APPC-1859
Change-Id: I7d0fae3e0ebc9ad3512fb0010381a4506e81128d
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agolower code smells 11/107611/3
Rupinder [Wed, 13 May 2020 08:32:09 +0000 (14:02 +0530)]
lower code smells

Issue-ID: APPC-1859
Change-Id: If95047a9f6b568c8ef4796d48572c23a36ac36fc
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agolowered code smells 10/107610/2
Rupinder [Wed, 13 May 2020 08:21:37 +0000 (13:51 +0530)]
lowered code smells

Removed some unused imports and reorder the modifiers according to java
standards.

Issue-ID: APPC-1859
Change-Id: Icb7d6129f583140949d5aef7a20199cc4a03425f
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agoremoved code smells 09/107609/2
Rupinder [Wed, 13 May 2020 08:13:29 +0000 (13:43 +0530)]
removed code smells

Issue-ID: APPC-1859
Change-Id: I02807b0d4bbc3b1d47945e4ff397647a06eb5e03
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
3 years agoadd back ConfigModify 61/107561/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>
3 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>
3 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>
3 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