aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org
AgeCommit message (Collapse)AuthorFilesLines
2018-12-19Add flexibilitysebdet1-4/+15
Add flexibility to the code for the authentication part Issue-ID: CLAMP-252 Change-Id: Id13275c37b44f6934057000743f40fb531313cca Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-12-19Re-indent codesebdet1-20/+20
Just reformating the code so that it does not reach the column limit Issue-ID: CLAMP-252 Change-Id: Ib394a7671c464c33923a1f3ecf2671fd4dada9da Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-12-11Additional tosca methodsebdet2-1/+56
new tosca method for future code Issue-ID: CLAMP-252 Change-Id: I1fbd15e8a76ccb7629c800d8c64e2d526bd77554 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-12-11Reformating codesebdet2-6/+5
Some reformating of the code Issue-ID: CLAMP-252 Change-Id: I68e011ed496b853d51d242f90b6382a624b08d92 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-12-07Add unit testssebdet2-11/+24
Add test to policyClient + guard policyAttributes Issue-ID: CLAMP-252 Change-Id: I344a631cc1dfd38e87f61b34dcb1bb3dbb00625a Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-12-05Additional code for Toscasebdet13-294/+1300
Tosca code for policy dynamic configuration Issue-ID: CLAMP-252,CLAMP-251 Change-Id: Icd96f833567050c1dd4730a61765507ad24ebd2e Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-12-01Some minor improvementssebdet5-20/+68
Minor improvements of condition, sonar reporting Issue-ID: CLAMP-252 Change-Id: I216a0896f15e92a0b72e85d0c1ebc114a7302036 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-11-12Remove bad importsebdet2-15/+14
Bad import done on wrong dependencies Issue-ID: CLAMP-247 Change-Id: I2d9078932dd00e38e8d1be4c0e8b75ed1a7ff71a Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-11-12Save DCAE urlsebdet1-6/+9
Save DCAE url before the triggering otherwise, it may be very long Issue-ID: CLAMP-246 Change-Id: Ide9431a7e8bbbf9b8a15ba9efec6eb5983811cb4 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-11-09Fix DCAE status refreshsebdet7-290/+251
Fix the DCAE status refresh that was not done during the loading of the model in Clamp Issue-ID: CLAMP-246 Change-Id: I61ec1de74d46879ba638833bcab5143966d37228 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-11-02Fix Policy Yamlsebdet1-12/+7
Fix Policy Yaml generation, remove service and resource section + update the actor/recipe Issue-ID: CLAMP-243 Change-Id: Ia1adad6e653e7e85576858f2971f60f7903bfae2 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-10-31Fix Payload in policysebdet1-1/+11
Fix payload field in Op Policy, must now be YAML format + fix SO actor value Issue-ID: CLAMP-241 Change-Id: Icce97a0c396fb9ae11c98ace66893066494fcf73 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-10-24Fix sonar bugsebdet2-47/+47
Fix sonar bug reported due to InterruptedException caught and not thrown Issue-ID: CLAMP-217 Change-Id: Icb0f6fadd01df811fb2424dfdfaa96bb8f996d68 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
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"Sé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>