summaryrefslogtreecommitdiffstats
path: root/src/main
AgeCommit message (Collapse)AuthorFilesLines
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 policysebdet6-68/+621
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 Determe1-16/+42
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.kedron1-16/+42
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 Gao12-113/+124
2019-06-18Merge "New unit tests and sonar fixes"Xue Gao1-40/+26
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 fixessebdet3-27/+31
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-05Rework the loop statesebdet24-1120/+1686
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-04Fixed Checkstyle issuesk.kedron12-113/+124
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-04Merge "Text Inside Clamp box is not resizing"Sébastien Determe3-9/+28
2019-06-04Merge "Added more unit tests and fix import"Sébastien Determe1-2/+2
2019-06-04Merge "Improve unit tests and sonar fixes"Sébastien Determe3-1/+15
2019-06-04New unit tests and sonar fixesk.kedron1-40/+26
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-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-28Fix target TypeDeterme, Sebastien (sd378r)2-3/+3
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-28Fix the op policy payloadDeterme, Sebastien (sd378r)5-15/+193
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)1-1/+8
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-23make kibana httpsosgn422w3-0/+71
introduce certificate so access to kibana is https only Issue-ID: OJSI-147 Change-Id: I69e52cb4cb801b9d890c41090c871badd210ad35 Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
2019-05-22Remove unncessary logKrysiak Adam1-1/+0
Issue-ID: CLAMP-391 Change-Id: I04aac42f8b934cec16ed16bf93519d4e0d83f8ec Signed-off-by: Krysiak Adam <adam.krysiak@nokia.com>
2019-05-20Merge "Fix issues in Operational Policy UI"Sébastien Determe2-10/+59
2019-05-20Merge "Improve the loop logs view"Sébastien Determe3-7/+16
2019-05-20Fix issues in Operational Policy UIxg353y2-10/+59
Add prefix for Guard Policy Id; display attributes correctly when guard type is FrequencyLimiter; initialize guard policy type accordingly; add default value for guard active start/end attributes; Issue-ID: CLAMP-386, CLAMP-387 Change-Id: I4c57ddcfccba207429fb1e75d9d2a4d6b0f15e8a Signed-off-by: xg353y <xg353y@intl.att.com>
2019-05-17Improve the loop logs viewxg353y3-7/+16
Move the loop log table down; color the log level; adjust the proportion of the log attributes; adjust the location of the Loop view and the log table. Issue-ID: CLAMP-388 Change-Id: Ifec6da8dfb330304c8adffbb3257d325e234aa17 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-05-16Fixed Checkstyle issuesp.borelowski5-42/+54
Fixed most audit checkstyle issues in the five java files Change-Id: I73862820e662893106bfa1493e5be4791e98011b Issue-ID: CLAMP-328 Signed-off-by: p.borelowski <p.borelowski@partner.samsung.com>
2019-05-14Merge "Fix targetResourceId issue"Sébastien Determe1-19/+26
2019-05-14Fix targetResourceId issuexg353y1-19/+26
Initialize targertResourceId options, before loading values from DB, otherwise the value shown in the UI will be blank. Issue-ID: CLAMP-382 Change-Id: Ie3fecab521272c5f5373161ed8070f9370fc219d Signed-off-by: xg353y <xg353y@intl.att.com>
2019-05-13Adjust uisebdet1-5/+3
Adjust operational window field abatement so the look and feel is good Issue-ID: CLAMP-381 Change-Id: I0248b836650b7274c34a7f4ebbea06056d816753 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-13Improve the logs in uisebdet1-21/+37
Make log more consistent for the UI Issue-ID: CLAMP-381 Change-Id: I17dcbe04b3ecdf8d31db708f38931991e80e0b0f Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-13Fix loop ordersebdet2-13/+13
Change the field for the sorting so that we see the logs in the right order Issue-ID: CLAMP-383 Change-Id: I1b423315f64252ac3dca1c34d2207f16f3a85418 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-13Update the select valuexg353y1-2/+2
Update the select value used for Abatement attribute. Issue-ID: CLAMP-378 Change-Id: Ib64c08c33646162e6c4f8e0c25c04f2559517626 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-05-13Update the order of the loop logxg353y1-0/+2
Update the order of the loop log, so that the latest log will be shown on the top. Issue-ID: CLAMP-383 Change-Id: I8d377f923f2bdd80deb5db1828f36cc4adc76a9f Signed-off-by: xg353y <xg353y@intl.att.com>