summaryrefslogtreecommitdiffstats
path: root/ms
AgeCommit message (Collapse)AuthorFilesLines
2020-12-14Pass on MDCContext to imperative workflowJozsef Csongvai2-4/+14
Issue-ID: CCSDK-3032 Change-Id: Id62ab38064d5d3b1a24db674804d710ca407940e Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2020-12-14Updating parent pom version to 2.1.1-SNAPSHOTSingal, Kapil (ks220y)1-1/+1
Comenting out testSampleAaiReq from RestClientServiceTest.kt as this is causing verify job timeout Issue-ID: CCSDK-3046 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I38d88814335b83167597c1a24162ad3c743355f3
2020-12-08CDS add Swagger annotations for BP Model APIJakobKrieg4-36/+219
Issue-ID: CCSDK-3014 Change-Id: Ibca7cbaa2c70f04acf818e2b554664e13b116c5e Signed-off-by: JakobKrieg <jakob.krieg@bcmsolutions.de>
2020-12-04Merge "ResourceResolution should fail if required resource did not resolve"KAPIL SINGAL3-16/+35
2020-12-04ResourceResolution should fail if required resource did not resolvekuldipr3-16/+35
Issue-ID: CCSDK-3022 Signed-off-by: kuldipr <kuldip.rai@amdocs.com> Change-Id: I6ca858988f0b11bdf3bbde07e8f4bde939342aa2 Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
2020-12-03add toggle variable ansible fire failure to awx functionEltanany Shaaban1-2/+2
-add logs output when it fails Issue-ID: CCSDK-2366 Signed-off-by: Eltanany Shaaban <shaaban.eltanany.ext@orange.com> Change-Id: Ie1a122865be541a45de157ab3afa9e426d1defb4
2020-12-03Merge "add toggle variable ansible fire failure to awx function"KAPIL SINGAL1-3/+16
2020-12-03add toggle variable ansible fire failure to awx functionEltanany Shaaban1-3/+16
Issue-ID: CCSDK-2366 Signed-off-by: Eltanany Shaaban <shaaban.eltanany.ext@orange.com> Change-Id: I42b757c206c6d420ffa289cbe9e6c2b4dbf22b20
2020-12-02CDS Fix Swagger issuesPiotr Stanior4-3/+4
Fixed unique id generation for overloaded method. Changed example values in ApiModelProperty annotation to fix issues in Swagger json file. Issue-ID: CCSDK-3014 Change-Id: If83dc88187b62346182d1fb4b753aae544bbc322 Signed-off-by: Piotr Stanior <piotr.stanior@t-mobile.pl>
2020-12-02CDS change Swagger file output directory to docsJakobKrieg1-1/+1
Issue-ID: CCSDK-3014 Change-Id: Ib0c6a0ffbf5357b64407138b8c0488f05e259d41 Signed-off-by: JakobKrieg <jakob.krieg@bcmsolutions.de>
2020-12-01CDS add swagger maven pluginJakobKrieg1-0/+60
Issue-ID: CCSDK-3011 Change-Id: If83fc5668dc5dad7ec0b5499141024303a3ca372 Signed-off-by: JakobKrieg <jakob.krieg@bcmsolutions.de>
2020-11-27CDS migrate to springfox 3.0.0JakobKrieg2-45/+3
Old dependencies and Annotations removed. Refer official documentation: https://springfox.github.io/springfox/docs/snapshot/#migrating-from-existing-2-x-version Issue-ID: CCSDK-3004 Change-Id: I3f4ce138dc83d74ea1b1e64b0ff4cf5badd3873b Signed-off-by: JakobKrieg <jakob.krieg@bcmsolutions.de>
2020-11-23Support for generic URL for mount, Put, Get addedtragait1-0/+70
Issue-ID: CCSDK-2993 Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: I4061d6ba5084806c0a14b137e169f73cdd68a588
2020-11-20Refactoring POM and removing duplicate dependencySingal, Kapil (ks220y)1-19/+4
Issue-ID: CCSDK-2998 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I68e5c0c89c8f7100c3f3725e1682676688c319ab
2020-11-12Merge "Remove URI encoding in BlueprintWebClientService"KAPIL SINGAL2-22/+6
2020-11-12Remove URI encoding in BlueprintWebClientServiceJozsef Csongvai2-22/+6
Malformed uri's should be handled by resource resolution in the cba Issue-ID: CCSDK-2980 Change-Id: I5c1cf97519a882ff5cf99e9850c65df9ba6d9c36 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2020-10-28Merge "Blueprints Processor Metrics"KAPIL SINGAL10-4/+147
2020-10-28Enable retrieving ResourceResolution objects from database in kotlin scriptskuldip Rai1-0/+19
Issue-ID: CCSDK-2949 Change-Id: I9605d8cdb2a61cba45c56f3dcc12740d4da0b5c8 Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
2020-10-28Blueprints Processor MetricsJulien Fontaine10-4/+147
Add counter and timer for Blueprints Processor process to get success/failure and execution time for each blueprint execution using blueprint name, version and action. Issue-ID: CCSDK-2950 Change-Id: I38e8997de26effe69ec2ee9e2b6ed0da14de4a43 Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca> Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2020-10-21Fix keytool invocationDan Timoney1-1/+1
Fixed 2 issues with keytool invocation in blueprints-processor start script: 1) removed duplicate '-import' 2) corrected path to cacerts file Issue-ID: CCSDK-2914 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Id454ebca87811bb9c229ca3145148a7c7a93950b
2020-10-21Update AAI endpoints to /aai/v22 for HonoluluLasse Kaihlavirta2-12/+12
- Update all /aai/v21 references to /aai/v22 for Honolulu - note that the previous https://gerrit.onap.org/r/c/ccsdk/cds/+/114057 was for Guilin only Issue-ID: CCSDK-2914 Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> Change-Id: I8103b12610a9de7263789a0852140f2f0bb09393
2020-10-20Update AAI endpoints to /aai/v21Lasse Kaihlavirta2-12/+12
- Update all /aai/v14 references to /aai/v21 to resolve certificate problems in CDS when trying to resolve attribute values with aai-data source Issue-ID: CCSDK-2914 Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> Change-Id: I6b150348b66e93b3d08ceaa49fa997d531ddb0e4
2020-10-13Merge "master: missing input shouldn't fail process"KAPIL SINGAL2-16/+21
2020-10-13adding execution for generation docker imagesShaabanEltanany4-4/+0
Issue-ID: CCSDK-2877 Signed-off-by: ShaabanEltanany <shaaban.eltanany.ext@orange.com> Change-Id: I281e5781730ef77e63c27bf465b92648d814c83c
2020-10-13master: missing input shouldn't fail processOleg Mitsura2-16/+21
Issue-ID: CCSDK-2876 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I76279fee8adc91a3aed72c624c24e93c9cf9dea4
2020-10-09Fixed k8s profile upload for source with tar.gz fileLukasz Rajewski1-12/+9
Fixed k8s profile upload for source with tar.gz file Change was tested with CBA https://gerrit.onap.org/r/c/demo/+/113732 Change-Id: I08aa834cc4fedaf77b4c660ec16dea930dade588 Issue-ID: CCSDK-2899 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2020-10-06Fix resolution of keyIdentifiersJozsef Csongvai2-4/+4
Issue-ID: CCSDK-2875 Change-Id: Ie089ee7f186f74691556f65a52fbaa7c6c165061 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2020-09-30Fix service blueprintsJozsef Csongvai2-0/+2
Blueprints were failing enrichment. Cba's were referencing requirement restconf-connection which is not defined in component-netconf-executor. Added new capability for restconf and fixed referencing Issue-ID: CCSDK-2859 Change-Id: I13f8800ea5fad9daed8a8b7b81cc3649efbebbc9 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2020-09-23Do 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 (cherry picked from commit 3b346af513694c07a3cb57734c8b881677c595f6)
2020-09-22Roll to initial Honolulu versionDan Timoney51-51/+51
Roll to initial Honolulu version Issue-ID: CCSDK-2742 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I563033c6c93a4121219eaa1d7bb8a026e9e490d4
2020-09-22Enabling Code FormatterSingal, Kapil (ks220y)338-2430/+3332
Code Formatter was turned off due to java 11 migation Issue-ID: CCSDK-2852 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I3d02ed3cc7a93d7551fe25356512cfe8db1517d8
2020-09-21Fixing docker image tagSingal, Kapil (ks220y)12-12/+0
Moving related properties to parent most pom and using same across Removing unnecessary version tag from poms Issue-ID: CCSDK-2794 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I37d16d3f7a467bb579f70235f69a8bff0fe4ba8e
2020-09-18Fixing dockerFileSingal, Kapil (ks220y)12-81/+35
Fixing dockerFile and related items Refactoring pom properties Issue-ID: CCSDK-2794 Change-Id: Ib9d3cc38c2db65778cef2590ab774035305a16fa Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
2020-09-15Fixing DockerFilesSingal, Kapil (ks220y)4-32/+33
refactoring to use onap certified base image and combining run commands Issue-ID: CCSDK-2794 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: Id31d5a0018cbce14e54f4aa3e5caebb75dda2276
2020-09-15Fixing DockerFilesSingal, Kapil (ks220y)4-18/+23
Copying starting script to respective dir as root and then running as user onap Issue-ID: CCSDK-2794 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I2b3c27cc8e3a378f9ceeeb0de62f81de9fc38c6b
2020-09-11Refactoring poms groupId artifactIdSingal, Kapil (ks220y)52-358/+258
Issue-ID: CCSDK-2787 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: Ica64f0c793beabb47950c7bf1eede63a0dbf3cea
2020-09-10JDK11 upgradeOleg Mitsura16-108/+71
Issue-ID: CCSDK-1870 commit2: update surefire plugin to 3.0.0-M5. Need at least M3 for JDK11. S Still TODO: what to do about the spring-boot-parent. it may need a bump as well. commit3: update parent with surefire 3.0.0-M5 commit4: another surefire version update + failsafe version update. commit5: uncomment surefire def'n in parent pom. It may need to be redefined... commit6: update to parent 2.0.1-SNAPSHOT commits... rebasing/minorfixes commit14: disabling HealthCheckApplicationTests test commit19: Kapil bugfixes: Jsonfiles "isForce" replaces (incorrect) "force"; bumps kafka scala version to 2_13 commit20: fixe back kafka scala version to 2_11 commit25: reverted + applied patches for 2_13 (due to springboot parent update) + 'application' pom to use forCount=1 and reuseForks=false and reverted scanUatEmpoweredBlueprints modification in BluepritnsAcceptanceTest commit30: rebase commit31: SDCListener tests fixes. JMockit updated from 1.19 to 1.49. Since 1.42, need to do these changes https://jmockit.github.io/tutorial/Introduction.html#runningTests commit32: Dockerfiles cleanup. adduser/group params are different from Alpine. commit33: Dockerfile for SDClistener typo commit34: Addressed Dan's comments. commit35: Image was changed to 1.0.1 (which will be built soon), and the updated base image will already have 'onap' user and group, hence the adduser/group wouldn't be needed. commit36: rebase commit37: bumped up BP proc maven-surefire-plugin Xmx Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I3d864d500150e7d81bb2ce73333f2db67c004e93
2020-09-09Changed method of k8s-upload-profile template prefix acquisitionLukasz Rajewski1-6/+17
Issue-ID: CCSDK-2630 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Id3a493875a171ef374a4e2f0354ca7fe706d0a48
2020-09-08Upgrade springfox to version 2.10.5Dan Timoney1-1/+1
Upgrade version of springfox to 2.10.5 to address known security vulnerabilities. Issue-ID: CCSDK-2634 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I2c86040748382c6f8f9891d704ee92320cbe2240
2020-09-07Add k8s-upload-profile templating and packagingLukasz Rajewski4-26/+204
Issue-ID: CCSDK-2631 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Id520338ffc2f43821d114b037467fbcc2f042b66
2020-09-07Add k8s-upload-profile node type and logic.Marek Szwałkiewicz13-1/+581
Issue-ID: CCSDK-2630 Change-Id: Icd50ab98503a2c2259c56ced20976579afefd7fc Signed-off-by: Marek Szwałkiewicz <marek.szwalkiewicz@external.t-mobile.pl>
2020-09-02Adding parent pom referenceSingal, Kapil (ks220y)10-11/+10
Adding parent pom to cba-assembly-descriptor as it needs to inherit repository from parent so maven-deploy-plugin works Issue-ID: CCSDK-2720 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I44ce3721f280555b81475580ca47539ae83d07ca
2020-08-27KafkaMessageConsumerService: 'launch' was missingOleg Mitsura1-9/+12
Issue-ID: CCSDK-2704 This was accidentally removed few commits back. Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I8f08c72e8d5695c1262aad2d10d1081bbabbdfcb
2020-08-25CommandResult info appears in CDS logs by defaultJulien Fontaine3-2/+13
Add config property to enable/disable logging of the command result. Now command result logs aren't printed by default. Issue-ID: CCSDK-2693 Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca> Change-Id: I5107ed6acc150875264a65bf1c64962ff26cfd78
2020-08-24Add request IDs in command-executor logJulien Fontaine11-80/+152
* Update gRPC interface to handle SubRequestID and Originator ID * Update command-executor log format to handle request IDs in the log statement * Add SubRequest ID and Originator ID in BP log statement Issue-ID: CCSDK-2687 Change-Id: If261bb0912df5800ed2fc65371c5ee784d6a45fb Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca>
2020-08-24fixes for J11Michael Dürre2-3/+42
fix pom files for J11 compile issues Issue-ID: CCSDK-2680 Signed-off-by: Michael Dürre <michael.duerre@highstreet-technologies.com> Change-Id: Iaa7a426cdf947288af64d41a94d954a933217332 Signed-off-by: Michael Dürre <michael.duerre@highstreet-technologies.com>
2020-08-12Merge "Add functions/endpoints to fetch all config snapshots for a given ↵KAPIL SINGAL4-0/+274
resource type or Id - configs-snapshot rest API"
2020-08-12Append input param true in workflow-specjananib2-5/+34
Workflow spec Change-Id: Iac833abcc3d1079fbe8d12a354fd7ceff1aa758e Issue-ID: CCSDK-422 Signed-off-by: jananib <janani.b@huawei.com>
2020-08-11Add functions/endpoints to fetch all config snapshots for a given resource ↵Serge Simard4-0/+274
type or Id - configs-snapshot rest API Issue-ID: CCSDK-2641 Signed-off-by: Serge Simard <serge@agilitae.com> Change-Id: I392fa72bcbe39fd5306d4d2fdf7f49d62ec441b5
2020-08-10Merge "Make use of Kafka Key for Audit service and Kafka listener"KAPIL SINGAL11-56/+48