summaryrefslogtreecommitdiffstats
path: root/ms/neng/src
AgeCommit message (Collapse)AuthorFilesLines
2020-05-06Invalid SQL in db init scriptDan Timoney2-5/+10
MySQL allows AUTO_INCREMENT to take args indicating initial value and offset. MariaDB AUTO_INCREMENT is not as flexible - you can specify initial value , but offset is a system-wide parameter (default 1, but can be overridden in my.conf config file). Changed database script to use AUTO_INCREMENT without (0,100), which will cause those fields to start at value 0 and increment by 1. Change-Id: Icc6793290082d455f9de1bd838a6ad8d71d66afa Issue-ID: CCSDK-2360 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: I133b6fb2ba1ad4cf44a82c2d14e73d61946f0cae Issue-ID: CCSDK-2360 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-05-05Log 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> (cherry picked from commit c1a4da3e1e528cf8becd0c090939b54689e7295d)
2020-03-05Naming micro-service - upgrade to spring-boot-2.bt298323-4/+210
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.bt298321-141/+161
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-29Merge "Added Junit Testfile for PolicyFinderServiceDbImpl"Dan Timoney1-0/+43
2019-01-19Added Junit Testfile for PolicyFinderServiceDbImplezhil1-0/+43
Change-Id: I126ae770b42807780c588e893c590b147ccb470c Issue-ID: CCSDK-933 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2019-01-19Added test cases to AaiServiceImpl.javaezhil1-3/+7
Change-Id: Ic3811991d3d6988537b3f2119a18092b9f6f8192 Issue-ID: CCSDK-963 Signed-off-by: ezhil <ezhrajam@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 "added test file to test ExternalkeyValidator.java"Dan Timoney1-0/+44
2018-11-19Merge "Sonar fix: Application.java"Dan Timoney1-4/+10