summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-04-25add replaceAll to slistringutilsv0.2.1Smokowski, Kevin (ks6305)2-0/+37
add replaceAll to slistringutils because it supports regular expressions and replace does not Change-Id: Ibff7acd339103a6bb897d14ca3d31736a5b568ef Issue-ID: CCSDK-253 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
2018-04-18Fix release versionTimoney, Dan (dt5972)2-2/+2
Fix release version in version.properties Change-Id: I4d354ac42260a4dcd17f516a413c036b85086db3 Issue-ID: CCSDK-242 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-04-10URGENT : Add node executorsTimoney, Dan (dt5972)1-39/+32
Need to register node executors on SvcServiceImpl start up. This was broken inadvertantly during move to Aries blueprint. NOTE : This is a sev 1 fix for APP-C. Please review and merge ASAP. Change-Id: Ic4ff7c91f2b46ed81fd78a35bf8ea9d37c098c68 Issue-ID: CCSDK-236 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-04-09Merge "Fix EELF version"Dan Timoney1-1/+0
2018-04-06Fix EELF versionTimoney, Dan (dt5972)1-1/+0
Load version 1.0.0 of EELF, based on parent property setting Change-Id: I5e936b651f07ad9af8e4b41c80bbfed98bb67faa Issue-ID: CCSDK-235 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-04-05Merge "URGENT : Install logback"Dan Timoney2-4/+21
2018-04-05code coverage for ccsdk sli DG nodesprakash.e1-1/+6
Coverage improvement for SqlResourcePropertiesProviderImpl https://jira.onap.org/browse/CCSDK-213?jql=project%20%3D%20CCSDK%20AND%20text%20~%20coverage Issue-ID: CCSDK-213 Change-Id: Ibc26c319801204df8ab9c7b64a1774eae0c59bd0 Signed-off-by: prakash.e <prakash.e@huawei.com>
2018-04-04URGENT : Install logbackTimoney, Dan (dt5972)2-4/+21
Install logback packages needed by EELF as part of sli common package. This is urgently needed, since CCSDK is not coming up clean without this fix. Change-Id: I4f47e6146e45e36752454100186851af3eba7491 Issue-ID: CCSDK-235 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
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>