summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-09-28Change the model to fix TCADeterme, Sebastien (sd378r)17-407/+704
Fix TCA model and JSON model for TCA + rework the JUNIT Change-Id: I35099633e89f9f95f1957afeffa915feda4045f3 Issue-ID: CLAMP-59 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-28new method for policy clientDeterme, Sebastien (sd378r)2-6/+41
A new method to send JSON in other type to policy Change-Id: I24b2d36464fa3c9786007ea3772c6a2c4b7c7b66 Issue-ID: CLAMP-59 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-28Fix the a log in Model PropertiesDeterme, Sebastien (sd378r)1-1/+1
One of the log did not contain the stacktrace for Model properties Change-Id: I5f269bb1744343ef9646cf818babfd77ea237b76 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-28Removal of useless testsDeterme, Sebastien (sd378r)1-15/+1
These IT are not useful anymore as covered by others test classes Change-Id: I6691c944f3ec98d4685229ce4758ba79c6bfa0ae Issue-ID: CLAMP-59 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-28Add an exception for new class TcaRequestFormatterDeterme, Sebastien (sd378r)1-0/+61
This new exception will be used in a new class that will manage TCA Change-Id: I4ae2c33929c81a141b59dabe6e2d1db371cfc188 Issue-ID: CLAMP-59 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-28New Files added for future unit testsDeterme, Sebastien (sd378r)3-0/+164
New files that will uses by new junit on TCA code Change-Id: Icfd991da3210cc2a9534815ec5d1671fcd72a0d8 Issue-ID: CLAMP-59 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-27Code Improvementxg353y43-2802/+96
Change-Id: I703aabf234cb656b1faea3b5c0776d034d8ec807 Signed-off-by: xg353y <xg353y@intl.att.com> Issue-ID: CLAMP-54
2017-09-25Restore version to SNAPSHOTDeterme, Sebastien (sd378r)1-1/+1
The version has been changed to 1.1.0 and should be 1.1.0-SNAPSHOT Change-Id: I268f050c381a8ae884f0c5615e78288be0390329 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-22Fix bug at runtimeDeterme, Sebastien (sd378r)5-11/+24
There was a missing class due to policy dependency changed Change-Id: Id8d85a8925c1ac2164528333672a552cb55ca5ca Issue-ID: CLAMP-48 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-22Rework the indentationDeterme, Sebastien (sd378r)1-836/+836
Remove the tabs and replace by Spaces Change-Id: Id9e1e5e434789ec7ebf5ba0d3e25a8ccf9765852 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-22Remove the Policy Dep SnapshotDeterme, Sebastien (sd378r)3-28/+48
The policy dependencies have been changed to refer to non snapshot packages. Some java packages have been updated too. Change-Id: Id70a0247b859368c642a73fa59bbda93bf9904ae Issue-ID: CLAMP-55 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-22Remove HashMap definitionDeterme, Sebastien (sd378r)1-2/+2
Change HashMap to Map for variable declaration Change-Id: Ia352ab40c087e26ed43a2e69ad5ef60b6bb68a87 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-22Add the target resource IDDeterme, Sebastien (sd378r)12-223/+567
Add target resource ID in operational policy code as requested. It changes the UI, the Policy code, the model and the tests. Change-Id: Ie72badde55e7f8b5c2e5234099a09b95958205cf Issue-ID: CLAMP-55 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-22Remove useless code in testDeterme, Sebastien (sd378r)1-3/+0
Some variables were created and not used, this has been removed Change-Id: I40f28f4a991989b3759b2adf8842cebcfd9ac207 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-22Remove the mariadb pull if no testDeterme, Sebastien (sd378r)1-0/+1
The build was pulling mariadb even when the flag skipITs was set Change-Id: I447af0de537bd55666ce93958451b160c72c6234 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-22Rename a test classDeterme, Sebastien (sd378r)1-5/+3
Rename a test class by using the name of the class tested Change-Id: Ic2dc993ec874872b3acc9ef95fdfdb540ff61742 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-22Remove Camunda auto conf for JunitDeterme, Sebastien (sd378r)1-1/+1
Camunda autoconf classes removed for SPring junit IT tests Change-Id: Ia71574520bd88144efaf95c3a22fcb74d91e6fb9 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-22Add different log in AbstractModelElementDeterme, Sebastien (sd378r)1-8/+11
Log changed when the Json attribute value is null or empty Change-Id: Ie0321efbbcc7f9c637f1bd8ea44001e5036987d3 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-19Removal of useless files & bugfixDeterme, Sebastien (sd378r)15-461/+228
Removal of DCAE useless files, and bugfixes SDC calls(+CldsDAO bug), and insertion of the search engine for Model Properties window in UI Change-Id: Ia68117bb917807eaf8e8e317f391f90b6d948135 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-18Reformat the JSON and fix checkstyle issueDeterme, Sebastien (sd378r)10-3425/+3398
All Json used in the tests have been reformatted. Also some checkstyle bugs have been fixed Change-Id: I48373d9d53d39244c62b9b88b1cf62c15c766cb3 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-18Add new tests to CLAMPDeterme, Sebastien (sd378r)7-9/+488
New tests added on ModelProperties, CldsModel and ITs (CldsService tests) Change-Id: I75a29c11ec66e0eef7c80f76cf90c30b2fc29972 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-14Merge "Add new tests for DAO"Eddy Hautot13-67/+1000
2017-09-14Merge "Some rework around DAO classes"Eddy Hautot2-4/+1
2017-09-14Add new tests for DAODeterme, Sebastien (sd378r)13-67/+1000
New test to validate some methods of the DAO and attempt to disable Camunda in IT when it was not required to have it Change-Id: I231230a7a4818f4bfd7887319a321625f66ffcae Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-14Some rework around DAO classesDeterme, Sebastien (sd378r)2-4/+1
Remove the useless return parameter in setModel, remove the runtimeService in cldsTemplateService Change-Id: Ia6d82cc3167f2e82b0da9cdb14d93c64ccee19c4 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-14Wait for database with mariadb connectoreh552t2-3/+3
Need to add sequential in connection url to be able to retry Change-Id: Ib5343de3c1ecad317ae1628590b1766a31ed1f15 Signed-off-by: eh552t <eh552t@intl.att.com> Issue-ID: CLAMP-42
2017-09-14Wait for database with mariadb connectoreh552t1-1/+1
With the change from Mysql to MariaDB connector maxReconnect parameters doesn't work anymore. We then need to use retriesAllDown instead but this is doing retries as fast as possible with no wait between tries so need an arbitrary high value. With maxReconnect it was waiting a time exponentially growing so a low value was enough. Change-Id: I7d03baa69bbee46d82a403f573d9f492f9720a4c Signed-off-by: eh552t <eh552t@intl.att.com> Issue-ID: CLAMP-42
2017-09-14Wait for database with mariadb connectoreh552t2-3/+3
With the change from Mysql to MariaDB connector maxReconnect parameter doesn't work anymore. We then need to use retriesAllDown instead but this is doing retries as fast as possible with no wait between tries so need an arbitrary high value. With maxReconnect it was waiting a time exponentially growing so a low value was enough. Change-Id: Id1429759aa4bdcfc9af1934fd6f8b848ed879e91 Signed-off-by: eh552t <eh552t@intl.att.com> Issue-ID: CLAMP-42
2017-09-14Merge "Restore the history log in camunda"Eddy Hautot2-2/+2
2017-09-14Merge "Add test to Holmes"Eddy Hautot6-67/+312
2017-09-14Merge "Clean unnecessary files using camunda"Eddy Hautot9-586/+0
2017-09-14Merge "Rework the datasource access"Eddy Hautot1-3/+4
2017-09-14Merge "Rework the comment of the constructor"Eddy Hautot1-17/+24
2017-09-13Improve docChrisC1-32/+83
Update to reflect readme.md details Change-Id: If8ee14add971ededa2725424e161c46f782378d1 Issue-ID: CLAMP-15 Signed-off-by: ChrisC <cc697w@intl.att.com>
2017-09-13Policy and StringMatch GUI need refreshAnaël Closson2-8/+81
A reload of GUI for Policy and StringMatch was required to see changes done in some select fields. This patch add automatic updates of fields that needs it. Change-Id: Ida7ad705218b1881868dcdec936c809b19df69bd Issue-Id: CLAMP-53 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-09-13Restore the history log in camundaDeterme, Sebastien (sd378r)2-2/+2
Restore the history log in camunda as it has been disabled but the DB SQL files set that already Change-Id: Iba24a4cefdfb533046eed92e7ce1424a06d1c0fb Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-13Add test to HolmesDeterme, Sebastien (sd378r)6-67/+312
New test for holmes and refactor of the application.java class according to Sonar reports Change-Id: I2117b403c18e2cb2cd902018db951025a1db9bae Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-13Clean unnecessary files using camundaDeterme, Sebastien (sd378r)9-586/+0
The camunda examples have been removed as not used by anyone Change-Id: Ib659ea0d68aff613620fce6bf25d4d4a1e1acac4 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-13Rework the datasource accessDeterme, Sebastien (sd378r)1-3/+4
Make a call to Spring datasource instead calling the method directly Change-Id: If9464f8591cd140079d09dc33c83a8b4380bf5ae Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-13Rework the comment of the constructorDeterme, Sebastien (sd378r)1-17/+24
Refactor the parameters name of the constructor Change-Id: Ie4314d0384a875da1e8bf3abc1092cd826347929 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-11Merge "Change to mariadb connector"Christophe Closset1-4/+4
2017-09-11Merge "Change mysql to mariadb connector"Christophe Closset3-6/+21
2017-09-11Change to mariadb connectorDeterme, Sebastien (sd378r)1-4/+4
The tests application.properties had to be changed as well Change-Id: Ie2a4ca5e136aef3f2ae7ba55cbee705661374273 Issue-Id: CLAMP-52 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-11Change mysql to mariadb connectorDeterme, Sebastien (sd378r)3-6/+21
Replace the mysql connector used by Spring to mariadb + remove the Mysql connector from the clamp.jar Change-Id: If7241e111d07ad98eba3b0fcb612b0f4711d683d Issue-Id: CLAMP-52 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-11Fix: Policy GUI not responding on openingAnaël Closson1-1/+1
A call to the backend method getSdcPropertiesByServiceUUIDForRefresh is failing. This is due to invalid handling of Sdc messages introduced with revision 13966ab288578be392c5d2c64d5a9d7b6f600327. Change-Id: I1ade99f50a177d7db6042938c4f0734eba0071fd Issue-Id: CLAMP-51 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-09-11Merge "Fix Holmes delegates and sdc"Christophe Closset5-28/+2934
2017-09-11Fix Holmes delegates and sdcDeterme, Sebastien (sd378r)5-28/+2934
Fix holmes delegates not declared in the cldsconfiguration and SDC IT tests that reports some exceptions Change-Id: I19dae11ad994e78e1f71fc78a2ff4627d91e66c1 Issue-Id: CLAMP-27 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-08Cleanup project's name in SonarJessica Wagantall1-1/+1
The name parameter in the root pom.xml should match the project name in gerrit to reflect consistency in Sonar. Change-Id: If83ba288f33d4cc281ab54d2c7ffcf8af246a580 Issue-id: CIMAN-65 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-09-08Remove class renamed as AbstractModelElementDeterme, Sebastien (sd378r)1-280/+0
Remove a class that has been renamed to AbstractModelElement Change-Id: Ifbad3875da6265e3b092aceee0de801b19834d79 Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-08Rework some sonar critical and major bugsDeterme, Sebastien (sd378r)29-351/+699
Class renamed to AbstractModelELement, exceptions reworked and IT tests as well Change-Id: Ief2b09b0e36776519338834e2af61aa6e638ee91 Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>