summaryrefslogtreecommitdiffstats
path: root/src/test
AgeCommit message (Collapse)AuthorFilesLines
2018-08-20Fix for sonar issueGabriel5-23/+260
Fix for some sonars. Increase code coverage. Issue-ID: CLAMP-211 Change-Id: If1b5169ff832fc94886b178226570dc0559fe3c2 Signed-off-by: Gabriel <adam.krysiak@nokia.com>
2018-08-10Update Logging Specificationsxg353y2-5/+21
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)2-1/+11
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)1-0/+28
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)3-21/+58
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-07-26Upgrade spring/camel versionsxg353y6-135/+54
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-03Fix weakness causing NPEGabriel1-0/+20
Change-Id: I1f6bfa75990082dc411d813528702cc3cc140f5c Issue-ID: CLAMP-193 Signed-off-by: Gabriel <adam.krysiak@nokia.com>
2018-07-03cleaned up clds service codeGabriel6-117/+194
Change-Id: Id1688515986d96b35f4cc654a38d662b3d491240 Issue-ID: CLAMP-178 Signed-off-by: Gabriel <adam.krysiak@nokia.com>
2018-06-06Minor ImprovementDeterme, Sebastien (sd378r)6-35/+73
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-30Add measureDeterme, Sebastien (sd378r)2-2/+4
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-23Merge "Generate API documents"Sébastien Determe4-2/+92
2018-05-22Generate API documentsxg353y4-2/+92
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 duplicate thresholdsDeterme, Sebastien (sd378r)2-3/+3
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)3-10/+24
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-15Fix the tca policyDeterme, Sebastien (sd378r)5-11/+10
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-0/+2
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)2-10/+12
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)3-6/+108
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-08Fix DCAE deploy/undeployDeterme, Sebastien (sd378r)1-0/+4
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-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)1-1/+1
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)2-21/+206
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-1/+3
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)1-3/+2
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-24Merge changes Ib3c339b2,I47888da8,Ifdc5a4d9,I2f7b7417,If10e2dff, ...Eddy Hautot30-30/+30
* 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)1-1/+1
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)4-4/+4
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)1-1/+1
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)1-1/+1
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)1-1/+1
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: I89012b7c98bdfd0ab65b06cbe3969273eea43920 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: I313ef2ae8e429663071ef4efeef81a935ee71b10 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: Iccc1265c22130a7dd4c931ea1a8f29422213e641 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: I23bbaf19f4ba89e5ab5ecebcbe0116f20782cbe1 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: I442689c8e34171b036215c6752407ddfed524283 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: Ideba8a781bbea8c94e1eb43ce65a042d50c11c93 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: If8970d7055fe5ee1195f1af9040b42d8accd6cf0 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: I8d3d385b4db2b821ddc94c5be0e04f8475e2b90f 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: I65b9c1153919a7bed31ba7bfb4627f6b1a917b04 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: I7790a568a8b9105d147372fa46fa61bd741276a5 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: I8bf77f4c0cf884bdab2f9f1c1d56f91d98c6967d 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: I397898a5aa9dc87f4304833f2ec25a051ed01652 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Merge changes I09044986,Ib63b98f1,Ib974f943Eddy Hautot11-264/+52
* changes: Remove eNodeB Remove enodeB code Remove bad test
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: I4a3923fab24f017a0072cc13d2a573860d1ea59d Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove eNodeB Determe, Sebastien (sd378r)7-96/+5
Remove eNodeB in the config files for UI and tests Issue-ID: CLAMP-153 Change-Id: I090449869e83220777387d58b37ebcd3d7dec101 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Remove enodeB codeDeterme, Sebastien (sd378r)4-168/+47
Remove useless code for operational policy Issue-ID: CLAMP-153 Change-Id: Ib63b98f19656116935f0f8b325fc0f8b739f6c59 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-19Merge "Fix CsarInstaller"Sébastien Determe3-3/+3
2018-04-19Merge "Rollback policyScope"Sébastien Determe2-2/+2
2018-04-19Merge changes I0c2e7e06,I7fa79a6c,I768b765fSébastien Determe1-1/+2
* changes: Add Prefix to ModelName Flexible Policy code Fix Sdc Controller