summaryrefslogtreecommitdiffstats
path: root/src/test
AgeCommit message (Collapse)AuthorFilesLines
2019-09-06Removal of previous UIsebdet2-36/+32
Removal of Angular code not used anymore, it has been replaced by React Issue-ID: CLAMP-487 Change-Id: Ib5f20a2ede032e3288340b9884fa551dc0d5da03 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-28Fix frontend dockersebdet1-1/+1
Fix the frontend docker in Nginx with https for backend in https as well Issue-ID: CLAMP-486 Change-Id: I33fd89289618affa5e734c80991aaefece31309e Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-27Update the SQLsebdet1-14/+533
Update the SQL for the CSIT tests as it has been changed for El Alto Issue-ID: CLAMP-481 Change-Id: I27b9ab470ad9a12d76c1db5cfdf92e353181f510 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-23Fix the log statussebdet1-17/+17
Fix the way the code (camel) computes the global loop state + introduce level in component state for that Issue-ID: CLAMP-384 Change-Id: I83a9306eabacfc1f118df6b828e521ee59d19b5f Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-19Draft of op policysebdet11-153/+851
First draft of the Operational policy based on JsonEditor, it's a wip code Issue-ID: CLAMP-430 Change-Id: I2c7970e94488f4020377fd9d4d00691a3590b13e Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-06-18Improve test for DictionaryService.k.kedron1-28/+44
Add new test for CldsDictionaryService. Refactor createOrUpdateDictionary method. Remove useless final from private method. Checkstyle issue. Change-Id: I26e782aeb4a7429d342f90d4231dd24cca2e152f Issue-ID: CLAMP-355 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
2019-06-18Merge "Fixed Checkstyle issues"Xue Gao10-35/+68
2019-06-18Merge "New unit tests and sonar fixes"Xue Gao3-9/+159
2019-06-13Bring all fixessebdet1-6/+21
Bring all fixes from Dublin, but the code has slightly changed on master Issue-ID: CLAMP-410 Change-Id: Ieca7b8e9b180f46f2c30f848454405f3a504bfdd Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-06-05Merge "Improve test coverage in DcaeEvent"Sébastien Determe1-0/+74
2019-06-05Rework the loop statesebdet9-281/+164
Rework the state loop so there is no bug in the loop state anymore, now the components are scanned + upgrade to 4.0.4 Issue-ID: CLAMP-384 Change-Id: If7649238ee52864c84bfb9b6b8471d1738752e29 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-06-05Improve test coverage in DcaeEventm.kowalski32-1/+75
Change-Id: Iead99d97d7ad2a803ef67cdf8a7eebaca76c60bd Issue-ID: CLAMP-355 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com>
2019-06-04Fixed Checkstyle issuesk.kedron10-35/+68
Fixed checkstyle issues in the clamp project to achieve clean Jenkins build Change-Id: I92a05f948a5946c46b951058dc6f00b0b1c8e05b Issue-ID: CLAMP-328 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
2019-06-04Fix imports in CsarInstallerItCase.k.kedron1-1/+1
After merged (86147) the necessary Rollback import was delete. Additionally the not used org.mockito.Matchers.any import was delete. Change-Id: I4c75bf3dd3cda5e1777cbd662672a80588d9b5cf Issue-ID: CLAMP-346 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
2019-06-04Merge "Added unit tests for CldsEventDelegate"Sébastien Determe1-0/+83
2019-06-04Merge "Added unit tests for GuardPolicyDelegate"Sébastien Determe1-0/+108
2019-06-04Merge "Improve test coverage in SdcSingleController"Sébastien Determe1-6/+45
2019-06-04Merge "Added unit tests for TcaPolicyDelegate"Sébastien Determe1-0/+166
2019-06-04Merge "Added more unit tests and fix import"Sébastien Determe3-29/+191
2019-06-04Merge "Improve test coverage in FlowLogOperation"Sébastien Determe2-41/+99
2019-06-04Merge "Improve unit tests and sonar fixes"Sébastien Determe6-9/+54
2019-06-04Improve test coverage in FlowLogOperationm.kowalski32-41/+99
Change-Id: Ia76e2652ab99bf06def5fafca24de471d53e224e Issue-ID: CLAMP-355 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com>
2019-06-04New unit tests and sonar fixesk.kedron3-9/+159
Assertion arguments should be passed in the correct order in: - CldsReferencePropertiesItCase - LoggingUtils Remove of duplicate code in LoggingUtils. Typo in README file. Add LoggingUtilsTest unit test. Change-Id: Iddc61877659e9d4308479451a7eb4901b3fc5ea8 Issue-ID: CLAMP-355 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
2019-06-04Merge "Improve test coverage Improve test coverage in CsarInstallerImpl"Adam Krysiak1-2/+11
2019-06-04Merge "Added unit tests for classes in clds/client"Adam Krysiak3-0/+350
2019-05-28Added unit tests for CldsEventDelegatePiotr Borelowski1-0/+83
Added more unit tests for some of the Delegate classes in the clds/client package to reach the minimum threshold of 65 % coverage Issue-ID: CLAMP-355 Signed-off-by: Piotr Borelowski <p.borelowski@partner.samsung.com> Change-Id: If8fe7f06c1a06319cb88d0dd59291ba6bc8bfe6c
2019-05-28Fix target TypeDeterme, Sebastien (sd378r)1-1/+1
Fix target type must be VFMODULE instead of VFModule Issue-ID: CLAMP-395 Change-Id: Ie34422985a13a1f2bc29fb06aceafb3994d2140a Signed-off-by: Determe, Sebastien (sd378r) <sebastien.determe@intl.att.com>
2019-05-28Added unit tests for GuardPolicyDelegatePiotr Borelowski1-0/+108
Added more unit tests for some of the Delegate classes in the clds/client package to reach the minimum threshold of 65 % coverage Change-Id: I4f88ce523964f53d948bb0d028a2719604188575 Issue-ID: CLAMP-355 Signed-off-by: Piotr Borelowski <p.borelowski@partner.samsung.com>
2019-05-28Fix the op policy payloadDeterme, Sebastien (sd378r)5-30/+66
Fix the operational policy payload as it was not the one expected by policy engine + rollback staging plugin Issue-ID: CLAMP-395 Change-Id: I7b690eb02f50617b7aa402266c13aafa82f5b59b Signed-off-by: Determe, Sebastien (sd378r) <sebastien.determe@intl.att.com>
2019-05-24Fix op policy payloadDeterme, Sebastien (sd378r)3-1/+26
The payload should contain a different content value, not the entire yaml Issue-ID: CLAMP-395 Change-Id: I7311caffed554f3c97ef7e07c729266a4fe30940 Signed-off-by: Determe, Sebastien (sd378r) <sebastien.determe@intl.att.com>
2019-05-17Improve test coveragem.kowalski31-2/+11
Improve test coverage in CsarInstallerImpl Change-Id: I5c514e8c58be3125c3921ce1d80a9507f7f50838 Issue-ID: CLAMP-348 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com>
2019-05-16Added unit tests for classes in clds/clientp.borelowski3-0/+350
Added more unit tests for three Delegate classes in the clds/client package to reach the minimum threshold of 65 % coverage (2) Change-Id: I4aa5112005f7aabd3b0673e78797ec97a7129dbb Issue-ID: CLAMP-355 Signed-off-by: p.borelowski <p.borelowski@partner.samsung.com>
2019-05-16Added unit tests for TcaPolicyDelegatep.borelowski1-0/+166
Added unit tests for the class TcaPolicyDelegate (4) Change-Id: I720f4411ec198c7e7a555f2ede9e48bfa210fdcf Issue-ID: CLAMP-355 Signed-off-by: p.borelowski <p.borelowski@partner.samsung.com>
2019-05-15Improve test coverage in SdcSingleControllerm.kowalski31-6/+45
Change-Id: Ibbdbf890aef92f5fb3a37bc75a502591d6134147 Issue-ID: CLAMP-355 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com>
2019-05-09Generate Random UUID for DCAEsebdet1-13/+10
Generate random UUI for DCAE deployment during deploy action Issue-ID: CLAMP-376 Change-Id: Idfc1959891738f0142d2c20e1f43f1ad45d8eaa7 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-09Merge "Fix the deploy cl payload issue"Sébastien Determe2-232/+229
2019-05-09Fix the deploy cl payload issuexg353y2-232/+229
Update the deploy cl payload to contain only the deployment parameters instead of the whole blue print. Issue-ID: CLAMP-375 Change-Id: Iecc13bf8d43c87f9ff7792a76170d36ea972dbd5 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-05-09Merge "Fix model type searching"Christophe Closset7-9/+14
2019-05-09Fix model type searchingsebdet7-9/+14
Change the way we get the model type in the dcaeblueprint Issue-ID: CLAMP-370 Change-Id: I961a20e5d993049c73acd67b6cbfe245e1676dda Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-09Merge "Added unit tests for GuardPolicyDeleteDelegate"Sébastien Determe1-0/+117
2019-05-08Merge "Improve test coverage in UserJsonDecoder"Sébastien Determe2-1/+13
2019-05-08Merge "Added unit tests for OperationalPolicyDeleteDelegate"Sébastien Determe1-0/+108
2019-05-08Merge "Fix model_type missing"Gervais-Martial Ngueko9-211/+320
2019-05-08Fix model_type missingsebdet9-211/+320
Fix model missing in some cases (new DCAE Blueprint), also removed useless fields in MicroService Object Issue-ID: CLAMP-370 Change-Id: Ia246b5d58309aceb3168107a4bf76b92b23add7a Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-08Merge "Added unit tests for OperationalPolicyDelegate"Sébastien Determe1-0/+125
2019-05-08Add unit tests fot FlowLogOperationm.kowalski31-0/+41
Change-Id: I499ca3ffe5d5f9a6fca4f5b92fc3c5da6a424d37 Issue-ID: CLAMP-355 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com>
2019-05-07Added unit tests for OperationalPolicyDelegatep.borelowski1-0/+125
Added more unit tests for some of the Delegate classes in the clds/client package to reach the minimum threshold of 65 % coverage (5) Change-Id: I3de0d8580dabc6925c5c8c62ce6424231f20d192 Issue-ID: CLAMP-355 Signed-off-by: p.borelowski <p.borelowski@partner.samsung.com>
2019-05-06Added unit tests for OperationalPolicyDeleteDelegatep.borelowski1-0/+108
Added more unit tests for some of the Delegate classes in the clds/client package to reach the minimum threshold of 65 % coverage (4) Change-Id: Ifd3936f78c33bc0d847191319591a0aab5168e72 Issue-ID: CLAMP-355 Signed-off-by: p.borelowski <p.borelowski@partner.samsung.com>
2019-05-06Improve unit tests and sonar fixesk.kedron6-9/+54
Add more test to CryptoUtilsTest and JsonUtilsTest. Correct sonar issue in CldsServiceItCase test - checking if stream is not null. Remove unused import in CldsHealthcheckServiceItCase. Remove unused field in DocumentBuilderTest. Add private constructor in PrincipalUtils and XmlTools. Add FEATURE_SECURE_PROCESSING feature to TransformerFactory. Change-Id: Ieeb561352697c131ebf11bc43162f63ea7096e81 Issue-ID: CLAMP-355 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
2019-05-06Fix Guard policy payloadsebdet3-26/+26
Change the guard policy payload as some field were not correct Issue-ID: CLAMP-367 Change-Id: I3f6f200d736e8b3d890ec105849ff0e4506b1510 Signed-off-by: sebdet <sebastien.determe@intl.att.com>