summaryrefslogtreecommitdiffstats
path: root/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
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-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-29Add dynamic ports for HTTP/HTTPSDeterme, Sebastien (sd378r)2-2/+121
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-17Code improvementxg353y6-22/+32
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-08Rework of the DCAE clientDeterme, Sebastien (sd378r)8-0/+1068
Rework of the DCAE client and javascripts/html pages of the designer (part5) Change-Id: I3e7b889e2112dc2745632a328a02c6c603ecc195 Issue-Id: CLAMP-1 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-08Removal of useless filesDeterme, Sebastien (sd378r)9-999/+0
Removal of useless files like Helloworld or unused HTML files Change-Id: Id82af9bb27eb53a7564cd42ab25960eb34bbf102 Issue-Id: CLAMP-1 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-08Rework the CldsService (rest apis)Determe, Sebastien (sd378r)10-366/+891
Rework the Rest APis + Xsl transformer Change-Id: Icd9ae214c7c457b208235b4815729659ce8524a9 Issue-Id: CLAMP-1 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-08Rework the Clds DAO and properties associatedDeterme, Sebastien (sd378r)16-593/+968
Rework the Clds DAO and Prop classes collector, modelBPMN, policy, service Config Change-Id: If64573d9d513b54f286f46db26ef57fcc7830617 Issue-Id: CLAMP-1 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-08Rework the Req classes for allDeterme, Sebastien (sd378r)7-310/+503
Rework the req classes for TCA, Operational policy, StringMatch + Camunda config classes reworked Change-Id: I16a1e4b7485416c38ed50087c701aa2e305a768a Issue-Id: CLAMP-1 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-08Rework the authenticationDeterme, Sebastien (sd378r)9-153/+484
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 all the clamp delegatesDeterme, Sebastien (sd378r)13-312/+450
Rework all the clamp delegates for Event, DCAE, Operational policy, stringmatch and TCA Change-Id: I8f3830cdf05b144dd5d039f833ef7e96c785df29 Issue-Id: CLAMP-1 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-08Rework the Clamp db modelDeterme, Sebastien (sd378r)10-247/+413
Rework the DB model + new SQL associated to that Change-Id: Ibfa6e0bc9942f8b51a1681fab98502c462d34def Issue-Id: CLAMP-1 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-08Rework SDC calls and modelDeterme, Sebastien (sd378r)8-388/+1277
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 Dragosh3-19/+19
Change-Id: I893db1b973f09174adec85e452b1488e900bea00 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-06-21[CLAMP-1] Initial ONAP CLAMP seed code commitChrisC74-0/+10240
Change-Id: I2e8070a590618a06070f393d7b2c011029af5e8a Signed-off-by: ChrisC <cc697w@intl.att.com>