Age | Commit message (Collapse) | Author | Files | Lines |
|
- add checkbahims to tox.ini default profiles
- remove -f options to unforce bashisms detection in explicit bash
scripts and to differentiate treatments between bash and sh
- migrate #!/bin/bash shebangs to #!/bin/sh for scripts without bashisms
The following scripts have not been migrated since they still use
bashisms difficult to migrate (mostly arrays - more details below)
./kubernetes/common/mariadb-init/resources/config/db_init.sh
./kubernetes/portal/components/portal-mariadb/resources/config/ \
mariadb/docker-entrypoint.sh
./kubernetes/helm/plugins/deploy/deploy.sh
./kubernetes/helm/plugins/undeploy/undeploy.sh
./kubernetes/sdnc/components/sdnc-prom/resources/bin/ensureSdncActive.sh
$ find . -not -path '*/\.*' -name *.sh -exec checkbashisms -f {} + 2>&1\
| grep line | cut -d' ' -f 7- | sort | uniq -c | sort -k1,1nr
18 (bash arrays, ${name[0|*|@]}):
2 (declare):
1 ($FUNCNAME):
1 (shopt):
1 (trap with ERR|DEBUG|RETURN):
https://mywiki.wooledge.org/Bashism#Arrays
https://mywiki.wooledge.org/Bashism#Special_Variables
https://mywiki.wooledge.org/Bashism#Builtins
https://www.oilshell.org/release/0.5.alpha2/test/spec.wwz/builtin-trap.html
Issue-ID: OOM-2643
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: Id06ad1d45004321a293bdd26038d8da5f7b6b4ac
|
|
with the following command
$ find . -not -path '*/\.*' -name *.sh -exec sed -i 's/\t/ /g' {} +
then realign manually what deserves it and in particular,
unindent some EOF scripting tags so they do not trigger errors.
Issue-ID: OOM-2643
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Ibfa463ec8083d5a39de18a54d9c1d8746710fe03
|
|
When installing SDNC in a local DB, the execution of the DB
initialisation job fails as the user already exists and granting the
privileges to the DB is not executed.
This patch will only create the user and DB if not already present.
Issue-ID: OOM-2705
Signed-off-by: andreasgeissler <andreas-geissler@telekom.de>
Change-Id: Iabfc90829cea1f98181caf3367c8f2b78de96c7f
|
|
remove wrong daexim link
Issue-ID: SDNC-1475
Change-Id: I52d1da10082a6fee846461ce18fc0913aea85e18
Signed-off-by: demskeq8 <alexander.dehn@highstreet-technologies.com>
|
|
In OpenDaylight, there are three types of data that we want to retain:
- exported backups (stored in /opt/opendaylight/daexim)
- journals (stored in /opt/opendaylight/journal)
- snapshots (stored in /opt/opendaylight/snapshots)
This change saves all 3 directories to the sdnc persistent
volume so that they are retained across restarts.
Issue-ID: SDNC-1455
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I6b068c7a7bce294f94f9697a34027010bb5bfe8f
|
|
This hook is not really used and slows down ONAP installation.
Issue-ID: OOM-2652
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I3693615a8af53da51d12d3a735f0bf183e59626b
|
|
remove startup scripts
Issue-ID: OOM-2610
Signed-off-by: Alexander Dehn <alexander.dehn@highstreet-technologies.com>
Change-Id: Ia09de604cc502ecbbd7575cd5dd2374f253820ed
|
|
Signed-off-by: Jakub Latusek <j.latusek@samsung.com>
Change-Id: Ia390319f744931f435615af49246c0e13cdb8564
Issue-ID: OOM-2562
|
|
Changes for 111973
Issue-ID: SDNC-1136
Signed-off-by: esobmar <mariusz.sobucki@est.tech>
Change-Id: If185ee3658b8f51a969bb3505f8bfb163cfea2a3
Signed-off-by: egernug <gerard.nugent@est.tech>
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
[Access EJBCA secret from cert service]
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
|
|
fix issue in startOdl.oom.sh
Issue-ID: OOM-2561
Signed-off-by: Alexander Dehn <alexander.dehn@highstreet-technologies.com>
Change-Id: I1760155bf250dd7e3dd1c816b65df9b9c245de24
|
|
SDNC entrypoint script sets up several environment variables
including configfiles dir. Recent addition of AAF configfiles
broke expected path for used properties files. This could be
noticed with example error from karaf logs:
org.onap.ccsdk.sli.core.sli.SvcLogicException: Cannot read property file: /opt/app/osaaf/local/generic-resource-api-dg.properties: /opt/app/osaaf/local/generic-resource-api-dg.properties (No such file or directory)
Issue-ID: SDNC-1147
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: Ifcfde9abef1c12a7b8d1009f346d313b8fe57f44
|
|
Some passwords are still hardcoded but with this commit all components
should be using passwords provided via secrets not directly as strings.
A follow-up patch will remove hardcoded passwords where feasible.
Issue-ID: OOM-2309
Change-Id: I047974506430cbb277200d0103bcc57a6fd8a83b
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
|
|
Add support for AAF init container for config and cert generation
Issue-ID: SDNC-755
Signed-off-by: Agarwal, Ruchira (ra1926) <ra1926@att.com>
Change-Id: I06ee7921b6dbb1b4b9ca64cf276a374256af3a45
Signed-off-by: Agarwal, Ruchira (ra1926) <ra1926@att.com>
|
|
Updated sdnc helm chart to initialize database from an init container
instead of initializing in startup script.
Change-Id: I4133c70a5805227d89eef84e46bea8555bf8133d
Issue-ID: SDNC-797
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
|
|
Changes have been made in the sdnc/oam
repo that have not been refelected in
the oom repo and this file needs to be
updated so both scripts will be the same
in each repo.
Issue-ID: SDNC-766
Change-Id: I61ef6a09b9ddc3422c0f85ae89d13eb240361f6a
Signed-off-by: DarraghEgan <darragh.egan@est.tech>
|
|
|
|
Change-Id: I41330836901ccf1fcbdd0f9d6e720ce13ea3a9ea
Issue-ID: OOM-1651
Signed-off-by: Mahendra Raghuwanshi <mahendra.raghuwanshi@amdocs.com>
|
|
Add SDNR feature and adjust netconf for cluster
Change-Id: Idec95539d0becc2f4c09e71e4b66616328775956
Issue-ID: SDNC-721
Signed-off-by: Herbert Eiselt <herbert.eiselt@highstreet-technologies.com>
|
|
This is for the post operation of keystore to add
new keystore to odl while it's coming up and also
to add certificates and keys that are available
to odl's keystore and truststore
When sdnc/oam gets mounted and so does oom repo,
the startODL.sh in the oam repo gets overwritten
by the startODL.sh in the oom repo. This change
updates the startODL.sh so both scripts will be
the same in each repo
Issue-ID: SDNC-665
Change-Id: Ie9096c4d68e8c0c88682d188194c386e69b0108d
Signed-off-by: DarraghEgan <darragh.egan@est.tech>
|
|
Updated start script so that initialization of local file system is
handled by a local lockfile, while initialization of database is
handled by a lockfile on persistent volume.
Change-Id: I5ef6aa672f0863bf0d6b656b7445b42d3fbe12e5
Issue-ID: SDNC-525
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
|
|
Store .installed marker in persistent volume (/opt/opendaylight/current/daexim)
Change-Id: If54d40225e8eb30bcd3f133801726ae5f90b02a2
Issue-ID: SDNC-518
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
|
|
Also added missing "server" keyword to karaf start
Change-Id: I765efd1411a26f8e00302c882ae3d61402c1c0c3
Signed-off-by: jmac <james.macnider@amdocs.com>
Issue-ID: SDNC-347
|
|
Update image versions to 1.4-STAGING-latest
Update startODL.sh script to eliminate restart of ODL container
Change-Id: Iaef4aaea243974f97060b73c81dedce990108180
Issue-ID: SDNC-394
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
|
|
Change-Id: Id080f24fe337025fe4d4fff7d9e2d7e66994d427
Signed-off-by: jmac <james.macnider@amdocs.com>
Issue-ID: SDNC-291
|
|
Issue-ID: SDNC-290
Change-Id: I68776259f5950d07e3b2c76b046d2b8b596bbc34
Signed-off-by: Trevor Tait <rtait@amdocs.com>
|
|
Issue-ID: SDNC-286
Change-Id: I223e97c634deac5d235701f30e755b86b13a27ad
Signed-off-by: Trevor Tait <rtait@amdocs.com>
|
|
Change-Id: Ieccbd863e45bb68d76f4f1f066433276c9adf3cd
Signed-off-by: jmac <james.macnider@amdocs.com>
Issue-ID: OOM-945
|
|
|
|
Change-Id: I2a51a9f5b298346bf0f748d11a4eb723bdfc946a
Signed-off-by: jmac <james.macnider@amdocs.com>
Issue-ID: OOM-899
|
|
Change-Id: I5507d23ff62c9d5d5d19f86374ea91ccea2e95a9
Signed-off-by: jmac <james.macnider@amdocs.com>
Issue-ID: OOM-887
|
|
Change-Id: I9f4d43c2a3f0766b9c8477a180f5a0bd45fde243
Signed-off-by: jmac <james.macnider@amdocs.com>
Issue-ID: OOM-748
|