summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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 Mitsura3-18/+63
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)52-61/+61
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-08Release CDS 0.6.4 dockersTimoney, Dan (dt5972)1-0/+17
Release CDS version 0.6.4 docker containers Change-Id: I67155d7cff9a7d10be6b1643791610a4b6e30441 Issue-ID: CCSDK-1912 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-11-08Release CDS 0.6.4 maven artifactsTimoney, Dan (dt5972)1-0/+5
Release CDS version 0.6.4 maven artifacts Change-Id: Ia42c46d80a1db2c6bc6ea716b4983be8d5ef6c58 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 Timoney16-60/+192
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 Simard16-60/+192
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 Siani4-7/+55
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-10-11Remove Controller API url and use blueprintProcessorApi url insteadShaaban Ebrahim4-31/+31
Issue-ID: CCSDK-1793 Signed-off-by: Shaaban Eltanany <shaaban.eltanany.ext@orange.com> Change-Id: Ic22a886bb7018ec09c557166e3ebd69196713d4c (cherry picked from commit 6c6ec71317d746bd744cd510a5da79956b8d176c)
2019-10-10update vLB CDS CBAAbdelmuhaimen Seaudi19-549/+526
Issue-ID: CCSDK-1816 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> Change-Id: I1b399aae8abca6a2f5d175560053fa0c7b646896 (cherry picked from commit c4fb5230962566bb8e321d1129cee384f70d84e8)
2019-10-04Worked on defect CCSDK-1793Arundathi Patil1-3/+3
Changed base url from controller-blueprint to blueprint-processor Issue-ID: CCSDK-1793 Change-Id: I38f8e8ba482a05d5b385c109fcd4c54f2cd77b48 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-09-30Roll cds versionTimoney, Dan (dt5972)52-63/+63
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-19Release 0.6.3 CCSDK artifactsTimoney, Dan (dt5972)1-0/+5
Release version 0.6.3 CCSDK maven artifacts Change-Id: I4caf9927b0a69046cfeeefbbb1b7adb5d0fd14fc Issue-ID: SDNC-917 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-09-18Merge "Roll to next snapshot" into elaltoDan Timoney52-63/+63
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 Simard3-33/+70
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)52-63/+63
Roll to next snapshot version Change-Id: I9ec9655ed36ededa95d75d14338835eb9e86804e Issue-ID: CCSDK-1701 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-09-17Merge "Updated golden README for config-assing" into elaltoDan Timoney1-2/+4
2019-09-17Merge "Golden config-assign fails to resolve golden-vf-module-type" into elaltoDan Timoney1-2/+2
2019-09-17Merge "Release version 0.6.2" into elaltoDan Timoney1-0/+5
2019-09-15Updated golden README for config-assingSamuli Silvius1-2/+4
interface-name and unit-name parameters added to example payload as they are resolved from input. Issue-ID: CCSDK-1726 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Change-Id: I8016b7b48947d5fb9b57085f6a4669ba342bbc73
2019-09-15Golden config-assign fails to resolve golden-vf-module-typeSamuli Silvius1-2/+2
Issue-ID: CCSDK-1726 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Change-Id: I6cc09f9cf5a734b64dba2883656dbcdb03cf752d
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-13Release version 0.6.2Timoney, Dan (dt5972)1-0/+5
Release version 0.6.2 Change-Id: I7c8bb6f4fc0491b644282702ec9d7dc9dfcadc0c Issue-ID: CCSDK-1701 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-09-11Roll versions for El AltoTimoney, Dan (dt5972)52-63/+63
Roll to next El Alto snapshot Change-Id: I4e2016ab8711a74f781bd1421e35e289c716a612 Issue-ID: CCSDK-1701 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-09-10Release version 0.6.1Timoney, Dan (dt5972)1-0/+5
Release CCSDK version 0.6.1 Change-Id: I672526e55538206829ef257aaab2c6b7c1155196 Issue-ID: CCSDK-1701 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-09-10Merge "Resource Dictionary: fecthing data-type list"Brinda Santh Muthuramalingam7-6/+57
2019-09-10Merge "Revert "Use ProcessPool rather than ThreadPool Executor""Brinda Santh Muthuramalingam4-10/+8
2019-09-09Merge "HTTP headers feature for BP REST endpoints def'ns"Brinda Santh Muthuramalingam8-203/+491
2019-09-09Resource Dictionary: fecthing data-type listArundathi Patil7-6/+57
Created loopback API function to fetch data-types from backend and display them in data-type drop-down Issue-ID: CCSDK-707 Change-Id: I797177b9042558c99a94df9c9dd4295c43389d29 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
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>