aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-12-17ResourceResolution should fail if required resource did not resolve -edge casefrankfurtkuldipr1-2/+5
Issue-ID: CCSDK-3022 Signed-off-by: kuldipr <kuldip.rai@amdocs.com> Change-Id: Ia88a86f13c693a7bcd2d61cdfb5c2e39041b5a31 Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
2020-12-17ResourceResolution should fail if required resource did not resolvekuldipr2-18/+33
Issue-ID: CCSDK-3022 Signed-off-by: kuldipr <kuldip.rai@amdocs.com> Change-Id: I6ca858988f0b11bdf3bbde07e8f4bde939342aa2 Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
2020-12-14add toggle variable ansible fire failure to awx functionEltanany Shaaban1-2/+2
-add logs output when it fails Issue-ID: CCSDK-2366 Signed-off-by: Eltanany Shaaban <shaaban.eltanany.ext@orange.com> Change-Id: Ie1a122865be541a45de157ab3afa9e426d1defb4 (cherry picked from commit 81deaed80b00c7e09e1c8a962f75d9e29ae6c305)
2020-12-14add toggle variable ansible fire failure to awx functionEltanany Shaaban2-4/+22
Issue-ID: CCSDK-2366 Signed-off-by: Eltanany Shaaban <shaaban.eltanany.ext@orange.com> Change-Id: I42b757c206c6d420ffa289cbe9e6c2b4dbf22b20 (cherry picked from commit fffa390c47e265c84d5bc755f480cb6d7974d4c5)
2020-11-12Remove URI encoding in BlueprintWebClientServiceJozsef Csongvai2-22/+6
Malformed uri's should be handled by resource resolution in the cba Issue-ID: CCSDK-2980 Change-Id: I5c1cf97519a882ff5cf99e9850c65df9ba6d9c36 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2020-11-04Add missing index tagJessica Wagantall1-0/+1
Add missing master_index tag Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: I153dab634451682acda4c58dfdfeb002c2ce30f3
2020-10-09Merge "input missing shouldn't throw exception" into frankfurtKAPIL SINGAL2-14/+20
2020-10-08Fix resolution of keyIdentifiersJozsef Csongvai2-4/+4
Issue-ID: CCSDK-2875 Change-Id: Ie089ee7f186f74691556f65a52fbaa7c6c165061 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2020-10-06input missing shouldn't throw exceptionOleg Mitsura2-14/+20
Issue-ID: CCSDK-2876 Change-Id: I37b08512fb9e4eb8c9c6e3ca31e8d5c97d4dd569 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
2020-08-04Merge "Fix incorrect error handling for resolveWorkflowOutputs" into frankfurt6.0.1-ONAPKAPIL SINGAL2-2/+62
2020-08-04Merge "Fix misleading errormessages in script exeutors" into frankfurtKAPIL SINGAL2-2/+2
2020-08-04Merge "Remove service annotation for ImperativeBluePrintWorkflowService" ↵KAPIL SINGAL2-12/+4
into frankfurt
2020-08-04Remove service annotation for ImperativeBluePrintWorkflowServiceJozsef Csongvai2-12/+4
Even with the PROTOTYPE_SCOPE annotation the bean was in effect a Singleton, as it was only injected in one other service. The class has field variables which would be shared by every thread, potentially causing severe errors under parallel execution. Removed annotations to disable dependency injection, and instead create a new instance with every execution call. Issue-ID: CCSDK-2473 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I9e7148540781dcd869d55d932f4187c5f81cb3f5
2020-08-04Set EventType for GRPC response in designer APIJozsef Csongvai2-0/+10
Issue-ID: CCSDK-2539 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: Iaaf64e4b6683c564c1022b609496fec55ad0df6d (cherry picked from commit f71ba4e81f04a2a3c5e97d565d34c09f46885fe6)
2020-08-04Fix misleading errormessages in script exeutorsJozsef Csongvai2-2/+2
Issue-ID: CCSDK-2528 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I1a8dfc14b1fbddced4a3c2a06f8a35df34303976 (cherry picked from commit 9797faab9d411a2057eeb5607c7860faa68aab59)
2020-08-04Fix incorrect error handling for resolveWorkflowOutputsJozsef Csongvai2-2/+62
Issue-ID: CCSDK-2504 Change-Id: Ie910e47bb97be2db4f4a4e94653e5ae474a78c0d Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> (cherry picked from commit 181c470b61fae79acb05aedae67a0ceb486f1ee5)
2020-08-04Fix hazelcast issuesJozsef Csongvai6-51/+63
- confined lock tests to individual threads to ensure correct unlocking - removed silent failure in clusterlock.unlock function when unlock is called by a thread that doesnt own the lock. - added isLockedByCurrentThread method to ClusterLock interface - disabled multicast discovery, tcp-ip should be more stable for tests - fix Hazlecast typo Issue-ID: CCSDK-2429 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: Idfe723fff04fcd9c48510cf429eb15b33662c49d
2020-08-04cds-exec shouldn't return "N/A" as outputOleg Mitsura1-8/+8
Issue-ID: CCSDK-2603 * execute-command-logs" should always be a list (in some cases, we had a string causing possible parsing problems) * response-data should be JSON and "N/A" not acceptible. Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: Ie6fceb6e1f4c86bfcdeb7671bacd74b909628096
2020-07-28Merge "cmd-exec server-side timeout." into frankfurtKAPIL SINGAL4-96/+137
2020-07-28Merge "Fix NullpointerException in ErrorCatalogLoadPropertyService" into ↵KAPIL SINGAL1-1/+1
frankfurt
2020-07-28Merge "remote-python-executor was missing timeout inputs" into frankfurtKAPIL SINGAL1-0/+12
2020-07-28Merge "cmd-exec payload should be payload, not err msg." into frankfurtKAPIL SINGAL1-36/+78
2020-07-27remote-python-executor was missing timeout inputsOleg Mitsura1-0/+12
Was present in 'elalto', wasn't merged to frankfurt/master Issue-ID: CCSDK-2608 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I414a400cf5228c8bff93517532607092103a6980
2020-07-25Fix NullpointerException in ErrorCatalogLoadPropertyServiceJozsef Csongvai1-1/+1
Issue-ID: CCSDK-2585 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I77864c7bd82033b7155572fd3a60c6cf88739f96 (cherry picked from commit e6a5b4203976b7969bc19199d24a63c7c1eb11df)
2020-07-24Disable jython testsJozsef Csongvai1-1/+3
BlueprintJythonServiceTest started failing in Jenkins for unknown reasons. Seeing as jython is deprecated and should be removed, its not worth tracing the cause. Issue-ID: CCSDK-2602 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I495409a18fc324e00c373c99bcc6da803666240a (cherry picked from commit 16ca057a54fc2d15159039dd5e8e44ae075c886b)
2020-07-16cmd-exec server-side timeout.Oleg Mitsura4-96/+137
Issue-ID: CCSDK-2535 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I897678a5a8a23503a878f2d3eb836ba4597a6e6e (cherry picked from commit 4ad951ee4c3ed41ca58a240e8b9193416c304b20) Note: updated files as is from master, which should contain latest cmd-exec. Change-Id: I1586763f1205861548545026a34523c65d185404 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
2020-07-14cmd-exec payload should be payload, not err msg.Oleg Mitsura1-36/+78
Issue-ID: CCSDK-2549 fixes: 1. CMD-exec returns payload as JSON object. There was some regression where we overwrite returned JSON with errMsg. 2. adds 100ms delta to executionTimeout, as was in our downstream version (want to guarantee that we get grpc timeout exception on BP side rather than coroutine w/o waiting extra) 3. setNodeOutputErrors should not have ability to set execution status to success. rev1. initial import rev2. reworked the calls to setNodeOutputErrors: addError was brought out of it as we can set the node execution error based on prepare.env or execution. rev3. did not mean to add BlueprintRuntimeService change Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I6d509df5ae51598f33ab9f0ea53806d653cf79c0 (cherry picked from commit c48e0797fd577ec10b7c8978c19b02f6a84a3950)
2020-07-09single /enrichandupload endpoint.Oleg Mitsura2-0/+37
Issue-ID: CCSDK-2540 rev1. initial commit rev2. spacing Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I14c8ffa42214faf064d8697b00190dee80f5da1c (cherry picked from commit 90b49b479b13ffb17baf6de0ca73d1442da9c423)
2020-07-07Release version 0.7.5 of CDS dockersDan Timoney1-0/+19
Release version 0.7.5 of CDS docker containers Issue-ID: CCSDK-2519 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I4c569e95a90b55f8d12bf5d434b627039d104a0f
2020-07-07Release version 0.7.5 of CDS containers (Frankfurt mtce release 1)Dan Timoney1-0/+5
Release version 0.7.5 of CDS maven artifacts Issue-ID: CCSDK-2519 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I2f0bb0c84adccf77f96c023af6c43450844e01f3
2020-07-06Roll version to latest Frankfurt snapshotDan Timoney63-82/+82
Roll versions to latest Frankfurt snapshot Issue-ID: CCSDK-2519 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I440fb78baad8dd3a607599556e712df61d12f6a1
2020-07-02Do not install certs in docker imageDan Timoney2-6/+1
Updated docker config to no longer install certificates in docker image. Instead, in kubernetes env, they will be installed as secrets in oom. In docker-compose env, certs will be an external mount. Issue-ID: CCSDK-2519 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Id67e16e72d2cb7d0c9a1d88fdcff544d86ca2708
2020-06-26Release version 0.7.4 CDS docker containersDan Timoney1-0/+19
Release version 0.7.4 CDS docker containers Issue-ID: CCSDK-2479 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I4e5f3c7a69b31de26455109570d3bae3a1b906d1
2020-06-24Merge "Release version 0.7.4 of CDS" into frankfurtDan Timoney1-0/+5
2020-06-24Release version 0.7.4 of CDSDan Timoney1-0/+5
Release version 0.7.4 of CDS maven artifacts Issue-ID: CCSDK-2479 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I6dc3acebdd37d2135325bebcab20405e84e88c1b
2020-06-16Merge "add error-messages_en.properties to the blueprint processor docker ↵Dan Timoney1-0/+1
image" into frankfurt
2020-06-16Regenerate py-executor certificate with the additional domain wildcardsMarek Szwalkiewicz3-82/+86
Additional wildcards requested by Oleg Mitsura. Issue-ID: CCSDK-2410 Change-Id: I59f9b1731fb0be40c413c7d8c9db618cda821aa4 Signed-off-by: Marek Szwalkiewicz <marek.szwalkiewicz@external.t-mobile.pl>
2020-06-12add error-messages_en.properties to the blueprint processor docker imageAbdelmuhaimen Seaudi1-0/+1
Issue-ID: CCSDK-2444 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> Change-Id: Iccdd77676606fc3007568a76402ef0696e6a1653 (cherry picked from commit 2fa007d45d0e9e6f38f56d7eb25ee5936f2b3c1d)
2020-06-11Add ResourceResolutionResult to ResourceResolutionServiceJozsef Csongvai12-59/+127
In order to ensure consistent behavior for assignment-map, supporting occurences and multiple artifact-prefixes, ResourceResolutionService needs to return assignment-map alongside generated template content. Issue-ID: CCSDK-2389 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I54c1991d23d65217f3492b08a2170a6d41b6482d
2020-06-09Use released version 1.5.9 of parent pomDan Timoney2-2/+2
Update to use released version 1.5.9 of parent pom Issue-ID: CCSDK-2399 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I86c615f3e1aa4e161645f2db2d986cbef4186615
2020-06-08Data dictionary fixes and improvements from vFW CNF demoSamuli Silvius29-170/+71
During doing vFW CNF use case CBA model with CDS (See INT-1260) found some diff/improvements to update to CDS starter dictionary. Issue-ID: CCSDK-2408 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Change-Id: I8e899b3ab34bcd499e917da318f589e69008dc6d (cherry picked from commit bef1899ac0e9cc77e8c22feffaab95cbc923d6ba)
2020-06-03Set explicit uid and gid in dockerfilesJozsef Csongvai4-4/+4
This fixes permission issues with shared nfs volumes caused by mismatch in dynamically assigned gid and uid between containers. Issue-ID: CCSDK-2398 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: Ie47873c98211b280490ee7a6bcc60ceef49dd690 (cherry picked from commit 12ab1a900ad255ffec2f18530e85d9b196417e26)
2020-06-01Merge "Regenerate py-executor certificate with the new wildcard" into frankfurtDan Timoney3-87/+87
2020-05-29Roll to next snapshotDan Timoney63-84/+84
Roll to next Frankfurt snapshot Issue-ID: CCSDK-2345 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I0e433bbe8f443c1342cb9a757c983a0e76bf5022
2020-05-28Regenerate py-executor certificate with the new wildcardMarek Szwalkiewicz3-87/+87
The existing cert was generated with dns alias that was not matching the service name that OOM uses. Issue-ID: CCSDK-2394 Change-Id: I3836c05f0adfde4a4ff184b32ddfcfbebd3c20d8 Signed-off-by: Marek Szwalkiewicz <marek.szwalkiewicz@external.t-mobile.pl> (cherry picked from commit 045eb1725eb72e727dfb17ad0296de05f422556f)
2020-05-28Merge "Fix sub-attribute parsing for accessing resolved values" into frankfurtDan Timoney7-1/+53
2020-05-28Merge "PY-executor missing AUTH_TOKEN in startup script" into frankfurtDan Timoney1-1/+7
2020-05-28Merge "Update Data Definitions" into frankfurtDan Timoney64-2165/+2742
2020-05-28Fix sub-attribute parsing for accessing resolved valuesJozsef Csongvai7-1/+53
Added assignment-map attribute to ResourceResolutionComponent. This attribute will hold a json object with the resolved values for each artifact-prefix. It will enable accessing any resolved value, using get_attribute with JsonPath. Issue-ID: CCSDK-2389 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I3441569d9766fbd79703d2f224de448edd56dbb2
2020-05-28REST endpoint for fetching templates resolution results does not expose ↵Serge Simard1-3/+7
occurence parameter Issue-ID: CCSDK-2384 Change-Id: I8a6abfea32c7aacade1e9b3140eeed22fa58b4a9 Signed-off-by: Serge Simard <serge@agilitae.com> (cherry picked from commit abee5037695a03ea80c2595269e613fc8756f8c0)