oom.git
2 years agoMerge "[COMMON][ES] Simplify cert retrieval script"
Borislav Glozman [Wed, 30 Jun 2021 07:18:05 +0000 (07:18 +0000)]
Merge "[COMMON][ES] Simplify cert retrieval script"

2 years agoMerge "[DCAEGEN2] Deploy son-handler-ms via Helm"
Sylvain Desbureaux [Wed, 30 Jun 2021 06:24:19 +0000 (06:24 +0000)]
Merge "[DCAEGEN2] Deploy son-handler-ms via Helm"

2 years agoMerge "[DMAAP][MR] Remove call to suppressed config map"
Krzysztof Opasiak [Mon, 28 Jun 2021 20:44:27 +0000 (20:44 +0000)]
Merge "[DMAAP][MR] Remove call to suppressed config map"

2 years agoMerge "[DCAE] Make sure to update index.yaml after pushing common chart"
Sylvain Desbureaux [Mon, 28 Jun 2021 19:19:25 +0000 (19:19 +0000)]
Merge "[DCAE] Make sure to update index.yaml after pushing common chart"

2 years agoMerge changes from topic "bashisms"
Sylvain Desbureaux [Mon, 28 Jun 2021 12:11:06 +0000 (12:11 +0000)]
Merge changes from topic "bashisms"

* changes:
  [COMMON] Fix array variables increments
  [COMMON] Fix some bashisms

2 years ago[DMAAP][MR] Remove call to suppressed config map 68/121768/2
Sylvain Desbureaux [Wed, 9 Jun 2021 09:35:28 +0000 (11:35 +0200)]
[DMAAP][MR] Remove call to suppressed config map

When moving to automatic cert retrieval, a config map was suppressed.
But it's call in the statefulset was not.
This commit removes it also.

Issue-ID: OOM-2765
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I0e9dbc1a440a80eb182e8a52a7a7c1e59fcca72b

2 years ago[DCAE] Make sure to update index.yaml after pushing common chart 82/122182/3
Krzysztof Opasiak [Thu, 24 Jun 2021 14:22:34 +0000 (16:22 +0200)]
[DCAE] Make sure to update index.yaml after pushing common chart

As helm may cache the index.yaml from the server let's force it to
update it after we push our dcae common chart to be sure that the
building process of dcae services is able to find it.

Issue-ID: OOM-1
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: I5e88ee2652f81899a86be7e8231e81b87fb89139

2 years ago[COMMON] Fix array variables increments 23/122123/4
Guillaume Lambert [Wed, 23 Jun 2021 09:35:35 +0000 (11:35 +0200)]
[COMMON] Fix array variables increments

pointed out by checkbashisms in docker-entrypoint.sh

- migrate to straight strings the arrays used to pass options
Arrays are supported in bash but are not POSIX compliant.

- remove useless double quotes in variables used to pass options
Double quotes are often used to avoid globbing and word splitting.
Since possibles values are strictly constrained here, they are not
required.
https://github.com/koalaman/shellcheck/wiki/Sc2086

Issue-ID: OOM-2643
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: I4f75d8b5a00afb87b5982cb31559f29c8863c8a5

2 years agoMerge "[DMAAP][DR] Set replica of Mariadb to 1"
Krzysztof Opasiak [Thu, 24 Jun 2021 19:27:43 +0000 (19:27 +0000)]
Merge "[DMAAP][DR] Set replica of Mariadb to 1"

2 years ago[DCAEGEN2] Deploy son-handler-ms via Helm 71/121871/9
Niranjana [Fri, 11 Jun 2021 07:44:13 +0000 (07:44 +0000)]
[DCAEGEN2] Deploy son-handler-ms via Helm

DCAE Helm Transformation (Phase-2)

Issue-ID: DCAEGEN2-2704
Signed-off-by: Niranjana <niranjana.y60@wipro.com>
Change-Id: Ia8d41d00ae9d7c8ce55a2edad8881e52231a6102

2 years ago[COMMON] Fix some bashisms 22/122122/3
Guillaume Lambert [Mon, 8 Mar 2021 20:38:31 +0000 (21:38 +0100)]
[COMMON] Fix some bashisms

pointed out by checkbashisms:
- variable name HOSTNAME
- source instead of .
- sleep with suffix
- string increments

And migrate a few shebangs to /bin/sh

Issue-ID: OOM-2643
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: I653c14454a3232b5a349ca1564ece53ddc94289d

2 years agoMerge "[OOM][DCAE] Chartmuseum deployment support"
Sylvain Desbureaux [Wed, 23 Jun 2021 14:18:48 +0000 (14:18 +0000)]
Merge "[OOM][DCAE] Chartmuseum deployment support"

2 years ago[DMAAP][DR] Set replica of Mariadb to 1 77/122077/3
Sylvain Desbureaux [Mon, 21 Jun 2021 14:11:39 +0000 (16:11 +0200)]
[DMAAP][DR] Set replica of Mariadb to 1

As decided by TSC, all local databases (not the shared one) should use a
replica of 1 per default.

Issue-ID: OOM-2779
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I664213c1a9c5551e5ad4d7ab5d8ae861244ada08

2 years ago[COMMON] Revert "[COMMON] Fix a few bashisms" 21/122121/2
Krzysztof Opasiak [Wed, 23 Jun 2021 08:59:03 +0000 (10:59 +0200)]
[COMMON] Revert "[COMMON] Fix a few bashisms"

This reverts commit 62178a49cc9e4088019d426636657d9f2980d242.

This commit introduced regression on portal db config job which is now
unable to start:

/usr/local/bin/docker-entrypoint.sh: line 114: syntax error near unexpected token `('

Issue-ID: OOM-1
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: I3cb72cd7625b180b364b713fe942d5956736ebef

2 years agoMerge "[ONAP] Disable APPC default installation"
Krzysztof Opasiak [Tue, 22 Jun 2021 17:06:55 +0000 (17:06 +0000)]
Merge "[ONAP] Disable APPC default installation"

2 years agoMerge "[APPC] Fix APPC charts to make SQL queries with GROUP BY work again"
Sylvain Desbureaux [Tue, 22 Jun 2021 14:04:52 +0000 (14:04 +0000)]
Merge "[APPC] Fix APPC charts to make SQL queries with GROUP BY work again"

2 years agoMerge "[COMMON] Add missing .helmignore files and "components/" entries"
Sylvain Desbureaux [Tue, 22 Jun 2021 13:56:21 +0000 (13:56 +0000)]
Merge "[COMMON] Add missing .helmignore files and "components/" entries"

2 years agoMerge changes from topic "appc-common-db"
Sylvain Desbureaux [Tue, 22 Jun 2021 13:54:19 +0000 (13:54 +0000)]
Merge changes from topic "appc-common-db"

* changes:
  [OOF] Use the common mariadb-galera instance
  [COMMON] Add port under mariadb-galera chart

2 years agoMerge "[COMMON] Fix a few bashisms"
Sylvain Desbureaux [Tue, 22 Jun 2021 13:53:59 +0000 (13:53 +0000)]
Merge "[COMMON] Fix a few bashisms"

2 years ago[OOM][DCAE] Chartmuseum deployment support 93/121693/13
Vijay Venkatesh Kumar [Thu, 3 Jun 2021 20:51:33 +0000 (16:51 -0400)]
[OOM][DCAE] Chartmuseum deployment support

Introduction of chartmuseum as internal repo for
ONAP components to push/pull charts post instantiation
+ Script to preload charts to this repo

Change-Id: I4880900548dfe1d3e47a67b3822f82a15314b5b7
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-2630
Issue-ID: OOM-2734
Issue-ID: INT-1895
Issue-ID: DCAEGEN2-2694
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Signed-off-by: vv770d <vv770d@att.com>
2 years ago[ONAP] Disable APPC default installation 72/122072/1
Sylvain Desbureaux [Mon, 21 Jun 2021 13:55:52 +0000 (15:55 +0200)]
[ONAP] Disable APPC default installation

As per Honolulu MR, APPC is no longer installed by default.

Issue-ID: OOM-2778
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: Ifd8042afb90131e18b2f2fbfb9b1a42622df1ad1

2 years agoMerge "[SDC] Top up sdc-helm-validator image to 1.2.1"
Sylvain Desbureaux [Mon, 21 Jun 2021 13:43:49 +0000 (13:43 +0000)]
Merge "[SDC] Top up sdc-helm-validator image to 1.2.1"

2 years agoMerge "[DMAAP-BC] Update incorrect topic values"
Sylvain Desbureaux [Mon, 21 Jun 2021 13:42:54 +0000 (13:42 +0000)]
Merge "[DMAAP-BC] Update incorrect topic values"

2 years agoMerge "[COMMON] Fix ${!name} bashisms"
Sylvain Desbureaux [Mon, 21 Jun 2021 13:41:19 +0000 (13:41 +0000)]
Merge "[COMMON] Fix ${!name} bashisms"

2 years ago[APPC] Fix APPC charts to make SQL queries with GROUP BY work again 36/122036/3
Marcin Wilk [Fri, 18 Jun 2021 08:09:20 +0000 (10:09 +0200)]
[APPC] Fix APPC charts to make SQL queries with GROUP BY work again

Changes made to common/mariadb-galera chart in Honolulu prevents existing APPC
SELECT statements with GROUP BY clause to work properly. mariadb config must
not contain ONLY_FULL_GROUP_BY in the mysql_mode config option.

Issue-ID: OOM-2777
Signed-off-by: Marcin Wilk <m.wilk@samsung.com>
Change-Id: I9388f092adcf12d92118caf390686ea708bbcc02

2 years agoMerge "[AAI] Update truststore path to generated certificate location"
Sylvain Desbureaux [Mon, 21 Jun 2021 13:37:31 +0000 (13:37 +0000)]
Merge "[AAI] Update truststore path to generated certificate location"

2 years ago[COMMON] Add missing .helmignore files and "components/" entries 99/121799/3
andreasgeissler [Thu, 10 Jun 2021 14:15:14 +0000 (16:15 +0200)]
[COMMON] Add missing .helmignore files and "components/" entries

In order to save some space

Issue-ID: OOM-2763
Signed-off-by: andreasgeissler <andreas-geissler@telekom.de>
Change-Id: Ibbd8d5f713307ada76a0d04ede57d3c7696bcfe5

2 years ago[OOF] Use the common mariadb-galera instance 02/121902/10
Mahmoud Abdelhamid [Sun, 13 Jun 2021 12:21:42 +0000 (14:21 +0200)]
[OOF] Use the common mariadb-galera instance

Updates for OOF CMSO:
- Add section under (.Values.global) for shared mariadb instance with a
condition to instantiate local instance.
- Use a hook to send mariadb info to oof-csmo-service and
oof-csmo-optimizer
- Add condition under (requirments.yaml) to install local mariadb
instance
- Update oof-cmso-service and oof-cmso-optimizer (.Values) files to
accomodate for local mariadb instance
- Update oof-cmso-service and oof-cmso-optimizer deployments to use the
templates defined under (templates/_mariadb.tpl)

Issue-ID: OOM-2769
Signed-off-by: Mahmoud Abdelhamid <mahmoud.abdelhamid@orange.com>
Change-Id: I59e6c98ae992faafd363c5f97e18bf631f9c4d4e

2 years agoMerge "[COMMON] Fix $BASH_SOURCE and pushd/popd bashisms"
Sylvain Desbureaux [Fri, 18 Jun 2021 08:00:23 +0000 (08:00 +0000)]
Merge "[COMMON] Fix $BASH_SOURCE and pushd/popd bashisms"

2 years agoMerge "[DCAE] Dashboard resource update"
Sylvain Desbureaux [Wed, 16 Jun 2021 20:49:05 +0000 (20:49 +0000)]
Merge "[DCAE] Dashboard resource update"

2 years ago[COMMON] Fix $BASH_SOURCE and pushd/popd bashisms 42/119142/7
Guillaume Lambert [Thu, 11 Mar 2021 12:42:23 +0000 (13:42 +0100)]
[COMMON] Fix $BASH_SOURCE and pushd/popd bashisms

pointed out by checkbashisms.

Issue-ID: OOM-2643
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: Ic9c4edc0fc6bd94a95bcb85d84379e868fb09930

2 years ago[AAI] Update truststore path to generated certificate location 35/121935/2
Harish Venkata Kajur [Tue, 15 Jun 2021 15:49:16 +0000 (11:49 -0400)]
[AAI] Update truststore path to generated certificate location

After the change to use the generated certificate
the path to where the truststoreONAPAll.jks is changed
so updating location to match that

Issue-ID: AAI-3350
Change-Id: Ic20cd2c87eb66ca098dcc232d8629fd7d25d8413
Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2 years ago[DCAE] Dashboard resource update 24/121624/8
vv770d [Tue, 1 Jun 2021 21:10:09 +0000 (21:10 +0000)]
[DCAE] Dashboard resource update

Bump up resource to stablize gating/daily
run failures

Change-Id: Ic46e163596917101f748b71465723c0a089bf45c
Signed-off-by: vv770d <vv770d@att.com>
Issue-ID: DCAEGEN2-2800

2 years ago[COMMON] Add port under mariadb-galera chart 30/121930/9
Mahmoud Abdelhamid [Tue, 15 Jun 2021 14:43:02 +0000 (16:43 +0200)]
[COMMON] Add port under mariadb-galera chart

Update mariadb-galera chart to add internalport value under (.Values.
service) to resolve the port settings needed for the template (common.
mariadbPort) under (common/_mariadb.tpl).
This parameter will use the default value of mariadb 3306 which can be
changed in component charts.

Issue-ID: OOM-2773
Signed-off-by: Mahmoud Abdelhamid <mahmoud.abdelhamid@orange.com>
Change-Id: I0d59ba42f07426b14ec7bc7f157392b5f10b9006

2 years agoMerge "[DCAEGEN2] Deploy DCAEGEN2-Slice Analysis Microservices to Helm"
Sylvain Desbureaux [Wed, 16 Jun 2021 06:34:34 +0000 (06:34 +0000)]
Merge "[DCAEGEN2] Deploy DCAEGEN2-Slice Analysis Microservices to Helm"

2 years ago[COMMON] Fix a few bashisms 23/118923/11
Guillaume Lambert [Mon, 8 Mar 2021 20:38:31 +0000 (21:38 +0100)]
[COMMON] Fix a few bashisms

pointed out by checkbashisms:
- variable name HOSTNAME
- source instead of .
- variable increments
- sleep with suffix

And migrate a few shebangs to /bin/sh

Issue-ID: OOM-2643
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: I82981bcff17e88cf824935b841ce37a585ddde00

2 years agoMerge "[DCAE] Push/pull DCAE sub-component charts from local repo"
Sylvain Desbureaux [Tue, 15 Jun 2021 15:18:44 +0000 (15:18 +0000)]
Merge "[DCAE] Push/pull DCAE sub-component charts from local repo"

2 years agoMerge "[COMMON] Fix docker-registry-key empty creds"
Sylvain Desbureaux [Tue, 15 Jun 2021 15:11:33 +0000 (15:11 +0000)]
Merge "[COMMON] Fix docker-registry-key empty creds"

2 years agoMerge "[PMS] Persistent storage of policies and type definitions"
Sylvain Desbureaux [Tue, 15 Jun 2021 14:59:05 +0000 (14:59 +0000)]
Merge "[PMS] Persistent storage of policies and type definitions"

2 years agoMerge "[COMMON] Get rid of "x-hack" in shell scripts"
Sylvain Desbureaux [Tue, 15 Jun 2021 14:57:53 +0000 (14:57 +0000)]
Merge "[COMMON] Get rid of "x-hack" in shell scripts"

2 years ago[DCAEGEN2] Deploy DCAEGEN2-Slice Analysis Microservices to Helm 34/121534/9
denilson.l65 [Tue, 25 May 2021 13:54:50 +0000 (13:54 +0000)]
[DCAEGEN2] Deploy DCAEGEN2-Slice Analysis Microservices to Helm

DCAE Helm Transformation (Phase-2)

Issue-ID: DCAEGEN2-2763
Signed-off-by: denilson.l65 <denilson.l65@wipro.com>
Change-Id: Ibffd469bde1dd12bbcd682164dc9db8469b900f5

2 years ago[DCAE] Push/pull DCAE sub-component charts from local repo 09/121509/14
Vijay Venkatesh Kumar [Sat, 22 May 2021 01:31:18 +0000 (01:31 +0000)]
[DCAE] Push/pull DCAE sub-component charts from local repo

Enable DCAEcommon and subcomponent charts package push/pull
to support standalone deployment for each component

Added delay to avoid race condition

Change-Id: I1a0bf08a6625d2d97078cd635a2bb42da629cce6
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-2781
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
2 years ago[COMMON] Fix docker-registry-key empty creds 82/121882/1
Satoshi Fujii [Fri, 11 Jun 2021 17:29:42 +0000 (17:29 +0000)]
[COMMON] Fix docker-registry-key empty creds

When image repository does not allow anonymous pull, image pull
failed due to empty credentials in docker-registry-key secret.

This change fixes _repository.tpl repository generator to refer to
.global.repositoryCred in override.yaml .

Issue-ID: OOM-2767
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
Change-Id: I3cd7eabcdda547e99e0461767a0451dc1e51132b

2 years ago[PMS] Persistent storage of policies and type definitions 50/121050/17
PatrikBuhr [Fri, 30 Apr 2021 13:12:51 +0000 (15:12 +0200)]
[PMS] Persistent storage of policies and type definitions

Improvements:
 - Using common metadata for the PV and the PVC.
 - Changed the deployment to a stateful set.

Even Deployments with one replica using ReadWriteOnce volume
are not recommended. This is because the default Deployment
strategy creates a second Pod before bringing down the first Pod
on a recreate. The Deployment may fail in deadlock as the
second Pod can't start because the ReadWriteOnce volume is
already in use, and the first Pod won't be removed because
the second Pod has not yet started.
Instead, use a StatefulSet with ReadWriteOnce volumes.

Change-Id: If3477be43eee5348a9142cceb832bbb2bf9d6017
Issue-ID: CCSDK-3256
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2 years agoMerge "[CDS] Update chart with service account"
Sylvain Desbureaux [Fri, 11 Jun 2021 06:13:54 +0000 (06:13 +0000)]
Merge "[CDS] Update chart with service account"

2 years agoMerge "[SO] Update chart with service account"
Sylvain Desbureaux [Fri, 11 Jun 2021 06:11:38 +0000 (06:11 +0000)]
Merge "[SO] Update chart with service account"

2 years agoMerge "[COMMON][DGBUILDER] Update chart with service account"
Sylvain Desbureaux [Fri, 11 Jun 2021 06:11:02 +0000 (06:11 +0000)]
Merge "[COMMON][DGBUILDER] Update chart with service account"

2 years agoMerge "[SDC] Update chart with service account"
Sylvain Desbureaux [Fri, 11 Jun 2021 06:09:23 +0000 (06:09 +0000)]
Merge "[SDC] Update chart with service account"

2 years agoMerge "[DCAEGEN2] Fix OpenAPI schemas path"
Sylvain Desbureaux [Thu, 10 Jun 2021 19:57:55 +0000 (19:57 +0000)]
Merge "[DCAEGEN2] Fix OpenAPI schemas path"

2 years agoMerge "[COMMON] Remove CertService client mechanism"
Sylvain Desbureaux [Thu, 10 Jun 2021 19:56:27 +0000 (19:56 +0000)]
Merge "[COMMON] Remove CertService client mechanism"

2 years ago[SDC] Update chart with service account 23/120223/17
farida azmy [Tue, 6 Apr 2021 10:33:31 +0000 (12:33 +0200)]
[SDC] Update chart with service account

Add service account to requirements.yaml, values.yaml and deployment/statefulset

Issue-ID: OOM-2717
Signed-off-by: farida azmy <farida.azmy.ext@orange.com>
Change-Id: I57a398865c2dea8dd5989dc2e9d80843bfabd3b5

2 years ago[COMMON][DGBUILDER] Update chart with service account 75/120275/12
farida azmy [Wed, 7 Apr 2021 15:07:09 +0000 (17:07 +0200)]
[COMMON][DGBUILDER] Update chart with service account

Add service account to requirements.yaml, values.yaml and deployment/statefulset

Issue-ID: OOM-2720
Signed-off-by: farida azmy <farida.azmy.ext@orange.com>
Change-Id: Iefe02cad5b2069879d043d17465f248f1f731519

2 years ago[SO] Update chart with service account 66/120266/10
farida azmy [Tue, 6 Apr 2021 13:25:15 +0000 (15:25 +0200)]
[SO] Update chart with service account

Add service account to requirements.yaml, values.yaml and
deployment/statefulset

Issue-ID: OOM-2718
Signed-off-by: farida azmy <farida.azmy.ext@orange.com>
Change-Id: Ic17b8d9307216a7feeceefe6a1e6f0fe4839a637

2 years ago[CDS] Update chart with service account 63/120363/3
farida azmy [Fri, 9 Apr 2021 12:18:14 +0000 (14:18 +0200)]
[CDS] Update chart with service account

Add service account to requirements.yaml, values.yaml and deployment/statefulset

Issue-ID: OOM-2723
Signed-off-by: farida azmy <farida.azmy.ext@orange.com>
Change-Id: Ic254ec1865501bab90f47d07a37b230c228a7446

2 years agoMerge "[CCSDK] Fix pnf-reg and fault message lost"
Sylvain Desbureaux [Thu, 10 Jun 2021 19:46:56 +0000 (19:46 +0000)]
Merge "[CCSDK] Fix pnf-reg and fault message lost"

2 years ago[DMAAP-BC] Update incorrect topic values 64/120764/10
efiacor [Wed, 21 Apr 2021 12:36:21 +0000 (13:36 +0100)]
[DMAAP-BC] Update incorrect topic values

Update BC image version
Update cm-container version to 4.6.0
Update k8s-bootstrap-container version to 3.2.0
Update dmaap plugin version to >=1.5.1,<2.0.0

Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Change-Id: I8d6062d794b9d270cce781ed67421d25d1783530
Issue-ID: DMAAP-1544

2 years ago[DCAEGEN2] Fix OpenAPI schemas path 88/121788/2
Michal Banka [Thu, 10 Jun 2021 07:34:53 +0000 (09:34 +0200)]
[DCAEGEN2] Fix OpenAPI schemas path

Fixed typo in path to resources where schemas are located

Signed-off-by: Michal Banka <michal.banka@nokia.com>
Change-Id: I41d938b8211bd0fcd3a1012161c6a7d03da56029
Issue-ID: DCAEGEN2-2690

2 years ago[SDC] Top up sdc-helm-validator image to 1.2.1 69/121769/1
Tomasz Wrobel [Wed, 9 Jun 2021 09:57:06 +0000 (11:57 +0200)]
[SDC] Top up sdc-helm-validator image to 1.2.1

Update:
- Add logging of validation response in debug mode

Issue-ID: SDC-3185
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: I7528f92cfd3b392f063fed9cbb70d2b1fa114588

2 years ago[COMMON] Remove CertService client mechanism 12/121612/6
Piotr Marcinkiewicz [Tue, 1 Jun 2021 10:36:13 +0000 (12:36 +0200)]
[COMMON] Remove CertService client mechanism

- Remove cmpv2Certificate chart in order to deprecate CertService
client mechanism.
- Remove CertServiceClient init containers in SDNC.
- Replace CMPv2CertManagerIntegration with cmpv2Enabled flag

Issue-ID: OOM-2744
Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com>
Change-Id: I8c818fcf64a029552c8833f68b6ae95fad379c8d

2 years agoMerge "[DCAEGEN2] Add new OpenAPI schemas configmap"
Sylvain Desbureaux [Wed, 2 Jun 2021 08:37:27 +0000 (08:37 +0000)]
Merge "[DCAEGEN2] Add new OpenAPI schemas configmap"

2 years agoMerge "[DCAEGEN2] Update tca-gen2 to 1.3.0"
Sylvain Desbureaux [Wed, 2 Jun 2021 08:37:18 +0000 (08:37 +0000)]
Merge "[DCAEGEN2] Update tca-gen2 to 1.3.0"

2 years agoMerge changes I44c8b60c,I0cb6d383
Sylvain Desbureaux [Wed, 2 Jun 2021 08:07:51 +0000 (08:07 +0000)]
Merge changes I44c8b60c,I0cb6d383

* changes:
  [OOF] Update HAS charts to use etcd
  [COMMON][ETCD-INIT] Add etcd-init chart

2 years ago[COMMON] Get rid of "x-hack" in shell scripts 05/121005/3
Guillaume Lambert [Thu, 29 Apr 2021 12:12:24 +0000 (14:12 +0200)]
[COMMON] Get rid of "x-hack" in shell scripts

$ find . -name *.sh -print |xargs grep -l '"x'| xargs sed -i 's/"x/"/g'

The "x-hack" is a historical workaround for some old UNIX shells with
buggy condition comparison code. None of them is still used today.
Recent POSIX specifications now guarantee it should work without it
in any modern POSIX shell.

More details at
https://www.vidarholen.net/contents/blog/?p=1035
https://github.com/koalaman/shellcheck/wiki/SC2268

Issue-ID: OOM-2643
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: Ic01bbc5faee9492dba5b5d4dea0f659540da2c24

2 years ago[CCSDK] Fix pnf-reg and fault message lost 08/121608/1
Satoshi Fujii [Tue, 1 Jun 2021 09:33:24 +0000 (09:33 +0000)]
[CCSDK] Fix pnf-reg and fault message lost

CCSDK mountpoint-registrar bundle consumes SEC_FAULT_OUTPUT and
VES_PNFREG_OUTPUT DMaaP topics.
Currently dmaap timeout is set to 50000, which is much longer than
jersey.config.client.readTimeout=25000. The bundle is giving up
connection before dmaap timeout and that could cause message lost
if message arrived after client timeout.

This change remove the inappropriate timeout value from
the property file so that the bundle uses default timeout value
defined in java class.

Issue-ID: CCSDK-3320
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
Change-Id: I638af7c1f737b0904cb21c8121f2a08b2737d94b

2 years agoMerge "[DCAEGEN2] Update CMPv2 certs usage in dcaegen2-services"
Sylvain Desbureaux [Fri, 28 May 2021 19:52:04 +0000 (19:52 +0000)]
Merge "[DCAEGEN2] Update CMPv2 certs usage in dcaegen2-services"

2 years agoMerge "[SDC] Update SDC to 1.9.0"
Sylvain Desbureaux [Fri, 28 May 2021 19:51:13 +0000 (19:51 +0000)]
Merge "[SDC] Update SDC to 1.9.0"

2 years ago[OOF] Update HAS charts to use etcd 02/121402/9
krishnaa96 [Tue, 18 May 2021 13:22:56 +0000 (18:52 +0530)]
[OOF] Update HAS charts to use etcd

- Add etcd as a subchart
- Add configuration to switch between
  etcd and music
- Remove onboard and healthcheck jobs

Issue-ID: OPTFRA-953
Signed-off-by: Krishna moorthy <krishna.moorthy6@wipro.com>
Change-Id: I44c8b60c3bdb0282329b6f87c5011093055ea91f

2 years agoMerge "[DCAE] Add secrets as envs to application container in dcaegen2"
Sylvain Desbureaux [Fri, 28 May 2021 14:31:58 +0000 (14:31 +0000)]
Merge "[DCAE] Add secrets as envs to application container in dcaegen2"

2 years ago[COMMON][ETCD-INIT] Add etcd-init chart 56/121256/10
krishnaa96 [Tue, 11 May 2021 12:59:49 +0000 (18:29 +0530)]
[COMMON][ETCD-INIT] Add etcd-init chart

- etcd-init chart will provision the users
and roles in a running etcd instance

- Change etcd container name for readiness
init container to work

Issue-ID: OOM-2746
Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com>
Change-Id: I0cb6d3830b0048c4d70f381815bd3f858ec31ae7

2 years ago[SDC] Update SDC to 1.9.0 63/120763/11
Joanna Jeremicz [Wed, 21 Apr 2021 12:31:29 +0000 (14:31 +0200)]
[SDC] Update SDC to 1.9.0

- Add variables and default values needed for communication
between SDC and helm-validator microservice.
- Correct jetty paths
- Update SDC to 1.9.0.

Issue-ID: SDC-3185
Change-Id: Id054124a9f5e183597acbc81df79535aff517a1f
Signed-off-by: xuegao <xue.gao@intl.att.com>
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2 years agoMerge "[COMMON] Fix condition bracket bashisms - step 2"
Krzysztof Opasiak [Wed, 26 May 2021 06:56:47 +0000 (06:56 +0000)]
Merge "[COMMON] Fix condition bracket bashisms - step 2"

2 years agoMerge "[COMMON] Fix condition bracket bashisms - step 1"
Krzysztof Opasiak [Wed, 26 May 2021 06:56:35 +0000 (06:56 +0000)]
Merge "[COMMON] Fix condition bracket bashisms - step 1"

2 years ago[COMMON] Fix ${!name} bashisms 81/119081/14
Guillaume Lambert [Wed, 10 Mar 2021 15:09:31 +0000 (16:09 +0100)]
[COMMON] Fix ${!name} bashisms

pointed out by checkbashisms.

Note this kind of indirections can only be replaced directly in POSIX
by commands using eval.
Security risks must be evaluated for each context where eval is called.
For a safe use, the context must ensure that only a limited number of
possible constrainted values are passed to eval.

https://mywiki.wooledge.org/Bashism#Parameter_Expansions
https://mywiki.wooledge.org/BashFAQ/006#Indirection

Issue-ID: OOM-264
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: Id27f3ffd1ddb092a9c038d3a45d9e3278720eb62

2 years ago[DCAEGEN2] Update tca-gen2 to 1.3.0 64/121464/3
Remigiusz Janeczek [Thu, 20 May 2021 18:13:04 +0000 (20:13 +0200)]
[DCAEGEN2] Update tca-gen2 to 1.3.0

Updates:
- Vulnerabilities removal
- Change openjdk baseOS img to integration-java11.

Issue-ID: DCAEGEN2-2590
Issue-ID: DCAEGEN2-2654
Issue-ID: INT-1864
Issue-ID: DCAEGEN2-2420
Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com>
Change-Id: Ie63a0feb4a9edc9ed0883a21ef9a906ed84f263a

2 years ago[DCAE] Add secrets as envs to application container in dcaegen2 09/121409/7
Bartosz Gardziejewski [Wed, 19 May 2021 06:05:00 +0000 (08:05 +0200)]
[DCAE] Add secrets as envs to application container in dcaegen2

Mount app-config-input configmap directly to app container.

Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I50d80adcb87e86241876c9bab669739cb3d9c10c
Issue-ID: DCAEGEN2-2630

2 years ago[POLICY] Remove invalid SAN entries in AAF certs 31/121531/2
jhh [Tue, 25 May 2021 12:41:38 +0000 (07:41 -0500)]
[POLICY] Remove invalid SAN entries in AAF certs

Discarded obsolete service names (brmsgw, pap, pdp that refer
to the deprecated policy engine) and updated service name
for drools.

Issue-ID: POLICY-3327
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ifeceabb594c2d1b9cbdf90ca45cf0be5d6aed875
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2 years ago[DCAEGEN2] Add new OpenAPI schemas configmap 23/121223/7
Michal Banka [Mon, 10 May 2021 09:00:39 +0000 (11:00 +0200)]
[DCAEGEN2] Add new OpenAPI schemas configmap

- Added ConfigMap with 3gpp SA91-Rel16 OpenAPI schemas
- Moved ConfigMaps from 'dcaegen2' chart to 'dcaegen2-services'
- Removed old SA88-Rel16 OpenAPI schemas

Signed-off-by: Michal Banka <michal.banka@nokia.com>
Change-Id: Ibae0786c7d5e498aa076186a580a268913a57692
Issue-ID: DCAEGEN2-2690

2 years agoMerge "[COMMON] Change import-custom-cert from bash to sh"
Sylvain Desbureaux [Fri, 21 May 2021 13:15:31 +0000 (13:15 +0000)]
Merge "[COMMON] Change import-custom-cert from bash to sh"

2 years agoMerge "[COMMON] Enhance ONAP common-service template - add IPv4/IPv6 support"
Sylvain Desbureaux [Fri, 21 May 2021 13:14:35 +0000 (13:14 +0000)]
Merge "[COMMON] Enhance ONAP common-service template - add IPv4/IPv6 support"

2 years agoMerge "[DCAEGEN2] Upgrade vescollector to 1.9.2"
Sylvain Desbureaux [Fri, 21 May 2021 13:13:32 +0000 (13:13 +0000)]
Merge "[DCAEGEN2] Upgrade vescollector to 1.9.2"

2 years agoMerge "[SO] Adding "update" to the list of supported operations"
Sylvain Desbureaux [Fri, 21 May 2021 13:11:39 +0000 (13:11 +0000)]
Merge "[SO] Adding "update" to the list of supported operations"

2 years ago[DCAEGEN2] Update CMPv2 certs usage in dcaegen2-services 63/121463/2
Remigiusz Janeczek [Thu, 20 May 2021 17:39:44 +0000 (19:39 +0200)]
[DCAEGEN2] Update CMPv2 certs usage in dcaegen2-services

Updates:
- Add microservice specific flag to determine if CMPv2
should be used
- Add function to check if CMPv2 parts should be included

Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com>
Issue-ID: DCAEGEN2-2630
Change-Id: If81c50c6029aafef40fa91c5295ad8ad24f953d3

2 years ago[COMMON] Change import-custom-cert from bash to sh 15/121415/2
a.sreekumar [Wed, 19 May 2021 11:52:14 +0000 (12:52 +0100)]
[COMMON] Change import-custom-cert from bash to sh

As part of removing GPLv3 license, policy components have moved from
bash to sh. This change is required in import-custom-certs script so
that custom certificates can be imported into components that try to
import them. Without this change, the init containers of the
components will just fail.

Change-Id: I6c5028428d4cd7c8baf3e96cb16a3cd91db57f9e
Issue-ID: POLICY-3232
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2 years ago[SO] Adding "update" to the list of supported operations 51/121351/3
Hesam Rahimi [Thu, 13 May 2021 21:04:15 +0000 (21:04 +0000)]
[SO] Adding "update" to the list of supported operations

Update operation was missing for vnf-topology-operation in
generic-resource-api. This "update" operation is needed to
support the "modify" Trnasport Slice use-case of CCVPN.

Issue-ID: OOM-2750
Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com>
Change-Id: I3c36abf5d7f674abc8392b20b3c374f70bf2a520

2 years ago[COMMON] Enhance ONAP common-service template - add IPv4/IPv6 support 69/121369/8
Ubuntu [Fri, 14 May 2021 09:02:30 +0000 (09:02 +0000)]
[COMMON] Enhance ONAP common-service template - add IPv4/IPv6 support

Generic change for all common services by adding ipFamilyPolicy field.
Dual Stack service exposure will be provided depending on k8s version (v1.20+).

Signed-off-by: Magdalena Biernacka <magdalena.1.biernacka@nokia.com>
Issue-ID: OOM-2749
Change-Id: Ia7236705010e625c19a22e42ec9a02c9f75a0ec5

2 years agoMerge "[SDNC] Fix SDNC charts to make it work with aaf disabled"
Sylvain Desbureaux [Wed, 19 May 2021 08:30:33 +0000 (08:30 +0000)]
Merge "[SDNC] Fix SDNC charts to make it work with aaf disabled"

2 years ago[DCAEGEN2] Upgrade vescollector to 1.9.2 50/120150/7
Maciej Malewski [Fri, 2 Apr 2021 06:31:28 +0000 (08:31 +0200)]
[DCAEGEN2] Upgrade vescollector to 1.9.2

Removed unnecessary dependencies:
 json-simple
 unirest-java
 commons-collections
 junit-jupiter
 mockito-junit-jupiter
 jimfs
 wiremock-standalone
 spring-security-test
 functionaljava

Issue-ID: DCAEGEN2-2682
Signed-off-by: Maciej Malewski <maciej.malewski@nokia.com>
Change-Id: Ic0986996d687ec02aca1f13a31194ca77e3cdff2

2 years agoMerge "[MULTICLOUD] Bump multicloud-k8s image to 0.8.2"
Sylvain Desbureaux [Wed, 19 May 2021 05:48:17 +0000 (05:48 +0000)]
Merge "[MULTICLOUD] Bump multicloud-k8s image to 0.8.2"

2 years agoMerge "[DCAEGEN2] Deploy DCAEGEN2-PMSH Microservices to Helm"
Sylvain Desbureaux [Mon, 17 May 2021 15:45:45 +0000 (15:45 +0000)]
Merge "[DCAEGEN2] Deploy DCAEGEN2-PMSH Microservices to Helm"

2 years ago[MULTICLOUD] Bump multicloud-k8s image to 0.8.2 26/121326/4
Konrad Bańka [Wed, 12 May 2021 19:39:28 +0000 (21:39 +0200)]
[MULTICLOUD] Bump multicloud-k8s image to 0.8.2

Update k8splugin with version based on Helm3 libraries

Issue-ID: MULTICLOUD-1295
Issue-ID: MULTICLOUD-1338
Issue-ID: MULTICLOUD-1348
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: I793ccc0366fc061c5f0cb1e580e805de70b3d88a

2 years agoMerge "[DCAE] Bump up to Dashboard 1.4.3"
Sylvain Desbureaux [Mon, 17 May 2021 12:47:40 +0000 (12:47 +0000)]
Merge "[DCAE] Bump up to Dashboard 1.4.3"

2 years ago[SDNC] Fix SDNC charts to make it work with aaf disabled 38/121338/2
Marat Salakhutdinov [Thu, 13 May 2021 14:47:39 +0000 (10:47 -0400)]
[SDNC] Fix SDNC charts to make it work with aaf disabled

Fix SDNC service template to make it work with aaf disabled.

Issue-ID: OOM-2748
Signed-off-by: Marat Salakhutdinov <marat.salakhutdinov@bell.ca>
Change-Id: Ic0ac6bcb12cfc86d7b338da21d621e35e94b03c0

2 years agoMerge "[SDNC] Install latest service release (SR3) of OpenDaylight Aluminum"
Sylvain Desbureaux [Mon, 17 May 2021 12:44:26 +0000 (12:44 +0000)]
Merge "[SDNC] Install latest service release (SR3) of OpenDaylight Aluminum"

2 years ago[COMMON] Fix condition bracket bashisms - step 2 14/120914/4
Guillaume Lambert [Mon, 26 Apr 2021 19:48:38 +0000 (21:48 +0200)]
[COMMON] Fix condition bracket bashisms - step 2

pointed out by checkbashisms

$ mycmd=$(tox -e checkbashisms
| grep '(\[\[ foo \]\] should be \[ foo \])'
| sed -e "s@^[^.]*\(.[^ ]*\) line \([0-9]*\) .*@sed -i '\2s/\\\[\\\[\\\(
[^]]*\\\)\\\]\\\]/[\\\1]/g' \1;@")

$ eval $mycmd

plus fix manually quoting hells induced and bash specific regex
and multi-conditions

Issue-ID: OOM-2643
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: Ia9626256b5efc837ba12b25d351c8d8a0ba75fb4

2 years ago[COMMON] Fix condition bracket bashisms - step 1 98/118998/13
Guillaume Lambert [Mon, 26 Apr 2021 19:46:56 +0000 (21:46 +0200)]
[COMMON] Fix condition bracket bashisms - step 1

pointed out by checkbashisms

$ mycmd=$(tox -e checkbashisms
| grep '(\[\[ foo \]\] should be \[ foo \])'
| sed -e "s@^[^.]*\(.[^ ]*\) line \([0-9]*\) .*@sed -i '\2s/\\\[\\\[\\\(
[^]]*\\\)\\\]\\\]/[\\\1]/g' \1;@")

$ eval $mycmd

plus fix manually quoting hells induced and bash specific regex
and multi-conditions

Issue-ID: OOM-2643
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: Ie7ca5b71938fae22c200b7fead418618160fbe19

2 years ago[DCAE] Bump up to Dashboard 1.4.3 91/121091/13
vv770d [Tue, 4 May 2021 20:59:28 +0000 (20:59 +0000)]
[DCAE] Bump up to Dashboard 1.4.3

Fixes login issue introduced by commom/pg version upgrade
to crunchy-postgres:centos8-13.2-4.6.1

Change-Id: I31225be237d7aba4746765ef2529e8daf0ca42f8
Signed-off-by: vv770d <vv770d@att.com>
Issue-ID: DCAEGEN2-2751

2 years agoMerge "[SDC] Use Startup probes"
Krzysztof Opasiak [Thu, 13 May 2021 09:34:03 +0000 (09:34 +0000)]
Merge "[SDC] Use Startup probes"

2 years agoMerge "[MUSIC][CASSANDRA] Use Startup probes"
Krzysztof Opasiak [Thu, 13 May 2021 09:33:28 +0000 (09:33 +0000)]
Merge "[MUSIC][CASSANDRA] Use Startup probes"

2 years agoMerge "[PORTAL] Fix portal-app startup arguments"
Krzysztof Opasiak [Thu, 13 May 2021 09:25:23 +0000 (09:25 +0000)]
Merge "[PORTAL] Fix portal-app startup arguments"

2 years agoMerge "[CLI] Simplify cert retrieval script"
Krzysztof Opasiak [Thu, 13 May 2021 09:24:28 +0000 (09:24 +0000)]
Merge "[CLI] Simplify cert retrieval script"