aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources
AgeCommit message (Collapse)AuthorFilesLines
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>
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: I442689c8e34171b036215c6752407ddfed524283 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-24Merge changes I09044986,Ib63b98f1,Ib974f943Eddy Hautot10-257/+41
* 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)3-161/+36
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 Determe2-2/+2
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
2018-04-19Fix CsarInstallerDeterme, Sebastien (sd378r)2-2/+2
Fix the CsarInstaller for policy input when deploying to DCAE, and fix UI so that default value is well displayed Issue-ID: CLAMP-153 Change-Id: I307d24782e6482590e709affe59bff84fb8a8526 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-18Rollback policyScopeDeterme, Sebastien (sd378r)2-2/+2
Rollback policy Scope to DCAE as required for the microservices Issue-ID: CLAMP-153 Change-Id: I6a4569f89167eb825c961f38f8a0a4aa5a2fec12 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-18Flexible Policy codeDeterme, Sebastien (sd378r)1-1/+2
Add more flexibility to the pattern used for GetConfig policy Issue-ID: CLAMP-153 Change-Id: I7fa79a6c3a6402ada451e07c851e4e3d78925334 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-17Rollback policy scopexg353y2-0/+2
Rollback the policy scope under configBody and set it to CLAMP Issue-ID: CLAMP-153 Change-Id: I2446839329d367ad031852a9c0a33f7b29741740 Signed-off-by: xg353y <xg353y@intl.att.com>
2018-04-16Set policy scopeDeterme, Sebastien (sd378r)5-10/+8
Change policy scope to CLAMP in policy code and tests Issue-ID: CLAMP-153 Change-Id: I4376e4d1d603033d0b3355d1115a21026d48beec Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-12Merge "Improve policy Config"Sébastien Determe2-37/+14
2018-04-11Improve policy ConfigDeterme, Sebastien (sd378r)2-37/+14
Improve the policy configuration file and merge it to application.properties so that all configurations are located at the same place Issue-ID: CLAMP-136 Change-Id: I5654bbe61d483a4061540959ed0b7dbb1242b022 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-09Fix python scriptDeterme, Sebastien (sd378r)1-3/+4
Fix startup of the python script in the pom that was not properly set Issue-ID: CLAMP-147 Change-Id: Ia462be79dd053a9b39761e5bdf3248d0e28e65ee Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-06Update SDC libraryDeterme, Sebastien (sd378r)4-6/+9
Upgrade SDC library to latest and remove the message bus condition, it's now a mandatory parameter as well Issue-ID: CLAMP-149 Change-Id: I4c7ddcca6ac176380821bd8f1e4e3ef3d9fcea30 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-04Fix the python startup scriptDeterme, Sebastien (sd378r)1-16/+23
Fix the startup script for python simulator Issue-ID: CLAMP-148 Change-Id: Ia1906aa12f2354a45324553609a9e5e713d8a551 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2018-04-03New parameter Sdc controllerDeterme, Sebastien (sd378r)3-7/+21
There is a need to have that new parameter (message bus addresses) if the sdcAddress is not present Issue-ID: CLAMP-149 Change-Id: I336e7af6784a70b0b65c9610fc2e69e40126bdc0 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>