Age | Commit message (Collapse) | Author | Files | Lines |
|
Fixed values of inputs for resource assignment
allow to build data dictionaries that are generic.
Along with templating of outputs mapping, path, url
and payload sdnc and aai dictionary entry may be one
for support of all the attributes of specified object
like for instance generic vnf one.
Issue-ID: CCSDK-3716
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: I1817303e997a4dfb7dda9c32d9ac690ec723b3d8
|
|
- Open resolution processors for in-CBA customization
- Improve resolution tests verification
- Use RestProcessor for testing RestProcessor
Issue-ID: CCSDK-3716
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: I7c05fc940647f40c20c37b4f7fcfe29f2c3076ba
|
|
As part of occurrence feature, one or more version of the resource
resolution can be resolved. However, user did not have granular
control in case the user wants to resolve a specific value once and
never again.
Max-Occurrence feature implements the granular control to be give the
user an option to specify the max number of times a resource to be
resolved. It is specified as part of mapping in a cba. Max-occurrence
value of 0 or not specifying it explicitly denotes the current default
behaviour of unlimited resoltions. If a user specify a particular
max-occurrence value then the resource is resolved that many times in
subsquent requests and never again once we reached the max-occurrence
limit of resource resolutions.
Issue-ID: CCSDK-3736
Change-Id: Ie18764a313530e36be14531d8c7b93bf54f0b651
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
|
|
The delete query does not work with Mariadb version 10.1.24.
Changed the syntax so that it will work with both older and newer
versions. Typo in method names has been fixed as well.
Issue-ID: CCSDK-3735
Change-Id: I225752d62068e5aa44354624aa6542a4f4bae73b
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
|
|
Users can now add component-resource-deletion as a nodetemplate in
their CBA. This will delete resources and templates created by the
cba, using resolution key or resource-id and resource-type.
Issue-ID: CCSDK-3735
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: I22b7f2fe3369a3e5bac3b72a2114a81622d878dc
|
|
Issue-ID: CCSDK-3735
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: I80d0da87651933da103e79d878902da743bb134e
|
|
- Empty Output mapping means for JSON/MAP all keys
and for other types extracting of primitive
- Empty response is mapped to value is output mapping
is empty (but not null)
Issue-ID: CCSDK-3716
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: Ib67507eba07e08fad049307f7b69f7aac4c3ec45
|
|
Issue-ID: CCSDK-3716
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: I4abc2cdf3eeff1d982d2e96670df262cf16931b3
|
|
- 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
|
|
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)
|
|
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
|
|
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
|
|
Issue-ID: CCSDK-3698
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: Ie5c78a9a347373b5faf588627e42138806d69c0c
|
|
Issue-ID: CCSDK-3720
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: I206bfb1ed165ccb4c1c360732e6781ccfe9b971c
|
|
Issue-ID: CCSDK-3714
Change-Id: I516efc75d5d789903883437b6f3b50874bcfc79a
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
|
|
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
|
|
|
|
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
|
|
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>
|
|
|
|
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>
|
|
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
|
|
|
|
|
|
|
|
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
|
|
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>
|
|
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
|
|
Issue-ID: CCSDK-3632
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: I351203e1935ccee9327edf39b9809b873e391f86
|
|
Issue-ID: CCSDK-3631
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: I20972afeebafbc0ea47ee22c2ba9b32d760ebbb5
|
|
|
|
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
|
|
Issue-ID: CCSDK-3611
Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Change-Id: I7e761a3a7bd6a107748a4d90d3a335ebf77a759b
|
|
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
|
|
Change-Id: I8533721d23d6adb41f65cb96fb2b8f852bda47b8
Signed-off-by: david.mcweeney <david.mcweeney@est.tech>
Issue-ID: DMAAP-1706
|
|
- 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
|
|
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
|
|
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
|
|
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
|