aboutsummaryrefslogtreecommitdiffstats
path: root/ms/neng/src/main
AgeCommit message (Collapse)AuthorFilesLines
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 (cherry picked from commit faf965656265dd96a350ce03bb478ef2b9a3805b)
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-02-24Use latest base image versionDan Timoney1-1/+2
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>
2020-11-11Fix initialization errorsDan Timoney3-21/+26
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-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-05Naming micro-service - upgrade to spring-boot-2.bt29831-3/+3
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.bt29837-27/+209
Issue-ID: CCSDK-1307 Signed-off-by: bt2983 <bt2983@att.com> Change-Id: I03cb725a2ef5c187ce41a9d5ea242684fdcbc0f3
2020-03-04Naming micro-service - upgrade to spring-boot-2.bt29834-20/+20
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
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-01-09Fixed sonar issue in PolicyReader.javaezhil1-6/+7
Change-Id: I093edcd1a6e5ebfc0f3db302a006d3d3ca373c0a Issue-ID: CCSDK-877 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-12-26Fixed sonar issue in ExternalKeyValidatorezhil1-1/+3
Fixed major sonar issue Issue-ID: CCSDK-690 Change-Id: I17abdb751f1a384bd0c63e5b336186eaad945783 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-12-17Merge "Fixed sonar issue i PolicyFinderServiceImpl.java"Dan Timoney1-3/+3
2018-12-17Merge "Fixed sonar issue in NameGenResponse.java"Dan Timoney1-1/+1
2018-12-17Merge "Fixed sonar issues in NamegenRequest.java"Dan Timoney1-2/+3
2018-12-17Merge "Fixed sonar issues in PropertyOperator.java"Dan Timoney1-1/+4
2018-12-13Fixed sonar issue i PolicyFinderServiceImpl.javaezhil1-3/+3
Fixed major sonar issues Issue-ID: CCSDK-819 Change-Id: I2347aa5f234b33231b7782e6a51d0ba5a1b60dfd Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-12-12Fixed sonar issue in NameGenResponse.javaezhil1-1/+1
Fixed sonar issue Issue-ID: CCSDK-826 Change-Id: If105b57d779f2ce25212c9a872aa1b379082b14a Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-12-12Fixed sonar issues in NamegenRequest.javaezhil1-2/+3
Fixed sonar issues Issue-ID: CCSDK-825 Change-Id: If085726631b98d5c070feae39e1a7ba8f65067e9 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-12-12Fixed sonar issues in PropertyOperator.javaezhil1-1/+4
Logged exception Issue-ID: CCSDK-817 Change-Id: I902428f3a7fcf043c29db630783ab9c08d9cc6f2 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-12-12Fixed sonar issues in SpringServiceImpl.javaezhil1-2/+3
Logged exceptions Issue-ID: CCSDK-818 Change-Id: I90fc2d9c8d7e2627fc2c1f80628a9f4a0e7531da Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-12-11Merge "fixed sonar issues in PropertyOperator.java"Dan Timoney1-1/+0
2018-12-11Merge "fixed sonar issues in RestServiceImpl.java"Dan Timoney1-4/+6
2018-12-11Merge "Fixed major sonar issue in Application.java"Dan Timoney1-1/+1
2018-12-11Merge "Fixed sonar issue in PolicySequence"Dan Timoney1-5/+11
2018-12-11fixed sonar issues in PropertyOperator.javaSandeep J1-1/+0
fixed sonar issues Issue-ID: CCSDK-552 Change-Id: I1104b8e2b7caf511b0b50bc28093ff8c38e35c29 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-12-11fixed sonar issues in RestServiceImpl.javaSandeep J1-4/+6
fixed sonar issues Issue-ID: CCSDK-552 Change-Id: I675eaf2314981d1d93b539b07df1568dcf51efcd Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-12-04Fixed major sonar issue in Application.javaezhil1-1/+1
Removed Sysout from Application Issue-ID: CCSDK-786 Change-Id: I9806e98d4a30145f33da757b109cb781f3f1dccd Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-12-04Fixed sonar issue in PolicySequenceezhil1-5/+11
Fixed sonar issues in PolicySequence Issue-ID: CCSDK-768 Change-Id: Ifc4558d2c970d80d157c825891948fbc57a7bde1 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-12-04Sonar Fix: NamePersister.javaArundathi Patil1-1/+1
Fixed sonar issues/code smells across this file Issue-ID: CCSDK-785 Change-Id: Ibfe8a9d8024e60385163df1402ca6a902836aae0 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-12-03Merge "fixed sonar issue in PolicyFinderServiceImpl.java"Dan Timoney1-1/+3
2018-12-03Merge "fixed sonar issues in RestServiceImpl.java"Dan Timoney1-6/+8
2018-12-03Merge "fixed sonar issues in SpringServiceImpl.java"Dan Timoney1-1/+2
2018-12-03fixed sonar issue in PolicyFinderServiceImpl.javaSandeep J1-1/+3
fixed sonar issue Issue-ID: CCSDK-525 Change-Id: I2074cff32ab26db5ba94bea9d08f0d60bdd9b189 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-12-03fixed sonar issues in RestServiceImpl.javaSandeep J1-6/+8
fixed sonar issues Issue-ID: CCSDK-525 Change-Id: I2f37d883df71b48daa0f0daf8b57d3c609889a52 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-12-03fixed sonar issues in SpringServiceImpl.javaSandeep J1-1/+2
fixed sonar issues Issue-ID: CCSDK-525 Change-Id: Id14d83d0b8c38feec837f3135dfd61458f10e77d Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-12-03fixed sonar issues in PolicyReader.javaSandeep J1-6/+5
fixed sonar issues Issue-ID: CCSDK-525 Change-Id: Ieeb51a0c2671c07687ddc189564aa5b44237ec38 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-11-30Merge "Fixed sonar issues in ApplicationConfig"Dan Timoney1-2/+9
2018-11-28Merge "Fix a typo in property name"Dan Timoney1-1/+1
2018-11-28Merge "Fixed Sonar issue in Application.java"Dan Timoney1-4/+5
2018-11-28Merge "Fixed sonar issues in GetConfigResponse"Dan Timoney1-1/+1
2018-11-28Fix a typo in property nameAlexis de Talhouët1-1/+1
Change-Id: I573a7706212dd411a284ec7b57c9373d7d6ff376 Issue-ID: CCSDK-650 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2018-11-27Fixed Sonar issue in Application.javaezhil1-4/+5
Renamed the log variable Issue-ID: CCSDK-756 Change-Id: Ibb71e2cc363619bdf2593f67fabada2e55ff8287 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-11-21Fixed sonar issues in GetConfigResponseezhil1-1/+1
Made variable as private Issue-ID: CCSDK-739 Change-Id: Ieb17ea85f91f6f6ba8f3596b55362a403d573b6a Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-11-21Fixed sonar issue in GetConfigRequestezhil1-4/+4
Changed variables private to the class Issue-ID: CCSDK-738 Change-Id: Iff3d084b4f26579021412a27372892e0a2dd427b Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-11-20Fixed sonar issues in ApplicationConfigezhil1-2/+9
Replace logger for Sysout Issue-ID: CCSDK-731 Change-Id: Iaa6b7c93332a051134b4507d5b814ed20085980a Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-11-19Merge "Fixed sonar issue in NameGenResponse"Dan Timoney1-1/+3
2018-11-19Merge "Fixed Sonar issue in RecipeParser"Dan Timoney1-0/+3
2018-11-19Merge "Sonar fix: Application.java"Dan Timoney1-4/+10