aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
AgeCommit message (Collapse)AuthorFilesLines
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"4.0.2Sé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>
2019-05-13Merge "Fix the Abatement issue"Sébastien Determe2-3/+4
2019-05-13Fix the Abatement issuexg353y2-3/+4
Fix the Abatement flag issue, remove the default checked setting and only set the abatement attribute value to true if it is selected. Issue-ID: CLAMP-378 Change-Id: I52b176297bc0042f6c83cfc30331ef9ca8830c98 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-05-13Fix the camel flowsebdet1-9/+9
Fix the bad log calls done during start/stop actions that led to crash Issue-ID: CLAMP-379 Change-Id: Ia68c6e96ac8c8771d289d22dcfee6730425ba992 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-09Fix dcae url status4.0.1sebdet1-6/+7
Set it to null when undeploy is successful Issue-ID: CLAMP-376 Change-Id: I0c7f7b2e1464bcd72ece47f5d89730de1718b636 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-09Add more DCAE state for undeploysebdet1-2/+2
Add IN_ERROR/PROCESSING in accepted state for dcae undeploy Issue-ID: CLAMP-376 Change-Id: I3aed42bcc437399a2be7298f5fae0f7380ccae30 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-09Generate Random UUID for DCAEsebdet3-34/+56
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 Determe1-62/+7
2019-05-09Fix the deploy cl payload issuexg353y1-62/+7
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 the loop log issue"Sébastien Determe4-22/+32
2019-05-09Fix model type searchingsebdet1-16/+23
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-09Fix the loop log issuexg353y4-22/+32
Fix the issue where loop log doesn't refresh in UI on time; update the Refresh Status menu to point to the correct url Issue-ID: CLAMP-360 Change-Id: I65064e8f3fe16beea4cb397f66d8e871db17f77d Signed-off-by: xg353y <xg353y@intl.att.com>
2019-05-09Fix http4 componentsebdet2-57/+79
Fix usage of http4 camel component so that we can use the SSL https connection for any connection Issue-ID: CLAMP-374 Change-Id: Ice982e596f6ac283caef5da48482effa7652add3 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-08Fix URL for PDP Pushsebdet1-2/+2
Fix the URL to push all policies to PDP group so they are all deployed Issue-ID: CLAMP-369 Change-Id: I67c4ccdb597e5b3c67b98fe10a35550f66bd449b Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-08Fix flows and error catchingsebdet2-34/+28
Fix flows, remove getLoop at the end and add better error catching in camel flows Issue-ID: CLAMP-369 Change-Id: I473d63d9189daf69e1e4e6d025f06ac586a9f2ab Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-08Fix model_type missingsebdet3-28/+36
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>