aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-05-24API to resolve resources based on optional 'occurrence' optionskuldipr4-2/+270
User can specificy options to get firstN, lastN and by the Range (begin, end) of 'occurrence' to get the resolutions. If no options are specified, all the resolutions are returned in decending oder (latest on top). Map of resolutions are returned with 'occurrence' as the key to the corresponding list of resolutions. Issue-ID: CCSDK-3665 Signed-off-by: kuldipr <kuldip.rai@amdocs.com> Change-Id: I9ecbfb339bde76510e81cd695e03cc1e061396ee
2022-05-24Enable versioned resource resolution by using occurrencekuldipr6-8/+356
By setting occurrence to <= 0 in the CBA, a user indicates that each time resource resolution executes, it should produce a new set of values for a resolution-key or (resourceId, resourceType) pair. For each new execution, the occurrence is incremented to serve as the version number for the new set of values. Issue-ID: CCSDK-3663 Signed-off-by: kuldipr <kuldip.rai@amdocs.com> Change-Id: Ib535b20cb775dcbb5b02fe5a5f6904a335fda310
2022-05-23Merge "Enable force-resolution"Dan Timoney5-8/+34
2022-05-23Merge "CCSDK-3671 add workflows list for grpc"Dan Timoney10-55/+163
2022-05-20Merge "Resource endpoint should support occurrences"Jozsef Csongvai4-13/+29
2022-05-19Override Request ID in MDC ContextJulien Fontaine2-4/+16
Issue-ID: CCSDK-3676 Signed-off-by: kuldipr <kuldip.rai@amdocs.com> Change-Id: I6b0a816fcb40e149be1818f9edc9d4839f1a4cf6
2022-05-19Resource endpoint should support occurrencesKuldip Rai4-13/+29
The getOneFromResolutionKey endpoint would fail if there are multiple occurrences for a resource. Instead it should return the last occurrence. Issue-ID: CCSDK-3664 Signed-off-by: kuldipr <kuldip.rai@amdocs.com> Change-Id: I1468c41c164f64931ce719f9908b935baae6e1a4
2022-05-19CCSDK-3671 add workflows list for grpcOleg Mitsura10-55/+163
Issue-ID: CCSDK-3671 1. added grpc 'getWorkflows' for BlueprintManagement 2. during CBA upload, the workflows get cached to BLUEPRINT_MODEL.workflows 3. reworked HTTP endpoint to use above "/workflows/blueprint-name/{name}/version/{version}" 4. If CDS is upgraded, with existing CBAs present, fallback by parsing the CBA instead of DB lookup Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I68bebfe23c0b16ea288512f1087bfe1ceef57686
2022-05-19Enable force-resolutionOleg Mitsura5-8/+34
If force-resolution is set to true in a CBA, all resolved values and templates will be overwritten for the given resolution-key or resource-id & resource-type. Issue-ID: CCSDK-3670 Change-Id: I1859a7029a16190a6e691cb1fa0c76ced470279a Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2022-05-17Fix broken model-type API endpointJozsef Csongvai1-1/+1
The endpoint path was accidentally changed with CCSDK-3014, where a trailing slash was added to the path. This reverts the endpoint path, and is still compatible with requests that have a trailing slash. Issue-ID: CCSDK-3672 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I071e15a525750d3068c53ff9f5447c524cd44669
2022-05-16Re-enable formatting and fix formatting issuesJozsef Csongvai18-56/+61
Issue-ID: CCSDK-3657 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: Idd1871e82a319325b042c339741a66c06499692c
2022-04-28Update versions for Kohn releaseDan Timoney70-104/+105
Update versions in master branch for Kohn release Issue-ID: CCSDK-3641 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I78cbfb5ec5175e87233f263422f7323b22d352de
2022-04-14Update cmd-exec for Python 3.7kuldipr1-1/+2
Issue-ID: CCSDK-3632 Signed-off-by: kuldipr <kuldip.rai@amdocs.com> Change-Id: I351203e1935ccee9327edf39b9809b873e391f86
2022-04-13Closing artifact files after vtl templatingLukasz Rajewski3-3/+4
Issue-ID: CCSDK-3631 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I20972afeebafbc0ea47ee22c2ba9b32d760ebbb5
2022-04-13Merge "Return errormessages in failing imperative workflows"KAPIL SINGAL5-4/+55
2022-04-12Prevent stack overflow in BluePrintProcessingGRPCHandlerJozsef Csongvai1-5/+4
The overridden onError is called when a terminating error occurs in the stream, for example when the calling client crashes. It should not be handled the same way as CBA processing errors. Issue-ID: CCSDK-3496 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: Ib0aa416325a5b9708615e0ef9d9c602df24518b9
2022-04-12Return errormessages in failing imperative workflowsJozsef Csongvai5-4/+55
Instead of discarding error messages after each node has executed, they are now kept until the workflow completes. If the workflow completes without exceptions, it means that all errors were handled and the error messages can be cleared. If the workflow does complete with exceptions, all error messages will be propagated in the response. Also update UatExecutor to enable expected status codes other than 200. Issue-ID: CCSDK-3630 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I94fd81c342ad2a798e64051c603beb62bf1aaacd
2022-04-11Add bounds to sphinx requirementCédric Ollivier2-17/+10
As ONAP was created before Oct 20 2020 in RTD, we must set bounds to enforce a compatible Sphinx version (see manual). It also applied fixes which were applied during the previous release in all repos. Issue-ID: DOC-782 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I684efed16ac46552bfaa989ded2a4515ee6cc6a0
2022-04-09CCSDK-3472 Maven plugin support of velocity for CBA package creation in IDERudrangi Anupriya2-6/+1
Issue-ID: CCSDK-3472 Change-Id: I419ed795b3fdf31b35ed379010df44bdc4164d7b Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com>
2022-04-04CCSDK-3472 Maven plugin support of velocity for CBA package creation in IDERudrangi Anupriya1-0/+13
Change-Id: Iadfee3898ab2b8b746c0e10d8d04c0d6f862a3cb Issue-ID: CCSDK-3472 Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com>
2022-04-01CCSDK-3472 Maven plugin support of velocity for CBA package creation in IDERudrangi Anupriya6-0/+176
Change-Id: I873be858c44b3ca36f4e292e44a483a2af6e83f1 Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com> Issue-ID: CCSDK-3472
2022-03-29Release Jakarta M4 CDS maven artifactsDan Timoney70-69/+74
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
2022-03-29Release CDS Jakarta M4 dockersDan Timoney1-0/+17
Release Jakarta M4 version of CDS docker containers Issue-ID: CCSDK-3604 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I4dc65bffb0d8a0eb638790747f850c34de3fb12a
2022-03-28Use released parent pom 2.3.31.3.0Dan Timoney1-1/+1
Use released 2.3.3 version of parent pom Issue-ID: CCSDK-3604 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Idf14619680572a4643d587976e49f8c934394111
2022-03-23Merge "Add indexes to Template/Resource resolution"Dan Timoney2-2/+15
2022-03-23Add indexes to Template/Resource resolutionOleg Mitsura2-2/+15
Issue-ID: CCSDK-3611 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I7e761a3a7bd6a107748a4d90d3a335ebf77a759b
2022-03-22Add new committer - Jozsef CsongvaiDan Timoney1-0/+8
Add Jozsef Csongvai as committer Issue-ID: CCSDK-3613 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I10459ce59073229f32bf648142be6c5631b7e1da
2022-03-15Documentation changes for vFW CNF use case and CNFOLukasz Rajewski1-28/+31
Issue-ID: REQ-1147 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Ieb979ddad91fcb82ebf1a3ca7598699559a02bd2
2022-03-07Upgrade commons-compress to version 1.21Dan Timoney2-2/+2
Update commons-compress to version 1.21 per SECCOM recommendation Issue-ID: CCSDK-3585 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I41c9430b1ab0dbfa5442a145ce2d2db7086049e6
2022-03-07Upgrade to okhttp version 4.9.3Dan Timoney1-1/+1
Upgrade to SECCOM recommended version 4.9.3 of okhttp Issue-ID: CCSDK-3585 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I106818767e8d3ac7f4c21745c0fe7bb7190b6110
2022-03-07Remove retired committersDan Timoney1-10/+6
Remove retired committers Brinda and Nicolas Issue-ID: CCSDK-3599 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I640ac6e643668727f406ec28bf9f9622a7676b51
2022-03-05[STRIMZI] Add strimzi docs entryefiacor1-14/+70
Signed-off-by: efiacor <fiachra.corcoran@est.tech> Issue-ID: DMAAP-1706 Change-Id: I24a1110e6b30851051f440f7a4af84531caa9a20
2022-03-02DMAAP-1706 - New Kafka Auth optiondavid.mcweeney5-1/+192
Change-Id: I8533721d23d6adb41f65cb96fb2b8f852bda47b8 Signed-off-by: david.mcweeney <david.mcweeney@est.tech> Issue-ID: DMAAP-1706
2022-02-14K8sPlugin integration changes for Istanbul APIsLukasz Rajewski2-12/+16
- k8sconfigteamplate component accepts empty source what means that template is the same like definition - fix of the query API namespace param Issue-ID: CCSDK-3537 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I86c6b7e0fd98cd34a1ee89dd183732b113439a23
2022-02-09K8sPlugin integration changes for Istanbul APIsLukasz Rajewski11-34/+646
Implementation of the K8sPlugin new APIs or changes introduced there in the Istanbul release. Issue-ID: CCSDK-3537 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I263dd22bb1d3cbcc9360583cd82a728afbebc09d
2022-01-24Merge "rb-version changed to vf-module-model-customization-uuid"Dan Timoney6-10/+10
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-17Add functions for retrieving multiple artifactsArne Chrestin5-4/+120
Add the functions AbstractComponentFunction .storedArtifactNamesAndResolutionKeysNB() to retrieve all artifact_names and resolution_keys for a given blueprint and AbstractComponentFunction .storedResolutionKeysForArtifactNameNB(artifactName) to retrieve all resolution_keys for a given blueprint and artifact_name. To support the required JPA query, an interface TemplateResolutionSelector was added in resource-resolution. Issue-ID: CCSDK-3543 Signed-off-by: arne.chrestin@telekom.de Change-Id: I1907949e49134ec13d28a876474f08502759762f
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