summaryrefslogtreecommitdiffstats
path: root/src/main
AgeCommit message (Collapse)AuthorFilesLines
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-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>
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 statussebdet1-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>
2019-05-06Fix PDP group deletesebdet1-3/+3
Fix the PDP group deletion URL that was not correct Issue-ID: CLAMP-369 Change-Id: I552676692fdd7f201f595082a758cbb675ecabbd Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-06Fix for PDP groupsebdet1-1/+1
Attempt to fix PDP group push of all policies Issue-ID: CLAMP-369 Change-Id: I6512b1b3924552198bf1912c418ae3af1d929d3d Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-06Fix Guard policy payloadsebdet4-26/+82
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>
2019-05-03Fix Policy URLSsebdet1-8/+8
Fix the policy URL as they were wrong for op and guard policies Issue-ID: CLAMP-366 Change-Id: Id6280bd368115665fafac3a1537dad8555ea07ba Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-03Merge "Fix log reporting"Christophe Closset3-8/+8
2019-05-03Fix log reportingsebdet3-8/+8
Fix loop log reported in UI, in case of failure it's not working correclty Issue-ID: CLAMP-360 Change-Id: I4533c650134b254619523d8c9cfe2791e9b6584b Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-05-03Fix the bugs in loop state logicxg353y3-35/+44
Fix the bugs in the logic to get the loop state Issue-ID: CLAMP-362 Change-Id: I9d931f1a1ceed3d9e173b3ee742f8e349b7e653f Signed-off-by: xg353y <xg353y@intl.att.com>
2019-05-02Merge "Rework the Model Json"Christophe Closset4-139/+136
2019-05-02Rework the Model Jsonsebdet4-139/+136
Rework the model Json returned by the backend to the UI Issue-ID: CLAMP-365 Change-Id: I8b4e24292d62140b4b2e105d8b18042f84e1fd38 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-30Merge "Fix the get loop state logic"Sébastien Determe6-95/+493
2019-04-30Fix the get loop state logicxg353y6-95/+493
Fix the logic to get the loop state and update the CL deploy/undeploy flow accordingly Issue-ID: CLAMP-362 Change-Id: I34f83bd241b1029417453908bf932c0b69f9f5b2 Signed-off-by: xg353y <xg353y@intl.att.com>
2019-04-29Fix bad microservice windowsebdet2-2/+2
Fix the bug where operational policy window is opened in the UI instead of the right microservice one Issue-ID: CLAMP-364 Change-Id: I2fd64f0dd2de54e8498f4cdce2c55fd912fd5f21 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-29Return to alpinesebdet1-8/+12
Add missing library to alpine so the Font libraries can be found by the JVM Issue-ID: CLAMP-361 Change-Id: Ic8f59e614d6eeec234a5ea06073e107194ba22ae Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-29Rollback to Ubuntusebdet1-5/+8
Rollback to ubuntu as alpine seems to lead to issues due to font missing Change-Id: Idca154725701d9bbdae70037a6c35842b5b95e2c Issue-ID: CLAMP-361 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-29Remove http port by defaultsebdet1-1/+1
Remove the http port opened 8080 by default from the build Issue-ID: CLAMP-363 Change-Id: I2079d7e07086278afaa69725005ea0bf050c3a00 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-29Fix csar crashsebdet1-0/+2
Fix the csar crash during csar installation, the crash was located in the sun library probably due to Font missing Issue-ID: CLAMP-361 Change-Id: I0275320240e561c05dad4b8fbbfb3ff7b7baedb4 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-26Fix policy Hostssebdet3-22/+29
Add support for PAP(for PDP group) and API host/creds (for policy create/delete) Issue-ID: CLAMP-359 Change-Id: I304193c4f1e77bd6676b32ca3d611da57106e655 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-26Merge "Change Yaml to Json payload"Xue Gao3-4/+18
2019-04-26Merge "Clamp uses new Loop implementation by default"Sébastien Determe9-31/+40
2019-04-26Change Yaml to Json payloadsebdet3-4/+18
Change the operational policy payload from Yaml to a JSon, yaml being embedded as URLEncoded Issue-ID: CLAMP-359 Change-Id: I8c97bb155e6136ce37c29a65a7d9d85e21fedd61 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-26Rework the loggingsebdet2-470/+419
Rework the logging of the policy calls so it's easier to debug it Issue-ID: CLAMP-357 Change-Id: I0ad955de05fef45c4eaae3a6770baefe8e7f0a1f Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-25Fix policy callssebdet6-503/+585
Fix policy calls so that the url is now right + update camel version to latest Issue-ID: CLAMP-357 Change-Id: Iffc83f53eb2361d7551b43b28c8e822fbf38c619 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-25Rework code for policy typesebdet2-2/+2
Rework unit tests + test resources and code for policy type renaming Issue-ID: CLAMP-356 Change-Id: Id64c620b42347d6f5535523f33a0a04a54a60fa2 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-04-24Clamp uses new Loop implementation by defaultKrysiak Adam9-31/+40
Change-Id: I274a946af91f6b06d3aa53b8127c94010274e353 Issue-ID: CLAMP-354 Signed-off-by: Krysiak Adam <adam.krysiak@nokia.com>