aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
AgeCommit message (Collapse)AuthorFilesLines
2019-03-19Checkstyle improvementsChrisC1-2/+2
Aligning couple of files with dublin checkstyle rules Issue-ID: CLAMP-328 Change-Id: Id6d97adefaeb9ddd7f8dc3253de61aeda13d27bf Signed-off-by: ChrisC <christophe.closset@intl.att.com>
2019-03-15Merge "Fix policy Tosca converter"Eddy Hautot4-81/+351
2019-03-15Fix policy Tosca convertersebdet4-81/+351
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-15Rework UIxg353y1-1/+1
Fix bugs due to the data model change Issue-ID: CLAMP-318 Change-Id: If3750505a5f496caae61c01c2179e058e79eba52 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-14SVG microservice uniquenesssebdet3-38/+41
Add field to support uniqueness of the microservice in the SVG Issue-ID: CLAMP-284 Change-Id: Idbfe593374eecf6f180725ad5ae5b077020a9f14 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-13Add UI testsxg353y2-1/+47
Add test cases for propertyController.js Issue-ID: CLAMP-310 Change-Id: I7ae2cc425d9a7343791bae9ab7704e09389f270a Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-13Merge "Add svg support"Eddy Hautot1-1/+4
2019-03-13Merge "Add updateGlobalPropertiesJson controller"Adam Krysiak1-10/+30
2019-03-12Add svg supportsebdet1-1/+4
Add SVG support to the CSAR installer so that UI could render the loop Issue-ID: CLAMP-306 Change-Id: Ief963c4ad8e4c142f20c16b2049cad3a8aeedfb0 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-12Merge "Rework authorization controller "Sébastien Determe1-0/+94
2019-03-12Add unit testssebdet4-20/+48
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-12Fix warning/sonarsebdet1-3/+0
Some small fixes reported by sonar or deprecated code fixed Issue-ID: CLAMP-252 Change-Id: I82c6c01ec023f3e5749589ecf519ec2050ec5ecf Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-12Add updateGlobalPropertiesJson controllermichal.banka1-10/+30
Change-Id: I83d474a3616462cdb0cc31eadae3a189dd275683 Issue-ID: CLAMP-301 Signed-off-by: michal.banka <michal.banka@nokia.com>
2019-03-11Merge changes from topic 'feature/new-csar-installer'Eddy Hautot5-1/+160
* changes: Add sql New CsarInstaller
2019-03-11New CsarInstallersebdet5-1/+160
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-11Rework authorization controller xg353y1-0/+94
Rework the authorization controller, put the authorization code into a camel box, so that it could be put and remove from other methods easily and not tightly connected with other logic; Remove unused CldsTemplateService.js Issue-ID: CLAMP-305 Change-Id: I5e01f1fa4534e78e0996b4b8acaf33f1875e95f0 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-03-11Merge "Convert modules and relations to SVG"Adam Krysiak5-0/+325
2019-03-11Convert modules and relations to SVGPiotr Darosz5-0/+325
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-10Merge "New endpoint"Sébastien Determe1-2/+2
2019-03-08Improve tests for CsarInstallerImplmichal.banka1-22/+133
Change-Id: I18ad5789c1ed5a6d3cdf3c954e7b8ff224a589b4 Issue-ID: CLAMP-307 Signed-off-by: michal.banka <michal.banka@nokia.com>
2019-03-08Merge "Extract modules names and relations"Adam Krysiak9-0/+724
2019-03-08Extract modules names and relationsPiotr Darosz9-0/+724
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-07New endpointsebdet1-2/+2
New endpoint to get svgRepresentation + remove Yaml field json Issue-ID: CLAMP-301 Change-Id: I49f62f25a719849cab78d1c94ae67078e28e6185 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-07created Api for closed loop managingKrysiak Adam4-43/+307
Change-Id: Ib6bd92d1ae3119a857c5a63df10e8f9bb130f75f Issue-ID: CLAMP-301 Signed-off-by: Krysiak Adam <adam.krysiak@nokia.com>
2019-03-05Merge "Rework the hibernate adapter"Sébastien Determe2-14/+16
2019-03-05Merge "Improve tests"Sébastien Determe5-100/+264
2019-03-05Rework the hibernate adaptersebdet2-14/+16
This was using the Jackson library so a new handmade hibernate adapter has been developed. Issue-ID: CLAMP-300 Change-Id: Ia1c1e8791370c139127e6fa4bd2b96c02f632fde Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-03-04Merge "Introduce new entities"Sébastien Determe2-1/+114
2019-03-02Improve testssebdet5-100/+264
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 entitiessebdet2-1/+114
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-26Merge "Parsing CSAR to retrieve policy model"Adam Krysiak3-3/+29
2019-02-25Parsing CSAR to retrieve policy modelTomasz Golabek3-3/+29
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-22Merge "Fix the bugs"Sébastien Determe1-4/+2
2019-02-20Fix the bugsxg353y1-4/+2
Fix the bugs in tosca model related code, due to the json removal activity. Issue-ID: CLAMP-292 Change-Id: I6306930052b876b1ba8b0e1ce71689d4499e165c Change-Id: I6306930052b876b1ba8b0e1ce71689d4499e165c Signed-off-by: xg353y <xg353y@intl.att.com>
2019-02-15Remove remaining Jacksonsebdet1-16/+17
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-13Merge "Remove SDC query"Sébastien Determe6-502/+5
2019-02-13Remove SDC queryxg353y6-502/+5
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 CLsebdet4-36/+156
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 Adam20-213/+919
Issue-ID: CLAMP-286 Change-Id: I3492811e248cbcf502656a992cea4f76deed46dc Signed-off-by: Krysiak Adam <adam.krysiak@nokia.com>
2018-12-20Remove useless codesebdet5-29/+244
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 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-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-19Re-indent codesebdet1-22/+25
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-11Additional tosca methodsebdet5-101/+97
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 codesebdet2-26/+23
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 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 testssebdet5-93/+363
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 Toscasebdet13-196/+952
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>