aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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>
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: I2f7b741780f51587dc5d98aceeeab3236b45792e Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)9-9/+9
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)6-6/+6
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)8-8/+8
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)8-8/+8
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)5-5/+5
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)7-7/+7
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>
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: I313ef2ae8e429663071ef4efeef81a935ee71b10 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: Iccc1265c22130a7dd4c931ea1a8f29422213e641 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: Iac30f54e6b2f365f6a87fa40f1d2b11107defaca Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)9-9/+9
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: I23bbaf19f4ba89e5ab5ecebcbe0116f20782cbe1 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove ECOMP in headersDeterme, Sebastien (sd378r)8-8/+7
Remove ECOMP in headers of the source files Issue-ID: CLAMP-156 Change-Id: I442689c8e34171b036215c6752407ddfed524283 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: If7cc479d8c94507272f6c357f550430e3f7a8ff8 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: I4de15a4b487098b1c7f5adf16bd809bbbf8d7de0 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>