aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
AgeCommit message (Collapse)AuthorFilesLines
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)4-1/+476
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 Hautot12-64/+999
2017-09-14Add new tests for DAODeterme, Sebastien (sd378r)12-64/+999
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-13Restore the history log in camundaDeterme, Sebastien (sd378r)1-1/+1
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)4-56/+284
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-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-11Fix Holmes delegates and sdcDeterme, Sebastien (sd378r)4-28/+2922
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-08Rework some sonar critical and major bugsDeterme, Sebastien (sd378r)4-9/+13
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-08Fix missing license in new testDeterme, Sebastien (sd378r)1-0/+23
Fix missing license in new test file reported by license checkstyle plugin Change-Id: Ic024103acb814f8d78b60eb18d2967708be43c9f Issue-Id: CLAMP-27 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-08Merge "Add Holmes to the Backend"Sébastien Determe4-110/+228
2017-09-08Sonar improvements and class renamingDeterme, Sebastien (sd378r)5-34/+30
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)4-110/+228
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-08-30Add a new test classDeterme, Sebastien (sd378r)1-0/+82
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-30Change Jboss exception To javawsDeterme, Sebastien (sd378r)1-3/+2
Replace jboss exception by a web service one Change-Id: I386da7b8436170a337c815381d97014f445cb21a Issue-Id: CLAMP-43 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-29Reorganize some code and fix checkstyleDeterme, Sebastien (sd378r)2-17/+14
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-29Fix the clds-reference jsonDeterme, Sebastien (sd378r)1-122/+121
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-0/+295
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-18Fixing some checkstyle issues.ChrisC11-197/+238
Change-Id: I767ec548b9667e8104c485eaae287cbdf0383b07 Signed-off-by: ChrisC <cc697w@intl.att.com> Issue-Id: CLAMP-43
2017-08-08Rework of the unit tests (mainly IT)Determe, Sebastien (sd378r)16-688/+1746
Rework of the unit tests (mainly IT) + new example files and test resource config Change-Id: I4970b3710c7decdc8a3265a86115097d4394ad80 Issue-Id: CLAMP-1 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-08Rework the authenticationDeterme, Sebastien (sd378r)4-0/+136
Add more granularity in the default authentication mechanism + Add some unit tests with Json to validate the json decoder Change-Id: I89d0ef94e99fc8aa0c1e8c6432b5aa30a0a5ac88 Issue-Id: CLAMP-1 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-08Rework SDC calls and modelDeterme, Sebastien (sd378r)13-22/+4925
Rework the SDC model and queries + Add unit tests with JSON to validate the SDC model Change-Id: I93f08cdc883f5357e3a08e9c246ed30be50a3492 Issue-Id: CLAMP-1 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-01[CLAMP-26] upgrade org.onap.policyPamela Dragosh1-1/+1
Change-Id: I893db1b973f09174adec85e452b1488e900bea00 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-06-21[CLAMP-1] Initial ONAP CLAMP seed code commitChrisC16-0/+1707
Change-Id: I2e8070a590618a06070f393d7b2c011029af5e8a Signed-off-by: ChrisC <cc697w@intl.att.com>