summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-07-29Address weak crypto issuesDan Timoney3-2/+10
Fix 2 weak cryptography issues identified by SonarCloud scans. Issue-ID: CCSDK-3196 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I0fee14e7a96badeac8a278de4d74ef244c24f06f
2021-07-21WO for MariaDB transaction creation issuek.kedron1-11/+38
Add retry mechanism Issue-ID: CCSDK-3381 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: Ib47939d979683ef25155d40ac0e2dd3fb609af4b
2021-06-23Minor Refactoring of sliboot pomSingal, Kapil (ks220y)1-56/+53
Updating docker-maven-plugin to 0.34.0 and removing docker image build goal (it was there twice) Issue-ID: CCSDK-3343 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I26401befaf235ddfe694c6206cbd547cbc56cc03
2021-06-23Only enable CadiFilter if prop file setDan Timoney1-0/+4
Only enable CadiFilter if cadi.properties.path property is set Issue-ID: CCSDK-3349 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: If275fb839996ebb93317e9de8a2f2256c99b87b9
2021-04-20Use CadiFilter instead of shiroDan Timoney3-85/+51
Microservices should use CadiFilter rather than shiro to integrate with AAF Change-Id: I95b9a844b7ac868f864134de7345013001357352 Issue-ID: SDNC-1523 Signed-off-by: Dan Timoney <dtimoney@att.com>
2021-03-22Fixed permissions issue in /app.jarDan Timoney1-1/+2
Updated Dockerfile to install app.jar in / (as expected by start script) and changed file ownership to non-root user used to run container. Change-Id: I8f9ffef662f831cb7d9c6fd56be463cc73639329 Issue-ID: CCSDK-3228 Signed-off-by: Dan Timoney <dtimoney@att.com>
2021-03-15Update to allow ranges for ccsdk.sli.versionDan Timoney1-12/+13
Update to allow ccsdk.sli.version to be passed with a range as a value Change-Id: Ibb37082bf8162300ae2de37f33b0e4672b796293 Issue-ID: CCSDK-3209 Signed-off-by: Dan Timoney <dtimoney@att.com>
2021-03-09Roll master version for IstanbulDan Timoney7-14/+14
Roll versions of ccsdk parent poms to 2.2.0-SNAPSHOT and of ccsdk/apps to 1.2.0-SNAPSHOT for Istanbul release. Change-Id: Ia252e92b10bcec18fe88ac1174e6cff519cd927a Issue-ID: CCSDK-3190 Signed-off-by: Dan Timoney <dtimoney@att.com>
2021-02-25Release 1.1.0 dockers and roll versionDan Timoney8-8/+19
Release version 1.1.0 dockers for ccsdk/apps and roll version Change-Id: Iaf72b61e48d2d0b9235341b32a1bba1e83854f19 Issue-ID: CCSDK-3179 Signed-off-by: Dan Timoney <dtimoney@att.com>
2021-02-25Release 1.1.0 maven artifactsDan Timoney1-0/+5
Release version 1.1.0 maven artifacts for ccsdk/apps Change-Id: I254140a5d1b1bb86e75f5f3d15a2216257b9147a Issue-ID: CCSDK-3179 Signed-off-by: Dan Timoney <dtimoney@att.com>
2021-02-24Use latest base image versionDan Timoney6-7/+17
Update ccsdk/apps containers to use latest version of base CCSDK alpine image Change-Id: I76c435ee939a21640c8d73f75644059497da3084 Issue-ID: CCSDK-3179 Signed-off-by: Dan Timoney <dtimoney@att.com>
2021-02-22Use released version of parent pomsDan Timoney6-7/+7
Use released version 2.1.1 of parent poms Change-Id: I6460478663d7b5a1343f8456669b1bf5d61f6171 Issue-ID: CCSDK-3179 Signed-off-by: Dan Timoney <dtimoney@att.com>
2021-02-18Support env variables in svclogic.propertiesDan Timoney1-1/+2
Use EnvProperties class to load svclogic.properties in order to support environment variables for property values. Change-Id: I2a0e0753ae0e067d73c298c3a18800e5d0928482 Issue-ID: SDNC-1482 Signed-off-by: Dan Timoney <dtimoney@att.com>
2021-02-08Use latest Honolulu parent pomDan Timoney5-5/+5
Update to use parent pom version 2.1.1-SNAPSHOT Change-Id: I7dfe6080d6801231b817d9cd5c97c7ce17e1c7d9 Issue-ID: CCSDK-3139 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-12-15Use released version of ccsdk parent pomsDan Timoney5-6/+7
Use released version 2.1.0 of parent poms Change-Id: I63b89ffef53b99c0b8996ec5ed6ed7b5b949c325 Issue-ID: CCSDK-3002 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-11-17Add integration test for sliboot dockerDan Timoney5-133/+351
Added integration test for sliboot docker. Change-Id: I582d41ac1a041466e16bd0f38ef3b9ccfef4747a Issue-ID: CCSDK-2986 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-11-11Fix initialization errorsDan Timoney6-25/+83
Updated database initialization to correctly handle differences between mysql/mariadb syntax and h2 syntax. Change-Id: I6f2732da5d26201fc61ef8de7d30e3137220c184 Issue-ID: CCSDK-2978 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-11-10Add content-type header if missingDan Timoney2-1/+90
Added new filter that inserts a Content-Type header (default value application/json) if none is provided. Change-Id: I4e06913851816448576aad35deb9a809a0dbcda7 Issue-ID: CCSDK-2977 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-11-10Add aai-service beanDan Timoney3-0/+12
Added bean for aai-service to allow aai-service to be called from directed graphs Change-Id: I8a617aabce8cb14de5c481276c520809e3917181 Issue-ID: CCSDK-2976 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-10-27Enhancements to reuse sliboot controllerDan Timoney9-8354/+22
Update sliboot implementation so that controller can be imported into other apps to implement SLI-API API (notably healthcheck) Change-Id: I1f1e37eb3af583c609c0b074946abdfe58b25a33 Issue-ID: CCSDK-2948 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-10-20Add bean wrappersDan Timoney2-4/+64
Add bean wrappers for additional nodes in sli/adaptors Change-Id: I728d8e92d0ce50919d221339d7d9ab703a22d12e Issue-ID: CCSDK-2924 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-09-10Roll to initial Honolulu snapshotDan Timoney7-14/+14
Roll to initial Honolulu snapshot version Change-Id: I30fffe4ee61e329291ed0af835ae16579d08dffc Issue-ID: CCSDK-2742 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-09-10Release M4 version of ccsdk/apps dockersDan Timoney1-0/+11
Release M4 version of ccsdk/apps docker containers Change-Id: Ic7cc9e2b6c8c5b8af717241cd33cd677317484dc Issue-ID: CCSDK-2742 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-09-09Release M4 version of ccsdk/appsDan Timoney1-0/+5
Release M4 version of ccsdk/apps Change-Id: I8b65ef835e7e6622d4850ed43b46d88ba827eb53 Issue-ID: CCSDK-2742 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-09-03Update lifecycle stateDan Timoney1-1/+1
Update lifecycle state to Mature Change-Id: Idbce0adb7ec90bce318e3e97a92a3e3eae190bba Issue-ID: CCSDK-2660 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-09-03Add spring-boot-starter-validation dependencyDan Timoney3-46/+5
Springboot starter version 2.3 no longer includes spring-boot-starter-validation which now needs to be added as a separate dependency Change-Id: I11b5dd40d96f3c1692bc23c75d508d5a39bcbbd7 Issue-ID: CCSDK-2633 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-08-31Upgrade to SECCOM recommended elasticsearch releaseDan Timoney1-1/+1
Upgrade to elasticsearch version 7.6.1 Change-Id: I1d2c98de629d1f023e726d5e474033a0e39f55b0 Issue-ID: CCSDK-2632 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-08-21Roll to next snapshotDan Timoney7-17/+15
Roll to next Guilin snapshot release Change-Id: I00617e1f532302077a5576115f8c4e91007e9428 Issue-ID: CCSDK-2635 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-08-07Release version 1.0.0 of ccsdk/apps dockersDan Timoney1-0/+11
Release version 1.0.0 of ccsdk/apps docker containers Change-Id: I8fb99787364412a630c10396f22366ac76da411a Issue-ID: CCSDK-2635 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-08-07Release version 1.0.0 of ccsdk/appsDan Timoney1-0/+5
Release version 1.0.0 of ccsdk/apps maven artifacts Change-Id: I2cf32812dee2eaeaa28401d6fa3446923b9e9317 Issue-ID: CCSDK-2635 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-07-31Register SqlResource in SvcLogicMapDan Timoney5-61/+23
Register SqlResource in hashmap used to locate services in springboot Change-Id: I48ee488848db1e2f593cc332f5b69c804f78edc7 Issue-ID: CCSDK-2626 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-06-29Add RFC 8040 compliant error handlerDan Timoney23-22/+968
Add a new error handler that formats error responses consistent with RFC 8040 (RESTCONF) standards. Change-Id: I67a6ab626d943115570f2e74d0a8132933726bc8 Issue-ID: CCSDK-2482 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-06-09Export SvcLogicFactory as serviceDan Timoney5-2/+131
Expose SvcLogicFactory bean as a service so it can be reused in other microservices. Change-Id: I55a6e08ad2a4fa81a91151a3b437514fab70c96a Issue-ID: CCSDK-2096 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-06-09Refactor sliapi springbootDan Timoney45-0/+10715
Moved sli-api springboot microservice from ccsdk/sli/core to ccsdk/apps Change-Id: Ibecae568cf90b71575403052111e7be9ff543376 Issue-ID: CCSDK-2096 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-05-28Update css file name in conf.pylf-jobbuilder1-1/+1
ribbon.css is the correct name of the css file. Issue-ID: CIMAN-376 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: I6b011f0480f4542883323b6f1fb4a0043b40a76b
2020-05-08Fix formatting issues in RST filesDan Timoney3-22/+6
Fixed issues found in sphinx-build of documentation files Change-Id: I6d221f03dfe7a917800c71ca31ac6e741509b21e Issue-ID: CCSDK-2176 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-05-06Use bash instead of Bourne shellDan Timoney2-2/+2
Start script for naming service needs to be started with bash in order for redirect to work properly. Change-Id: I10236231204628f0832268409464418b4bca2d2a Issue-ID: CCSDK-2360 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-04-10Run naming service as non-rootDan Timoney1-1/+6
Run naming service as non-root user ccsdk Change-Id: I1dc2fee3c3b4bd1b3a0e22cfc45ae27620130a20 Issue-ID: CCSDK-2149 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-04-08Merge "Automation adds release-notes.rst"Jessica Wagantall1-1/+2
2020-04-08Automation adds release-notes.rstLF Jenkins CI1-1/+2
Add _release_notes hook to allow automation. Fix non valid release notes characters in content. Issue-ID: CIMAN-376 Change-Id: I8b343c71ee38e1f89dbd773b0ae88957f2a92ab4 Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
2020-04-07Automation adds index.rstLF Jenkins CI1-0/+1
Issue-ID: CIMAN-376 Change-Id: I8a78f694c59d84d909b5b7ea964704afbe54be1c Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
2020-04-03Log to stdout / stderrDan Timoney1-1/+1
Update start script for naming microservice to use tee to write to both stdout/stderr and to a log file. Change-Id: I762273475e116af1e35316e6b704554fd0a52a66 Issue-ID: CCSDK-2256 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-03-27Roll to Guilin releaseDan Timoney5-10/+12
Roll to Guilin release numbers Change-Id: I31f0aaa9ef5649a65e2978c075aa0b64d64e55fd Issue-ID: CCSDK-2152 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-03-06Release Frankfurt M4 dockersDan Timoney1-0/+9
Release Frankfurt M4 docker containers Change-Id: I712ac88cc06d1626abfcbac23399c4ce07082e40 Issue-ID: CCSDK-2152 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-03-06Release Frankfurt M4 artifactsDan Timoney1-0/+5
Release Frankfurt M4 artifacts Change-Id: I798e62f87364ad0cf6d4b67a83988a0469916f2b Issue-ID: CCSDK-2152 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-03-05Use released version of parent pomDan Timoney3-4/+3
Update to use released Frankfurt M4 version of CCSDK parent pom Change-Id: I489b38788322027f440d54d7d0e92e26980bf156 Issue-ID: CCSDK-2152 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-03-05Naming micro-service - upgrade to spring-boot-2.bt298324-4/+211
This contains all the changes to upgrade this micro-service to spring-boot-2 and spring-5, and is a pre-requisite for the changes related to policy. Issue-ID: CCSDK-1307 Signed-off-by: bt2983 <bt2983@att.com> Change-Id: Ie35df3bebac958b50c2c4635080c06d68f887a8e Naming m-s -- upgrade to spring-boot 1.5.2 Issue-ID: CCSDK-1307 Signed-off-by: bt2983 <bt2983@att.com> Change-Id: Id685b44dc8703baa4371fdabf999aa8b5eaa6ea0
2020-03-04Naming micro-service - upgrade to policy decision API.bt29838-33/+217
Issue-ID: CCSDK-1307 Signed-off-by: bt2983 <bt2983@att.com> Change-Id: I03cb725a2ef5c187ce41a9d5ea242684fdcbc0f3
2020-03-04Naming micro-service - upgrade to spring-boot-2.bt298323-145/+177
This contains all the changes to upgrade this micro-service to spring-boot-2 and spring-5, and is a pre-requisite for the changes related to policy. Issue-ID: CCSDK-1307 Signed-off-by: bt2983 <bt2983@att.com> Change-Id: Ie35df3bebac958b50c2c4635080c06d68f887a8e
2020-02-28Update to use latest parent snapshotDan Timoney3-3/+3
Update to use version 1.5.2-SNAPSHOT of parent pom Change-Id: I1ef6e941eaf14da044e7e717b24e78da38b8c5fb Issue-ID: CCSDK-2127 Signed-off-by: Dan Timoney <dtimoney@att.com>