summaryrefslogtreecommitdiffstats
path: root/controlloop/m2
AgeCommit message (Collapse)AuthorFilesLines
2020-06-16fix sonar issue for m2/baseTaka Cho1-10/+8
-using {} in logger in stead -diamond operator (<>) to reduce the verbosity of generics code. -rename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$' Issue-ID: POLICY-2616 Change-Id: I8e722af52b08382ca53190a33a3a27ad1e7d4830 Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-06-12Merge "sonar issue drools applications - 3"Pamela Dragosh3-11/+7
2020-06-10sonar issue drools applications - 3Taka Cho3-11/+7
get already returns string redudant return block unused import swap expected argument use equals method instead useless assignment for payload Issue-ID: POLICY-2616 Change-Id: Ie4f07085994420b7ea3f39db89f980f6594f01b7 Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-06-09sonar issue drools-application - 2Taka Cho2-14/+14
fixed some sonar issues: removed empty method, put expected value in the 1st argument Change-Id: I86747938187abda34e9ab41b735d55fbf920ecd8 Issue-ID: POLICY-2616 Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-06-01Use OperationsHistory from modelsJim Hahn2-9/+5
Deleted Dbao and replaced it with the shared class in policy-models. Also had to update the queries and the persistence.xml accordingly. Note: with this change, the "database" project is no longer needed, so it was deleted. Issue-ID: POLICY-2581 Change-Id: Idfde68b28b3a27f2ee794fa477d15e0f12717373 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-05-26Bump Drools-Apps to 1.7.0a.sreekumar9-9/+9
Change-Id: I1b4b088d276da6aae3b577102470a6d8e3dcdc6a Issue-ID: POLICY-2514 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-05-26Bump drools-applications to 1.6.5a.sreekumar9-9/+9
Change-Id: I52c0b421e6ca94153b7f37ae67fdcd086f14f3fa Issue-ID: POLICY-2514 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-04-28Bump drools-apps to 1.6.4-SNAPSHOTPamela Dragosh9-9/+9
Issue-ID: POLICY-2510 Change-Id: Ic431fa80f7b389c84b799f8662df81b4f0ea124f Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-27Bump drools-apps 1.6.3-SNAPSHOTPamela Dragosh9-9/+9
Before I can re-release, the patch needs to be bumped. Issue-ID: POLICY-2510 Change-Id: Ib868d0d72cd28f87b5eb7c233f239d219f699954 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-15bump to 1.6.2-SNAPSHOTjhh9-9/+9
Issue-ID: POLICY-2378 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I8feb308f90755a078d0b35e0d8742e385916c225
2020-03-25Bump drools-applications to 1.6.1-SNAPSHOTPeyton Puckett9-9/+9
Issue-ID: POLICY-2378 Change-Id: Ia97bc810e6ae23ffb0ecea28ddbab385d7d9af6d Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
2020-03-24M2 junit intermittent timeout issueJoseph Chou1-7/+4
Update code to increase maximum wait time Issue-ID: POLICY-2435 Change-Id: Ib9d7452743c6cdb39c56f4bbed0fd7fd903dc8bc Signed-off-by: Joseph Chou <jc2555@att.com>
2020-03-18ONAP junit code updateJoseph Chou1-8/+25
M2 junit failed on AppcLcmTest Issue-ID: POLICY-2435 Change-Id: I30a2db72b6b127857dc3db2aeda75e46fa919dcd Signed-off-by: Joseph Chou <jc2555@att.com>
2020-03-06ONAP m2 base junit coverageChou, Joseph (jc2555)6-167/+390
Added testcases to improve code coverage Issue-ID: POLICY-2289 Change-Id: Ib573ae668b5bca008c4600df99e7f1cf4053d1a1 Signed-off-by: Joseph Chou <jc2555@att.com>
2020-03-03use policy/parent awaitilityPamela Dragosh7-85/+0
Also cleaned up a bunch of these pom's, they do not all need to declare JUnit, assertjr, mockito testing classes. Can use more cleanup in some other common dependencies, but we'll defer. Issue-ID: POLICY-2381 Change-Id: Ib1149a0cd0215d1a38d5b625634440413cf79089 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-02-14Change ip adresses used for m2 testsBruno Sakoto3-10/+32
By default Mac OS is not able to use loopback addresses other than 127.0.0.1. Issue-ID: POLICY-2368 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Ibf4a884d2669a5f4969960963638aa213eebf172
2020-02-13Add tests to AppcLcm to increase coveragedg57623-7/+202
Add additional test cases to AppcLcm to increase jUnit test coverage this includs adding the file AppcLcmActorTest.java. Minimum test converage for the java files is over 80%. Issue-ID: POLICY-2291 Signed-off-by: dg5762 <dg5762@att.com> Change-Id: I26ed2b90f12f51568ceed843b65d2f119155391f
2020-01-17Add jUnit Test Coverage M2 GuardPeyton Puckett2-1/+67
Issue-ID: POLICY-2290 Change-Id: I05a737333141576512841d6872ecdb0a089a0a90 Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
2020-01-17Update m2 test to mockito2 for JDK 11Pamela Dragosh2-2/+2
Peyton's review was pulled in before Ali's JDK 11 fix. So unfortunately this update did not get done. Issue-ID: POLICY-1587 Change-Id: I9666b6e2f2327183e15bfe19d34515d0426c8ff0 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-01-16Merge "policy/drools-apps jdk11 upgrades"Pamela Dragosh15-62/+64
2020-01-16policy/drools-apps jdk11 upgradesHockla, Ali (ah999m)15-62/+64
Issue-ID: POLICY-1587 Change-Id: I02bef6c829f2f24954ae73fb0c540ab7198775ce Signed-off-by: Hockla, Ali (ah999m) <ah999m@att.com>
2020-01-14Add jUnit Test Coverage M2 UtilPeyton Puckett2-2/+70
Issue-ID: POLICY-2293 Change-Id: Ia189239911053bd8937c0791aafcc55207c11dcf Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
2020-01-10Add m2 model, including the LCM applicationStraubs, Ralph (rs8887)45-0/+7717
Issue-ID: POLICY-1948 Change-Id: I18a5231d3102073c928a591c9e91b241b7093680 Signed-off-by: Straubs, Ralph (rs8887) <rs8887@att.com>