summaryrefslogtreecommitdiffstats
path: root/ms
AgeCommit message (Collapse)AuthorFilesLines
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>
2020-03-30Roll to next Frankfurt snapshot and fix sonar buildDan Timoney51-63/+75
Roll to next Frankfurt snapshot. Also, fixed config to skip sonar for error-catalog, which has no scannable components. Sonar builds were failing because error-catalog does not have standard maven source and test directories (src/main, src/test) Issue-ID: CCSDK-2152 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Iacb76b240e71206de8306af7e2447eaa07b0d33b
2020-03-30execution timeout not respected...Oleg Mitsura4-23/+43
Issue-ID: CCSDK-2012 rev1: initial commit rev2: reworked + added grpc deadline rev3: wrong err msg.. rev4: timeouts in millis rev5: timeout defaulting was after logging... Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I02eb414904cc5dfcf51ff7b7552dafe54857ed1e (cherry picked from commit 3f56fcfec7d14e7351280b9e2a1d220638626693)
2020-03-27Deactivating spring data jpa from SDCListenershaaban Altanany1-0/+6
1-Deactivate spring data jpa from health check common project Issue-ID: CCSDK-1669 Signed-off-by: shaaban Altanany <shaaban.eltanany.ext@orange.com> Change-Id: Ib59e9b11b948fd584ddc65da560a65328d885501
2020-03-27Change relative paths in Python Executor testMichal Jagiello1-2/+2
Add "babel/compat-data" package to Designer Client devDependencies Remove package-lock.json from .gitignore Issue-ID: CCSDK-2192 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I2676412dc4994fa5314cd411ce64d19df2790e5a
2020-03-20Merge "virtualenv lib changed. need to pin to older version."Brinda Santh Muthuramalingam1-1/+1
2020-03-19Fix kotlin cache lazy loadingSebastien Premont-Tendland8-12/+31
When USE_SCRIPT_COMPILATION_CACHE is set to false the classLoader is closed after the class is instantiated. This is causing an issue when lazy loading is happening during the script execution. Lazy loading occurs when a suspendible function returning something is called from "processNB", kotlin will create a second class that will be loaded during execution (needs to be in the classpath during execution). Issue-ID: CCSDK-2150 Signed-off-by: Sebastien Premont-Tendland <sebastien.premont@bell.ca> Change-Id: I64780287352d762325662e0e5d5b94038dedee7f
2020-03-18Fix GroupId and package name in Error CatalogDan Timoney31-76/+73
Issue-ID: CCSDK-2180 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: Ibe00fc1f2a905821b7100ae4f221ea1e0b934894
2020-03-17Fix groupId for error-catalogDan Timoney6-11/+11
Updated groupId from org.onap.ccsdk.error.catalog to org.onap.ccsdk.cds.error.catalog to match repo name Issue-ID: CCSDK-2177 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I6feda23dcd9263a741ce9e0838c126b0c0b7b17e
2020-03-16Update application properties for ErrorCatalogSteve Siani9-21/+143
Issue-ID: CCSDK-2174 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: I8d8de812bb560ef2c01bc3bee8dd17f9d6ed1099
2020-03-13Merge "add a rest endpoint to remove resources"KAPIL SINGAL4-0/+66