aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org
AgeCommit message (Collapse)AuthorFilesLines
2018-10-22Fix deploysebdet1-1/+1
Deploy action should not be available when it has been already deployed Issue-ID: CLAMP-229 Change-Id: I155bcd3c1fc2cd8ba5813a9e876b1eff521ebde3 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-10-11Merge "Fix UI behavior"Sébastien Determe2-11/+26
2018-10-11Fix UI behaviorsebdet2-11/+26
Fix UI not seeing that the backedn has failed the request + add support to display the errorMessage from backend Issue-ID: CLAMP-228 Change-Id: I6fc58f6d6888a4e140cdf70f403bbcfa07e40ac0 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-10-09Merge "Added tests for dcae dispacher services"3.0.0Sébastien Determe4-103/+33
2018-10-03Fix Guard policy Pushsebdet5-113/+184
Fix push to policy of Guard policies due to interface changes Issue-ID: CLAMP-225 Change-Id: If0832385c20824ad86ca53bcaa07e6fa1ad61691 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-10-01Added tests for dcae dispacher servicesadam4-103/+33
Issue-ID: CLAMP-221 Change-Id: Ifb1091f47aec38c04bbb98b8f4b1621c0c7b67a3 Signed-off-by: adam <adam.krysiak@nokia.com>
2018-09-21Add delete testsebdet3-67/+51
Add a test and fix the delete model code that was not working Issue-ID: CLAMP-217 Change-Id: I235200ee0e7dc25ed759b88568333882bfb90c50 Signed-off-by: sebdet <sd378r@intl.att.com>
2018-09-20Add testssebdet2-117/+127
Add some tests and fix event for Submit action Issue-ID: CLAMP-217 Change-Id: I1882a35da110130529085fad5524e82a509cd7e1 Signed-off-by: sebdet <sd378r@intl.att.com>
2018-09-19Add testssebdet1-9/+14
Add some tests to cldsService Issue-ID: CLAMP-217 Change-Id: I95f21306f3d807a283519604c1711dfd07466d4a Signed-off-by: sebdet <sd378r@intl.att.com>
2018-09-17Guard policy Backendsebdet7-3/+373
Introduce Guard policy backend code Issue-ID: CLAMP-190 Change-Id: I7d60c6dd700c84607329f5449287465379b94807 Signed-off-by: sebdet <sd378r@intl.att.com>
2018-09-05Fix healthchecksebdet3-54/+60
Fix healthcheck and creds system due to AAF changes Issue-ID: CLAMP-213 Change-Id: Idcc9a369ab384a1bba86b80f81a75a4631d8604e Signed-off-by: sebdet <sd378r@intl.att.com>
2018-09-04Fix DAOsebdet1-191/+123
Fix critical errors reported by Sonar on CldsDAO Issue-ID: CLAMP-198 Change-Id: Ib7b93dabc69f3b8ba1d1037c6a2f952fdcd76a5b Signed-off-by: sebdet <sd378r@intl.att.com>
2018-09-03Update policy librariessebdet6-123/+135
Update policy libraries + small reworking of the op policy code Issue-ID: CLAMP-215 Change-Id: I5dad2b9eaf4f6855d2c69f4533b3aae95d155d25 Signed-off-by: sebdet <sd378r@intl.att.com>
2018-09-03Introduce tosca savingsebdet13-64/+1519
Introduce tosca saving for generic Config policy + rest apis Issue-ID: CLAMP-214 Signed-off-by: sebdet <sd378r@intl.att.com> Change-Id: I34431d256b195071ea6f7581fc20aff9a6b9aaf7
2018-09-03Remove the manual timersebdet2-83/+43
Remove timer that was leading to issues during SDC fetch. Moreover there is already a cache in Cadi Issue-ID: CLAMP-181 Change-Id: I9926f2aaea290484d2356532c9a00e6e3f0d6a59 Signed-off-by: sebdet <sd378r@intl.att.com>
2018-08-30Merge "Fix for sonar issue"Sébastien Determe4-189/+218
2018-08-20Fix for sonar issueGabriel4-189/+218
Fix for some sonars. Increase code coverage. Issue-ID: CLAMP-211 Change-Id: If1b5169ff832fc94886b178226570dc0559fe3c2 Signed-off-by: Gabriel <adam.krysiak@nokia.com>
2018-08-17Rework AAF classesDeterme, Sebastien (sd378r)3-215/+95
Rework AAF integration to be more Spring specific + change console log to previous pattern Issue-ID: CLAMP-210 Change-Id: I689269668f64996f2d07491e420062f5ca0ca1db Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-08-14Update Logging Specificationsxg353y4-15/+204
Create our own logging constants to remove the dependency to org.onap.logging-analytics:logging-library Issue-ID: CLAMP-203, CLAMP-204, CLAMP-205 Change-Id: Id231dec1e91390f8f2d10a8eef03528da8ab9be5 Signed-off-by: xg353y <xg353y@intl.att.com>
2018-08-13Upgrade spring/camel versionsxg353y1-20/+29
Update the permission mapping method by adding more permissions Issue-ID: CLAMP-188 Change-Id: I3c1ca14060e60fd48721a5b4198100b700b3fc3d Signed-off-by: xg353y <xg353y@intl.att.com>
2018-08-10Update Logging Specificationsxg353y5-57/+279
Update logging related parameters basedon the ONAP logging specification v1.2 Issue-ID: CLAMP-203, CLAMP-204, CLAMP-205 Change-Id: Ide7608e289f647862be8db6eb3d7bf11b6e7218a Signed-off-by: xg353y <xg353y@intl.att.com>
2018-08-09Fix logback.xml locationDeterme, Sebastien (sd378r)1-4/+8
The logback.xml location was not working, it was not possible to specify an external logback.xml file. Now it works from application.properties Issue-ID: CLAMP-179 Change-Id: I87c9be70561fc0897b5c6499a431f7cd788c1867 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-08-08Add support for ScaleOutDeterme, Sebastien (sd378r)4-52/+53
Support Scaleout in Clamp UI + rework the Backend to support more configurable fields of operational policy. Issue-ID: CLAMP-201 Change-Id: I87dceeecfb4145bf4a0357daefd279729609e21d Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-08-03Restore SwaggerDeterme, Sebastien (sd378r)5-36/+77
Restore swagger generation at runtime, + Clamp versioning rework + log level set differently Issue-ID: CLAMP-169 Change-Id: Ibf9eedb7028dedc610b36546f57ee5b3095cd20d Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-08-01Fix TypoDeterme, Sebastien (sd378r)1-20/+21
Typo fixes + Wrong constant usages in the servlet Issue-ID: CLAMP-192 Change-Id: Ic32706ffed90836ca7ecafb55e3e54efa7f09886 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-07-26Upgrade spring/camel versionsxg353y18-534/+486
Upgrade the spring/camel dependency versions in order to solve the security issue Issue-ID: CLAMP-188 Change-Id: I80c28a4d9c142b89463ad3a6a00761e5495adda8 Signed-off-by: xg353y <xg353y@intl.att.com>
2018-07-06Merge "Fix sonar issue"Christophe Closset1-22/+27
2018-07-06Fix sonar issueDeterme, Sebastien (sd378r)1-22/+27
Fix a NPE reported by Sonar recently Issue-ID: CLAMP-198 Change-Id: I1d9ec510dee4aeec676ca67c2072e7f0a7aea972 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-07-05Merge "Fix bug due to wrong changes"Christophe Closset1-127/+91
2018-07-05Fix bug due to wrong changesDeterme, Sebastien (sd378r)1-127/+91
getValue must be used instead of getBoolean Issue-ID: CLAMP-196 Change-Id: I245a124314ec0902a4866622d65be5a94a5d2066 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-07-03Fix weakness causing NPEGabriel1-2/+2
Change-Id: I1f6bfa75990082dc411d813528702cc3cc140f5c Issue-ID: CLAMP-193 Signed-off-by: Gabriel <adam.krysiak@nokia.com>
2018-07-03cleaned up clds service codeGabriel4-131/+214
Change-Id: Id1688515986d96b35f4cc654a38d662b3d491240 Issue-ID: CLAMP-178 Signed-off-by: Gabriel <adam.krysiak@nokia.com>
2018-06-11Integrate AAFxg353y2-3/+3
Update aaf dependency version; fix a bug in UI; remove logout page; update default certificates Issue-ID: CLAMP-103 Change-Id: I3bdd45730f616165d7a484033c5102241f872c1d Signed-off-by: xg353y <xg353y@intl.att.com>
2018-06-11Integrate AAFxg353y8-143/+552
Integrate AAF framework into Clamp. Issue-ID: CLAMP-103 Change-Id: I2ceeb2a85b8b5674e712b3924a96a2bd6fb71d68 Signed-off-by: xg353y <xg353y@intl.att.com>
2018-06-06Minor ImprovementDeterme, Sebastien (sd378r)22-504/+575
Code rework postponed to Casablanca to not impact Bejing release + Update version to 3.0.0 Issue-ID: CLAMP-177 Change-Id: I3e2cb22c1158df0cf5d4cf8369f9c469004d68c0 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-25Fix potential NPEDeterme, Sebastien (sd378r)1-2/+6
Fix policyversion that can be null in getConfig method Issue-ID: CLAMP-153 Change-Id: Idd26a2b1a33cd0ae82b45e6070746ff4f8b5e7ea Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-23Add session timeout pagexg353y1-1/+5
Page timeout.html will be loaded at the session timeout, so that client can re-login. Issue-ID: CLAMP-166 Change-Id: Ie6af79e993480162b1becf9a01b99c70ec831354 Signed-off-by: xg353y <xg353y@intl.att.com>
2018-05-23Merge "Generate API documents"Sébastien Determe1-39/+0
2018-05-22Generate API documentsxg353y1-39/+0
Adding maven plugins to scan Clamp code automatically and generate swagger.json, html and pdf documents with the exposed Clamp API information. Issue-ID: CLAMP-169 Change-Id: Ia46cd2aa7000251b30c9eaaa040f1f8d9246af45 Signed-off-by: xg353y <xg353y@intl.att.com>
2018-05-18Fix Deploy failingDeterme, Sebastien (sd378r)1-0/+8
Fix deploy/undeploy failing when cookies have expired on UI side, it prevents clamp from getting the right ServiceTypeId Issue-ID: CLAMP-166 Change-Id: If9ae0620f6c003fa2b46e6d282681c66f10b92c5 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-18Fix duplicate thresholdsDeterme, Sebastien (sd378r)1-2/+1
Fix issue detected when publishing multiple thresholds in the TCA UI Issue-ID: CLAMP-165 Change-Id: I748f145c275a9e084effee451379e8c0615201d2 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-18Fix op policyDeterme, Sebastien (sd378r)1-11/+13
Fix op policy so that when UI sends empty string the targetResourceId is set to null Issue-ID: CLAMP-153 Change-Id: I0b6680106548111d59f2170f8f7c42414e0644c8 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-16Fix Sdc controllerDeterme, Sebastien (sd378r)3-10/+6
Fix Sdc controller startup, it should not impact the spring startup now as there is a periodic process that checks that every 2 mins Issue-ID: CLAMP-151 Change-Id: I47f81383eba320c08e923f7408f268b346aa68c5 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-15Fix the tca policyDeterme, Sebastien (sd378r)1-0/+2
Fix closed loop control name containing a null part in the data sent to policy for TCA Issue-ID: CLAMP-160 Change-Id: I235a622dbf69821147278b7015d64d9ade24b97b Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-15Fix log locationDeterme, Sebastien (sd378r)1-2/+9
Fix log location so that it goes into /var/log/onap Issue-ID: CLAMP-161 Change-Id: Icec87579c7c7be8a0b4069e4152f7f964794c50c Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-11Fix Sdc ControllerDeterme, Sebastien (sd378r)1-2/+23
Add support to decode the entire input parameters provided in the blueprints so that user see them in the Clamp UI + Unit tests Issue-ID: CLAMP-151 Change-Id: I838e03375cb544fd91b0a1f86905d96239ffece2 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-11Fix Sdc ControllerDeterme, Sebastien (sd378r)2-33/+45
Remove artifact types that clamp does not need so that it's correct in SDC UI + add notifications for all artifact types Issue-ID: CLAMP-151 Change-Id: Iada581cdb2b17b355dd3a607cbe6930bba7a6931 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-11Fix Sdc controllerDeterme, Sebastien (sd378r)2-2/+21
Add a check every 2 mins to ensure Sdc controllers are well running Issue-ID: CLAMP-151 Change-Id: I3c9b10ecc4ce88f60a50484b5e86746ad09a8fc9 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-08Fix DCAE deploy/undeployDeterme, Sebastien (sd378r)2-19/+18
Add configurable timer and attempt for the DCAE GetOperation Status Issue-ID: CLAMP-159 Change-Id: I537961af135d0197330ec89da12dcff467153311 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-04Fix the ServiceTypeId nullDeterme, Sebastien (sd378r)2-35/+41
Fix the ServiceTypeId null sometimes when deploying SDC artifacts, this was due to DCAE call returning empty result (Call too early) Issue-ID: CLAMP-151 Change-Id: I2582fabb56815a2fe40936a1cd250ff9bf3f6862 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>