aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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)2-64/+143
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-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-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)6-116/+141
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)2-122/+122
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)6-120/+567
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-18Fixing some checkstyle issues.ChrisC11-197/+238
Change-Id: I767ec548b9667e8104c485eaae287cbdf0383b07 Signed-off-by: ChrisC <cc697w@intl.att.com> Issue-Id: CLAMP-43
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)5-58/+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>
2017-08-08Rework of the DCAE clientDeterme, Sebastien (sd378r)18-0/+1617
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)13-1160/+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 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 of the designer UI (part4)Determe, Sebastien (sd378r)10-253/+568
Rework of the designer UI (part4) + Modification of all Clamp configurations iin resource folder Change-Id: I2adb7ad336c8d7decaed847cb167d1f125c10b0e Issue-Id: CLAMP-1 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-08Rework the javascript file of the UI (part3)Determe, Sebastien (sd378r)10-1578/+1751
Rework the javascript file of the UI (part3) Change-Id: I9fd6eab33f1c222c0bd61218ee31fece7a5e7af3 Issue-Id: CLAMP-1 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-08Rework javascripts for designer UI (part2)Determe, Sebastien (sd378r)9-670/+406
Rework javascripts for designer UI (part2) Change-Id: I72ffef0adc2559e8053203cee928eff5c4d9b0dc Issue-Id: CLAMP-1 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-08-08Rework the Designer UI (part1)Determe, Sebastien (sd378r)14-2734/+3484
Rework the Designer UI (part1), mainly html pages + javascripts Change-Id: I216e9ef65da91b2be3bf39e591220e6060578192 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)15-160/+635
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)21-410/+6202
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 Dragosh4-20/+20
Change-Id: I893db1b973f09174adec85e452b1488e900bea00 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-07-27Change clds jar version in DockerfileJulienBe1-1/+1
Change-Id: If9506da9036fb6fa799a88539160c2bb8ad13962 Signed-off-by: JulienBe <jb379x@att.com>
2017-06-21[CLAMP-1] Initial ONAP CLAMP seed code commitChrisC507-0/+296290
Change-Id: I2e8070a590618a06070f393d7b2c011029af5e8a Signed-off-by: ChrisC <cc697w@intl.att.com>