aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2019-02-18Fix health check action nameawudzins1-1/+1
Fix name of the health check action which is sent to policy Change-Id: I38536d2194963b58d1cf4b3e123142dddbfe9dd1 Issue-ID: CLAMP-296 Signed-off-by: adamwudzinski <adam.wudzinski@nokia.com>
2019-02-15Run as non rootsebdet2-7/+20
Modify the CLAMP docker image so that it does not run as root but as clamp user Issue-ID: CLAMP-298 Change-Id: I0bf7bed9cb76a2fcde72f2e23b66e03f03e5fe0e Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-02-15Remove remaining Jacksonsebdet1-8/+7
Remove jackson import as jackson shoul dbe removed Issue-ID: CLAMP-292 Change-Id: Ie638e40b278e747caf5efc30bf6f32bb489c758b Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-02-15Remove remaining Jacksonsebdet2-39/+38
Remove jackson import as jackson shoul dbe removed Issue-ID: CLAMP-292 Change-Id: I43b3bd2e2f217293ae8ac262b013b2287d1e2b16 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-02-15Remove remaining Jacksonsebdet4-17/+5
Remove jackson import as jackson shoul dbe removed Issue-ID: CLAMP-292 Change-Id: I5d8b71efab64aec688eb4a5e4abe09a652f12966 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-02-15Remove remaining Jacksonsebdet4-44/+33
Remove jackson import as jackson shoul dbe removed Issue-ID: CLAMP-292 Change-Id: I86f46b97b990f03abc6999fc4e54e37e51db9ae5 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-02-13Merge "Remove SDC query"Sébastien Determe23-2615/+155
2019-02-13Remove SDC queryxg353y23-2615/+155
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 CLsebdet6-54/+173
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-07Add exception for DCAEsebdet1-0/+5
Add exception when DCAE does not return an answer as the CSAR is not deployed in that case Issue-ID: CLAMP-291 Change-Id: Ibe2dc96f415e54c4e15b6dd57b214207e5dc22af Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-02-07Merge "Automatic Config Policy Ui generation"Sébastien Determe11-275/+17123
2019-02-07Merge "Replace jackson usages with GSON"Sébastien Determe50-884/+1560
2019-02-07Automatic Config Policy Ui generationxg353y11-275/+17123
Automatic GUI generation based on json output of policy-model. And remove the Create CL related code. Change-Id: I42f7e8da46052e01bda33593434f8794f0e430c5 Signed-off-by: xg353y <xg353y@intl.att.com> Issue-ID: CLAMP-264
2019-02-07Merge "Remove lodash in UI"Xue Gao2-57/+0
2019-02-06Replace jackson usages with GSONKrysiak Adam50-884/+1560
Issue-ID: CLAMP-286 Change-Id: I3492811e248cbcf502656a992cea4f76deed46dc Signed-off-by: Krysiak Adam <adam.krysiak@nokia.com>
2019-01-22Remove lodash in UIsebdet2-57/+0
Remove the lodash library as it's not used by any code Issue-ID: CLAMP-279 Change-Id: I51793dae87401952054c6dee3dc8179ab7def696 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-01-17Merge "Clear MDC variables"Sébastien Determe2-0/+8
2019-01-16Clear MDC variablesxg353y2-0/+8
Clear the MDC variables at the beginning and the end of the API calls. Issue-ID: CLAMP-271 Change-Id: I32504b00c812a4441ba1e4548bb7f42cf2894993 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-01-14Fix no AAF configsebdet1-3/+7
Add missing config for no AAF properties file Issue-ID: CLAMP-252 Change-Id: Iba8b0ed7119460a192cf30fcadb6e1b7b7e50b5d Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-12-20Remove useless codesebdet10-254/+393
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-20Remove useless codesebdet2-167/+1
Removal of code not used at all, coming from Amsterdam release Issue-ID: CLAMP-252 Change-Id: I88e864c15f7efc079fbfe73dfd653e19f613ad6e Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-12-20Add testssebdet3-4/+20
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-20Remove useless codesebdet4-617/+135
Remove old code of amsterdam not used anymore Issue-ID: CLAMP-252 Change-Id: I7017d639ee9857e16c61eef862c39cbc2c49a5ed Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-12-20Add flexibilitysebdet6-142/+323
Add flexible part for actions and status code for the UI according to the last event Issue-ID: CLAMP-252 Change-Id: If444e5bc615baf2e3bc526d963cf8d651cb906d7 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-12-19Add dynamic portsebdet2-50/+71
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 flexibilitysebdet3-6/+19
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-19Re-indent codesebdet2-42/+45
Just reformating the code so that it does not reach the column limit Issue-ID: CLAMP-252 Change-Id: Ib394a7671c464c33923a1f3ecf2671fd4dada9da Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-12-14Fix log locationsebdet2-2/+2
Fix log location in the CLAMP container Issue-ID: CLAMP-255 Change-Id: Icf36dca0412a4d416760152728a729abf6efb680 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-12-11Additional tosca methodsebdet8-103/+154
new tosca method for future code Issue-ID: CLAMP-252 Change-Id: I1fbd15e8a76ccb7629c800d8c64e2d526bd77554 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-12-11Reformating codesebdet4-32/+28
Some reformating of the code Issue-ID: CLAMP-252 Change-Id: I68e011ed496b853d51d242f90b6382a624b08d92 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-12-11Fix concurrent buildsebdet3-3/+3
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 testssebdet7-104/+387
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 Toscasebdet26-490/+2252
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 improvementssebdet6-20/+142
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 stuffsebdet7-1240/+8
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-26correct vulnerabilityosgn422w1-2/+7
put the correct release version and vulnerability html page Issue-ID: CLAMP-249 Change-Id: I767843965445ac833a9b8805dd5156d18f9a618d Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
2018-11-12Remove bad importsebdet6-52/+48
Bad import done on wrong dependencies Issue-ID: CLAMP-247 Change-Id: I2d9078932dd00e38e8d1be4c0e8b75ed1a7ff71a Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-11-12Save DCAE urlsebdet1-6/+9
Save DCAE url before the triggering otherwise, it may be very long Issue-ID: CLAMP-246 Change-Id: Ide9431a7e8bbbf9b8a15ba9efec6eb5983811cb4 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-11-09Fix DCAE status refreshsebdet9-298/+264
Fix the DCAE status refresh that was not done during the loading of the model in Clamp Issue-ID: CLAMP-246 Change-Id: I61ec1de74d46879ba638833bcab5143966d37228 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-11-02Fix Policy Yamlsebdet7-66/+52
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-11-01Update TCA paramssebdet1-2/+2
Update the TCA parameters as needed for DCAE TCA Issue-ID: CLAMP-242 Change-Id: If55fff4f14bf145d8962ec70c31dd0e25249de54 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-10-31Merge "Fix Payload in policy"3.0.2Sébastien Determe3-4/+14
2018-10-31Fix Payload in policysebdet3-4/+14
Fix payload field in Op Policy, must now be YAML format + fix SO actor value Issue-ID: CLAMP-241 Change-Id: Icce97a0c396fb9ae11c98ace66893066494fcf73 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-10-31add missing visualosgn422w44-41/+44
add missing visualization for original dashboard and update readme Issue-ID: CLAMP-240 Change-Id: I4425219318bb83c2906e5b3e85f4c1ad484a1fad Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
2018-10-30correct dashboard indexosgn422w45-18/+41
the wrong index/dashboards/visualization/search were used Issue-ID: CLAMP-240 Change-Id: I6cd6366be57bcc07945962068860db0b2db2be9e Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
2018-10-30skip processing for logosgn422w1-41/+47
skip specific http processing in case of logfile events Issue-ID: CLAMP-240 Change-Id: I26d38ea99d46b186fa81fda01b63ab207c881057 Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
2018-10-24Fix sonar bug3.0.1sebdet3-73/+72
Fix sonar bug reported due to InterruptedException caught and not thrown Issue-ID: CLAMP-217 Change-Id: Icb0f6fadd01df811fb2424dfdfaa96bb8f996d68 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-10-24Upgrade to 4.1.3sebdet6-480/+4
Upgrade bootstrap to 4.1.3 (latest) and remove useless bootstrap-theme css Issue-ID: CLAMP-238 Change-Id: I79e9396b8905fbc09eb61fee66e076287068ff53 Signed-off-by: sebdet <sebastien.determe@intl.att.com>