aboutsummaryrefslogtreecommitdiffstats
path: root/ms/py-executor
AgeCommit message (Collapse)AuthorFilesLines
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-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-03Set explicit uid and gid in dockerfilesJozsef Csongvai1-1/+1
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 Timoney1-1/+1
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-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-05Roll to next snapshotDan Timoney1-1/+1
Roll to next Frankfurt snapshot version Issue-ID: CCSDK-2344 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ic67ba870ef2a6158f859754d123e6051e389d816
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-rootjananib1-0/+1
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-16Making POD run as non-rootjananib1-1/+5
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-07Roll to next Frankfurt snapshotDan Timoney1-1/+2
Roll to next Frankfurt snapshot release Issue-ID: CCSDK-2152 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ia5a5dca4d552925f8909a2c2a92bbabeec39cdc4
2020-03-30Roll to next Frankfurt snapshot and fix sonar buildDan Timoney1-1/+1
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-11PyExecutor ResourceResoluton helper class.Michal Jagiello6-6/+601
Create a class to call workflow execution requests to gRPC server. Create an interceptor to use header authorization for gRPC calls. Issue-ID: CCSDK-1989 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ia449a089e02e7a12e31bee5e3b7debee506d8426
2020-02-25Fix Sonar Jenkins jobDan Timoney1-0/+1
Updated pom.xmls of modules that do not contain 'src/main' directory to skip Sonar scan. This allows Sonar scan to complete for the rest of CDS. Need to revisit these modules to see whether they should really be skipped or if sonar properties (e.g. sonar.sources) should instead be tailored. Issue-ID: CCSDK-2116 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I8b0237886e357a0188633f007dc97cf6e725fa53
2020-01-30Add Artifact Manager service.Marek Szwalkiewicz25-1325/+120
Adds a micro service that offers gRPC interface for CBA artifacts manipulation. By default the service is attached to py-executor but can be ran as a separate service if needed in the future. Issue-ID: CCSDK-1988 Change-Id: I40e20f085ae1c1e81a48f76dbea181af28d9bd0d Signed-off-by: Marek Szwalkiewicz <marek.szwalkiewicz@external.t-mobile.pl>
2020-01-24Add resource resolution gRPC client.Marek Szwalkiewicz8-0/+260
Adds a python module that contains new resource resolution client that should replace previous helpers done in Jython. Issue-ID: CCSDK-1989 Signed-off-by: Marek Szwalkiewicz <marek.szwalkiewicz@external.t-mobile.pl> Change-Id: I48b22acdc7fec31f28de84232c5b6b37124a0c2a
2019-12-06Refractor controller blueprint modulesBrinda Santh1-0/+0
Move controller blueprints modules to blueprints processor and change the maven group name. Fix test cba and model type paths Fix dependencies issues. Issue-ID: CCSDK-1663 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I3654e6f04811470327acba90e8a452b66e3e189b
2019-11-29Upgrade py executor ms GRPC version.Brinda Santh8-80/+815
Regenerate TLS certs with config file. Issue-ID: CCSDK-1737 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I2b0982c4e230524ad1e58f150da2a05e4474a0fa
2019-11-19Folder for py-executor TLS certificate filesBrinda Santh7-14/+10
Issue-ID: CCSDK-1747 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: Ia404322cefbd603fd06bd23ff1d069dc277065ec
2019-11-13Use 1.5.0 parent pomTimoney, Dan (dt5972)1-1/+0
Use released 1.5.0 version of parent pom Change-Id: Icfce7d572b7403e3ea43cb41675fe9d7b169e782 Issue-ID: CCSDK-1920 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-10-31Merge "Py executor grpc TLS server authentication."Dan Timoney8-12/+199
2019-10-30Removed all http_proxy reference from build.Sebastien Premont-Tendland1-4/+1
http_proxy is an environment configuration and should not be defined in in the build script. If you need to use a proxy to build docker images then add it to the mvn command like this : -Ddocker.buildArg.http_proxy=$PROXY -Ddocker.buildArg.https_proxy=$PROXY Also adding http_proxy in the Dockerfile directly will add the environment variable in the POD statically using the proxy the was built with at runtime. If a proxy is needed at runtime then the environment variables should be injecting using helm charts and overrides. Issue-ID: CCSDK-1877 Signed-off-by: Sebastien Premont-Tendland <sebastien.premont@bell.ca> Change-Id: I2b99b277b594408c974cf29a5804384293776a22
2019-10-22Py executor grpc TLS server authentication.Brinda Santh8-12/+199
Issue-ID: CCSDK-1854 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I72b3deb7976e7d3e44478c497a46b9b4ac428623
2019-10-10Remove python ciscoconfparser requirementBrinda Santh1-2/+1
Issue-ID: CCSDK-1747 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I6af3916d949075d1f250086a032a0d7b1457c26c
2019-10-03Add bi-directional python executor testsBrinda Santh5-6/+31
Issue-ID: CCSDK-1747 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I2e2b974d35d6878418eafe8ece9fcb1d69622a61
2019-09-25Add bi-directional GRPC python executor.Brinda Santh20-0/+1361
Python based bidirectional communication script executor microservice. Issue-ID: CCSDK-1747 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: If2e8f862ca4cb97d10714df2ab1cccccef2d576a