summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2021-04-21Add missing k8s-rb-instance-release-name.jsonGrzegorz Wielgosinski1-0/+19
Issue-ID: CCSDK-3274 Signed-off-by: Grzegorz Wielgosinski <g.wielgosins@samsung.com> Change-Id: Ia90225fbe4a41e6afbdb62e0c43ac85d03d3df59
2021-04-11Merge "Fixed templating of values in k8s components"KAPIL SINGAL3-3/+3
2021-04-11Merge "vFW CNF Use Case Documentation changes"KAPIL SINGAL5-5/+438
2021-04-09vFW CNF Use Case Documentation changesLukasz Rajewski5-5/+438
vFW CNF Use Case Documentation changes with description of the role of CDS and CBA in the Day 0/1/2 operations. Issue-ID: CCSDK-3181 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I231130c74717f8ccdd5599443c8675ffb6f928c9
2021-04-09Fixed templating of values in k8s componentsLukasz Rajewski3-3/+3
Fixed templating of values in k8s components Issue-ID: CCSDK-3265 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: If6a10c9ae0157a873433f7c3e7c12d90eb5c2cf6
2021-04-07Remove trust all for BasicAuthRestClientServiceClaudio D. Gasparini1-18/+0
following global requirement expected in Istanbul, which forbids disabling host name verification Issue-ID: CCSDK-3245 Signed-off-by: Claudio D. Gasparini <claudio.gasparini@intl.att.com> Change-Id: I89c37a94cb3999a8f1813d3fc33958421b183de1
2021-04-05Merge "Fixing DockerFile to avoid IOException"KAPIL SINGAL12-94/+165
2021-03-30Extend Restconf executor functionClaudio D. Gasparini7-74/+366
provide capability to - execute a sorted array of restconf actions - mount odl restconf node Issue-ID: CCSDK-3241 Signed-off-by: Claudio D. Gasparini <claudio.gasparini@intl.att.com> Change-Id: I1999195f7b84a259d82f9c5aa31e9fa892e9c3df
2021-03-29Fixing DockerFile to avoid IOExceptionSingal, Kapil (ks220y)12-94/+165
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
2021-03-27Merge "Address some pendings items for SSLBasicAuthRestClient"KAPIL SINGAL5-27/+50
2021-03-25Address some pendings items for SSLBasicAuthRestClientClaudio D. Gasparini5-27/+50
- FIXME under SSLBasicAuthRestClientProperties - TODO under SSLBasicAuthRestClientPropertiesBuilder Issue-ID: CCSDK-3235 Signed-off-by: Claudio D. Gasparini <claudio.gasparini@intl.att.com> Change-Id: If00c7491573c69eb5d3f9192f54c7b384943abf7
2021-03-25Fixed K8s HealthCheck API issueLukasz Rajewski2-21/+94
Fixed K8s HealthCheck API issue Issue-ID: CCSDK-3230 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Ic341cc7ef36d5fe86cf2b74813bb1f8fc0842f6f
2021-03-24Fixed bug when k8s profile is created for default k8s versionLukasz Rajewski4-1/+53
Fixed bug when k8s profile is created for default k8s version Issue-ID: CCSDK-3239 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Ibc0c8a6057b4b9eef3beb1821093b935f3b2e53b
2021-03-24Merge "Add new elements of starter dictionary for vFW CNF CBA"KAPIL SINGAL6-2/+118
2021-03-23Add new elements of starter dictionary for vFW CNF CBALukasz Rajewski6-2/+118
Add new elements of starter dictionary for vFW CNF CBA Issue-ID: INT-1870 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I83d36de9e14316c1c95cbb78e69527802d2a6373
2021-03-23Fix Certificate Exception when using BasicAuthRestClientServiceClaudio D. Gasparini1-0/+18
by using TrustAllStrategy Issue-ID: CCSDK-3234 Signed-off-by: Claudio D. Gasparini <claudio.gasparini@intl.att.com> Change-Id: I7ee63739b4f1d7a4ddbc618ba660704aa058752a
2021-03-22Bug fixes for config template and config value componentsLukasz Rajewski10-69/+221
Issue-ID: CCSDK-3232 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I817d83001a76ba480472c7aa2da15eba65b39c20
2021-03-19Prohibit cycles in imperative workflowsJozsef Csongvai4-13/+107
Issue-ID: CCSDK-3221 Change-Id: I767003dde40c0fc53a673c4a41cb2430624d7b04 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2021-03-19Merge "Print process name with UAT assert error message"KAPIL SINGAL1-8/+8
2021-03-19Merge "Add UAT for imperative workflow"KAPIL SINGAL12-0/+918
2021-03-19Merge "Refactoring to enable on_failure for imperative workflow"KAPIL SINGAL49-99/+129
2021-03-18ComponentRemotePythonExecutor prepareEnv bugOleg Mitsura1-37/+11
Issue-ID: CCSDK-3086 commit 1: orig commit commit 2: update retry counter commit 3: bug fix for packages being null should still trigger creation of python environment Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: Id9e7024df8c604c719828211cce31d6f0452330b
2021-03-17Print process name with UAT assert error messageJozsef Csongvai1-8/+8
Issue-ID: CCSDK-3220 Change-Id: I6ea56454f777017d78bed0bd1755611dac5d5255 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2021-03-17Add UAT for imperative workflowJozsef Csongvai12-0/+918
Issue-ID: CCSDK-3219 Change-Id: I7b6e619fb60e687885b5545ba323bd7bb15ec209 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2021-03-17Refactoring to enable on_failure for imperative workflowJozsef Csongvai49-99/+129
BlueprintError needs to associate errors with the steps in which they occurred in order for imperative workflow to handle on_failure properly. Made stepName more accessible and corrected places where stepName was assigned to nodeTemplateName. Issue-ID: CCSDK-3219 Change-Id: I7e5805745c63558cff6be533e1b99c32ad06c3db Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2021-03-16Assign a unique worker ID for CDS Kafka workerJulien Fontaine7-37/+113
* Modified CDS Kafka workers to add the 5 lasts characters of the env var HOSTNAME to their worker ID. * Small refactoring to move some utilitary functions to BlueprintMessageUtils Issue-ID: CCSDK-3204 Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca> Change-Id: Iaacd35e9cbe4705d17548518040c679185eaf30a
2021-03-15Added missing elements of starter dictionary for CNF CBALukasz Rajewski10-0/+246
Added missing elements of starter dictionary for CNF CBA Issue-ID: CCSDK-3211 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Ib0ae251e26ccfab08e9c402d9e22bf5e9af29109
2021-03-09Add delete endpoint for config snapshot APIJulien Fontaine4-1/+124
Add delete endpoint to delete config-snapshots based on resource-type, resource-id and resources-status. Issue-ID: CCSDK-3205 Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca> Change-Id: Id7954694bc93beba08a79139834cb6477cb8e44b
2021-03-09Roll master version for IstanbulDan Timoney66-68/+68
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
2021-03-04Release version 1.1.1 of CDS dockersDan Timoney67-66/+83
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
2021-03-04Release version 1.1.1 of CDS maven artifactsDan Timoney1-0/+5
Release new CDS artifacts 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: I4bf854aa826ed8ae4fead35da9bec6aa422d1c73
2021-03-03Fix PY compiled proto files.Oleg Mitsura6-140/+56
Issue-ID: CCSDK-3192 py-modules/common/proto files contain some binary data, plain rename bluePrint-> print wouldn't work. Had to recomipe .proto files from model-catalog/proto-defintion/proto and place them into py-modules.... Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: If5504de697dab3d99f27d06406e6453c9dd089e6
2021-03-02Fix import error in commandexecutorDan Timoney1-1/+1
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
2021-02-24Add rollback and update functionality for config-value component.Grzegorz Wielgosinski3-48/+93
Issue-ID: CCSDK-2922 Signed-off-by: Grzegorz Wielgosinski <g.wielgosins@samsung.com> Change-Id: I7384aa3d99fe273454e3acf2f933add0fb07a66c
2021-02-23Release version 1.1.0 docker containers and roll to next versionDan Timoney67-67/+84
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
2021-02-23Release version 1.1.0 of cds maven artifactsDan Timoney1-0/+5
Release version 1.1.0 of CDS maven artifacts Issue-ID: CCSDK-3179 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ie59f77255d3cc7bb9ed3a68e039760394bfbd716
2021-02-22Merge "Revert removal of surefire plugin in test-blueprint-kotlin-parent"KAPIL SINGAL1-0/+26
2021-02-22Revert removal of surefire plugin in test-blueprint-kotlin-parentJozsef Csongvai1-0/+26
This was accidentally removed during java 11 upgrade. Without the plugin in this pom, mvn test will not work. Issue-ID: CCSDK-3178 Change-Id: I756092a4b71f4bfe75aae3ec6c276a0afc39fde4 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2021-02-22Add missing component-k8s-config-value.jsonGrzegorz Wielgosinski1-0/+65
Issue-ID: CCSDK-2922 Signed-off-by: Grzegorz Wielgosinski <g.wielgosins@samsung.com> Change-Id: I1744611cdbabd067c4610a97e724acf5add8e2ef
2021-02-20Merge "Wrap day2 api and create configuration-value component"KAPIL SINGAL6-17/+397
2021-02-19K8sPlugin Query API endpoint addedLukasz Rajewski1-0/+29
K8sPlugin Query API endpoint added Issue-ID: CCSDK-3146 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I10abfd986de0df0069b258276fe0ec0fc9b76bff
2021-02-19Wrap day2 api and create configuration-value componentGrzegorz Wielgosinski6-17/+397
Issue-ID: CCSDK-2922 Signed-off-by: Grzegorz Wielgosinski <g.wielgosins@samsung.com> Change-Id: Idef821362af9351c8ae48accc616f744f0b462d6