summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-03-08Fix sonar related itemsRich Tabedzki7-48/+233
Changes made: * Optimized TerminatingCachedDataSource * Added additional unit tests Change-Id: I0a83c993898e2bee11b8d3c5df8f95b4b216e9b8 Issue-ID: CCSDK-151 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
2018-03-02fix setnode null featureKevin Smokowski4-149/+208
short prefixes could cause bad behavior in the setnode null feature Change-Id: I3876eaece8b8d695b0a98d8b5d69f955f2149402 Issue-ID: CCSDK-190 Signed-off-by: Kevin Smokowski <ks6305@att.com>
2018-03-02Merge "Favor interfaces"Dan Timoney30-497/+507
2018-03-02Favor interfacesKevin Smokowski31-498/+508
Favor using interfaces over concrete implementations Change-Id: Ie7541eeefa69671cc7ed39fba37fdd2e24380770 Issue-ID: CCSDK-189 Signed-off-by: Kevin Smokowski <ks6305@att.com> Favor interfaces Favor using interfaces over concrete implementations Change-Id: Ie3b71833c0f31f67288430c25ca31ca07c0449e0 Issue-ID: CCSDK-189 Signed-off-by: Kevin Smokowski <ks6305@att.com>
2018-03-02Merge "Updated master database detection algorithm"Dan Timoney7-252/+226
2018-03-02Updated master database detection algorithmRich Tabedzki8-253/+227
Changes made: * updated algorithm in DBResourceManager * Updated CachedDataSource, JdbcDBCachedDataSource * added new unit tests Change-Id: I4f6bbeb3839f55d183d7e762743fbc9171b63b1a Issue-ID: CCSDK-192 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
2018-03-02Fix broken mergeTimoney, Dan (dt5972)2-125/+127
Fix antlr compile error. Change-Id: Ibe7c897e4de2d6d34f842fb89fc27d210f6c8c27 Issue-ID: CCSDK-175 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-02-26Fixed antlr dependenciesDan Timoney3-11/+3
Should depend on antlr4-runtime instead of antlr4 to avoid unnecessary compile-time-only dependencies Change-Id: I720628786676dfc81b4aadd4f3da752af2d92451 Issue-ID: CCSDK-175 Signed-off-by: Dan Timoney <dtimoney@att.com>
2018-02-15Fix install issuesDan Timoney12-43/+47
Fixed issues in installation scripts Change-Id: I4bd59ab16b55555ded8d9c2b0e8486d3df88fb44 Issue-ID: CCSDK-175 Signed-off-by: Dan Timoney <dtimoney@att.com>
2018-02-14Fixed Java Code Conventions issueRich Tabedzki1-512/+511
Changes made: * corrected sonar related issue in CachedDataSource class Change-Id: If84b9abcd115ad042f2cc0527b5ab8c8e12cae5a Issue-ID: CCSDK-151 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
2018-02-09Reset MDC after invoking nodeKevin Smokowski13-761/+459
collapse get node into a common metho, reset MDC right before getting next node for certain executor Change-Id: I85b1cf0dfd595deee42dc93f4095ecbc6c831998 Issue-ID: CCSDK-187 Signed-off-by: Kevin Smokowski <ks6305@att.com>
2018-02-09Upgrade sli/core to NitrogenDan Timoney71-3319/+2712
Use Apache derby for dblib SingleFeatureTest Change-Id: I6b41f7ede1a98b33824fceea9100e75c1ce8dda4 Issue-ID: CCSDK-175 Signed-off-by: Dan Timoney <dtimoney@att.com> Generalization of CCSDK core/utils framework Changes made: * Created generalized version of core/utils/dblib as core/utils/common * Deprecated core/utils/dblib package Change-Id: I0992c43910278fbe254674d1e39d7e4fcad0a592 Issue-ID: CCSDK-168 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com> Use Apache derby for dblib test Use Apache derby for dblib SingleFeatureTest Change-Id: Ie497557f162e203fa5c5c82c17ddc55ba0c11b38 Issue-ID: CCSDK-175 Signed-off-by: Dan Timoney <dtimoney@att.com>
2018-02-09Merge "Iso8601 format fix"Dan Timoney1-1/+1
2018-02-09Iso8601 format fixKevin Smokowski1-1/+1
fix format in method asIso8601 in metric logger Change-Id: I50de2397231ff8b298e3a75b3220315c255c26db Issue-ID: CCSDK-186 Signed-off-by: Kevin Smokowski <ks6305@att.com>
2018-02-09CallNodeExecutor patchKevin Smokowski1-13/+10
Merging an old change that prevents a nullpointerexception when calledgraph is null Change-Id: I936afec383fcf4ba98e1d9d0a00c0d1e492766ca Issue-ID: CCSDK-185 Signed-off-by: Kevin Smokowski <ks6305@att.com>
2018-01-31Upgrade sli/core to NitrogenRich Tabedzki1-14/+29
Changes made: * Updated JREFileResolver to retrieve data file from Bundle instead of InputStream. Change-Id: Ib2f93378117afaa2501b870aba513a77073b462f Issue-ID: CCSDK-175 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
2018-01-06Generalization of CCSDK core/utils frameworkRich Tabedzki12-894/+1137
Changes made: * Created generalized version of core/utils/dblib as core/utils/common * Deprecated core/utils/dblib package Change-Id: I0992c43910278fbe254674d1e39d7e4fcad0a592 Issue-ID: CCSDK-168 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
2017-12-19New sliPluginUtils methodsDan Timoney3-6/+356
Add new sliPluginUtils methods to faciliate accessing data in context memory (SvcLogicContext). Change-Id: I70fe00fd60ac6da4804a41df0a2ef7c51e80f4a0 Issue-ID: CCSDK-158 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-12-19Enhance health checkDan Timoney2-5/+65
In HA environment, different types of health check are needed for load balancers (which care about state of each node in cluster) vs external applications (which case about state of entire cluster). So, separate APIs are needed for these 2 types of needs. Change-Id: I99cd21cef7a7e2b4b8c96c1f22c0d6210bb91e96 Issue-ID: CCSDK-157 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-12-19Fix logging filtersDan Timoney1-1/+7
Update logging filters package to handle X-Forwarded-For header and to correct timestamp format. Change-Id: I6b4dba94cc93d0936598a9b8cd568b6386a447a5 Issue-ID: CCSDK-155 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-12-18Support additional IETF typesDan Timoney3-102/+222
Support additional IETF types in MdsalHelper. Change-Id: I1d0b4ab28645435d1ef72bc30a053d796aea44c8 Issue-ID: CCSDK-155 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-12-18Service logic logging fixesDan Timoney2-7/+2
Update MetricLogger class to properly escape characters within body of response. Also, used SvcLogicGraph.toString method to simplify logging call. Change-Id: I6bcaaf3c67032df041c6d37372016990ff0199d3 Issue-ID: CCSDK-152 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-12-05SLI parser improvementsDan Timoney13-1189/+1170
Update SLI parser to remove validation based on NODE_TYPE table, which is no longer needed (was introduced prior to use of XSD schema validation). Also, use checksums to avoid needless recompilation if version being loaded already exists in database. Change-Id: Idfcba94de8fb71b17d5e0c5e69e04dee266988b1 Issue-ID: CCSDK-152 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-21Fix version.propertiesDan Timoney1-1/+1
Reset patch version in version.properties to zero Change-Id: If331cd45026f27b1232621535b2d7facf3bbd387 Issue-ID: CIMAN-120 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-20Update parent versionDan Timoney1-1/+1
Parent version should be 1.2.0, not 1.2.1-SNAPSHOT Change-Id: I678f264135223d45bb632df86d2854bbb51307e3 Issue-ID: CIMAN-120 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-20Bump minor versionJessica Wagantall29-37/+37
Bump minor version in preparation for Amsterdam branching. (part 2) Change-Id: Ib9f7cf7f98feb159ce1b136a3cd792820c99e659 Issue-ID: CIMAN-120 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-11-16Bump minor versionJessica Wagantall1-1/+1
Bump minor version in preparation for Amsterdam branching. Change-Id: Ifa47aa1d818d4a632afb02ec342124678ad855e1 Issue-ID: CIMAN-120 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-11-15Rm docs in repo consolidated w/ ccsdk/distributionRich Bennett8-1167/+0
Change-Id: I573779aa46dfbf9f1c7956ecf0e4eedf16184417 Issue-ID: DOC-130 Signed-off-by: Rich Bennett <rb2745@att.com>
2017-11-09Merge "Update version.properties"Dan Timoney1-1/+1
2017-11-09Update version.propertiesDan Timoney1-1/+1
Change version.properties to next release Change-Id: I99fc70938511254d126a9220f4cef71fce551efe Issue-ID: CCSDK-141 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-09Merge "Roll version to 0.1.3-SNAPSHOT"Dan Timoney29-36/+36
2017-11-08Roll version to 0.1.3-SNAPSHOTDan Timoney29-36/+36
Roll to next snapshot version to prepare for release cut Change-Id: I2a4c8395630b461314291bc8e0f83bf114a21f61 Issue-ID: CCSDK-141 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-08Fix Doc8 errorsMorgan Richomme1-2/+0
JIRA: CCSDK-139 Change-Id: I5b48d4189ae9fdd72bb85a4d98be7798452249df Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-10-25Use version 0.1.0 of parentDan Timoney1-1/+1
Update to use version 0.1.0 (released version) of parent pom Change-Id: I3b62a0cab11425ae9eb7e074aa1c23585aede1c4 Issue-ID: CCSDK-80 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-25Add unit test case for PrintYangToPropDan Timoney2-0/+75
Add junit testing for PrintYangToProp Change-Id: I8c377bb51c812ea9ead32d8e9d5ef871157162a8 Issue-ID: CCSDK-129 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-25Fix parent tag in utils/providerDan Timoney1-1/+1
utils/provider parent should be utils, not ccsdk-sli-core. This was breaking release build. Change-Id: I3910189f9a989f93a0a8af4cb5a8512f0e9aca7a Issue-ID: CCSDK-80 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-24Fix release versionDan Timoney1-1/+1
version.properties contains wrong setting for release version Change-Id: Id76da3e2ad9009845e99ac1442cb66514733461c Issue-ID: CCSDK-80 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-18added code to convert yang to propertiesSheshi Chinthakayala1-0/+1367
this code is used by dgbuilder to convert the yang to context property names Change-Id: Ib53f57df6e8bd32a3a1b7ba6fa7854497c1f5c6c Issue-ID: SDNC-81 Signed-off-by: Sheshi Chinthakayala <sc2914@att.com>
2017-10-12Add @Override annotationsurya-huawei1-0/+3
*This is improve readability of source code Issue-Id: CCSDK-117 Change-Id: I4bb73a6e4b440ae861045c7548a7e985d1fbf02c Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-10-11Add readthedocs info to sli/coreDan Timoney8-45/+1586
Add additional information to sli/core readthedocs documentation. Change-Id: I9fe5e6185061ed6a05f373b6667f686e11d5f0aa Issue-ID: CCSDK-107 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-10Add readthedocs templatesDan Timoney7-9/+142
Add readthedocs templates for sli/core Change-Id: I2efaad7720997ef51c4dcb9036de5011bc6a1c4b Issue-ID: CCSDK-107 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-03Merge "SLI-API northbound add to docs"Dan Timoney2-2/+10
2017-10-03Merge "Add unit tests for dblib"Dan Timoney3-0/+99
2017-10-03Add unit tests for dblibDan Timoney3-0/+99
Add unit test case for dblib/provider, using MariaDB4J as database. Change-Id: I18492595a9d54999c3d52b56ecfe33d0d2cae019 Issue-ID: CCSDK-106 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-03Add unit test for ccsdk/coresurya-huawei1-0/+12
*Add a unit test for SliStringUtils This is to test substring method of SliStringUtils and improve code coverage Issue-Id: CCSDK-106 Change-Id: I73c5af3b036a92fdcb1d3d1be7eb0b3abc44fd5a Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-10-02Add test cases for MdsalHelperDan Timoney23-2742/+91
Fix test case for loadProperties, and added test cases for IpAddress types Change-Id: Iabf182d32ae3937871dc9656105fdda0c1a9411f Issue-ID: CCSDK-106 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-02Add test cases for MdsalHelperDan Timoney26-130/+3066
Add test cases for MdsalHelper methods toBuilder() and toProperties(). This requires a Yang model, so added a copy of sliapi/model to sli, since could not use sliapi directly otherwise would create circular dependency (since sliapi depends on sli). Change-Id: I4824afe250f93428c73dbeec9f4a4c36ee4f76e6 Issue-ID: CCSDK-106 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-09-28SLI-API northbound add to docsBrian Freeman2-2/+10
Issue-ID: CCSDK-107 Change-Id: Ic4a41466288229140ae3cad79e650d14c7877cc9 Signed-off-by: Brian Freeman <bf1936@att.com>
2017-09-28Merge "Added @Override annotation"Dan Timoney1-2/+2
2017-09-28Merge "Fix major sonar issue"Dan Timoney1-0/+2