aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-05-23Merge "Generate API documents"Sébastien Determe15-65/+36079
2018-05-23Fix issue with targetResourceId fieldDeterme, Sebastien (sd378r)1-7/+11
The targetResourceId is not always properly provisioned. Issue-ID: CLAMP-172 Change-Id: I5fd827633f07d12d8e14febc744c5fe0669c13d7 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-23Fix deploy windowDeterme, Sebastien (sd378r)2-10/+23
Add nice textboxes to edit the blueprint parameters Issue-ID: CLAMP-171 Change-Id: I1675d04c5849b5820e6221dcf5fa28c69cb87f5d Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-22Generate API documentsxg353y15-65/+36079
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-18Merge "Fix duplicate thresholds"Eddy Hautot3-5/+4
2018-05-18Fix duplicate thresholdsDeterme, Sebastien (sd378r)3-5/+4
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-18Merge changes from topics 'bugfix/improve-UI-op-policy', 'bugfix/op-policy', ↵Sébastien Determe8-30/+74
'bugfix/update-2.0.1' * changes: Help added to targetResourceId Fix op policy Update version to 2.0.1
2018-05-18Help added to targetResourceIdDeterme, Sebastien (sd378r)1-5/+33
Combo box with Invariant Resource ID + Other possibility & empty string added to targetResourceId field in Operational policy UI Issue-ID: CLAMP-153 Change-Id: Ic01aebb4cb6cc2c640763f4fd09d01eb2b1d1663 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-18Fix op policyDeterme, Sebastien (sd378r)4-21/+37
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-18Update version to 2.0.1Determe, Sebastien (sd378r)3-4/+4
Move to 2.0.1 to support additional fixes on 2.0.0 Clamp version Issue-ID: CLAMP-168 Change-Id: I8d0dec593f84f09f172f12ef5fdf23f7d11793a2 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-16Merge "Fix Sdc controller"Eddy Hautot3-10/+6
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-15Merge "Fix the tca policy"Sébastien Determe6-11/+12
2018-05-15Fix the tca policyDeterme, Sebastien (sd378r)6-11/+12
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-15Merge "Fix log location"Christophe Closset5-16/+25
2018-05-15Fix log locationDeterme, Sebastien (sd378r)5-16/+25
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-14Merge "Config Changes"Sébastien Determe3-15/+18
2018-05-14Config ChangesDeterme, Sebastien (sd378r)3-15/+18
Changes done to the Clamp Config file globalProperties.json for the operational policies Issue-ID: CLAMP-153 Change-Id: Id512fcdab0687495cbfb741097fc19dfc5545093 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-14Error when no abated msg yetac25501-1/+1
Change-Id: Ib9bfd64a34f5e3c31c8738beda929787cad9768e Issue-ID: CLAMP-158 Signed-off-by: Anael Closson <ac2550@intl.att.com>
2018-05-12Merge "Fix Sdc Controller"Christophe Closset4-8/+131
2018-05-12Merge "Fix Sdc Controller"Christophe Closset2-33/+45
2018-05-12Merge "Fix Sdc controller"Christophe Closset2-2/+21
2018-05-11Fix Sdc ControllerDeterme, Sebastien (sd378r)4-8/+131
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-11Merge "Fix DCAE deploy/undeploy"Sébastien Determe4-19/+24
2018-05-08Fix DCAE deploy/undeployDeterme, Sebastien (sd378r)4-19/+24
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-08closedLoopAlarm dates in us not in msac25501-7/+9
Dates received from other services are in ms, not in ms. Change-Id: I3e2583f4d7f771a73b12d56c040941fa9d6494cc Signed-off-by: ac2550 <ac2550@intl.att.com> Issue-ID: CLAMP-158
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-04Fix PolicyIdDeterme, Sebastien (sd378r)1-0/+1
Fix the policy Id set by the Submit call and update the ui accordingly Issue-ID: CLAMP-153 Change-Id: Id972e1ef4bfcab2e9932368cde8cc126fbc9c6d7 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 policy logDeterme, Sebastien (sd378r)1-1/+1
Fix the policy log, attempt to remove the Error logs Issue-ID: CLAMP-153 Change-Id: I7def81edf4dcc335b8f62fde86d6c7fa20a2302a 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-03Update dcae dispatcher portDeterme, Sebastien (sd378r)1-1/+1
Update dcae dispatcher port to 8188 for default installation Issue-ID: CLAMP-153 Change-Id: I9166b230aa73adcee06f4f6b621344d3cf68cf55 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)3-48/+6
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-27Fix potential ClassNotFoundDeterme, Sebastien (sd378r)1-0/+5
Discovered with recent version of java 8 and 9, this dependency should be added by default Issue-ID: CLAMP-151 Change-Id: Ie6c94cff032d6e6d5bb1adeb9deb04371a74d89d Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-27Add assertion Determe, Sebastien (sd378r)1-0/+1
Add assertion for Prop text content to verify policy_id has well been generated Issue-ID: CLAMP-151 Change-Id: I08ef6638f5dbbdb870378259807b4d4c5348e303 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-27Fix policy TemplateNameDeterme, Sebastien (sd378r)2-2/+2
Change the policy Template name to an existing value in Policy engine Issue-ID: CLAMP-153 Change-Id: I5daac9ea8d9c42b0b1af3d33829ba514dd96492a Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-26Fix sdc controllerDeterme, Sebastien (sd378r)3-26/+219
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)2-6/+15
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-25Policy fixDeterme, Sebastien (sd378r)1-3/+2
Fix test of policy configuration code Issue-ID: CLAMP-153 Change-Id: Ic6bc9da99f2e081d64514920ea019a2485800116 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>