aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2018-05-30Update to 2.0.2Determe, Sebastien (sd378r)1-2/+2
Update CLAMP to 2.0.2 for additional fixes Issue-ID: CLAMP-153 Change-Id: Ib74e4ea31463b285d0594ee9743575d86edac7a8 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-30Add measureDeterme, Sebastien (sd378r)3-3/+6
Add measure for the TCA policy window Issue-ID: CLAMP-153 Change-Id: Ie035de0fbd5bc24f559696f463183bf1fe68aa02 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-25Fix issue in operational policy UIDeterme, Sebastien (sd378r)1-2/+1
Fix issue in operational policy UI due to structure not yet loaded Issue-ID: CLAMP-172 Change-Id: I4f5d78ed6ebb7257b3a102deeedd09ba8c3eece1 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-25Fix docker buildDeterme, Sebastien (sd378r)3-2/+67
Replace spotify plugin by fabric8 docker plugin in order to fix build issue Issue-ID: CLAMP-150 Change-Id: Ibd6f3d5f07bc1ccaeae8e167f39352b40b4c108b Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-23Add 30s waiting timeDeterme, Sebastien (sd378r)1-2/+13
Add 30s waiting time between Config policy and Brms policy Issue-ID: POLICY-854 Change-Id: I27e46536a12fac19378344f74ec2da93471213f9 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-05-23Add session timeout pagexg353y3-1/+65
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 Determe7-41/+2611
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 documentsxg353y7-41/+2611
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)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-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-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)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-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-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-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-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-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-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>
2018-04-25Remove useless configurationDeterme, Sebastien (sd378r)2-7/+5
Remove configuration for policy that was not required anymore Issue-ID: CLAMP-153 Change-Id: I3547809574a603736906437202c4d19a4e9cf5b6 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-25Sdc controller configDeterme, Sebastien (sd378r)1-2/+2
Change the sdc-controller config so that clamp is defined as sdc consumer group and id Issue-ID: CLAMP-151 Change-Id: Ie97a891e3c01d94f3099a5f75097e54ac37ecbe5 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-24Merge changes Ib3c339b2,I47888da8,Ifdc5a4d9,I2f7b7417,If10e2dff, ...Eddy Hautot212-212/+209
* changes: Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers Remove ECOMP in headers
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)5-5/+4
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)8-8/+8
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)8-8/+8
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>