aboutsummaryrefslogtreecommitdiffstats
path: root/ms
AgeCommit message (Collapse)AuthorFilesLines
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-03-31better err msg on failures during timeouts.Oleg Mitsura2-7/+8
Issue-ID: CCSDK-2039 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: Ic76d024bffbf91d3056227c5533a9fd8e1b2d80b
2020-03-31cherrypicking to elaltoOleg Mitsura1-1/+12
Issue-ID: CCSDK-1860 CDS_REQUEST_ID in cmd-exec env + logging Upstream code: a)revision 4 of patch https://gerrit.onap.org/r/c/ccsdk/cds/+/100922 fixed a bug where boolean was expected instead of return_struct with err msg. b)CDS_REQUEST_ID from this patch https://gerrit.onap.org/r/c/ccsdk/cds/+/97582 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I7a332f245da9db40745e74356c2267f8566bafec
2020-03-31Improving CMD-exec err msgs/handling.Oleg Mitsura4-66/+121
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
2020-01-27cmd-exec separate env-prepare and exec timeouts.Oleg Mitsura2-18/+51
Issue-ID: CCSDK-2039 added inputs for cmd-exec "env-prepare-timeout" and "execution-timeout" to segregate the timeouts. rev1: initial commit rev2: reverted application-dev.properties rev3: apply default timeouts if they are not specified + fixed a test Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I651594932a3fc87e0d853e65879b1548d9dbde8a
2020-01-23cmd-exec 0-return is success; env.prep.fix.Oleg Mitsura2-33/+41
Issue-ID: CCSDK-1855 This is cherry-pick of https://gerrit.onap.org/r/c/ccsdk/cds/+/98609 rev2. pasted wrong file, modified back... rev3. added catch-all. Change-Id: I30eccc3b18b428970bfa873b9f0ce359a1f5e97d Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
2020-01-16Add custom header configuration for aai callsJozsef Csongvai2-1/+13
Issue-ID: CCSDK-2020 Change-Id: Ibd63a00bf59b0e955612da69fa1d4970381b9a64 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> (cherry picked from commit 9422e89eb60c5f6fadc05c650bae214d9d0c83d4)
2019-12-23execution timeout not respected...Oleg Mitsura3-46/+74
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
2019-11-15Removed deprecated class. The correct implementation isSebastien Premont-Tendland1-126/+0
in the class BlueprintProcessorCatalogServiceImpl. Issue-ID: CCSDK-1924 Signed-off-by: Sebastien Premont-Tendland <sebastien.premont@bell.ca> Change-Id: I097cd0cc3c992de46894cfdb910b61d1d847a363
2019-11-14Rolling upgrade support for in-flight requestsSebastien Premont-Tendland5-3/+55
Three entry points are being handled : 1 - REST endpoint 2 - gRPC endpoint 3 - Kafka consumer We make use of Phaser object to make sure the PreDestroy callback wait for all requests to be executed before stopping the process. The docker image was also modified to make sure the java process becomes PID 1 in the container in order to catch the SIGTERM signal which triggers the PreDestroy callback of Spring. This was done by using the "exec" command in bash. Issue-ID: CCSDK-1885 Signed-off-by: Sebastien Premont-Tendland <sebastien.premont@bell.ca> Change-Id: I64611e569ddb78499aed2375e6186f028d1d8fa0
2019-11-14Removed all http_proxy reference from build.Sebastien Premont-Tendland4-12/+2
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-11-08Roll CDS version to 0.6.5-SNAPSHOTTimoney, Dan (dt5972)43-48/+48
Roll version to next snapshot (0.6.5-SNAPSHOT) Change-Id: I353c4833e78e5f225c778ac959893f63ec9842d7 Issue-ID: CCSDK-1912 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-11-06Fixed typo...Oleg Mitsura1-1/+1
Issue-ID: CCSDK-1908 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I962db89c620c46f8979df03c20c26d3bfc32fb73
2019-11-05netconf retry disconnect()Oleg Mitsura1-3/+11
Issue-ID: CCSDK-1908 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I90ca822c042ec84fda717a152c4f699bacdd87ad
2019-11-01Merge "Provide ongoing occurrence value for scripting" into elaltoDan Timoney2-0/+7
2019-11-01Merge "Improve Remote Python Executor error handling and" into elaltoDan Timoney10-58/+157
2019-11-01Provide ongoing occurrence value for scriptingAlexis de Talhouët2-0/+7
This patch fixes this for template https://gerrit.onap.org/r/#/c/ccsdk/cds/+/95081/ but not for script, where the occurrence value might be needed. In reality, this overall occurrence thing is a mistacke, but it's solving an issue that I yet don't know how to properly solve. Change-Id: I7f8579ad2bde3f96b06aaf09c8b8c67d4b97e7b0 Issue-ID: CCSDK-1693 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Signed-off-by: Shaaban Ebrahim <shaaban.eltanany.ext@orange.com> (cherry picked from commit d39772eaeb2c6e6665c4a6d41f6af84f63151184)
2019-11-01Improve Remote Python Executor error handling andSerge Simard10-58/+157
Issue-ID: CCSDK-1855 Signed-off-by: Serge Simard <serge@agilitae.com> Change-Id: I924918fb06a5a0f118772dedaa41c536c7eca9e7 Signed-off-by: Serge Simard <serge@agilitae.com> (cherry picked from commit 35ab81bb9ff203e14116de10bc2735ffb2883f67)
2019-10-31netconf lib bugfixes: invoke_rpc + timeouts.Oleg Mitsura5-21/+64
Issue-ID: CCSDK-1886 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I0a33199d4b4cbd5e3355d1e7596d22bd7cdbd075
2019-10-31Merge "Ensure proper unloading of resources associated with the dynamic ↵Dan Timoney3-4/+17
classloader for Kotlin scripts." into elalto
2019-10-31Merge "Increase num workers to 15" into elaltoDan Timoney1-1/+1
2019-10-30Ensure proper unloading of resources associated with the dynamic classloader ↵Serge Simard3-4/+17
for Kotlin scripts. Issue-ID: CCSDK-1692 Signed-off-by: Serge Simard <serge@agilitae.com> Change-Id: Ic1c1bf263331bf4a43d855798d2d62ec97503ceb (cherry picked from commit bacce97c415081df60631d97a89e80eb6b3edbab)
2019-10-30Add wrapper function for Cli and Netconf executorSteve Siani2-4/+18
Issue-ID: CCSDK-1707 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: I2c29d0135b8252cd21ed3d139516ac637c846927 (cherry picked from commit 1d7e5f7f80281823cbfc4a2e2ea9833c6412de8c)
2019-10-30Increase num workers to 15Oleg Mitsura1-1/+1
Issue-ID: CCSDK-1859 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: Id11ed788e2a4d02c93c8e313ba4aef555ffe7885 (cherry picked from commit 8c16a7853900312866868a61079a336d4b12991a)
2019-09-30Roll cds versionTimoney, Dan (dt5972)43-48/+48
Roll CDS to next snapshot version Change-Id: I369633e10d1fd5b1b4fec55122fe36af1666cfe9 Issue-ID: CCSDK-1748 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-09-29Refactoring ResourceAssignmentUtilsSingal, Kapil (ks220y)16-249/+316
Refactoring ResourceAssignmentUtils parseResponseNodeForPrimitiveTypes API to remove cyclic value assignments Issue-ID: CCSDK-1748 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I27b5a7d3ed2df38cf4e3e44686aec094ebdb5f25 Refactoring ResourceAssignmentUtils Changing isNull condition to isNullOrEmpty to make sure Empty value doesn't get assigned to resource Issue-ID: CCSDK-1748 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I0744537c7ddec80f20ffd7e6545b947439f63743 Resource Resolution Refactoring Refactoring some logging statements and adding new loggers Issue-ID: CCSDK-1748 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I5676659eea01056a7d29206f13473a4361516755
2019-09-20Bug-fix - CDS Processor-DB & Default Dictionary not workingSteve Siani12-383/+581
Issue-ID: CCSDK-1718 Issue-ID: CCSDK-1717 Issue-ID: CCSDK-1746 Refactoring Resource Resolution Component Use Case: ---------- Input Value (IV): It can be API Input Value or API Default value If a Resource is marked as Input -> pick IV If a Resource is marked as other than Input -> pick IV -> if IV is not present then resolve it as per DataDictionary Definition ** Return Error if Resource is not resolved using assert : ResourceAssignmentUtils.assertTemplateKeyValueNotNull Change-Id: Ib92d970d07a1dcf7362ab499a398de49ae8323a1 Change-Id: I42c1c15070f77bc9e7e73cc0dc2ee3a30ff19564 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-09-18Merge "Roll to next snapshot" into elaltoDan Timoney43-48/+48
2019-09-18Merge "SSLRestClientProperties does not allow ignoring hostname ↵Dan Timoney2-3/+10
discrepancies with certificate, when doing SSL negotiation." into elalto
2019-09-18SSLRestClientProperties does not allow ignoring hostname discrepancies with ↵Serge Simard2-3/+10
certificate, when doing SSL negotiation. Issue-ID: CCSDK-1732 Signed-off-by: Serge Simard <serge@agilitae.com> Change-Id: I6e8d63b1f24abcd0098db471d18d2a55e45de3f9 Signed-off-by: Serge Simard <serge@agilitae.com> (cherry picked from commit e275dc8ea2986f582b3a4aea65c8ca8c0d9f05f3)
2019-09-18Updated Remote Ansible component to retrieve all artifacts and logs produced ↵Serge Simard2-31/+68
by job/workflow. Issue-ID: CCSDK-1741 Signed-off-by: Serge Simard <serge@agilitae.com> Change-Id: I83e8bac79977a08d16d5356c0d21af1d7897cfc0 Signed-off-by: Serge Simard <serge@agilitae.com>
2019-09-17Roll to next snapshotTimoney, Dan (dt5972)43-48/+48
Roll to next snapshot version Change-Id: I9ec9655ed36ededa95d75d14338835eb9e86804e Issue-ID: CCSDK-1701 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-09-13Fix spring fox swagger snapshot version.Brinda Santh2-18/+17
Change-Id: I62ce444d77fa0aa8d6d6adb3ceca0cc83040bbe9 Issue-ID: CCSDK-1724 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-09-11Roll versions for El AltoTimoney, Dan (dt5972)43-48/+48
Roll to next El Alto snapshot Change-Id: I4e2016ab8711a74f781bd1421e35e289c716a612 Issue-ID: CCSDK-1701 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-09-10Merge "Revert "Use ProcessPool rather than ThreadPool Executor""Brinda Santh Muthuramalingam4-10/+8
2019-09-08HTTP headers feature for BP REST endpoints def'nsOleg Mitsura8-203/+491
Issue-ID: CCSDK-1341 Change-Id: I2da6a19ddea137c0fb868a413f77a45c1def3877 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
2019-09-06Revert "Use ProcessPool rather than ThreadPool Executor"Alexis de Talhouët4-10/+8
This reverts commit cd29a05ccd4279d7fb740d03bbeee6a0839b287e. Issue-ID: CCSDK-1681 Change-Id: I5827256ea5dc76b6ff8806250c684d155656dfc5 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-09-06Merge "Resource resolution fix + improvement."Dan Timoney1-2/+7
2019-09-05Resource resolution fix + improvement.Serge Simard1-2/+7
Fix: Fix for list typed data resolution retrieved from database table. Improvement: exposing occurrence property to template engine; useful, when doing multi-occurrence template generation, to index list data resolved previously. Issue-ID: CCSDK-1693 Signed-off-by: Serge Simard <serge@agilitae.com> Change-Id: I3a601ebabfcd42c439a515d3fe44ff4fc00b2314 Signed-off-by: Serge Simard <serge@agilitae.com>
2019-09-05Merge "Add Config based blueprint process consumer"Dan Timoney21-484/+421
2019-09-05Merge "Add Kafka message lib consumer services"Dan Timoney9-39/+384
2019-09-05Merge "RR Complex types and Unit tests coverage"Dan Timoney3-67/+505
2019-09-05Add Config based blueprint process consumerBrinda Santh21-484/+421
Change-Id: I9e37ecb5032047f835f3b2ea20b2689c76353497 Issue-ID: CCSDK-1668 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-09-05Do not output StepData informationAlexis de Talhouët1-0/+3
This information is for internal processing purposes, it should not be output to user, as could cause confusion. Change-Id: I95ead3fbc5e22e3a1751e41d90e567965cc00fa4 Issue-ID: CCSDK-1691 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-09-05Do not throw exception when no data exist.Alexis de Talhouët5-33/+27
The first time we're doing a diff, if a store operation has never been done before, we shouldn't throw exception, we should silently succeed and set the diff as empty value. Change-Id: Ie2371737758a1525da6b76ac85bceb7fe1aa4673 Issue-ID: CCSDK-1690 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-09-04Add Kafka message lib consumer servicesBrinda Santh9-39/+384
Change-Id: Iaf1df07a0d8f4fb54d5d06047520010d3bfe5465 Issue-ID: CCSDK-1668 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-09-04Merge "Add draft and publish grpc upload options."Dan Timoney4-20/+54
2019-09-04Add draft and publish grpc upload options.Brinda Santh4-20/+54
Change-Id: Id1476f1cb449c4070a7ef53a918b62d26da26391 Issue-ID: CCSDK-1682 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-09-04RR Complex types and Unit tests coverageSteve Siani3-67/+505
Issue-ID: CCSDK-1615 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: I1035aa05b4b038095c9d17fdcd00c462bed5085a
2019-09-03Do not duplicate model types and data dictionariesAlexis de Talhouët77-1853/+4
Change-Id: I960e9ce040490dea82bd9afa9133ed982fe08d14 Issue-ID: CCSDK-1663 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>