Lukasz Rajewski [Thu, 18 Aug 2022 19:50:31 +0000 (21:50 +0200)]
Refactor rest clients and support timeouts
- Refactored rest clients to remove redundant code
- Timeouts added to the configuration of rest clients
Issue-ID: CCSDK-3716
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: I706b8efd8447570455b8b65bd5b1a22da474f62b
Singal, Kapil (ks220y) [Mon, 8 Aug 2022 03:01:52 +0000 (23:01 -0400)]
Refactoring Code to remove NRM
Renaming Classes, API's, variabled and removing NRM word from codebase
Issue-ID: CCSDK-3741
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: I8150eec7e8fb0bc1d33e80991215e745e9aa79d0
(cherry picked from commit
cc2dbf6d08840ba0e105e44022568d9afd130273)
Rudrangi Anupriya [Mon, 18 Jul 2022 16:33:14 +0000 (22:03 +0530)]
SO-3835 Modify-Config flow of slice (Day-2) -snssai not updated in config map of the NFs
Issue-ID: SO-3835
Change-Id: I7578b3292b625e0773ee67a0b6db60c8e192fe1a
Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com>
kuldipr [Tue, 17 May 2022 14:30:34 +0000 (10:30 -0400)]
Fix inconsistency introduced during commit
b4cbb0ee9
Issue-ID: CCSDK-3738
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: I72ae642f3027fa3b4c8caa3105b2147ed654c159
Singal, Kapil (ks220y) [Mon, 22 Aug 2022 14:55:48 +0000 (10:55 -0400)]
Fixing CDS-UI Build issues
Issue-ID: CCSDK-3744
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: I8cd8a11c8ada5a1179b4a791edc12dd810f7f1bf
(cherry picked from commit
9eb67111794a2a10bc9776775aced9ef9b84345b)
Oleg Mitsura [Wed, 1 Jun 2022 14:00:56 +0000 (10:00 -0400)]
Kafka producer parameters updated to be consistent with frankfurt
Issue-ID: CCSDK-3737
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: I00cba2f644abf85778abf17ee3fb9e102ac5f42f
Jozsef Csongvai [Mon, 16 May 2022 15:09:06 +0000 (11:09 -0400)]
Enable deleting resources by lastN occurrences
Also enable deletion using resource-type and resource-id.
Issue-ID: CCSDK-3735
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: Id1b487fce97f582bd3781dfd5bcff61a8df08c5c
Michal Jagiello [Thu, 21 Jul 2022 14:23:53 +0000 (14:23 +0000)]
[Blueprintsprocessor] Blueprint Model API returns 204 NO CONTENT if blueprint model does not exist
Issue-ID: CCSDK-3729
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: Ie19128d1ece6b229e5c2e5636ab3a7add4e2f3ef
Michal Jagiello [Fri, 1 Jul 2022 09:04:36 +0000 (09:04 +0000)]
[Blueprintsprocessor] Use all source-db resources instead of only processor-db
In DatabaseResourceAssignmentProcessor class filter resourceSourceMappings to get all source-db resources instead of using only one: processor-db
Issue-ID: CCSDK-3699
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: I616ca6fe1336427b0b603a0386878ba4c8ea5828
Lukasz Rajewski [Mon, 20 Jun 2022 20:27:19 +0000 (22:27 +0200)]
Aligned attributes of CDS components
Issue-ID: CCSDK-3698
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: Ie5c78a9a347373b5faf588627e42138806d69c0c
Dan Timoney [Fri, 15 Jul 2022 15:33:42 +0000 (11:33 -0400)]
Use released 2.4.0 parent poms
Use released version 2.4.0 (Phosphorus) of parent poms
Issue-ID: CCSDK-3691
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I920f1f8be47bd45962014d7ccb682dc6f6efb5e5
Kuldip Rai [Thu, 14 Jul 2022 12:33:20 +0000 (08:33 -0400)]
Command Executor metrics to include script name only
Issue-ID: CCSDK-3720
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: I206bfb1ed165ccb4c1c360732e6781ccfe9b971c
kuldipr [Fri, 17 Jun 2022 16:18:35 +0000 (12:18 -0400)]
Change template query to return a result when duplicate rows exists
Issue-ID: CCSDK-3714
Change-Id: I516efc75d5d789903883437b6f3b50874bcfc79a
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
kuldipr [Fri, 17 Jun 2022 22:27:33 +0000 (18:27 -0400)]
Fixed Template API (resourceId and resoourceType) input validation
Validation was always checking for resolutionKey even when it is not
required when using resourceId and resourceType. Also artifactName
which is always required could not have been sent along with
resourceId and resourceType.
Issue-ID: CCSDK-3713
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: I4a2945397f10bf5c57a698894df09ee4fc5891d0
Jozsef Csongvai [Tue, 7 Jun 2022 23:30:54 +0000 (19:30 -0400)]
Improve log format consistency
Logs related to request processing should include: requestId,
subrequestId and originatorId. Each API (rest,grpc,kafka) would
produce different outputs, due to MDC context not being passed
properly between coroutine contexts or values not being populated.
Issue-ID: CCSDK-3686
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
Change-Id: Ibafdffd3409b9724ad91633ca5840070f7e287f5
Jozsef Csongvai [Tue, 7 Jun 2022 14:54:46 +0000 (14:54 +0000)]
Merge "CCSDK-3684 ComponentRemotePYthonExecutor eliminate recursive call"
Oleg Mitsura [Tue, 7 Jun 2022 14:05:20 +0000 (10:05 -0400)]
CCSDK-3684 ComponentRemotePYthonExecutor eliminate recursive call
Issue-ID: CCSDK-3684
prepareEnv (mistakenly) had a recursive call, but no decement.
Simplified it in favour of the inner/outter flag instead of retry counter as in Frankfurt release.
Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Change-Id: I5d7f623d6e206a844d33d95a15f85758da3a6681
Oleg Mitsura [Tue, 31 May 2022 22:10:04 +0000 (18:10 -0400)]
CCSDK-3682 pin protobuf to 3.20.1
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>
Jozsef Csongvai [Tue, 24 May 2022 23:29:36 +0000 (23:29 +0000)]
Merge "Extend Template API to retrieve resolutions by occurrence"
kuldipr [Thu, 24 Mar 2022 21:13:47 +0000 (17:13 -0400)]
API to resolve resources based on optional 'occurrence' options
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
juhi arora [Thu, 19 May 2022 18:14:17 +0000 (14:14 -0400)]
Extend Template API to retrieve resolutions by occurrence
Add new endpoints - template to get firstN, lastN and by Range (begin, end) of 'occurrence' to get the templates
Issue-ID: CCSDK-3666
Change-Id: I242626e826022ed8b70a0abc287560ea634121b7
Signed-off-by: juhi arora <juhi.arora1@bell.ca>
kuldipr [Fri, 18 Mar 2022 14:35:56 +0000 (10:35 -0400)]
Enable versioned resource resolution by using occurrence
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
Dan Timoney [Mon, 23 May 2022 16:21:40 +0000 (16:21 +0000)]
Merge "Enable force-resolution"
Dan Timoney [Mon, 23 May 2022 16:20:49 +0000 (16:20 +0000)]
Merge "CCSDK-3671 add workflows list for grpc"
Jozsef Csongvai [Fri, 20 May 2022 14:53:51 +0000 (14:53 +0000)]
Merge "Resource endpoint should support occurrences"
Julien Fontaine [Wed, 10 Jun 2020 15:30:37 +0000 (11:30 -0400)]
Override Request ID in MDC Context
Issue-ID: CCSDK-3676
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: I6b0a816fcb40e149be1818f9edc9d4839f1a4cf6
Kuldip Rai [Wed, 16 Mar 2022 14:26:30 +0000 (14:26 +0000)]
Resource endpoint should support occurrences
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
Oleg Mitsura [Thu, 19 May 2022 15:05:13 +0000 (11:05 -0400)]
CCSDK-3671 add workflows list for grpc
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
Oleg Mitsura [Thu, 21 May 2020 14:33:18 +0000 (10:33 -0400)]
Enable force-resolution
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>
Jozsef Csongvai [Tue, 17 May 2022 15:47:15 +0000 (11:47 -0400)]
Fix broken model-type API endpoint
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
Jozsef Csongvai [Mon, 16 May 2022 15:03:43 +0000 (11:03 -0400)]
Re-enable formatting and fix formatting issues
Issue-ID: CCSDK-3657
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
Change-Id: Idd1871e82a319325b042c339741a66c06499692c
Dan Timoney [Tue, 26 Apr 2022 17:44:15 +0000 (13:44 -0400)]
Update versions for Kohn release
Update versions in master branch for Kohn release
Issue-ID: CCSDK-3641
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I78cbfb5ec5175e87233f263422f7323b22d352de
kuldipr [Thu, 14 Apr 2022 21:52:59 +0000 (17:52 -0400)]
Update cmd-exec for Python 3.7
Issue-ID: CCSDK-3632
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: I351203e1935ccee9327edf39b9809b873e391f86
Lukasz Rajewski [Wed, 13 Apr 2022 18:49:52 +0000 (20:49 +0200)]
Closing artifact files after vtl templating
Issue-ID: CCSDK-3631
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: I20972afeebafbc0ea47ee22c2ba9b32d760ebbb5
KAPIL SINGAL [Wed, 13 Apr 2022 12:47:30 +0000 (12:47 +0000)]
Merge "Return errormessages in failing imperative workflows"
Jozsef Csongvai [Wed, 13 Apr 2022 00:25:18 +0000 (20:25 -0400)]
Prevent stack overflow in BluePrintProcessingGRPCHandler
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
Jozsef Csongvai [Tue, 12 Apr 2022 23:24:37 +0000 (19:24 -0400)]
Return errormessages in failing imperative workflows
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
Cédric Ollivier [Mon, 11 Apr 2022 14:28:46 +0000 (16:28 +0200)]
Add bounds to sphinx requirement
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
Rudrangi Anupriya [Sat, 9 Apr 2022 13:17:28 +0000 (18:47 +0530)]
CCSDK-3472 Maven plugin support of velocity for CBA package creation in IDE
Issue-ID: CCSDK-3472
Change-Id: I419ed795b3fdf31b35ed379010df44bdc4164d7b
Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com>
Rudrangi Anupriya [Mon, 4 Apr 2022 10:47:35 +0000 (16:17 +0530)]
CCSDK-3472 Maven plugin support of velocity for CBA package creation in IDE
Change-Id: Iadfee3898ab2b8b746c0e10d8d04c0d6f862a3cb
Issue-ID: CCSDK-3472
Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com>
Rudrangi Anupriya [Wed, 30 Mar 2022 10:44:10 +0000 (16:14 +0530)]
CCSDK-3472 Maven plugin support of velocity for CBA package creation in IDE
Change-Id: I873be858c44b3ca36f4e292e44a483a2af6e83f1
Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com>
Issue-ID: CCSDK-3472
Dan Timoney [Tue, 29 Mar 2022 20:17:16 +0000 (16:17 -0400)]
Release Jakarta M4 CDS maven artifacts
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
Dan Timoney [Tue, 29 Mar 2022 20:15:09 +0000 (16:15 -0400)]
Release CDS Jakarta M4 dockers
Release Jakarta M4 version of CDS docker containers
Issue-ID: CCSDK-3604
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I4dc65bffb0d8a0eb638790747f850c34de3fb12a
Dan Timoney [Mon, 28 Mar 2022 15:09:54 +0000 (11:09 -0400)]
Use released parent pom 2.3.3
Use released 2.3.3 version of parent pom
Issue-ID: CCSDK-3604
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: Idf14619680572a4643d587976e49f8c934394111
Dan Timoney [Wed, 23 Mar 2022 18:05:48 +0000 (18:05 +0000)]
Merge "Add indexes to Template/Resource resolution"
Oleg Mitsura [Wed, 23 Mar 2022 17:14:05 +0000 (13:14 -0400)]
Add indexes to Template/Resource resolution
Issue-ID: CCSDK-3611
Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Change-Id: I7e761a3a7bd6a107748a4d90d3a335ebf77a759b
Dan Timoney [Tue, 22 Mar 2022 13:28:59 +0000 (09:28 -0400)]
Add new committer - Jozsef Csongvai
Add Jozsef Csongvai as committer
Issue-ID: CCSDK-3613
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I10459ce59073229f32bf648142be6c5631b7e1da
Lukasz Rajewski [Tue, 15 Mar 2022 20:24:49 +0000 (21:24 +0100)]
Documentation changes for vFW CNF use case and CNFO
Issue-ID: REQ-1147
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: Ieb979ddad91fcb82ebf1a3ca7598699559a02bd2
Dan Timoney [Mon, 7 Mar 2022 17:04:34 +0000 (12:04 -0500)]
Upgrade commons-compress to version 1.21
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
Dan Timoney [Mon, 7 Mar 2022 16:36:18 +0000 (11:36 -0500)]
Upgrade to okhttp version 4.9.3
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
Dan Timoney [Mon, 7 Mar 2022 14:03:59 +0000 (09:03 -0500)]
Remove retired committers
Remove retired committers Brinda and Nicolas
Issue-ID: CCSDK-3599
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I640ac6e643668727f406ec28bf9f9622a7676b51
efiacor [Sat, 5 Mar 2022 13:16:22 +0000 (13:16 +0000)]
[STRIMZI] Add strimzi docs entry
Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Issue-ID: DMAAP-1706
Change-Id: I24a1110e6b30851051f440f7a4af84531caa9a20
david.mcweeney [Thu, 17 Feb 2022 17:07:59 +0000 (17:07 +0000)]
DMAAP-1706 - New Kafka Auth option
Change-Id: I8533721d23d6adb41f65cb96fb2b8f852bda47b8
Signed-off-by: david.mcweeney <david.mcweeney@est.tech>
Issue-ID: DMAAP-1706
Lukasz Rajewski [Mon, 14 Feb 2022 15:39:09 +0000 (16:39 +0100)]
K8sPlugin integration changes for Istanbul APIs
- 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
Lukasz Rajewski [Wed, 9 Feb 2022 16:07:31 +0000 (17:07 +0100)]
K8sPlugin integration changes for Istanbul APIs
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
Dan Timoney [Mon, 24 Jan 2022 15:12:09 +0000 (15:12 +0000)]
Merge "rb-version changed to vf-module-model-customization-uuid"
Maciej Lisowski [Thu, 20 Jan 2022 08:15:34 +0000 (09:15 +0100)]
rb-version changed to vf-module-model-customization-uuid
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
Arne Chrestin [Mon, 20 Dec 2021 12:16:57 +0000 (13:16 +0100)]
Add functions for retrieving multiple artifacts
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
Dan Timoney [Mon, 3 Jan 2022 19:02:41 +0000 (14:02 -0500)]
Upgrade to log4j2 2.17.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
Sylvain Desbureaux [Fri, 10 Dec 2021 09:55:32 +0000 (10:55 +0100)]
[SDC Client] Allow HTTP
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
Dan Timoney [Mon, 13 Dec 2021 20:06:43 +0000 (15:06 -0500)]
Update formatter-maven-plugin to latest version
Update version of formatter-maven-plugin
Issue-ID: CCSDK-3555
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: Ib344878ef704a5781e92c8974e8f32a15ece7d6e
Dan Timoney [Tue, 7 Dec 2021 14:49:09 +0000 (09:49 -0500)]
Revert "Explicitly set NPM registry to public registry"
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
Oleg Mitsura [Tue, 23 Nov 2021 14:23:44 +0000 (09:23 -0500)]
CCSDK-3531 improve cmd-exec returned err msg
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
KAPIL SINGAL [Mon, 29 Nov 2021 19:09:19 +0000 (19:09 +0000)]
Merge "Correct dynamic properties grpc json serializing"
farida azmy [Mon, 1 Nov 2021 13:56:16 +0000 (15:56 +0200)]
Change load configuration paths for modeltype and resourcedicitonary
Issue-ID: CCSDK-3516
Signed-off-by: farida azmy <farida.azmy.ext@orange.com>
Change-Id: Ibebff38d43b6e2db6f8a0ec38483a691e3ea3449
Abdelmuhaimen Seaudi [Sun, 14 Nov 2021 18:44:33 +0000 (20:44 +0200)]
Correct dynamic properties grpc json serializing
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
Dan Timoney [Mon, 29 Nov 2021 13:07:14 +0000 (08:07 -0500)]
Explicitly set NPM registry to public registry
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
farida azmy [Tue, 2 Nov 2021 10:16:13 +0000 (12:16 +0200)]
fix output type remains Other
Issue-ID: CCSDK-3517
Signed-off-by: farida azmy <farida.azmy.ext@orange.com>
Change-Id: Iabfd95f9bb4e8b73271b2bb413d6d1175a545b08
Dan Timoney [Thu, 28 Oct 2021 20:24:44 +0000 (16:24 -0400)]
Use version 2.3.0 of parent poms
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
Dan Timoney [Fri, 22 Oct 2021 11:12:50 +0000 (11:12 +0000)]
Merge "Add missing code for Metrics and PV/PVC elimination"
Jozsef Csongvai [Wed, 6 Oct 2021 15:47:23 +0000 (11:47 -0400)]
Add missing code for Metrics and PV/PVC elimination
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>
Jozsef Csongvai [Wed, 6 Oct 2021 15:42:59 +0000 (11:42 -0400)]
Add home directory for onap user in command-executor dockerfile
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>
Dan Timoney [Fri, 15 Oct 2021 20:32:24 +0000 (16:32 -0400)]
Use latest version of frontend-maven-plugin
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
Dan Timoney [Wed, 29 Sep 2021 12:35:37 +0000 (12:35 +0000)]
Merge "Metrics on command-executor blueprints processor side"
Michael Pruss [Tue, 21 Sep 2021 19:53:32 +0000 (15:53 -0400)]
Metrics on command-executor blueprints processor side
Issue-ID: CCSDK-3471
Signed-off-by: Michael Pruss <michprus@amdocs.com>
Change-Id: I871a032ff5c9ebfd408aaa28a7d24185dee7c953
Dan Timoney [Tue, 21 Sep 2021 17:11:13 +0000 (13:11 -0400)]
Roll versions for Jakarta
Roll versions to set up for Jakarta release
Issue-ID: CCSDK-3470
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: Ia341d92b79acd758cc9d16f24a83399d1a8a1c5b
Dan Timoney [Thu, 16 Sep 2021 14:58:44 +0000 (10:58 -0400)]
Release version 1.2.0 maven artifacts
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
Dan Timoney [Thu, 16 Sep 2021 14:30:37 +0000 (10:30 -0400)]
Release version 1.2.0 docker containers
Release version 1.2.0 docker containers for CDS
Issue-ID: CCSDK-3444
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I5ce1176e2ee71515455a63f89b5d3d54492824b1
Dan Timoney [Thu, 16 Sep 2021 12:20:00 +0000 (08:20 -0400)]
Use version 2.2.1 of CCSDK parent pom
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
Dan Timoney [Mon, 13 Sep 2021 23:17:28 +0000 (19:17 -0400)]
Fix version
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
Abdelmuhaimen Seaudi [Wed, 8 Sep 2021 11:49:41 +0000 (13:49 +0200)]
Add requests library to cds-command-executor docker
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
KAPIL SINGAL [Sat, 11 Sep 2021 14:38:47 +0000 (14:38 +0000)]
Merge "Upgrading velocity version to v2.3 due to some vulnerabilities in previous version"
KAPIL SINGAL [Sat, 11 Sep 2021 14:38:38 +0000 (14:38 +0000)]
Merge "CCSDK-3451 Prometheus Metrics for command-executor"
meriem zidane [Fri, 10 Sep 2021 16:46:02 +0000 (12:46 -0400)]
Upgrading velocity version to v2.3 due to some vulnerabilities in previous version
Issue-ID: CCSDK-3430
Signed-off-by: Meriem Zidane <meriem.zidane@bell.ca>
Change-Id: I82dad1c2dd7f8e4cc5712e9fddde5b1bb5429b7f
Dan Timoney [Wed, 8 Sep 2021 12:29:10 +0000 (12:29 +0000)]
Merge "Use cert-initializer truststore instead of hard-coded ONAP Root CA"
wdgp0424 [Thu, 15 Jul 2021 10:50:24 +0000 (12:50 +0200)]
Use cert-initializer truststore instead of hard-coded ONAP Root CA
Issue-ID: CCSDK-3356
Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>
Change-Id: I68582d2abae2a1e320ce243406fb5d932c34fb75
Kuldip Rai [Tue, 31 Aug 2021 14:13:58 +0000 (14:13 +0000)]
CCSDK-3451 Prometheus Metrics for command-executor
Issue-ID: CCSDK-3451
Signed-off-by: Kuldip Rai <kuldip.rai@bell.ca>
Change-Id: Ibd11257037ec6f1941b5dee08cc97177b2c798c9
KAPIL SINGAL [Wed, 1 Sep 2021 01:15:54 +0000 (01:15 +0000)]
Merge "Upgrade hazelcast version"
meriem zidane [Thu, 26 Aug 2021 21:52:59 +0000 (17:52 -0400)]
Upgrade hazelcast version
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
Kavitha P [Wed, 25 Aug 2021 10:42:18 +0000 (16:12 +0530)]
CCSDK-3434 CBA workflow status store
Change-Id: Iaeac6fa534c569bbc152e6c8a78c2dd23b6c4b1a
Signed-off-by: Kavitha P <pkavitha@aarnanetworks.com>
Issue-ID: CCSDK-3434
chsailakshmi [Wed, 25 Aug 2021 12:03:28 +0000 (08:03 -0400)]
CCSDK-3435 cds py executor log persistence
Change-Id: If83db093e3b331a7f2f45435648aad142a2f78d5
Signed-off-by: chsailakshmi <sailakshmi@aarnanetworks.com>
Issue-ID: CCSDK-3435
Dan Timoney [Mon, 23 Aug 2021 19:51:45 +0000 (15:51 -0400)]
Version upgrades
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
Lukasz Rajewski [Thu, 29 Jul 2021 21:27:06 +0000 (23:27 +0200)]
Ignore unknown fields from the k8splugin API responses
Ignore unknown fields from the k8splugin API responses
Issue-ID: CCSDK-3400
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: I9d184a0a4369848221cce56e164162b55edb3c5a
Dan Timoney [Tue, 3 Aug 2021 15:34:57 +0000 (11:34 -0400)]
Move netty-ssl definition to springboot parent
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
Jozsef Csongvai [Mon, 26 Jul 2021 16:00:59 +0000 (12:00 -0400)]
Revert "Renaming Files having BluePrint to have Blueprint"
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>
Julien Fontaine [Tue, 27 Jul 2021 16:43:24 +0000 (12:43 -0400)]
Removed redundant timeout handling for executeCommand
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
Frank Grutzmacher [Wed, 21 Jul 2021 07:55:25 +0000 (09:55 +0200)]
Fix typos
Issue-ID: CCSDK-3371
Signed-off-by: Frank Grutzmacher <frank.gruetzmacher@t-systems.com>
Change-Id: I367b59b2986b4a02acbcbe73fb3376002c81fdc4
Julien Fontaine [Wed, 23 Jun 2021 12:44:00 +0000 (08:44 -0400)]
Add Request ID and Sub Request ID to CDS kafka logs
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
Singal, Kapil (ks220y) [Fri, 11 Jun 2021 17:58:20 +0000 (13:58 -0400)]
Adding maven-deploy-plugin to archtype-blueprint
Issue-ID: CCSDK-3334
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: I45e56d5b3e837888f561f707a233a995ff135ce9
sebdet [Thu, 27 May 2021 08:45:43 +0000 (10:45 +0200)]
Update CBA content
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