Age | Commit message (Collapse) | Author | Files | Lines |
|
- 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
|
|
Issue-ID: CCSDK-3738
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: I72ae642f3027fa3b4c8caa3105b2147ed654c159
|
|
Issue-ID: CCSDK-3737
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: I00cba2f644abf85778abf17ee3fb9e102ac5f42f
|
|
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
|
|
blueprint model does not exist
Issue-ID: CCSDK-3729
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: Ie19128d1ece6b229e5c2e5636ab3a7add4e2f3ef
|
|
Issue-ID: CCSDK-3698
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: Ie5c78a9a347373b5faf588627e42138806d69c0c
|
|
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
|
|
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
|
|
|
|
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
|
|
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>
|
|
|
|
|
|
Issue-ID: CCSDK-3676
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: I6b0a816fcb40e149be1818f9edc9d4839f1a4cf6
|
|
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
|
|
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
|
|
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
|
|
Issue-ID: CCSDK-3657
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
Change-Id: Idd1871e82a319325b042c339741a66c06499692c
|
|
Update versions in master branch for Kohn release
Issue-ID: CCSDK-3641
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I78cbfb5ec5175e87233f263422f7323b22d352de
|
|
|
|
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
|
|
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
|
|
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
|
|
Change-Id: I8533721d23d6adb41f65cb96fb2b8f852bda47b8
Signed-off-by: david.mcweeney <david.mcweeney@est.tech>
Issue-ID: DMAAP-1706
|
|
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
|
|
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>
|
|
|
|
Issue-ID: CCSDK-3471
Signed-off-by: Michael Pruss <michprus@amdocs.com>
Change-Id: I871a032ff5c9ebfd408aaa28a7d24185dee7c953
|
|
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
|
|
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
|
|
version
Issue-ID: CCSDK-3430
Signed-off-by: Meriem Zidane <meriem.zidane@bell.ca>
Change-Id: I82dad1c2dd7f8e4cc5712e9fddde5b1bb5429b7f
|
|
|
|
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
|
|
Change-Id: Iaeac6fa534c569bbc152e6c8a78c2dd23b6c4b1a
Signed-off-by: Kavitha P <pkavitha@aarnanetworks.com>
Issue-ID: CCSDK-3434
|
|
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>
|
|
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
|
|
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
|
|
|
|
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>
|
|
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>
|
|
Issue-ID: CCSDK-3271
Change-Id: I9c007c9e332206fb1631442d6acfd41a1e57a882
Signed-off-by: vmuthukrishnan@aarnanetworks.com <vmuthukrishnan@aarnanetworks.com>
|
|
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>
|
|
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
|
|
- FIXME under SSLBasicAuthRestClientProperties
- TODO under SSLBasicAuthRestClientPropertiesBuilder
Issue-ID: CCSDK-3235
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@intl.att.com>
Change-Id: If00c7491573c69eb5d3f9192f54c7b384943abf7
|
|
by using TrustAllStrategy
Issue-ID: CCSDK-3234
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@intl.att.com>
Change-Id: I7ee63739b4f1d7a4ddbc618ba660704aa058752a
|
|
Issue-ID: CCSDK-3232
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: I817d83001a76ba480472c7aa2da15eba65b39c20
|
|
Issue-ID: CCSDK-3221
Change-Id: I767003dde40c0fc53a673c4a41cb2430624d7b04
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
|
|
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>
|
|
* 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
|