summaryrefslogtreecommitdiffstats
path: root/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-05-03Fix policy IDDeterme, Sebastien (sd378r)3-15/+16
Fix policy id generated and published to DCAE during deployment Issue-ID: CLAMP-153 Change-Id: Ie886fbb6fe17668799dd824736fe012862517f08 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-03Fix Sonar bugsDeterme, Sebastien (sd378r)1-4/+2
Fix Sonar bugs reported Issue-ID: CLAMP-147 Change-Id: Ie7a7bb24ceaaf45b55861baeeb26011b93895705 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-02Fix control name too bigDeterme, Sebastien (sd378r)1-1/+1
Fix the sdc controller case in submit, use controlname instead of model name Issue-ID: CLAMP-151 Change-Id: I15181daee49b052f191db8af4368983261b3bcbf Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-02Fix the SubmitDeterme, Sebastien (sd378r)1-1/+1
Fix the submit due to artifact name wrong in the Sdc controller case Issue-ID: CLAMP-151 Change-Id: Ied788eda40a7b6f63106be5b662fbc00f363da4b Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-02Invert testDeterme, Sebastien (sd378r)1-6/+7
Invert the test for SDC controller case when submitting the CL Issue-ID: CLAMP-151 Change-Id: I7d3fa51bf77580eaf0843440c9073cd3ccb393b2 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-02Fix CsarInstallerDeterme, Sebastien (sd378r)2-11/+22
Add the getTypeName and fix submit operation insEvent missing for SDC case Issue-ID: CLAMP-151 Change-Id: Ibd176c3ff1c346003bd7b2b0594178867ca1a8e8 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-02Remove useless exceptionDeterme, Sebastien (sd378r)1-8/+9
Remove useless exception in code + re-align comments Issue-ID: CLAMP-147 Change-Id: I2ebced0ac87ff0a9ce5c3b8681a8965b6d8115a5 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-30Fix Sdc ControllerDeterme, Sebastien (sd378r)3-33/+71
Fix the policy_id sent autogenerated for DCAE deployment, this is now done at submit time Issue-ID: CLAMP-151,CLAMP-153 Change-Id: I1b0e8bb1953a30cc96a9ca0829ff8d5739308573 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-30Fix bug in submitDeterme, Sebastien (sd378r)1-1/+1
Fix the field used to check that the dcae call has already been made Issue-ID: CLAMP-151 Change-Id: Iad32477aaebe05d93dbd046c02c0e0980db10be8 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-27Remove DCAE callDeterme, Sebastien (sd378r)1-4/+10
Remove DCAE inventory call when CL is deployed from SDC in submit action, as the DCAE inventory is already done during deployment. Issue-ID: CLAMP-151 Change-Id: Ib2c744b53a8e4dc9371ae982612ea2822d7a9ad8 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-27Remove poliyc errorsDeterme, Sebastien (sd378r)1-1/+1
Attempt to remove policy errors that are dumped to logs when exception are raised too. This led to duplicate errors in logs Issue-ID: CLAMP-153 Change-Id: Ibba491d9ecf1fc99d4c09f5b80f7701fc4f56654 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-26Fix sdc controllerDeterme, Sebastien (sd378r)1-5/+13
Support multiple closed loop deployment in the same service and add test for mutliple closed loops Issue-ID: CLAMP-151 Change-Id: Ied352ecb10fee4b807fa4bbfebc5934fd62cba3e Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-26Fix HealthCheckDeterme, Sebastien (sd378r)1-5/+12
Change the healthcheck method to answer by http code according to the status Issue-ID: CLAMP-157 Change-Id: I82b11cb385e346e23e2fa3ae82f8e099d0ca10ac Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-25Fix the Sdc ControllerDeterme, Sebastien (sd378r)3-5/+6
Fix the controller bugs, it was not able to decode properly the Yaml received and there was a bug with Csar content Issue-ID: CLAMP-151 Change-Id: If42577b221c31b48a2b955e35bb3c1a957240611 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)3-3/+3
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: Ib3c339b208edd14beba87b33d71e77bf82d6907f Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)3-3/+3
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: I47888da89d143975391d84100b48fc5f4e2982dd Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)1-1/+1
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: Ifdc5a4d9d8fb25d1b66d8a5699fde3cba17af7a4 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)5-5/+5
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: I2f7b741780f51587dc5d98aceeeab3236b45792e Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)2-2/+2
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: If10e2dff86852840ad289b03c6a30dd83f674d76 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)4-4/+4
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: I8a2fa403485ece7a823092c3c249114794060982 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)6-6/+6
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: I7ff043e939ea0d6d255c3075add6d8172b6d045e Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)7-7/+7
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: Ia9320ade04389cb635a40b18ea8ab17f283c09e2 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)4-4/+4
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: I0d42faeb8f8dc307763413d214e9033255d3c40d Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)1-1/+1
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: I53d93961da1f16211eb4cf95d99a3a8b3fc3994e Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)6-6/+6
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: I89012b7c98bdfd0ab65b06cbe3969273eea43920 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>