aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources
AgeCommit message (Collapse)AuthorFilesLines
2019-03-15Fix policy Tosca convertersebdet2-78/+348
Fix converter so that it can understand the new Policy Yaml model Issue-ID: CLAMP-306 Change-Id: I4d2f8640b2344e7ceee2cfec2d7e3175777f591b Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-12Add unit testssebdet1-0/+0
Add unit tests and fix code to support them, columns modified and csar installer fixed as well Issue-ID: CLAMP-306 Change-Id: I946ef1aa957ca36bbb00357308ac67a3f07dcdce Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-11Merge changes from topic 'feature/new-csar-installer'Eddy Hautot1-1/+1
* changes: Add sql New CsarInstaller
2019-03-11New CsarInstallersebdet1-1/+1
Csar installer to fullfil the new database model Issue-ID: CLAMP-306 Change-Id: I456922b4ca5044df2299350abd85762c84d7435a Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-11Convert modules and relations to SVGPiotr Darosz1-0/+6
Generate SVG image from modules chain and save it to DB. Change-Id: I0f0b065f82de9b4d2084ec51043f485401842e23 Issue-ID: CLAMP-284 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-03-08Extract modules names and relationsPiotr Darosz7-0/+459
Extract modules names and relations from DCAE_INVENTORY_BLUEPRINT Change-Id: Ia419b946e15f399d3c4e8c75f836fde6b4b3dbed Issue-ID: CLAMP-283 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-03-05Merge "Improve tests"Sébastien Determe1-1/+1
2019-03-04Merge "Introduce new entities"Sébastien Determe1-1/+16
2019-03-02Improve testssebdet1-1/+1
Improve tests and equals/hashcode of each model objects + fix Instant bug of LoopLog Issue-ID: CLAMP-300 Change-Id: If081f07864ba73449f8c6bcf8e23ede138204082 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-02-28Introduce new entitiessebdet1-1/+16
Introduce new database entities to support the new Clamp model Change-Id: I6c8d7fdaf8201c2bc7878f8a807c89002525857f Issue-ID: CLAMP-299 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-02-25Parsing CSAR to retrieve policy modelTomasz Golabek1-0/+0
Content of policies.xml taken from the CSAR file and ready to store into the db. Change-Id: I9ee0d0474fa355ae4c9db1e1ee40a3f087002e88 Issue-ID: CLAMP-261 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-02-13Merge "Remove SDC query"Sébastien Determe1-17/+0
2019-02-13Remove SDC queryxg353y1-17/+0
Remove the query to SDC to get Service/VF related parameters. Also remove the UI which triggers the SDC query. Issue-ID: CLAMP-290 Change-Id: Ie7864942b91c022a3a7329c17ab2785448aae9ff Signed-off-by: xg353y <xg353y@intl.att.com>
2019-02-13support multiple CLsebdet2-0/+104
Support multiple CL CSAR deployment per service/vnf Issue-ID: CLAMP-289 Change-Id: I6e52da07b393bffeff18e16a5afa78ef14162935 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-02-06Replace jackson usages with GSONKrysiak Adam2-0/+443
Issue-ID: CLAMP-286 Change-Id: I3492811e248cbcf502656a992cea4f76deed46dc Signed-off-by: Krysiak Adam <adam.krysiak@nokia.com>
2018-12-20Remove useless codesebdet1-5/+16
Remove code not used anymore + add tests to increase coverage Issue-ID: CLAMP-252 Change-Id: I7a1ec163f73fe88f62fe0981148087ea8f7b7341 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-12-20Add testssebdet1-1/+1
Add tests to Tosca code to increase coverage Issue-ID: CLAMP-252 Change-Id: Ie18cb94444e7e47b6dfb3e8271a0db238cfeeb1b Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-12-19Add dynamic portsebdet1-1/+1
Add dynamic port tfor concurrent build, and add more parameters to policyClient Issue-ID: CLAMP-252 Change-Id: I12dcb29eb69943b187f201ba3ca8884d50e62ef8 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-12-19Add flexibilitysebdet1-2/+3
Add flexibility to the code for the authentication part Issue-ID: CLAMP-252 Change-Id: Id13275c37b44f6934057000743f40fb531313cca Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-12-11Fix concurrent buildsebdet2-2/+2
Fix concurrent build issue that may occur and generate random ports automatically in the build Issue-ID: CLAMP-252 Change-Id: If1b67a3a03fea52971b494621a4ba3ba44ee6a01 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-12-07Add unit testssebdet2-0/+31
Add test to policyClient + guard policyAttributes Issue-ID: CLAMP-252 Change-Id: I344a631cc1dfd38e87f61b34dcb1bb3dbb00625a Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-12-05Additional code for Toscasebdet6-172/+548
Tosca code for policy dynamic configuration Issue-ID: CLAMP-252,CLAMP-251 Change-Id: Icd96f833567050c1dd4730a61765507ad24ebd2e Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-12-01Some minor improvementssebdet1-0/+74
Minor improvements of condition, sonar reporting Issue-ID: CLAMP-252 Change-Id: I216a0896f15e92a0b72e85d0c1ebc114a7302036 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-11-30Replace wrong namesebdet10-44/+44
Replace wrong names in samples Issue-ID: CLAMP-252 Change-Id: I17dc8715ac1080c7f8823dc4903f0b68b9774067 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-11-30Removal of useless stuffsebdet3-619/+5
Removal of useless files and configuration Issue-ID: CLAMP-252 Change-Id: If2c81708d4158404151740ba719fe2dd666c6152 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-11-30Remove bad namessebdet16-16/+16
Remove bad names in examples for unit tests Issue-ID: CLAMP-252 Change-Id: I035f82ce2333d246ac90ca70d506703ced131ce6 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-11-02Fix Policy Yamlsebdet5-46/+34
Fix Policy Yaml generation, remove service and resource section + update the actor/recipe Issue-ID: CLAMP-243 Change-Id: Ia1adad6e653e7e85576858f2971f60f7903bfae2 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-10-03Fix Guard policy Pushsebdet1-2/+2
Fix push to policy of Guard policies due to interface changes Issue-ID: CLAMP-225 Change-Id: If0832385c20824ad86ca53bcaa07e6fa1ad61691 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-09-20Add testssebdet4-0/+933
Add some tests and fix event for Submit action Issue-ID: CLAMP-217 Change-Id: I1882a35da110130529085fad5524e82a509cd7e1 Signed-off-by: sebdet <sd378r@intl.att.com>
2018-09-19Add testssebdet2-4/+106
Add some tests to cldsService Issue-ID: CLAMP-217 Change-Id: I95f21306f3d807a283519604c1711dfd07466d4a Signed-off-by: sebdet <sd378r@intl.att.com>
2018-09-05Fix healthchecksebdet1-1/+1
Fix healthcheck and creds system due to AAF changes Issue-ID: CLAMP-213 Change-Id: Idcc9a369ab384a1bba86b80f81a75a4631d8604e Signed-off-by: sebdet <sd378r@intl.att.com>
2018-09-03Replace dumb valuessebdet19-684/+684
Replace dumb values by test values in sampel files Issue-ID: CLAMP-198 Change-Id: I3ac4012b0369e2576459f5536a6c93e33917afe5 Signed-off-by: sebdet <sd378r@intl.att.com>
2018-08-20Fix for sonar issueGabriel1-0/+63
Fix for some sonars. Increase code coverage. Issue-ID: CLAMP-211 Change-Id: If1b5169ff832fc94886b178226570dc0559fe3c2 Signed-off-by: Gabriel <adam.krysiak@nokia.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)2-5/+21
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-06-06Minor ImprovementDeterme, Sebastien (sd378r)1-1/+0
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-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)4-8/+8
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)2-0/+85
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-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)1-0/+169
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-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 Hautot4-4/+4
* 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: Ifdc5a4d9d8fb25d1b66d8a5699fde3cba17af7a4 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>