Age | Commit message (Collapse) | Author | Files | Lines |
|
Release version 1.4.0 of ccsdk/cds artifacts and roll to next snapshot
Issue-ID: CCSDK-3754
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
Change-Id: I2b3844a40f94885b3ad08847f6a8145950ac46e0
|
|
Issue-ID: CCSDK-3720
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: I206bfb1ed165ccb4c1c360732e6781ccfe9b971c
|
|
Issue-ID: CCSDK-3682
protobuf gets updated to a later version (without pinning), which is not compatible
with protoc, as well as we need to keep it consistent with SO proto version.
Change-Id: I7b35503e7f2997cc56e131ad4775a41a942eeac5
Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
|
|
Update versions in master branch for Kohn release
Issue-ID: CCSDK-3641
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I78cbfb5ec5175e87233f263422f7323b22d352de
|
|
Issue-ID: CCSDK-3632
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: I351203e1935ccee9327edf39b9809b873e391f86
|
|
Release Jakarta M4 version of CDS maven artifacts and roll to next snapshot
Issue-ID: CCSDK-3604
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I3335ce0e3f6995c350c5a87691e9922204a67dcb
|
|
Issue-ID: CCSDK-3531
Improve end-user CBA's Python scripts ability to return
error messages on failues.
See JIRA story for examples: https://jira.onap.org/browse/CCSDK-3531
adds functions send_response_err_msg(err_message)
and send_response_err_msg_and_exit(ret_err_msg, code=1)
Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Change-Id: Ideda64dd108f987c3c4515c70daf9f7b6d2b1f2f
|
|
Correct the json serializing and escaping in command executor
for grpc server
Issue-ID: CCSDK-3521
Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>
Change-Id: I5d0c9fbb7190e8de52bf954ef1af29a6f854f685
|
|
|
|
Earlier patch introducing MeterRegistry to AbstractComponentFunction
was not initializing the lateinit property and causing NPE.
Also add additional code to handle compatibility issues after the
introduction of PV/PVC elminiation for CommandExecutor. This allows
blueprintsprocessor to communicate with earlier versions of command-
executor which still use the shared pvc.
Issue-ID: CCSDK-3471
Change-Id: I84a04601c4fe09c5f3a06664ce877800a30531f1
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
|
|
Without a home directory, pip install would fail for CBAs that require
additional modules.
Issue-ID: CCSDK-3477
Change-Id: If99790a0c8c015639c489e9a498f8df8da4cbe77
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
|
|
Roll versions to set up for Jakarta release
Issue-ID: CCSDK-3470
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: Ia341d92b79acd758cc9d16f24a83399d1a8a1c5b
|
|
Release version 1.2.0 maven artifacts for CDS and roll version
Issue-ID: CCSDK-3444
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I3e5beebd0e2aedb7d6f69ad854af879c20308c17
|
|
Add requests to Dockerfile for command executor helps running in offline installation
Issue-ID: CCSDK-3456
Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>
Change-Id: I9b3a34ea40c4f1127c169c23bd7107e6a469b8a6
|
|
Issue-ID: CCSDK-3451
Signed-off-by: Kuldip Rai <kuldip.rai@bell.ca>
Change-Id: Ibd11257037ec6f1941b5dee08cc97177b2c798c9
|
|
chown on /opt isn't enough as files/directory permissions needs change so that onap user can access to execute
Even if chown onap:onap was done, it was failing to create/run script due to permission issues
Adding noCache to docker-maven-plugin so that it won't pick cached layers
Issue-ID: CCSDK-3224
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: Idf56465eff6fa42b523bccfca56f84e93496a8d2
|
|
Roll versions of ccskd parent poms to 2.2.0-SNAPSHOT and of ccsdk/cds
to 1.2.0-SNAPSHOT for Istanbul release
Issue-ID: CCSDK-3190
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: Iab0bf047c8d2e4ddaaadf2e6278917ed2de338e5
|
|
Release new CDS dockers to correct issues found with release 1.1.0
dockers.
Issue-ID: CCSDK-3192
Issue-ID: CCSDK-3197
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I3bc1acbb93f0bb95ef14a6565e66d8da7a5df21d
|
|
Fixed bad import statement, which causes command executor to fail
on startup.
Issue-ID: CCSDK-3197
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I645562fcce9164a52a45a33f61019b9bb2c5a150
|
|
Release version 1.1.0 docker containers and roll to next version
Issue-ID: CCSDK-3179
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I2518ba1dd5a4bd926499867f5f9714bc3f716732
|
|
Issue-ID: CCSDK-3086
1. initial commit
2. fix accidental paste / rebased
cleaned up unneeded validation call in cmd-exec upload
Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Change-Id: Ife5460c5be59aa8d8592d82099b27c507b08c6c6
|
|
using "--no-cache-dir" flag in pip install ,make sure downloaded
packages by pip don't cached on system . This is a best practice
which make sure to fetch from repo instead of using local cached one .
Further , in case of Docker Containers , by restricting 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: CCSDK-3071
Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
Change-Id: I9c957bda7fbcf631ce9be65bd5bcc41d2c9ada48
|
|
Upgrading base onap/ccsdk-alpine-j11-image to version 1.1.0
Issue-ID: CCSDK-3053
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: I135893a4ab1d4d3f7c1297d6e66de133bd3c7150
|
|
Issue-ID: CCSDK-2877
Signed-off-by: ShaabanEltanany <shaaban.eltanany.ext@orange.com>
Change-Id: I281e5781730ef77e63c27bf465b92648d814c83c
|
|
Roll to initial Honolulu version
Issue-ID: CCSDK-2742
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I563033c6c93a4121219eaa1d7bb8a026e9e490d4
|
|
Fixing dockerFile and related items
Refactoring pom properties
Issue-ID: CCSDK-2794
Change-Id: Ib9d3cc38c2db65778cef2590ab774035305a16fa
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
|
|
refactoring to use onap certified base image and combining run commands
Issue-ID: CCSDK-2794
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: Id31d5a0018cbce14e54f4aa3e5caebb75dda2276
|
|
Copying starting script to respective dir as root and then running as user onap
Issue-ID: CCSDK-2794
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: I2b3c27cc8e3a378f9ceeeb0de62f81de9fc38c6b
|
|
Issue-ID: CCSDK-2787
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: Ica64f0c793beabb47950c7bf1eede63a0dbf3cea
|
|
* Update gRPC interface to handle SubRequestID and Originator ID
* Update command-executor log format to handle request IDs in the log statement
* Add SubRequest ID and Originator ID in BP log statement
Issue-ID: CCSDK-2687
Change-Id: If261bb0912df5800ed2fc65371c5ee784d6a45fb
Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca>
|
|
Add a test to check if dynamic properties are empty. If empty we don't pass them to the script.
Issue-ID: CCSDK-2614
Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca>
Change-Id: Iaa5a2b49e38d9a120fb193966af13f0843773e5f
|
|
Issue-ID: CCSDK-2535
Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Change-Id: I897678a5a8a23503a878f2d3eb836ba4597a6e6e
|
|
* Modified command exec returned value in case of failure during execution. It now prints the response_data defined by the user
* Modified truncation method of the gRPC returned object to use ByteSize() to get the exact sizxe consumed within the buffer
Issue-ID: CCSDK-2501
Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca>
Change-Id: Ie1db8db265623b5137ab3946ff4e3abda1c54a78
|
|
Changed error message to print the last execution log (if possible) when the executed script fails.
Issue-ID: CCSDK-2481
Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca>
Change-Id: I9df9dfeeaf95d98049c4f80f827deb85a29137da
|
|
This fixes permission issues with shared nfs volumes caused by
mismatch in dynamically assigned gid and uid between containers.
Issue-ID: CCSDK-2398
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
Change-Id: Ie47873c98211b280490ee7a6bcc60ceef49dd690
|
|
separation"
|
|
Refactoring of cmd-exec component
- Improve display of error messages within the response
- Fix gRPC buffer limitation (4Mb) by truncating error messages and cmd-exec logs if too heavy (>3Mb)
Truncation of BP responses (<4Kb) before sending them in kafka audit topics.
- Truncation if needed of error messages for every response
- Truncation of cmd-exec logs in cmd-exec responses
(Spike) Add a flag in the application.properties to enable/disable the display of cmd-exec responses on the BP side
(Fix) Correction of BP processing with kafka regression
(Fix) Changed default SSL Endpoint Algo
Issue-ID: CCSDK-2326
Change-Id: If4d0e661117d1dd156cf19c95774824e754d870a
Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca>
|
|
Non-root user addition
Change-Id: Id110aebea3d3526aaf319d8994670644a7bab698
Issue-ID: CCSDK-2149
Signed-off-by: jananib <janani.b@huawei.com>
|
|
|
|
Issue-ID: CCSDK-2049
Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Change-Id: I611fff488b339f03b85c58ed097525a0bcda35a3
|
|
Non-root user addition
Change-Id: I45ebc75940c020fdda79fbe454461a19df39c525
Issue-ID: CCSDK-2149
Signed-off-by: jananib <janani.b@huawei.com>
|
|
Remove unneeded backup files created by updParentVersion script
Issue-ID: CCSDK-2308
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I8d76b8ee3ccb2dbe563f22aadf1125f8226a104f
|
|
|
|
Issue-ID: CCSDK-2049
rev1. initial commit
rev2. added better logging/passing errors.
rev3. bugfixes
rev4. bugfix for CommandExecutorServer.prepareEnv return status was still returning bool.
(was caught only during a defective mariadb pip package install!)
Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Change-Id: Ifbddaeb0e15857f42b121af10e30e29dec5c20b2
|
|
Roll to next Guilin snapshot release
Issue-ID: CCSDK-2152
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I1a5ea68da8821ffe28ac84e60177af05e26b3585
|
|
Roll to next Frankfurt snapshot. Also, fixed config to skip sonar
for error-catalog, which has no scannable components. Sonar builds
were failing because error-catalog does not have standard maven
source and test directories (src/main, src/test)
Issue-ID: CCSDK-2152
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: Iacb76b240e71206de8306af7e2447eaa07b0d33b
|
|
Issue-ID: CCSDK-2108
virtualenv no longer has "writefile" function, also activate_this.py has changed.
we don't have time to investigate the impact right now, so doing this work-around.
Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Change-Id: I9503050163ba420cf0e39ded4d992a34bf5d0ae3
|
|
Issue-ID: CCSDK-1860
1. initial commit
2. rebased with return value
3. CDS_CORRELATION_ID
Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Change-Id: Ia64a0ee9c8eb60e3f39ec00ee17e7ab1b4aa3638
|
|
Also ensure that if environment preparation does not succeed the processing fails.
Issue-ID: CCSDK-1855
Signed-off-by: Serge Simard <serge@agilitae.com>
Change-Id: Iab2ec8b44a0e9e7edef68d0d5c13860eedc5be67
Signed-off-by: Serge Simard <serge@agilitae.com>
|
|
http_proxy is an environment configuration and should not be defined in
in the build script.
If you need to use a proxy to build docker images then add it to
the mvn command like this :
-Ddocker.buildArg.http_proxy=$PROXY -Ddocker.buildArg.https_proxy=$PROXY
Also adding http_proxy in the Dockerfile directly will add the
environment variable in the POD statically using the proxy the was
built with at runtime.
If a proxy is needed at runtime then the environment variables should be
injecting using helm charts and overrides.
Issue-ID: CCSDK-1877
Signed-off-by: Sebastien Premont-Tendland <sebastien.premont@bell.ca>
Change-Id: I2b99b277b594408c974cf29a5804384293776a22
|