summaryrefslogtreecommitdiffstats
path: root/src/test/java
AgeCommit message (Collapse)AuthorFilesLines
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-11Merge changes from topic 'feature/new-csar-installer'Eddy Hautot4-0/+159
* changes: Add sql New CsarInstaller
2019-03-11New CsarInstallersebdet4-0/+159
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-11Merge "Convert modules and relations to SVG"Adam Krysiak4-0/+319
2019-03-11Convert modules and relations to SVGPiotr Darosz4-0/+319
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 Krysiak2-0/+265
2019-03-08Extract modules names and relationsPiotr Darosz2-0/+265
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 Determe4-99/+263
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 Determe1-0/+98
2019-03-02Improve testssebdet4-99/+263
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-0/+98
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 Krysiak2-3/+29
2019-02-25Parsing CSAR to retrieve policy modelTomasz Golabek2-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 Determe5-485/+5
2019-02-13Remove SDC queryxg353y5-485/+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 CLsebdet2-36/+52
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 Adam18-213/+476
Issue-ID: CLAMP-286 Change-Id: I3492811e248cbcf502656a992cea4f76deed46dc Signed-off-by: Krysiak Adam <adam.krysiak@nokia.com>
2018-12-20Remove useless codesebdet4-24/+228
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 testssebdet2-3/+19
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-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-07Add unit testssebdet3-93/+332
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 Toscasebdet7-24/+404
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-11-12Remove bad importsebdet4-37/+34
Bad import done on wrong dependencies Issue-ID: CLAMP-247 Change-Id: I2d9078932dd00e38e8d1be4c0e8b75ed1a7ff71a Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2018-11-09Fix DCAE status refreshsebdet1-3/+3
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-10-24Fix sonar bugsebdet1-26/+25
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-01Added tests for dcae dispacher servicesadam5-11/+173
Issue-ID: CLAMP-221 Change-Id: Ifb1091f47aec38c04bbb98b8f4b1621c0c7b67a3 Signed-off-by: adam <adam.krysiak@nokia.com>
2018-09-21Add delete testsebdet1-0/+39
Add a test and fix the delete model code that was not working Issue-ID: CLAMP-217 Change-Id: I235200ee0e7dc25ed759b88568333882bfb90c50 Signed-off-by: sebdet <sd378r@intl.att.com>
2018-09-20Add testssebdet1-28/+45
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 testssebdet1-2/+31
Add some tests to cldsService Issue-ID: CLAMP-217 Change-Id: I95f21306f3d807a283519604c1711dfd07466d4a Signed-off-by: sebdet <sd378r@intl.att.com>
2018-09-17Guard policy Backendsebdet1-23/+31
Introduce Guard policy backend code Issue-ID: CLAMP-190 Change-Id: I7d60c6dd700c84607329f5449287465379b94807 Signed-off-by: sebdet <sd378r@intl.att.com>
2018-09-03Update policy librariessebdet5-132/+98
Update policy libraries + small reworking of the op policy code Issue-ID: CLAMP-215 Change-Id: I5dad2b9eaf4f6855d2c69f4533b3aae95d155d25 Signed-off-by: sebdet <sd378r@intl.att.com>
2018-08-20Fix for sonar issueGabriel4-23/+197
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-03Restore SwaggerDeterme, Sebastien (sd378r)1-16/+37
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)5-34/+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-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>