aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-01-20rb-version changed to vf-module-model-customization-uuidMaciej Lisowski6-10/+10
rb-version changed to vf-module-model-customization-uuid to be aligned with Istanbul version Issue-ID: CCSDK-3570 Signed-off-by: Maciej Lisowski <m.lisowski2@partner.samsung.com> Change-Id: Ieb30aaf83e498e842bafdb3006b74d3f45317368
2022-01-03Upgrade to log4j2 2.17.1Dan Timoney1-1/+1
Update to use version 2.17.1 to resolve log4shell vulnerability Issue-ID: CCSDK-3556 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I9febd972ef9cee30361894ed11de13f3fb375f91
2021-12-13[SDC Client] Allow HTTPSylvain Desbureaux7-12/+73
By default, SDC client is using only https, which can be problematic when used on top of service mesh for example. Let's override isUseHttpsWithSDC in order to allow use of http thanks to a configuration variable. Issue-ID: OOM-2258 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I029f1dc802bba647b8088fb61a5e60680337aa00
2021-12-13Update formatter-maven-plugin to latest versionDan Timoney1-2/+2
Update version of formatter-maven-plugin Issue-ID: CCSDK-3555 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ib344878ef704a5781e92c8974e8f32a15ece7d6e
2021-12-07Revert "Explicitly set NPM registry to public registry"Dan Timoney2-2/+0
Revert workaround to allow LF IT to test proposed fix Issue-ID: CCSDK-3536 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ic93b5ab8a21e97af8a9484789599c3da611a5436
2021-11-30CCSDK-3531 improve cmd-exec returned err msgOleg Mitsura10-117/+232
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
2021-11-29Merge "Correct dynamic properties grpc json serializing"KAPIL SINGAL1-1/+1
2021-11-29Change load configuration paths for modeltype and resourcedicitonaryfarida azmy1-3/+3
Issue-ID: CCSDK-3516 Signed-off-by: farida azmy <farida.azmy.ext@orange.com> Change-Id: Ibebff38d43b6e2db6f8a0ec38483a691e3ea3449
2021-11-29Correct dynamic properties grpc json serializingAbdelmuhaimen Seaudi1-1/+1
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
2021-11-29Explicitly set NPM registry to public registryDan Timoney2-0/+2
Explicitly set NPM registry to public registry https://registry.npmjs.org Issue-ID: CCSDK-3536 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Id441b70a7543b410b2246e692cad0b2b47ca7fdb
2021-11-02fix output type remains Otherfarida azmy1-0/+5
Issue-ID: CCSDK-3517 Signed-off-by: farida azmy <farida.azmy.ext@orange.com> Change-Id: Iabfd95f9bb4e8b73271b2bb413d6d1175a545b08
2021-10-28Use version 2.3.0 of parent pomsDan Timoney1-1/+1
Use released version 2.3.0 of parent pom to avoid compile errors due to removing aged-out snapshot version Issue-ID: CCSDK-3511 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I62764383fca1030bf9bbcaa19ae8ce076ed323f7
2021-10-22Merge "Add missing code for Metrics and PV/PVC elimination"Dan Timoney11-14/+50
2021-10-20Add missing code for Metrics and PV/PVC eliminationJozsef Csongvai11-14/+50
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>
2021-10-20Add home directory for onap user in command-executor dockerfileJozsef Csongvai1-1/+1
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>
2021-10-15Use latest version of frontend-maven-pluginDan Timoney3-3/+3
Update to use latest version of frontend-maven-plugin to try to address npm failures on Jenkins. Issue-ID: CCSDK-3498 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Id2775b77008f68cd85eeca53580a4bdf469f75de
2021-09-29Merge "Metrics on command-executor blueprints processor side"Dan Timoney3-25/+73
2021-09-21Metrics on command-executor blueprints processor sideMichael Pruss3-25/+73
Issue-ID: CCSDK-3471 Signed-off-by: Michael Pruss <michprus@amdocs.com> Change-Id: I871a032ff5c9ebfd408aaa28a7d24185dee7c953
2021-09-21Roll versions for JakartaDan Timoney71-17888/+183
Roll versions to set up for Jakarta release Issue-ID: CCSDK-3470 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ia341d92b79acd758cc9d16f24a83399d1a8a1c5b
2021-09-16Release version 1.2.0 maven artifactsDan Timoney69-68/+73
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
2021-09-16Release version 1.2.0 docker containersDan Timoney1-0/+17
Release version 1.2.0 docker containers for CDS Issue-ID: CCSDK-3444 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I5ce1176e2ee71515455a63f89b5d3d54492824b1
2021-09-16Use version 2.2.1 of CCSDK parent pom1.2.0Dan Timoney1-1/+1
Use released version 2.2.1 of CCSDK parent pom Issue-ID: CCSDK-3444 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I38e87f34feacb194c30e54f61a02ebf3606dfb49
2021-09-13Fix versionDan Timoney1-1/+1
Should use project.version property for internal references, not hard-coded value. Otherwise, staging and docker builds break. Issue-ID: CCSDK-3460 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I5e9ac3b302f7b3c8a7ce8bc6f166f1a4c56af4f5
2021-09-12Add requests library to cds-command-executor dockerAbdelmuhaimen Seaudi1-1/+1
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
2021-09-11Merge "Upgrading velocity version to v2.3 due to some vulnerabilities in ↵KAPIL SINGAL5-5/+21
previous version"
2021-09-11Merge "CCSDK-3451 Prometheus Metrics for command-executor"KAPIL SINGAL4-5/+83
2021-09-10Upgrading velocity version to v2.3 due to some vulnerabilities in previous ↵meriem zidane5-5/+21
version Issue-ID: CCSDK-3430 Signed-off-by: Meriem Zidane <meriem.zidane@bell.ca> Change-Id: I82dad1c2dd7f8e4cc5712e9fddde5b1bb5429b7f
2021-09-08Merge "Use cert-initializer truststore instead of hard-coded ONAP Root CA"Dan Timoney1-2/+7
2021-09-08Use cert-initializer truststore instead of hard-coded ONAP Root CAwdgp04241-2/+7
Issue-ID: CCSDK-3356 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> Change-Id: I68582d2abae2a1e320ce243406fb5d932c34fb75
2021-09-01CCSDK-3451 Prometheus Metrics for command-executorKuldip Rai4-5/+83
Issue-ID: CCSDK-3451 Signed-off-by: Kuldip Rai <kuldip.rai@bell.ca> Change-Id: Ibd11257037ec6f1941b5dee08cc97177b2c798c9
2021-09-01Merge "Upgrade hazelcast version"KAPIL SINGAL2-2/+2
2021-08-31Upgrade hazelcast versionmeriem zidane2-2/+2
Upgrade hazelcast version from 4.0.3 to 4.2.2 Issue-ID: CCSDK-3429 Signed-off-by: meriem zidane <meriem.zidane@bell.ca> Change-Id: I560e3970f84210d3c0e8c8f5eb569b5f2cf556e0
2021-08-27CCSDK-3434 CBA workflow status storeKavitha P36-7/+2038
Change-Id: Iaeac6fa534c569bbc152e6c8a78c2dd23b6c4b1a Signed-off-by: Kavitha P <pkavitha@aarnanetworks.com> Issue-ID: CCSDK-3434
2021-08-25CCSDK-3435 cds py executor log persistencechsailakshmi2-6/+30
Change-Id: If83db093e3b331a7f2f45435648aad142a2f78d5 Signed-off-by: chsailakshmi <sailakshmi@aarnanetworks.com> Issue-ID: CCSDK-3435
2021-08-23Version upgradesDan Timoney2-3/+6
Upgrade versions to address security vulnerabilities detected by Nexus IQ scan Issue-ID: CCSDK-3415 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ibef910a025cbe5827d4c7d18ad57e5f233eca73a
2021-08-05Ignore unknown fields from the k8splugin API responsesLukasz Rajewski10-0/+25
Ignore unknown fields from the k8splugin API responses Issue-ID: CCSDK-3400 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I9d184a0a4369848221cce56e164162b55edb3c5a
2021-08-03Move netty-ssl definition to springboot parentDan Timoney1-1/+2
Move definition of netty ssl version to springboot parent pom so that it can be kept in sync with spring boot Issue-ID: CCSDK-3291 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I4f5dd414ab50f023126a4e2d62f72124fc5c3284
2021-07-28Revert "Renaming Files having BluePrint to have Blueprint"Jozsef Csongvai474-7905/+8027
The renaming in CCSDK-3098 caused breaking changes to the grpc api and compile issues for kotlin scripts. Issue-ID: CCSDK-3385 Change-Id: I0d745cb858371678eabcb2284671c1fd76a1ab6d Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2021-07-27Removed redundant timeout handling for executeCommandJulien Fontaine1-19/+3
executeCommand was called from a GlobalScope.async coroutine to handle executeCommand timeout. Execution timeout is already handled on the gRPC side, there's no need to handle this timeout by wrapping the gRPC call with a coroutine timeout. When a lot of long running processes in executeCommand were running, it was causing process to queue on BP side to get their executeCommand executed because all the capacity of couroutines were being used by some long running process. This was causing a delay on the execution of prepareEnv and executeCommand and would even some time make those process timeout because of component timeout. Issue-ID: CCSDK-3386 Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca> Change-Id: If3aef4b6b65006e874525436bf3f6d1b1a3d8c9a
2021-07-21Fix typosFrank Grutzmacher1-4/+4
Issue-ID: CCSDK-3371 Signed-off-by: Frank Grutzmacher <frank.gruetzmacher@t-systems.com> Change-Id: I367b59b2986b4a02acbcbe73fb3376002c81fdc4
2021-06-23Add Request ID and Sub Request ID to CDS kafka logsJulien Fontaine3-22/+23
Improved log message when a message is published or consumed by CDS Kafka to specify the RequestID and SubRequestID. Issue-ID: CCSDK-3348 Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca> Change-Id: I50e068d9aa36df8fe4ee5f0f6a8e9bd7a1209467
2021-06-14Adding maven-deploy-plugin to archtype-blueprintSingal, Kapil (ks220y)2-2/+13
Issue-ID: CCSDK-3334 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I45e56d5b3e837888f561f707a233a995ff135ce9
2021-05-27Update CBA contentsebdet3-6/+6
The policy name initially created and deployed in PAP has been changed. It's now SDNC_Policy.ONAP_NF_NAMING_TIMESTAMP instead of SDNC_Policy.Config_MS_ONAP_VNF_NAMING_TIMESTAMP So this must be changed in the different CBA packs (vFW, vLB_CDS_Kotlin, vLB_CDS_RESTCONF) Issue-ID: CCSDK-3319 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I65f0646ac3e747f4a36329e5ef52c0544e2bd04f
2021-05-21Create a CBA boilerplate by leveraging the use of maven archetypeskuldipr9-0/+382
An archetype is a very simple artifact, that contains the project prototype you wish to create. Idea here is to provide better user experience when it comes to setup, configuration and testing of CBAs. With just one maven command 'mvn archetype:generate' use can have boilerplate cba ready to be explored, deployed and published. Issue-ID: CCSDK-3311 Signed-off-by: kuldipr <kuldip.rai@amdocs.com> Change-Id: Id02f641a37c8f1768226b503c4e18a3a447c05da
2021-05-13Add MS SQL driver in CDS blueprints andPrudence Au6-5/+81
DB resolution fails on an empty dataset with required template mapping. Issue-ID: CCSDK-3293 Issue-ID: CCSDK-3294 Signed-off-by: Prudence Au <prudence.au@amdocs.com> Change-Id: I9f302d12e7359b62180fcdfddbd8ae2c993a8324
2021-04-28Merge "Fixed error when uploading CBA when Hazelcast cluster is not initialized"Dan Timoney1-4/+2
2021-04-28Fixed error when uploading CBA when Hazelcast cluster is not initializedJulien Fontaine1-4/+2
Hazelcast is used to enable CDS pods to notify the rest of the CDS cluster when a CBA got updated locally so they clean their compile cache (if they have an entry for that CBA). Though, the code doesn't make sure that hazelcast cluster is fully initialized before trying to notify using a hazelcast topic. Fixed that error by making sure that the cluster is fully initialized before pushing notification to hazelcast topic. Issue-ID: CCSDK-3277 Change-Id: I44211c63c5a991269005bcc238f18b19979cb718 Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca>
2021-04-28Add check for cluster status to readiness endpointJozsef Csongvai1-3/+14
When Cluster is enabled, BlueprintsProcessor should not process any requests until cluster is fully joined. Issue-ID: CCSDK-3275 Change-Id: I779159346976f7af0c0add69883f27d7f359f413 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2021-04-26Fix for CCSDK-3271 added kotlin compiler option java 11vmuthukrishnan@aarnanetworks.com1-0/+2
Issue-ID: CCSDK-3271 Change-Id: I9c007c9e332206fb1631442d6acfd41a1e57a882 Signed-off-by: vmuthukrishnan@aarnanetworks.com <vmuthukrishnan@aarnanetworks.com>
2021-04-22Fix grpcProperties resolution for String valuesJozsef Csongvai1-2/+3
When a CBA defines a String selector, it will be passed as TextNode. This enables using using application properties to define grpcClientProperties for py executor. Issue-ID: CCSDK-3272 Change-Id: Id4fcd4f43306e385458eb4decbb07f923a957cc0 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>