clamp.git
4 years agoRemove bad url 83/101183/1 dublin
sebdet [Wed, 5 Feb 2020 15:48:31 +0000 (16:48 +0100)]
Remove bad url

Remove bad url and remove useless files

Issue-ID: CLAMP-642
Change-Id: I80109f242141dc9d0ea43a7451a22123bbf9f166
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agochange required for new release 60/89860/2
sebdet [Fri, 14 Jun 2019 09:15:09 +0000 (11:15 +0200)]
change required for new release

Change required for new release management

Issue-ID: CLAMP-409
Change-Id: I36b4dc4b8c653cdd5a5a59941b3a4659774cec00
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoAdd delay for submit action 80/89580/1 4.0.5
sebdet [Fri, 7 Jun 2019 13:46:02 +0000 (15:46 +0200)]
Add delay for submit action

Add a delay between last policy creation and pdp policies deployment

Issue-ID: CLAMP-408
Change-Id: If955fa291394f30c48c3f5d4ac612b804c5bb920
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoBump up clamp 72/89572/1
sebdet [Fri, 7 Jun 2019 10:07:07 +0000 (12:07 +0200)]
Bump up clamp

Bump up clamp to release 4.0.5 version

Issue-ID: CLAMP-407
Change-Id: Ifb2c1f48e7341ca8cbed8a9aba05837173956301
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoFix the DCAE calls 28/89528/1
sebdet [Thu, 6 Jun 2019 15:13:36 +0000 (17:13 +0200)]
Fix the DCAE calls

Fix the DCAE calls due to Policy fix + add a log to display the response
body retuned by policy/dcae in case of HTTP 4XX

Issue-ID: CLAMP-407
Change-Id: I16fc5fff03759e2e24f564bc8dbd6689f58782d0
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoBump the version 02/89402/1 4.0.4
sebdet [Wed, 5 Jun 2019 16:10:06 +0000 (18:10 +0200)]
Bump the version

Bump the version for Dublin release in doc

Issue-ID: CLAMP-407
Change-Id: Ie2ea9d582c82c9fd389b6b44576a411529b4002a
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoBump the version 00/89400/1
sebdet [Wed, 5 Jun 2019 16:04:58 +0000 (18:04 +0200)]
Bump the version

Bump the version for Dublin release

Issue-ID: CLAMP-407
Change-Id: I981ee99abbccf65592a12859864e3572a5482997
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoFix NoHttpResponseException 96/89396/1
sebdet [Wed, 5 Jun 2019 15:54:47 +0000 (17:54 +0200)]
Fix NoHttpResponseException

Fix NoHttpResponseException when doing the policy queries, that was due
to Keep-Alive setting

Issue-ID: CLAMP-407
Change-Id: Ibcfb42bf5a78f1e008591ceeafbcfbcf01b956cd
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoimprove security 48/89248/1
osgn422w [Tue, 4 Jun 2019 13:32:39 +0000 (15:32 +0200)]
improve security

Improve security section of release notes

Issue-ID: SECCOM-238

Change-Id: I8ab31bc1d759625781daeb45e1f6562d69ea6e9a
Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
4 years agoindex correction 46/89246/1
osgn422w [Tue, 4 Jun 2019 13:22:33 +0000 (15:22 +0200)]
index correction

title underline was too short

Issue-ID: CLAMP-396

Change-Id: Iea784ec07991360ba97ef34e700942b6452d2094
Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
4 years agoMerge "Just change the Timeout" 4.0.3
Gervais-Martial Ngueko [Wed, 29 May 2019 22:10:07 +0000 (22:10 +0000)]
Merge "Just change the Timeout"

4 years agoJust change the Timeout 15/88815/1
Determe, Sebastien (sd378r) [Wed, 29 May 2019 22:07:49 +0000 (00:07 +0200)]
Just change the Timeout

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>
4 years agoupdate doc 91/88791/1
osgn422w [Wed, 29 May 2019 17:26:49 +0000 (19:26 +0200)]
update doc

change closed loop with control loop, to be more generic

Issue-ID: CLAMP-396

Change-Id: I1754e7d03796e0913d82eb0013d270ee2d4c3e01
Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
4 years agoMerge "Update Swagger doc"
Gervais-Martial Ngueko [Wed, 29 May 2019 16:12:12 +0000 (16:12 +0000)]
Merge "Update Swagger doc"

4 years agoUpdate Swagger doc 85/88785/1
Determe, Sebastien (sd378r) [Wed, 29 May 2019 16:04:31 +0000 (18:04 +0200)]
Update Swagger doc

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>
4 years agoMerge "Open DCAE deployment in all cases"
Gervais-Martial Ngueko [Wed, 29 May 2019 15:44:09 +0000 (15:44 +0000)]
Merge "Open DCAE deployment in all cases"

4 years agoOpen DCAE deployment in all cases 83/88783/1
Determe, Sebastien (sd378r) [Wed, 29 May 2019 15:41:44 +0000 (17:41 +0200)]
Open DCAE deployment in all cases

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>
4 years agoMerge "updating documentation"
Gervais-Martial Ngueko [Wed, 29 May 2019 13:23:31 +0000 (13:23 +0000)]
Merge "updating documentation"

4 years agoupdating documentation 59/88659/4
Krysiak Adam [Tue, 28 May 2019 13:35:09 +0000 (15:35 +0200)]
updating documentation

Issue-ID: CLAMP-394
Change-Id: Idf4afe6c4a580e73923ea5c396c0b00a33e7c160
Signed-off-by: Krysiak Adam <adam.krysiak@nokia.com>
4 years agoFix URL for policy 47/88747/1
Determe, Sebastien (sd378r) [Wed, 29 May 2019 10:10:34 +0000 (12:10 +0200)]
Fix URL for policy

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>
4 years agoFix target Type 77/88677/1
Determe, Sebastien (sd378r) [Tue, 28 May 2019 14:38:47 +0000 (16:38 +0200)]
Fix target Type

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>
4 years agobump version 56/88656/1
osgn422w [Tue, 28 May 2019 13:36:47 +0000 (15:36 +0200)]
bump version

change version of release

Issue-ID: CLAMP-396

Change-Id: Ibcf5693f22695cb48c479eecffb1b09e90b5d447
Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
4 years agoMerge "update release note"
Xue Gao [Tue, 28 May 2019 13:24:54 +0000 (13:24 +0000)]
Merge "update release note"

4 years agoMerge "Rename a field"
Sébastien Determe [Tue, 28 May 2019 13:24:53 +0000 (13:24 +0000)]
Merge "Rename a field"

4 years agoupdate release note 53/88653/1
osgn422w [Tue, 28 May 2019 13:13:57 +0000 (15:13 +0200)]
update release note

add Dublin entry in release note

Issue-ID: CLAMP-396

Change-Id: I2f7ea3e625ea0951f2fcb947d55ceb14cc7c8047
Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
4 years agoRename a field 39/88639/1
Determe, Sebastien (sd378r) [Tue, 28 May 2019 13:08:56 +0000 (15:08 +0200)]
Rename a field

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>
4 years agoMerge "Doc update"
Gervais-Martial Ngueko [Tue, 28 May 2019 11:32:33 +0000 (11:32 +0000)]
Merge "Doc update"

4 years agoDoc update 19/88619/1
osgn422w [Tue, 28 May 2019 10:59:41 +0000 (12:59 +0200)]
Doc update

Update of some docs for Dublin features

Issue-ID: CLAMP-396

Change-Id: I3179bc1c549ae0921f2bb4ad36751d304c8c45a4
Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
4 years agoFix the op policy payload 14/88614/1
Determe, Sebastien (sd378r) [Tue, 28 May 2019 09:54:27 +0000 (11:54 +0200)]
Fix the op policy payload

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>
4 years agoBump Clamp version 55/88455/1
Determe, Sebastien (sd378r) [Fri, 24 May 2019 10:29:25 +0000 (12:29 +0200)]
Bump Clamp version

Bump the clamp version for the new release

Issue-ID: CLAMP-395
Change-Id: I42d695518b8268c817eef8b4d28d3a6700f6aba4
Signed-off-by: Determe, Sebastien (sd378r) <sebastien.determe@intl.att.com>
4 years agoFix op policy payload 54/88454/1
Determe, Sebastien (sd378r) [Fri, 24 May 2019 10:01:05 +0000 (12:01 +0200)]
Fix op policy payload

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>
4 years agomake kibana https 30/88330/1
osgn422w [Thu, 23 May 2019 09:40:50 +0000 (11:40 +0200)]
make kibana https

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>
4 years agoRemove unncessary log 38/88238/1
Krysiak Adam [Wed, 22 May 2019 11:26:57 +0000 (13:26 +0200)]
Remove unncessary log

Issue-ID: CLAMP-391
Change-Id: I04aac42f8b934cec16ed16bf93519d4e0d83f8ec
Signed-off-by: Krysiak Adam <adam.krysiak@nokia.com>
4 years agoMerge "Fix issues in Operational Policy UI"
Sébastien Determe [Mon, 20 May 2019 15:30:50 +0000 (15:30 +0000)]
Merge "Fix issues in Operational Policy UI"

4 years agoMerge "Improve the loop logs view"
Sébastien Determe [Mon, 20 May 2019 14:37:57 +0000 (14:37 +0000)]
Merge "Improve the loop logs view"

4 years agoFix issues in Operational Policy UI 85/88085/1
xg353y [Mon, 20 May 2019 13:38:54 +0000 (15:38 +0200)]
Fix issues in Operational Policy UI

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>
4 years agoImprove the loop logs view 58/87958/1
xg353y [Fri, 17 May 2019 08:18:34 +0000 (10:18 +0200)]
Improve the loop logs view

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>
4 years agoRemove usage of maven staging plugin 12/87812/1
Jessica Wagantall [Wed, 15 May 2019 20:50:58 +0000 (13:50 -0700)]
Remove usage of maven staging plugin

This plugin will be deprecated soon. We need to remove
the usage of it and migrate to use gerrit-maven-stage jobs
from global-jjb.

After this change is merged, we need to:
- merge https://gerrit.onap.org/r/#/c/77825/
- Verify this new job works as expected
- Remove release-java-daily jobs

Change-Id: I70197990e29b90090390e2493f6ac7a134bb8f37
Issue-ID: CIMAN-240
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
4 years agoMerge "Fix targetResourceId issue" 4.0.2
Sébastien Determe [Tue, 14 May 2019 13:24:55 +0000 (13:24 +0000)]
Merge "Fix targetResourceId issue"

4 years agoFix targetResourceId issue 65/87665/3
xg353y [Tue, 14 May 2019 11:17:54 +0000 (13:17 +0200)]
Fix targetResourceId issue

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>
4 years agoAdjust ui 80/87580/1
sebdet [Mon, 13 May 2019 16:53:04 +0000 (18:53 +0200)]
Adjust ui

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>
4 years agoImprove the logs in ui 74/87574/1
sebdet [Mon, 13 May 2019 16:06:33 +0000 (18:06 +0200)]
Improve the logs in ui

Make log more consistent for the UI

Issue-ID: CLAMP-381
Change-Id: I17dcbe04b3ecdf8d31db708f38931991e80e0b0f
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoFix loop order 72/87572/1
sebdet [Mon, 13 May 2019 15:18:10 +0000 (17:18 +0200)]
Fix loop order

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>
4 years agoMerge "Update the version"
Xue Gao [Mon, 13 May 2019 13:04:07 +0000 (13:04 +0000)]
Merge "Update the version"

4 years agoUpdate the version 52/87552/1
sebdet [Mon, 13 May 2019 13:01:32 +0000 (15:01 +0200)]
Update the version

Update version to 4.0.2 to prepare the RC1 the 05/16

Issue-ID: CLAMP-379
Change-Id: I3a42e0bc6093732df8e0d7e8088eb312f17a408f
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoUpdate the select value 44/87544/3
xg353y [Mon, 13 May 2019 11:35:53 +0000 (13:35 +0200)]
Update the select value

Update the select value used for Abatement attribute.

Issue-ID: CLAMP-378
Change-Id: Ib64c08c33646162e6c4f8e0c25c04f2559517626
Signed-off-by: xg353y <xg353y@intl.att.com>
4 years agoUpdate the order of the loop log 37/87537/6
xg353y [Mon, 13 May 2019 10:44:56 +0000 (12:44 +0200)]
Update the order of the loop log

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>
4 years agoMerge "Fix the Abatement issue"
Sébastien Determe [Mon, 13 May 2019 12:02:52 +0000 (12:02 +0000)]
Merge "Fix the Abatement issue"

4 years agoFix the Abatement issue 54/87454/2
xg353y [Fri, 10 May 2019 13:15:27 +0000 (15:15 +0200)]
Fix the Abatement issue

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>
4 years agoFix the camel flow 29/87529/1
sebdet [Mon, 13 May 2019 08:24:06 +0000 (10:24 +0200)]
Fix the camel flow

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>
4 years agoFix dcae url status 82/87382/1 4.0.1
sebdet [Thu, 9 May 2019 17:30:30 +0000 (19:30 +0200)]
Fix dcae url status

Set it to null when undeploy is successful

Issue-ID: CLAMP-376
Change-Id: I0c7f7b2e1464bcd72ece47f5d89730de1718b636
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
4 years agoAdd more DCAE state for undeploy 81/87381/1
sebdet [Thu, 9 May 2019 16:37:40 +0000 (18:37 +0200)]
Add more DCAE state for undeploy

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>
4 years agoGenerate Random UUID for DCAE 65/87365/2
sebdet [Thu, 9 May 2019 14:50:17 +0000 (16:50 +0200)]
Generate Random UUID for DCAE

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>
4 years agoMerge "Fix the deploy cl payload issue"
Sébastien Determe [Thu, 9 May 2019 12:57:47 +0000 (12:57 +0000)]
Merge "Fix the deploy cl payload issue"

4 years agoFix the deploy cl payload issue 48/87348/6
xg353y [Thu, 9 May 2019 11:14:40 +0000 (13:14 +0200)]
Fix the deploy cl payload issue

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>
4 years agoMerge "Fix the loop log issue"
Sébastien Determe [Thu, 9 May 2019 11:39:17 +0000 (11:39 +0000)]
Merge "Fix the loop log issue"

4 years agoMerge "Fix model type searching"
Christophe Closset [Thu, 9 May 2019 10:08:57 +0000 (10:08 +0000)]
Merge "Fix model type searching"

4 years agoFix model type searching 32/87332/3
sebdet [Thu, 9 May 2019 09:03:53 +0000 (11:03 +0200)]
Fix model type searching

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>
4 years agoFix the loop log issue 38/87338/1
xg353y [Thu, 9 May 2019 09:41:30 +0000 (11:41 +0200)]
Fix the loop log issue

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>
4 years agoMerge "Fix http4 component"
Xue Gao [Thu, 9 May 2019 09:26:14 +0000 (09:26 +0000)]
Merge "Fix http4 component"

4 years agoMerge "Added unit tests for GuardPolicyDeleteDelegate"
Sébastien Determe [Thu, 9 May 2019 09:05:06 +0000 (09:05 +0000)]
Merge "Added unit tests for GuardPolicyDeleteDelegate"

4 years agoFix http4 component 28/87328/2
sebdet [Thu, 9 May 2019 08:16:51 +0000 (10:16 +0200)]
Fix http4 component

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>
4 years agoFix URL for PDP Push 47/87247/1
sebdet [Wed, 8 May 2019 14:03:50 +0000 (16:03 +0200)]
Fix URL for PDP Push

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>
4 years agoFix flows and error catching 45/87245/1
sebdet [Wed, 8 May 2019 13:36:55 +0000 (15:36 +0200)]
Fix flows and error catching

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>
4 years agoMerge "Improve test coverage in UserJsonDecoder"
Sébastien Determe [Wed, 8 May 2019 11:10:15 +0000 (11:10 +0000)]
Merge "Improve test coverage in UserJsonDecoder"

4 years agoMerge "Added unit tests for OperationalPolicyDeleteDelegate"
Sébastien Determe [Wed, 8 May 2019 11:08:35 +0000 (11:08 +0000)]
Merge "Added unit tests for OperationalPolicyDeleteDelegate"

4 years agoMerge "Fix model_type missing"
Gervais-Martial Ngueko [Wed, 8 May 2019 11:06:32 +0000 (11:06 +0000)]
Merge "Fix model_type missing"

4 years agoFix model_type missing 23/87223/3
sebdet [Wed, 8 May 2019 09:33:43 +0000 (11:33 +0200)]
Fix model_type missing

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>
4 years agoMerge "Added unit tests for OperationalPolicyDelegate"
Sébastien Determe [Wed, 8 May 2019 09:42:21 +0000 (09:42 +0000)]
Merge "Added unit tests for OperationalPolicyDelegate"

4 years agoAdd unit tests fot FlowLogOperation 15/87215/1
m.kowalski3 [Wed, 8 May 2019 06:57:34 +0000 (08:57 +0200)]
Add unit tests fot FlowLogOperation

Change-Id: I499ca3ffe5d5f9a6fca4f5b92fc3c5da6a424d37
Issue-ID: CLAMP-355
Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com>
4 years agoAdded unit tests for OperationalPolicyDelegate 39/87139/2
p.borelowski [Tue, 7 May 2019 12:12:06 +0000 (14:12 +0200)]
Added unit tests for OperationalPolicyDelegate

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>
4 years agoFix PDP group delete 52/87052/1
sebdet [Mon, 6 May 2019 16:06:51 +0000 (18:06 +0200)]
Fix PDP group delete

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>
4 years agoAdded unit tests for OperationalPolicyDeleteDelegate 40/87040/2
p.borelowski [Mon, 6 May 2019 13:52:36 +0000 (15:52 +0200)]
Added unit tests for OperationalPolicyDeleteDelegate

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>
4 years agoFix for PDP group 39/87039/1
sebdet [Mon, 6 May 2019 13:48:48 +0000 (15:48 +0200)]
Fix for PDP group

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>
4 years agoFix Guard policy payload 20/87020/2
sebdet [Mon, 6 May 2019 11:51:45 +0000 (13:51 +0200)]
Fix Guard policy payload

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>
4 years agoAdded unit tests for GuardPolicyDeleteDelegate 05/86605/2
p.borelowski [Tue, 30 Apr 2019 09:42:26 +0000 (11:42 +0200)]
Added unit tests for GuardPolicyDeleteDelegate

Added more unit tests for some of the Delegate classes
in the clds/client package
to reach the minimum threshold of 65 % coverage
(3)

Change-Id: Ib504bebf0b141841687f93c6933b0fa9a40b48e1
Issue-ID: CLAMP-355
Signed-off-by: p.borelowski <p.borelowski@partner.samsung.com>
4 years agoFix Policy URLS 07/86907/1
sebdet [Fri, 3 May 2019 15:16:17 +0000 (17:16 +0200)]
Fix Policy URLS

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>
4 years agoMerge "Fix log reporting"
Christophe Closset [Fri, 3 May 2019 12:49:33 +0000 (12:49 +0000)]
Merge "Fix log reporting"

4 years agoFix log reporting 97/86897/2
sebdet [Fri, 3 May 2019 12:32:53 +0000 (14:32 +0200)]
Fix log reporting

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>
4 years agoFix the bugs in loop state logic 93/86893/2
xg353y [Fri, 3 May 2019 11:23:40 +0000 (13:23 +0200)]
Fix the bugs in loop state logic

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>
4 years agoMerge "Rework the Model Json"
Christophe Closset [Thu, 2 May 2019 16:32:51 +0000 (16:32 +0000)]
Merge "Rework the Model Json"

4 years agoRework the Model Json 39/86839/1
sebdet [Thu, 2 May 2019 16:18:58 +0000 (18:18 +0200)]
Rework the Model Json

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>
4 years agoMerge "Fix the get loop state logic" 4.0.0
Sébastien Determe [Tue, 30 Apr 2019 13:28:41 +0000 (13:28 +0000)]
Merge "Fix the get loop state logic"

4 years agoFix the get loop state logic 21/86521/8
xg353y [Fri, 26 Apr 2019 11:26:25 +0000 (13:26 +0200)]
Fix the get loop state logic

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>
4 years agoImprove test coverage in UserJsonDecoder 65/86365/3
m.kowalski3 [Fri, 26 Apr 2019 07:30:35 +0000 (09:30 +0200)]
Improve test coverage in UserJsonDecoder

Change-Id: I891e78720d47c015ab4f9e130f345797b0110d64
Issue-ID: CLAMP-348
Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com>
4 years agoFix bad microservice window 54/86554/1
sebdet [Mon, 29 Apr 2019 16:50:46 +0000 (18:50 +0200)]
Fix bad microservice window

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>
4 years agoReturn to alpine 48/86548/1
sebdet [Mon, 29 Apr 2019 16:19:39 +0000 (18:19 +0200)]
Return to alpine

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>
4 years agoRollback to Ubuntu 42/86542/1
sebdet [Mon, 29 Apr 2019 15:45:21 +0000 (17:45 +0200)]
Rollback to Ubuntu

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>
4 years agoRemove http port by default 17/86517/1
sebdet [Mon, 29 Apr 2019 12:45:24 +0000 (14:45 +0200)]
Remove http port by default

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>
4 years agoFix csar crash 00/86500/1
sebdet [Mon, 29 Apr 2019 09:42:43 +0000 (11:42 +0200)]
Fix csar crash

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>
5 years agoKick oparent for now 10/86410/1
sebdet [Fri, 26 Apr 2019 14:51:50 +0000 (16:51 +0200)]
Kick oparent for now

Kick oparent so that we can build docker images for testing

Issue-ID: CLAMP-359
Change-Id: I85cae11e86c36d38ce508facebb5a6211aa93154
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
5 years agoFix policy Hosts 07/86407/1
sebdet [Fri, 26 Apr 2019 14:34:14 +0000 (16:34 +0200)]
Fix policy Hosts

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>
5 years agoMerge "Change Yaml to Json payload"
Xue Gao [Fri, 26 Apr 2019 11:32:21 +0000 (11:32 +0000)]
Merge "Change Yaml to Json payload"

5 years agoMerge "Clamp uses new Loop implementation by default"
Sébastien Determe [Fri, 26 Apr 2019 11:18:20 +0000 (11:18 +0000)]
Merge "Clamp uses new Loop implementation by default"

5 years agoChange Yaml to Json payload 85/86385/1
sebdet [Fri, 26 Apr 2019 11:04:08 +0000 (13:04 +0200)]
Change Yaml to Json payload

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>
5 years agoRework the logging 79/86379/2
sebdet [Fri, 26 Apr 2019 10:04:26 +0000 (12:04 +0200)]
Rework the logging

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>
5 years agoFix policy calls 69/86269/1
sebdet [Thu, 25 Apr 2019 10:33:31 +0000 (12:33 +0200)]
Fix policy calls

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>
5 years agoRework code for policy type 68/86268/1
sebdet [Thu, 25 Apr 2019 10:24:45 +0000 (12:24 +0200)]
Rework code for policy type

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>
5 years agoMerge "Added more unit tests to reach the minimum threshold of 65 % coverage"
Adam Krysiak [Thu, 25 Apr 2019 07:01:42 +0000 (07:01 +0000)]
Merge "Added more unit tests to reach the minimum threshold of 65 % coverage"

5 years agoClamp uses new Loop implementation by default 19/86119/3
Krysiak Adam [Tue, 23 Apr 2019 14:29:22 +0000 (16:29 +0200)]
Clamp uses new Loop implementation by default

Change-Id: I274a946af91f6b06d3aa53b8127c94010274e353
Issue-ID: CLAMP-354
Signed-off-by: Krysiak Adam <adam.krysiak@nokia.com>