aboutsummaryrefslogtreecommitdiffstats
path: root/ms
AgeCommit message (Collapse)AuthorFilesLines
2020-07-28Merge "cmd-exec payload should be payload, not err msg." into frankfurtKAPIL SINGAL1-36/+78
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-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-06Roll version to latest Frankfurt snapshotDan Timoney51-63/+63
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-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 Csongvai11-59/+112
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-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 Timoney51-63/+63
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 Timoney6-1/+43
2020-05-28Merge "PY-executor missing AUTH_TOKEN in startup script" into frankfurtDan Timoney1-1/+7
2020-05-28Fix sub-attribute parsing for accessing resolved valuesJozsef Csongvai6-1/+43
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)
2020-05-28PY-executor missing AUTH_TOKEN in startup scriptOleg Mitsura1-1/+7
rev1. initially copied BASIC_AUTH rev2. meant AUTH_TOKEN Issue-ID: CCSDK-2386 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I6278476291d4ef892b249e35f20f43d70fd0e4a0 (cherry picked from commit 6ce6c7d4749b008cfd2484a54edfaf12e473ca08)
2020-05-20Improve logging for ResourceAssingmentUtilsJozsef Csongvai2-7/+16
Sort keys for generated resource param data logging Issue-ID: CCSDK-2381 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: Iea0a88fbe915e41e399ced45d842a8ef14d052c1 (cherry picked from commit 79d6af1baefdafd0cef5d32aa87b509b76070ebc)
2020-05-19Fix incorrect encoding for query paramsJozsef Csongvai2-1/+37
Issue-ID: CCSDK-2380 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I3a49f2c5a3a29383e43e2a4a3d6a9c13a9f933c2 (cherry picked from commit 1910b2b7879712ccac56580e8996a700f6dcec43)
2020-05-05Roll to next snapshotDan Timoney51-63/+63
Roll to next Frankfurt snapshot version Issue-ID: CCSDK-2344 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ic67ba870ef2a6158f859754d123e6051e389d816
2020-04-30Fix null safety - ResourceResolutionDBService.writeJozsef Csongvai2-5/+29
Issue-ID: CCSDK-2352 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I49a56dff0636617111f02be141764600e0a1e082 (cherry picked from commit 3fb8905c569e11c5c1a92ea583124e911862b596)
2020-04-30RestResourceResolutionProcessor should always set StatusJozsef Csongvai1-0/+3
Issue-ID: CCSDK-2350 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: Ieadfb9b5931808f9eb298aa913d32cabbad67e2e (cherry picked from commit f8b1afe40d6c741f91e9858e02338b231b8d608a)
2020-04-29PyExecutor ResourceResolution store/retrieve templatesMichal Jagiello11-36/+466
Issue-ID: CCSDK-2156 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I59df2772d004e349532a1b42c4e4abd367c13256 (cherry picked from commit daf7bf3b0726c9574f9f1b7aa34af4f199ee32c3)
2020-04-28Making POD run as non-rootjananib4-3/+9
Non-root user addition Change-Id: Id110aebea3d3526aaf319d8994670644a7bab698 Issue-ID: CCSDK-2149 Signed-off-by: jananib <janani.b@huawei.com> (cherry picked from commit be864c3d32ea9dfe88f0e121734abdc950401449)
2020-04-28Merge "Making POD run as non-root" into frankfurtDan Timoney2-2/+9
2020-04-28Merge "Making POD run as non-root" into frankfurtDan Timoney2-0/+10
2020-04-23Junit for SdcListenerExceptionezhil1-0/+50
Issue-ID: CCSDK-2305 Change-Id: I369e98e0c9b57e3b1e6a52c073f91fa355057508 Signed-off-by: ezhil <ezhrajam@in.ibm.com> (cherry picked from commit 8371ce88a9b65c2c1c799f3b5b5629a7977b000b)
2020-04-22Merge "Junit for FileUtil" into frankfurtDan Timoney1-0/+83
2020-04-22SDCListenerDto Junit testezhil1-0/+68
Issue-ID: CCSDK-2305 Change-Id: Id7b0882561a9f714037a4fbcce0c466ab9b148f3 Signed-off-by: ezhil <ezhrajam@in.ibm.com> (cherry picked from commit 680e97a60b7ceff12edd1d967b55ca19af77024b)
2020-04-22Junit for FileUtilezhil1-0/+83
Issue-ID: CCSDK-2305 Change-Id: I226be53b04c6131819a6eda4ad87726457e347b4 Signed-off-by: ezhil <ezhrajam@in.ibm.com> (cherry picked from commit ceb6fcc5c5c6ddea4cb993ad54212afcfd0d132e)
2020-04-21Merge "cmd-exec had a merge issue from elalto..." into frankfurtDan Timoney1-17/+19
2020-04-20cmd-exec had a merge issue from elalto...Oleg Mitsura1-17/+19
Issue-ID: CCSDK-2049 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I611fff488b339f03b85c58ed097525a0bcda35a3 (cherry picked from commit 65a6f37c25ff2c03224ed61301a737667a6fd625)
2020-04-20Fix default behavior for DatabaseResourceAssignmentProcessorJozsef Csongvai3-73/+40
If a data-dictionary did not declare an endpoint-selector, it would default to primary cds-db instead of using data-dictionary source to look up database configuration. Processor-db configurations were not used because of this. Also improved error messages and some refactoring. Issue-ID: CCSDK-2315 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I7122e1334951db4eec5b9ae8b01c1f66596636f6 (cherry picked from commit 87bf1928aa4772c3b953a0a5800bec99f23b6e9c)
2020-04-16Workflow-spec returning error responsejananib1-6/+21
Fix workflow-spec query Change-Id: Ic66e2249b73c113cd25bd99c9cf33984520e31df Issue-ID: CCSDK-2181 Signed-off-by: jananib <janani.b@huawei.com> (cherry picked from commit 7247588ed2ac6b9fb0bd615525ae9347145b66b0)
2020-04-16Making POD run as non-rootjananib2-2/+9
Non-root user addition Change-Id: I45ebc75940c020fdda79fbe454461a19df39c525 Issue-ID: CCSDK-2149 Signed-off-by: jananib <janani.b@huawei.com> (cherry picked from commit b21a8dcb57767134eca44de57b863b457db6b88e)
2020-04-15Making POD run as non-rootjananib2-0/+10
Non-root user addition Change-Id: I82995b0c0a6eb815e0422c6072c111c889c8c84a Issue-ID: CCSDK-2149 Signed-off-by: jananib <janani.b@huawei.com> (cherry picked from commit 3a27f2fee05ef874181ea818f28329c2567e52c5)
2020-04-10Merge "Fix parsing error for RestResourceSource" into frankfurtDan Timoney2-2/+3
2020-04-10Enable inline templating in mapping filesJozsef Csongvai4-0/+53
Issue-ID: CCSDK-2306 Change-Id: I9657eb73b48659edfc1adfd842ed96f35a095197 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> (cherry picked from commit 3109998de219adb6488ff28c9ab4e9bf6b444e57)
2020-04-10Fix parsing error for RestResourceSourceJozsef Csongvai2-2/+3
Issue-ID: CCSDK-2310 Change-Id: I3587187b115797ce00ffd8c9125d9ee5035e25be Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> (cherry picked from commit dd54f3f3976cdb90c3c04be01880c37fb753d51b)
2020-04-09ComponentStatusMessage Junit testclassezhil1-0/+30
Issue-ID: CCSDK-2305 Change-Id: If6f7d645f8c83c71403d363d547f98ff4b4ccb68 Signed-off-by: ezhil <ezhrajam@in.ibm.com> (cherry picked from commit e83896cc31246bd4dfdb37e4bc947de04e270e5f)
2020-04-09Improving CMD-exec err msgs/handling.Oleg Mitsura4-76/+163
Issue-ID: CCSDK-2049 rev1. initial commit rev2. added better logging/passing errors. rev3. bugfixes rev4. bugfix for CommandExecutorServer.prepareEnv return status was still returning bool. (was caught only during a defective mariadb pip package install!) Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: Ifbddaeb0e15857f42b121af10e30e29dec5c20b2 (cherry picked from commit 6f18499858e224a53086a049917037029e6267ee)
2020-04-08Refactoring BP Code with ErrorCatalogBrinda Santh57-447/+743
Issue-ID: CCSDK-2124 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: Ief468a56f9e7b3ef86c357965aa7b15f0a4cfa22 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-04-08Merge "Roll to next Frankfurt snapshot" into frankfurtDan Timoney51-63/+114
2020-04-08Removed logging of configuration snapshot as it might leak sensitive data in ↵Serge Simard1-1/+1
the logs. Issue-ID: CCSDK-2151 Signed-off-by: Serge Simard <serge@agilitae.com> Change-Id: I3422fbf2fd82c7a0e11d9663265e21525c102496 Signed-off-by: Serge Simard <serge@agilitae.com> (cherry picked from commit 6198c0b576a5ad873e1c47af8d592a43d136d8cb)
2020-04-07Roll to next Frankfurt snapshotDan Timoney51-63/+114
Roll to next Frankfurt snapshot release Issue-ID: CCSDK-2152 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ia5a5dca4d552925f8909a2c2a92bbabeec39cdc4
2020-04-06Merge "execution timeout not respected..."Dan Timoney4-23/+43
2020-03-31Fix ResolutionSummary - return empty string instead of nullJozsef Csongvai3-18/+40
Issue-ID: CCSDK-2246 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I894bf605ee7f5b094d015fd637979ce055da5081
2020-03-31Fix for sdc listener and reactorSebastien Premont-Tendland2-11/+0
Issue-ID: CCSDK-2235 Change-Id: I875f991a05cf32d565c866bea33ad27b11739d41 Signed-off-by: Sebastien Premont-Tendland <sebastien.premont@bell.ca>