summaryrefslogtreecommitdiffstats
path: root/ms
AgeCommit message (Collapse)AuthorFilesLines
2021-09-02Carry forward honolulu fixesDan Timoney4-4/+34
This change carries forward the following fixes from Honolulu to master Update to allow ranges for ccsdk.sli.version 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> (cherry picked from commit c3e800149c947ecc9b76a2e3b990664fc5d41ce1) Minor Refactoring of sliboot pom Issue-ID: CCSDK-3343 Change-Id: I66d4e2840ff86e092a23453384d02ce49b7048ac Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Use CadiFilter instead of shiro 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> (cherry picked from commit a90eecf70419ec4acba6f5a8425300eef7f45290) Minor Refactoring of sliboot pom 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 (cherry picked from commit 108a13c20757f4a437aea22880f019e6e6043841) missing logs Add filters for audit and request/response log Add filters for audit and request/response log Issue-ID: CCSDK-3367 Signed-off-by: lalena.aria <lalena.aria@att.com> Change-Id: Id292c1f5109f0c3846a0357d0618f607011825a4 Add code to handle content type plain/text Add code to handle content type plain/text Issue-ID: CCSDK-3378 Signed-off-by: lalena.aria <lalena.aria@att.com> Change-Id: Id4a30ad5ca81db0e7e3a328cc5d2496c42c9e150 Signed-off-by: Dan Timoney <dtimoney@att.com> 1201 sanity test Add bean for IpAddressTool plugin Add missing import Add bean for IpAddressTool plugin Add missing import Fx typo (text/plain instead of plain/text) Issue-ID: CCSDK-3379 Signed-off-by: lalena.aria <lalena.aria@att.com> Change-Id: I208a6eaf462f86c2a3015af9bf9026ad11efa14b Signed-off-by: Dan Timoney <dtimoney@att.com> Use version 1.1.8 of parent Use version 1.1.8 of parent in order to use APL-licensed version of liquibase Issue-ID: CCSDK-3423 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I1db475fa8991d617d22536ce38d51f96c7806f85
2021-08-17Update for Java 11Dan Timoney2-4/+4
Update to use java 11 to compile Issue-ID: CCSDK-3415 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Icbdd1522df5de619729b1f1ee56a2e2687c326e6
2021-08-17Upgrade to springboot 2.5Dan Timoney8-31/+34
Upgrade to springboot version 2.5 to address third party vulnerabilities Issue-ID: CCSDK-3415 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Id7d3d3ab9bf161600412b33862526181f2444224
2021-08-03Add explicit dependencies on junitDan Timoney2-0/+11
Add dependencies on junit. These are needed for latest version of spring boot 2.3 (older versions seem to have included junit in spring boot starter parent) Issue-ID: CCSDK-3291 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I0a37fc82bab1509c6deb04eff4cd1663ededcfb3
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 Timoney4-8/+8
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 Timoney4-5/+5
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-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 Timoney4-5/+5
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-08Use latest Honolulu parent pomDan Timoney3-3/+3
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 Timoney3-4/+5
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 Timoney1-1/+1
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 Timoney1-0/+1
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-09-10Roll to initial Honolulu snapshotDan Timoney4-8/+8
Roll to initial Honolulu snapshot version Change-Id: I30fffe4ee61e329291ed0af835ae16579d08dffc Issue-ID: CCSDK-2742 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-09-03Add spring-boot-starter-validation dependencyDan Timoney2-46/+4
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 Timoney4-10/+9
Roll to next Guilin snapshot release Change-Id: I00617e1f532302077a5576115f8c4e91007e9428 Issue-ID: CCSDK-2635 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-07-31Register SqlResource in SvcLogicMapDan Timoney2-61/+0
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 Timoney8-22/+169
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 Timoney3-150/+6
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-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-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 Timoney3-6/+8
Roll to Guilin release numbers Change-Id: I31f0aaa9ef5649a65e2978c075aa0b64d64e55fd Issue-ID: CCSDK-2152 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-03-05Use released version of parent pomDan Timoney2-3/+2
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 Timoney2-2/+2
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>
2020-01-23Use released parent pomDan Timoney2-2/+2
Use released version of ccsdk/parent poms Change-Id: If07d2af216cdb01fe542625cbe8783f80c985d57 Issue-ID: CCSDK-1963 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-01-20Remove local sonar configDan Timoney2-103/+0
Removed outdated local Sonar/Jacoco config and instead inherited config from parent pom. Change-Id: Ic6e29df877cdcca60889bef963bb19b610dfc3ad Issue-ID: CCSDK-2029 Signed-off-by: Dan Timoney <dtimoney@att.com>
2019-12-11Generate dependency listTimoney, Dan (dt5972)2-2/+2
Generate list of third party dependencies Change-Id: I46a023fdaab932149442921588dcd74c6d64f0be Issue-ID: CCSDK-1986 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-11-13Use 1.5.0 parent pomTimoney, Dan (dt5972)2-2/+2
Use released 1.5.0 version of parent pom Change-Id: I9ffabc6f94546f8dd478a090b4e10db8934b4a00 Issue-ID: CCSDK-1920 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-09-11Roll versions for Frankfurt developmentTimoney, Dan (dt5972)3-6/+6
Roll master version for Frankfurt development Change-Id: I9591b56c1d2d65aed5ed0e98ed7a70e6a016838c Issue-ID: CCSDK-1701 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-28Roll versionsTimoney, Dan (dt5972)3-6/+6
Roll versions in master branch Change-Id: I109e4af829274ca805f5d5969d21057eb2700f4c Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-15Update to NeonTimoney, Dan (dt5972)3-6/+6
Change versions to Neon-based El Alto release Change-Id: I13a9cf5f94a30b585c1cdabf60712f0771ead699 Issue-ID: CCSDK-1389 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-09Roll to next snapshotTimoney, Dan (dt5972)3-6/+6
Roll to next snapshot version Change-Id: I1d7ed26b85f3148f537c9a272aa41a5508109fc7 Issue-ID: CCSDK-1563 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-07Roll version to recreate artifactsTimoney, Dan (dt5972)3-6/+6
Roll version to 0.5.1-SNAPSHOT to recreate El Alto early drop artifacts Change-Id: Id04157e44241aadcf7781ec71250bd2eff7c908a Issue-ID: CCSDK-1563 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-07-26Remove the literal "true" boolean value.anushadasari1-1/+1
Redundant Boolean literals should be removed from expressions to improve readability. Issue-ID: CCSDK-1541 Change-Id: I64e50083b9b0fe40fa0ba32723e30adb0dbce08e Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-07-17Update parent version to 1.3.1Timoney, Dan (dt5972)2-2/+2
Update parent poms to version 1.3.1-SNAPSHOT Change-Id: I7c0b3962dc721ab7a2db62e919b5dfdea501e70b Issue-ID: CCSDK-1496 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>