summaryrefslogtreecommitdiffstats
path: root/src/main
AgeCommit message (Collapse)AuthorFilesLines
2017-09-14Add new tests for DAODeterme, Sebastien (sd378r)1-3/+1
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-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-11Merge "Change mysql to mariadb connector"Christophe Closset1-5/+4
2017-09-11Change mysql to mariadb connectorDeterme, Sebastien (sd378r)1-5/+4
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-11Fix Holmes delegates and sdcDeterme, Sebastien (sd378r)1-0/+12
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-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)25-342/+686
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>
2017-09-08Merge "Add Holmes to the Backend"Sébastien Determe13-193/+411
2017-09-08Merge "Sonar improvements and class renaming"Sébastien Determe20-284/+468
2017-09-08Sonar improvements and class renamingDeterme, Sebastien (sd378r)20-284/+468
Some sonar improvements and class renaming in different files Change-Id: I8d8eff1e3fedee1d1c31e62edb80e1bb9ce75362 Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-08Add Holmes to the BackendDeterme, Sebastien (sd378r)13-193/+411
Add support for Holmes boxes defined in GUI, Holmes model has been added and also policy calls. Change-Id: I2bbef0030b5174075792b459b7ced74aa2e8aad2 Issue-Id: CLAMP-27 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-08Fix the logbackDeterme, Sebastien (sd378r)1-1/+1
The logback file was incorrectly hiding the INFO log from Clamp. Change-Id: I37dbc7beaf8abeaf65d1509fe048d7136fc9fe07 Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-07Incorrect select field filteringAnaël Closson4-56/+31
The filtering of select input fields was incorrectly handled and resulte in inconsistent state Issue-Id: CLAMP-49 Change-Id: I1678a861ca4fcb8b384fb75356ff95eee88f2fc6 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-09-07Reformat codeAnaël Closson5-62886/+62912
Issue-Id:: CLAMP-43 Change-Id: Ife5596c1fca86941e17fe84354bbab49d25f9ffa Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-09-05Error in JS logs when click in the backgroundAnaël Closson1-0/+4
Change-Id: Ie7bf318fc35e290f9699b660c6ca2282c49087aa Issue-Id: CLAMP-27 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-09-05Wrong function callAnaël Closson1-3/+0
Change-Id: I12d79f9c54c1a7d84d421e8ded10c568dd504512 Issue-Id: CLAMP-27 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-09-05Add properties for Holmes componentAnaël Closson1-10/+80
Change-Id: Id758473fe61f7f24699e204dc325c978bc934e59 Issue-Id: CLAMP-27 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-09-05Add holmes GUI without propertiesAnaël Closson7-5/+148
Change-Id: Ie961076abf2d57e3e917cab0012f6799bbe7762a Issue-Id: CLAMP-27 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-09-04Add VES Collector GUIAnaël Closson6-16/+187
Add support for VES Collector in the GUI Change-Id: Id1420844ccd882e440cd19098251943eb02c4184 Issue-Id: CLAMP-19 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-08-31Merge "Add Docker tags"Eddy Hautot1-0/+40
2017-08-31Add Docker tagsDeterme, Sebastien (sd378r)1-0/+40
Add docker tags SNAPSHOT and STAGING to the current ones for automation Change-Id: I330271ec169cba33d0b92579e39afeed55795bd0 Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-31Change configuration for Clamp integrationeh552t3-33/+33
Put default configuration for clamp integration directly in the properties files Change-Id: Id945159720e5e5cfbc7ddd44f8d31c6f5c6361a0 Signed-off-by: eh552t <eh552t@intl.att.com> Issue-Id: CLAMP-47
2017-08-31Fix critical SONAR issueDeterme, Sebastien (sd378r)2-37/+103
Replace a default exception by a specific one Change-Id: I1eef698e994321e6dde70f723e4e3908c5a09118 Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com> Signed-off-by: ChrisC <cc697w@intl.att.com>
2017-08-30Fix a Critical issue from SONARDeterme, Sebastien (sd378r)1-2/+2
Rework the log and include the Exception in it to help the debugging Change-Id: I8930a4bd65bf2cac48cb1fbf98fb17fe69b5d909 Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-30Fix a blocker issue reported by SOnarDeterme, Sebastien (sd378r)1-2/+3
Add a test to return a value that could potentially be null Change-Id: I092ba4f21775ae64aa86f8dbff8538e47ca16c43 Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-30Fix Sonar bugsDeterme, Sebastien (sd378r)2-24/+21
In service java package Blocker issues fixed Change-Id: I5c6ff6374c40d8e24c4fa920ca2af139761b9e4a Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-30Add a new test classDeterme, Sebastien (sd378r)1-64/+61
Add a new test class for SdcPolicyReq class Change-Id: I8c3031a621a5fe1a2f6bc0d44988baae89a35545 Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-30Fix Sonar bugsDeterme, Sebastien (sd378r)1-66/+67
In ModelElement.class Blocker issues fixed Change-Id: Ia03757ed3675d6af8a65b9ed862db25e703387d6 Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-30Fix bad exception usedDeterme, Sebastien (sd378r)1-1/+1
Jboss exception used instead of javaws one Change-Id: If14eba2b529671b862bbdf8edb269eaae7dad77a Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-30Fix Sonar bugsDeterme, Sebastien (sd378r)2-17/+92
In CldsSecurityConfigUsers.class Blocker issues fixed Change-Id: I3eb90ff986786ab76c767158e5aae3f1bbe0bdeb Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-30Fix Sonar bugsDeterme, Sebastien (sd378r)3-56/+53
In client java packages Blocker issues fixed Change-Id: I7ea1fb546ad32422da7eef596a989e4696238651 Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-30Fix Sonar bugsDeterme, Sebastien (sd378r)1-25/+14
In OperationalPolicyReq.class Blocker issues fixed Change-Id: If35ab7674961c6d9c7558b1f81d7fd5fb22eae45 Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-30Fix Sonar bugsDeterme, Sebastien (sd378r)1-7/+7
In Application.class Blocker issues fixed Change-Id: I8e64a0caee24e23d52779d01cdffade61f7a6f53 Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-29Reorganize some code and fix checkstyleDeterme, Sebastien (sd378r)4-99/+127
Two methods have been moved + rework javadocs + rework exception thrown (more specific exceptions) + rework the IT tests + Add a new exception for DCAE Change-Id: I3beb49bcbc5678f24c8be9e0340a936401c6cea9 Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-29Rework the SONAR/Checkstyle reportDeterme, Sebastien (sd378r)1-89/+156
Add bad/missing javadocs + rework the exception thrown + logs + reorganize the import Change-Id: I37b5c8983785f00df28bcaee852dc54fd11e8001 Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-29Fix a potential NPEDeterme, Sebastien (sd378r)1-7/+9
The code must verify if the policy has been found or not Change-Id: I41343aec40643c29180c892996e4a65d0805193e Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-29Add Request ID in Common LoggingDeterme, Sebastien (sd378r)5-1117/+1443
Add the requestId method + align the others classes using that + Rework the Exceptions thrown and the Javadocs Change-Id: I15bccf1d46ced15aa85d88287f05f1c14b6017fd Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-29Add 2 new methods getNodeValueByNameDeterme, Sebastien (sd378r)1-0/+51
Add those new methods for new coming features Change-Id: I2dbdd8ea524b2eb93841642318a682950f5b7038 Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-29Add missing the eventNameDeterme, Sebastien (sd378r)1-0/+9
Add a new field for AlarmCondition (EventName) + getter and setter Change-Id: I825cc57ca65caa49de20cfcf4f8d6849f61de99e Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-29Rework the javadocDeterme, Sebastien (sd378r)1-2/+19
The javadoc was not correct for this file according to Checkstyle Change-Id: I608774f32816f48ec86143888cf7bd9368aad1df Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-29Rework the format of this fileDeterme, Sebastien (sd378r)1-14/+13
The formatting was not correct and the imports were not sorted properly (according to Checkstyle) Change-Id: I4e0ddf8c2d493b41a335fd18070ccf285a43081d Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-29Fix the clds-reference jsonDeterme, Sebastien (sd378r)1-0/+1
FIx a mistake in the JSON provided in clds-reference.properties + Align the header of clds-version.properties Change-Id: I63905fa4a9fe3906c6ab9d4724928815dcb2cea1 Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-29Add dynamic ports for HTTP/HTTPSDeterme, Sebastien (sd378r)3-120/+272
The ports can now be configured in the application.properties and the both protocols can run at the same time (HTTP+HTTPS) Change-Id: I57d1b5643df33da45af2f6798923d94bff1d560d Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-29Rename the CldsSecurityConfigDeterme, Sebastien (sd378r)1-6/+31
This was unclear that this class was related to the Clds Users, so it has to be renamed Change-Id: Ia93bc24d4940a017274e55d06075f60954c75cc3 Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-17Merge "Code improvement"Christophe Closset8-23/+41
2017-08-17Code improvementxg353y8-23/+41
Improve logging message; Introduce timeout for deploy/undeploy CL; Update allowed actions for deploy/undeploy/update action. Issue-id: CLAMP-43 Change-Id: Ic876e835447cc495d4ca42d9401ee4bd503d5db7 Signed-off-by: xg353y <xg353y@intl.att.com>
2017-08-17Fix clamp maxReconnectseh552t1-11/+11
Increase maxReconnects from default value 3 to 100 Change-Id: Iab8ee1e1a43f03a6442c051e11e44236c07ed6b9 Signed-off-by: eh552t <eh552t@intl.att.com> Issue-Id: CLAMP-42
2017-08-08Rework Pom and DockerfileDeterme, Sebastien (sd378r)2-25/+47
Rework the pom & swagger config + Remove license plugin in pom and license files + Rework the dockerfile (support all clamp versions now) + Introduce the version.properties Change-Id: Ia823e00309d651ca40ef12beeae02fb01d8a80a9 Issue-Id: CLAMP-1 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>