summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-03-28Merge "Simplify enumeration handling"Dan Timoney1-2/+7
2018-03-27Add unit tests for sliTimoney, Dan (dt5972)32-170/+1217
Added unit tests for ccsdk/sli/core/sli Change-Id: I0d2408c43b9e56a78f3e01e87985aedb6cad5953 Issue-ID: CCSDK-213 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-27Simplify enumeration handlingSmokowski, Kevin (ks6305)1-2/+7
Use getName() on the java object instead of relying on a mapping file created by yang2props Change-Id: Ie3405903af5211c019c93a9a0b49ba9159b0bbe2 Issue-ID: CCSDK-227 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
2018-03-21Add unit tests for sli/providerTimoney, Dan (dt5972)3-0/+50
Add additional unit testing for configure node Change-Id: I867fd1aae54e956bdbe8a2f2fd406b46304b4a91 Issue-ID: CCSDK-213 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-20Merge "Register sliapi RPC implementation"Dan Timoney1-0/+2
2018-03-20Register sliapi RPC implementationTimoney, Dan (dt5972)1-0/+2
When porting sliapi to use blueprints, neglected to update sliapiProvider to register itself as RPC implementor. Change-Id: I653ccf4db737e8745715d5e4b07352045c9c9c5e Issue-ID: CCSDK-217 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-16Additional enum supportSmokowski, Kevin (ks6305)2-0/+12
support enumerations containing whitespace Change-Id: I91971a111e67e0faf757c954fb6658529e3020d2 Issue-ID: CCSDK-214 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
2018-03-16Merge "Add test cases for sli"Dan Timoney11-113/+429
2018-03-16Add test cases for sliTimoney, Dan (dt5972)11-113/+429
Added test cases for sli in sli/core Change-Id: Ic8614f199ae843a46ec3441f0ae247f065b33322 Issue-ID: CCSDK-213 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-09Check system property before environment variableSmokowski, Kevin (ks6305)1-3/+9
Allow system property to take precedence over environment variable when searching for the properties file Change-Id: I1c6f7099551d814ca388f4694a0bb24409a7167b Issue-ID: CCSDK-209 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
2018-03-08Merge "re-use parser instance"Dan Timoney2-38/+50
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-07re-use parser instanceSmokowski, Kevin (ks6305)2-38/+50
add an additional logging statement and save memory Change-Id: Idc8bdefb00ac61317cc38848dce670d76b6d89f7 Issue-ID: CCSDK-204 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@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 frameworkdev/nitrogenRich 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 parentv0.1.21.0.0-ONAP1.0.0-AmsterdamDan 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>