aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2019-08-23Fix the log statussebdet6-140/+208
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-21Log componentsebdet3-72/+91
Set the right log component in the camel xml files routes Issue-ID: CLAMP-428 Change-Id: I476e5b24f5e772c77998508ad3e90c811838386e Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-20Fix the docker composesebdet1-1/+1
Fix docker compose due to docker name changed Issue-ID: CLAMP-418 Change-Id: I0f205da2c287a6b460ebb148ddb8ea2fc793220e Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-19Draft of op policysebdet17-221/+1472
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-08-14Merge "Improve test for DictionaryService."Sébastien Determe2-44/+86
2019-08-06Merge "Remove checkstyle issues"Xue Gao10-1427/+1427
2019-08-06Remove checkstyle issuessebdet10-1427/+1427
Remove checkstyle issues added during previous merge Issue-ID: CLAMP-465 Change-Id: Iec78a64c01de6cc1405fccd7406ef38b06e61545 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-08-06Merge "Add Expose annotation"Xue Gao8-1290/+1394
2019-08-06Add Expose annotationsebdet8-1290/+1394
Add expose annotations in all objects returned by the v1 interfaces Issue-ID: CLAMP-465 Change-Id: I9c98de60dc71f52f74f14810135e83efe4256ede Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-07-31add searchguardosgn422w1-1/+4
add search guard plugin when building kibana image Issue-ID: CLAMP-419 Change-Id: I7cb06b1c1a37ac29c0fbfe309976aed908f6e920 Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
2019-07-29kibana authenticationosgn422w2-4/+4
add kibana authentication to load script Issue-ID: CLAMP-419 Change-Id: I02851f26a3916110a5e3544746db04aed274c5ab Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
2019-07-17add searchguardosgn422w14-1/+857
add authentication to elk with searchguard Issue-ID: CLAMP-419 Change-Id: I66bca485750e3377db10f6f43efb7f741a42c17d Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
2019-07-15Fix Nullpointer exceptionsebdet1-2/+3
Fix null pointer exception happening when getting a non existent SVG in db Issue-ID: CLAMP-424 Change-Id: I8941441b2af1ae2d54da977b467bde3abef52376 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-06-25Frontend initial draftsebdet8-63/+175
New frontend initial draft in React with docker image in nginx Issue-ID: CLAMP-413 Change-Id: Ie5826d79aa3db23f863e8fd217189ba41534abe9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-06-18Improve test for DictionaryService.k.kedron2-44/+86
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 Gao22-148/+192
2019-06-18Merge "New unit tests and sonar fixes"Xue Gao4-49/+185
2019-06-18add date to logsKrysiak Adam1-2/+2
Issue-ID: CLAMP-405 Change-Id: I56843bd4652fbd624bcab32efbbdb8b77a48d210 Signed-off-by: Krysiak Adam <adam.krysiak@nokia.com>
2019-06-13Bring all fixessebdet4-33/+52
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 "Validate ids"Sébastien Determe2-12/+22
2019-06-05Merge "Improve test coverage in DcaeEvent"Sébastien Determe1-0/+74
2019-06-05Rework the loop statesebdet33-1401/+1850
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-05Validate idsWojciech Sliwka2-12/+22
Disable close button when policy id is duplicated Issue-ID: CLAMP-403 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com> Change-Id: I47dee2e27ce4f7a5e2083a541458a04da8cf7bee
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.kedron22-148/+192
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 "Text Inside Clamp box is not resizing"Sébastien Determe3-9/+28
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 Determe4-31/+193
2019-06-04Merge "Improve test coverage in FlowLogOperation"Sébastien Determe2-41/+99
2019-06-04Merge "Improve unit tests and sonar fixes"Sébastien Determe9-10/+69
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.kedron4-49/+185
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-04Text Inside Clamp box is not resizingPiotr Darosz3-9/+28
Resizable text in Clamp boxes, better drawing space utilization. Change-Id: If6c79b22729730a8c243845b3288724f1c611b8a Issue-ID: CLAMP-402 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-06-04Merge "Fixed Checkstyle issues"Adam Krysiak5-42/+54
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-06-03Fix updateMsProperties methodWojciech Sliwka1-5/+6
Issue-ID: CLAMP-401 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com> Change-Id: I39b17342fa37416eab0b8776a899ce8360be1818
2019-05-30Just change the TimeoutDeterme, Sebastien (sd378r)1-12/+12
Change timeout for all queries policy+dcae Issue-ID: CLAMP-399 Change-Id: I560a5b3d1b1ae9c994a2be2771d5a705125d6be0 Signed-off-by: Determe, Sebastien (sd378r) <sebastien.determe@intl.att.com>
2019-05-29Update Swagger docDeterme, Sebastien (sd378r)1-193/+1815
Update Swagger doc for Dublin with new Json,pdf updated by the maven build Issue-ID: CLAMP-396 Change-Id: Ie9933f98881d0c0e9e1b9a7c8ab28fdbac447392 Signed-off-by: Determe, Sebastien (sd378r) <sebastien.determe@intl.att.com>
2019-05-29Open DCAE deployment in all casesDeterme, Sebastien (sd378r)1-2/+3
Let the user deploys his micro service on DCAE even if policy check returns 4XX Issue-ID: CLAMP-399 Change-Id: Ib38eb33c9692fcc2cea6e2c655be82f48d4046af Signed-off-by: Determe, Sebastien (sd378r) <sebastien.determe@intl.att.com>
2019-05-29Fix URL for policyDeterme, Sebastien (sd378r)1-4/+4
Fix url to remove policies on policy engine API Issue-ID: CLAMP-398 Change-Id: I626ae4c7db4cd362203d890899da1dd8ee34cd8c Signed-off-by: Determe, Sebastien (sd378r) <sebastien.determe@intl.att.com>
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)3-4/+4
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-28Rename a fieldDeterme, Sebastien (sd378r)2-7/+7
Rename a field in policy payload, resourceId must be resourceID Issue-ID: CLAMP-395 Change-Id: Ic890b470b8f5c8f4962d65c7388f9c471f7c5b5d 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)10-45/+259
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>