clamp.git
6 years agoRemove HashMap definition 45/14645/1
Determe, Sebastien (sd378r) [Fri, 22 Sep 2017 14:59:06 +0000 (16:59 +0200)]
Remove HashMap definition

Change HashMap to Map for variable declaration

Change-Id: Ia352ab40c087e26ed43a2e69ad5ef60b6bb68a87
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoAdd the target resource ID 29/14629/1
Determe, Sebastien (sd378r) [Fri, 22 Sep 2017 13:52:45 +0000 (15:52 +0200)]
Add the target resource ID

Add target resource ID in operational policy code as requested.
It changes the UI, the Policy code, the model and the tests.

Change-Id: Ie72badde55e7f8b5c2e5234099a09b95958205cf
Issue-ID: CLAMP-55
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoRemove useless code in test 27/14627/1
Determe, Sebastien (sd378r) [Fri, 22 Sep 2017 13:50:19 +0000 (15:50 +0200)]
Remove useless code in test

Some variables were created and not used, this has been removed

Change-Id: I40f28f4a991989b3759b2adf8842cebcfd9ac207
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoRemove the mariadb pull if no test 25/14625/1
Determe, Sebastien (sd378r) [Fri, 22 Sep 2017 13:45:26 +0000 (15:45 +0200)]
Remove the mariadb pull if no test

The build was pulling mariadb even when the flag skipITs was set

Change-Id: I447af0de537bd55666ce93958451b160c72c6234
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoRename a test class 23/14623/1
Determe, Sebastien (sd378r) [Fri, 22 Sep 2017 13:43:16 +0000 (15:43 +0200)]
Rename a test class

Rename a test class by using the name of the class tested

Change-Id: Ic2dc993ec874872b3acc9ef95fdfdb540ff61742
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoRemove Camunda auto conf for Junit 21/14621/1
Determe, Sebastien (sd378r) [Fri, 22 Sep 2017 13:41:51 +0000 (15:41 +0200)]
Remove Camunda auto conf for Junit

Camunda autoconf classes removed for SPring junit IT tests

Change-Id: Ia71574520bd88144efaf95c3a22fcb74d91e6fb9
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoAdd different log in AbstractModelElement 19/14619/1
Determe, Sebastien (sd378r) [Fri, 22 Sep 2017 13:41:07 +0000 (15:41 +0200)]
Add different log in AbstractModelElement

Log changed when the Json attribute value is null or empty

Change-Id: Ie0321efbbcc7f9c637f1bd8ea44001e5036987d3
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoRemoval of useless files & bugfix 27/13527/1
Determe, Sebastien (sd378r) [Tue, 19 Sep 2017 16:24:06 +0000 (18:24 +0200)]
Removal of useless files & bugfix

Removal of DCAE useless files, and bugfixes SDC calls(+CldsDAO bug), and
insertion of the search engine for Model Properties window in UI

Change-Id: Ia68117bb917807eaf8e8e317f391f90b6d948135
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoReformat the JSON and fix checkstyle issue 91/13091/1
Determe, Sebastien (sd378r) [Mon, 18 Sep 2017 10:27:51 +0000 (12:27 +0200)]
Reformat the JSON and fix checkstyle issue

All Json used in the tests have been reformatted.
Also some checkstyle bugs have been fixed

Change-Id: I48373d9d53d39244c62b9b88b1cf62c15c766cb3
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoAdd new tests to CLAMP 53/13053/1
Determe, Sebastien (sd378r) [Mon, 18 Sep 2017 09:10:02 +0000 (11:10 +0200)]
Add new tests to CLAMP

New tests added on ModelProperties, CldsModel and ITs (CldsService
tests)

Change-Id: I75a29c11ec66e0eef7c80f76cf90c30b2fc29972
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoMerge "Add new tests for DAO"
Eddy Hautot [Thu, 14 Sep 2017 14:31:14 +0000 (14:31 +0000)]
Merge "Add new tests for DAO"

6 years agoMerge "Some rework around DAO classes"
Eddy Hautot [Thu, 14 Sep 2017 14:26:34 +0000 (14:26 +0000)]
Merge "Some rework around DAO classes"

6 years agoAdd new tests for DAO 53/12453/1
Determe, Sebastien (sd378r) [Thu, 14 Sep 2017 14:11:00 +0000 (16:11 +0200)]
Add new tests for DAO

New test to validate some methods of the DAO and attempt to disable
Camunda in IT when it was not required to have it

Change-Id: I231230a7a4818f4bfd7887319a321625f66ffcae
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoSome rework around DAO classes 51/12451/1
Determe, Sebastien (sd378r) [Thu, 14 Sep 2017 14:08:55 +0000 (16:08 +0200)]
Some rework around DAO classes

Remove the useless return parameter in setModel, remove the
runtimeService in cldsTemplateService

Change-Id: Ia6d82cc3167f2e82b0da9cdb14d93c64ccee19c4
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoWait for database with mariadb connector 45/12445/1
eh552t [Thu, 14 Sep 2017 13:43:51 +0000 (15:43 +0200)]
Wait for database with mariadb connector

Need to add sequential in connection url to be
able to retry

Change-Id: Ib5343de3c1ecad317ae1628590b1766a31ed1f15
Signed-off-by: eh552t <eh552t@intl.att.com>
Issue-ID: CLAMP-42

6 years agoWait for database with mariadb connector 01/12401/1
eh552t [Thu, 14 Sep 2017 09:20:19 +0000 (11:20 +0200)]
Wait for database with mariadb connector

With the change from Mysql to MariaDB connector
maxReconnect parameters doesn't work anymore.
We then need to use retriesAllDown instead but
this is doing retries as fast as possible with
no wait between tries so need an arbitrary high
value. With maxReconnect it was waiting a time
exponentially growing so a low value was enough.

Change-Id: I7d03baa69bbee46d82a403f573d9f492f9720a4c
Signed-off-by: eh552t <eh552t@intl.att.com>
Issue-ID: CLAMP-42

6 years agoWait for database with mariadb connector 99/12399/1
eh552t [Thu, 14 Sep 2017 09:14:02 +0000 (11:14 +0200)]
Wait for database with mariadb connector

With the change from Mysql to MariaDB connector
maxReconnect parameter doesn't work anymore.
We then need to use retriesAllDown instead but
this is doing retries as fast as possible with
no wait between tries so need an arbitrary high
value. With maxReconnect it was waiting a time
exponentially growing so a low value was enough.

Change-Id: Id1429759aa4bdcfc9af1934fd6f8b848ed879e91
Signed-off-by: eh552t <eh552t@intl.att.com>
Issue-ID: CLAMP-42

6 years agoMerge "Restore the history log in camunda"
Eddy Hautot [Thu, 14 Sep 2017 08:43:22 +0000 (08:43 +0000)]
Merge "Restore the history log in camunda"

6 years agoMerge "Add test to Holmes"
Eddy Hautot [Thu, 14 Sep 2017 08:43:11 +0000 (08:43 +0000)]
Merge "Add test to Holmes"

6 years agoMerge "Clean unnecessary files using camunda"
Eddy Hautot [Thu, 14 Sep 2017 08:40:24 +0000 (08:40 +0000)]
Merge "Clean unnecessary files using camunda"

6 years agoMerge "Rework the datasource access"
Eddy Hautot [Thu, 14 Sep 2017 08:40:15 +0000 (08:40 +0000)]
Merge "Rework the datasource access"

6 years agoMerge "Rework the comment of the constructor"
Eddy Hautot [Thu, 14 Sep 2017 08:39:59 +0000 (08:39 +0000)]
Merge "Rework the comment of the constructor"

6 years agoImprove doc 27/12227/2
ChrisC [Wed, 13 Sep 2017 15:23:34 +0000 (08:23 -0700)]
Improve doc

Update to reflect readme.md details

Change-Id: If8ee14add971ededa2725424e161c46f782378d1
Issue-ID: CLAMP-15
Signed-off-by: ChrisC <cc697w@intl.att.com>
6 years agoPolicy and StringMatch GUI need refresh 83/11683/2
Anaël Closson [Mon, 11 Sep 2017 13:38:03 +0000 (15:38 +0200)]
Policy and StringMatch GUI need refresh

A reload of GUI for Policy and StringMatch was required to see changes
done in some select fields. This patch add automatic updates of fields
that needs it.

Change-Id: Ida7ad705218b1881868dcdec936c809b19df69bd
Issue-Id: CLAMP-53
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
6 years agoRestore the history log in camunda 23/12223/1
Determe, Sebastien (sd378r) [Wed, 13 Sep 2017 14:41:03 +0000 (16:41 +0200)]
Restore the history log in camunda

Restore the history log in camunda as it has been disabled but the DB
SQL files set that already

Change-Id: Iba24a4cefdfb533046eed92e7ce1424a06d1c0fb
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoAdd test to Holmes 21/12221/1
Determe, Sebastien (sd378r) [Wed, 13 Sep 2017 14:21:38 +0000 (16:21 +0200)]
Add test to Holmes

New test for holmes and refactor of the application.java class according
to Sonar reports

Change-Id: I2117b403c18e2cb2cd902018db951025a1db9bae
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoClean unnecessary files using camunda 19/12219/1
Determe, Sebastien (sd378r) [Wed, 13 Sep 2017 14:17:05 +0000 (16:17 +0200)]
Clean unnecessary files using camunda

The camunda examples have been removed as not used by anyone

Change-Id: Ib659ea0d68aff613620fce6bf25d4d4a1e1acac4
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoRework the datasource access 17/12217/1
Determe, Sebastien (sd378r) [Wed, 13 Sep 2017 14:12:45 +0000 (16:12 +0200)]
Rework the datasource access

Make a call to Spring datasource instead calling the method directly

Change-Id: If9464f8591cd140079d09dc33c83a8b4380bf5ae
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoRework the comment of the constructor 15/12215/1
Determe, Sebastien (sd378r) [Wed, 13 Sep 2017 14:10:12 +0000 (16:10 +0200)]
Rework the comment of the constructor

Refactor the parameters name of the constructor

Change-Id: Ie4314d0384a875da1e8bf3abc1092cd826347929
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoMerge "Change to mariadb connector"
Christophe Closset [Mon, 11 Sep 2017 13:37:19 +0000 (13:37 +0000)]
Merge "Change to mariadb connector"

6 years agoMerge "Change mysql to mariadb connector"
Christophe Closset [Mon, 11 Sep 2017 13:37:11 +0000 (13:37 +0000)]
Merge "Change mysql to mariadb connector"

6 years agoChange to mariadb connector 79/11679/1
Determe, Sebastien (sd378r) [Mon, 11 Sep 2017 13:35:30 +0000 (15:35 +0200)]
Change to mariadb connector

The tests application.properties had to be changed as well

Change-Id: Ie2a4ca5e136aef3f2ae7ba55cbee705661374273
Issue-Id: CLAMP-52
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoChange mysql to mariadb connector 77/11677/1
Determe, Sebastien (sd378r) [Mon, 11 Sep 2017 13:30:54 +0000 (15:30 +0200)]
Change mysql to mariadb connector

Replace the mysql connector used by Spring to mariadb
+ remove the Mysql connector from the clamp.jar

Change-Id: If7241e111d07ad98eba3b0fcb612b0f4711d683d
Issue-Id: CLAMP-52
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoFix: Policy GUI not responding on opening 51/11651/2
Anaël Closson [Mon, 11 Sep 2017 11:17:36 +0000 (13:17 +0200)]
Fix: Policy GUI not responding on opening

A call to the backend method getSdcPropertiesByServiceUUIDForRefresh
is failing. This is due to invalid handling of Sdc messages introduced
with revision 13966ab288578be392c5d2c64d5a9d7b6f600327.

Change-Id: I1ade99f50a177d7db6042938c4f0734eba0071fd
Issue-Id: CLAMP-51
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
6 years agoMerge "Fix Holmes delegates and sdc"
Christophe Closset [Mon, 11 Sep 2017 12:54:13 +0000 (12:54 +0000)]
Merge "Fix Holmes delegates and sdc"

6 years agoFix Holmes delegates and sdc 49/11649/1
Determe, Sebastien (sd378r) [Mon, 11 Sep 2017 11:23:12 +0000 (13:23 +0200)]
Fix Holmes delegates and sdc

Fix holmes delegates not declared in the cldsconfiguration
and SDC IT tests that reports some exceptions

Change-Id: I19dae11ad994e78e1f71fc78a2ff4627d91e66c1
Issue-Id: CLAMP-27
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoCleanup project's name in Sonar 85/11385/1
Jessica Wagantall [Fri, 8 Sep 2017 21:43:40 +0000 (14:43 -0700)]
Cleanup project's name in Sonar

The name parameter in the root pom.xml should
match the project name in gerrit to reflect consistency
in Sonar.

Change-Id: If83ba288f33d4cc281ab54d2c7ffcf8af246a580
Issue-id: CIMAN-65
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoRemove class renamed as AbstractModelElement 51/11151/1
Determe, Sebastien (sd378r) [Fri, 8 Sep 2017 15:56:41 +0000 (17:56 +0200)]
Remove class renamed as AbstractModelElement

Remove a class that has been renamed to AbstractModelElement

Change-Id: Ifbad3875da6265e3b092aceee0de801b19834d79
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoRework some sonar critical and major bugs 43/11143/1
Determe, Sebastien (sd378r) [Fri, 8 Sep 2017 15:48:10 +0000 (17:48 +0200)]
Rework some sonar critical and major bugs

Class renamed to AbstractModelELement, exceptions reworked and IT tests
as well

Change-Id: Ief2b09b0e36776519338834e2af61aa6e638ee91
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoFix missing license in new test 65/11065/2
Determe, Sebastien (sd378r) [Fri, 8 Sep 2017 10:28:40 +0000 (12:28 +0200)]
Fix missing license in new test

Fix missing license in new test file reported by license checkstyle
plugin

Change-Id: Ic024103acb814f8d78b60eb18d2967708be43c9f
Issue-Id: CLAMP-27
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoMerge "Add Holmes to the Backend"
Sébastien Determe [Fri, 8 Sep 2017 10:44:21 +0000 (10:44 +0000)]
Merge "Add Holmes to the Backend"

6 years agoMerge "Sonar improvements and class renaming"
Sébastien Determe [Fri, 8 Sep 2017 10:43:39 +0000 (10:43 +0000)]
Merge "Sonar improvements and class renaming"

6 years agoSonar improvements and class renaming 63/11063/2
Determe, Sebastien (sd378r) [Fri, 8 Sep 2017 10:23:49 +0000 (12:23 +0200)]
Sonar improvements and class renaming

Some sonar improvements and class renaming in different files

Change-Id: I8d8eff1e3fedee1d1c31e62edb80e1bb9ce75362
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoAdd Holmes to the Backend 61/11061/1
Determe, Sebastien (sd378r) [Fri, 8 Sep 2017 10:14:08 +0000 (12:14 +0200)]
Add Holmes to the Backend

Add support for Holmes boxes defined in GUI, Holmes model has been added
and also policy calls.

Change-Id: I2bbef0030b5174075792b459b7ced74aa2e8aad2
Issue-Id: CLAMP-27
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoFix the logback 59/11059/1
Determe, Sebastien (sd378r) [Fri, 8 Sep 2017 09:57:26 +0000 (11:57 +0200)]
Fix the logback

The logback file was incorrectly hiding the INFO log from Clamp.

Change-Id: I37dbc7beaf8abeaf65d1509fe048d7136fc9fe07
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoIncorrect select field filtering 73/10773/2
Anaël Closson [Thu, 7 Sep 2017 08:50:24 +0000 (10:50 +0200)]
Incorrect select field filtering

The filtering of select input fields was incorrectly
handled and resulte in inconsistent state

Issue-Id: CLAMP-49

Change-Id: I1678a861ca4fcb8b384fb75356ff95eee88f2fc6
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
6 years agoReformat code 71/10571/2
Anaël Closson [Wed, 6 Sep 2017 12:53:38 +0000 (14:53 +0200)]
Reformat code

Issue-Id:: CLAMP-43

Change-Id: Ife5596c1fca86941e17fe84354bbab49d25f9ffa
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
6 years agoMerge "Error in JS logs when click in the background"
Sébastien Determe [Thu, 7 Sep 2017 08:55:53 +0000 (08:55 +0000)]
Merge "Error in JS logs when click in the background"

6 years agoMerge "Wrong function call"
Sébastien Determe [Thu, 7 Sep 2017 08:55:38 +0000 (08:55 +0000)]
Merge "Wrong function call"

6 years agoMerge "Add properties for Holmes component"
Sébastien Determe [Thu, 7 Sep 2017 08:54:00 +0000 (08:54 +0000)]
Merge "Add properties for Holmes component"

6 years agoMerge "Integrate docs template"
Eddy Hautot [Thu, 7 Sep 2017 08:17:06 +0000 (08:17 +0000)]
Merge "Integrate docs template"

6 years agoIntegrate docs template 59/10359/2
ChrisC [Tue, 5 Sep 2017 14:36:32 +0000 (07:36 -0700)]
Integrate docs template

Add ONAP doc template to CLAMP first draft

Change-Id: I2267f0fda2ee613d76d7c60a011696087805a5e7
Issue-ID: CLAMP-15
Signed-off-by: ChrisC <cc697w@intl.att.com>
6 years agoError in JS logs when click in the background 69/10369/1
Anaël Closson [Tue, 5 Sep 2017 15:17:31 +0000 (17:17 +0200)]
Error in JS logs when click in the background

Change-Id: Ie7bf318fc35e290f9699b660c6ca2282c49087aa
Issue-Id: CLAMP-27
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
6 years agoWrong function call 67/10367/1
Anaël Closson [Tue, 5 Sep 2017 15:15:41 +0000 (17:15 +0200)]
Wrong function call

Change-Id: I12d79f9c54c1a7d84d421e8ded10c568dd504512
Issue-Id: CLAMP-27
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
6 years agoAdd properties for Holmes component 65/10365/1
Anaël Closson [Tue, 5 Sep 2017 15:13:56 +0000 (17:13 +0200)]
Add properties for Holmes component

Change-Id: Id758473fe61f7f24699e204dc325c978bc934e59
Issue-Id: CLAMP-27
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
6 years agoAdd holmes GUI without properties 63/10363/1
Anaël Closson [Tue, 5 Sep 2017 11:33:34 +0000 (13:33 +0200)]
Add holmes GUI without properties

Change-Id: Ie961076abf2d57e3e917cab0012f6799bbe7762a
Issue-Id: CLAMP-27
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
6 years agoAdd VES Collector GUI 35/10235/1
Anaël Closson [Mon, 4 Sep 2017 15:49:07 +0000 (17:49 +0200)]
Add VES Collector GUI

Add support for VES Collector in the GUI

Change-Id: Id1420844ccd882e440cd19098251943eb02c4184
Issue-Id: CLAMP-19
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
6 years agoAdd the missing tagging in Docker 97/9897/1
Determe, Sebastien (sd378r) [Fri, 1 Sep 2017 08:09:52 +0000 (10:09 +0200)]
Add the missing tagging in Docker

Add the missing tagging for the remote repositories, the repository name
must be specified

Change-Id: I59877f7e1d2f3e3c040ff8707f5e76ecce3f3228
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoRestore oparent 19/9719/1
Determe, Sebastien (sd378r) [Thu, 31 Aug 2017 16:02:22 +0000 (18:02 +0200)]
Restore oparent

Restore the oparent that has been removed due to local build failure

Change-Id: I4356fe50e9a8adbef6c7df2cc4f97bafbebe4534
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoMerge "Add Docker tags"
Eddy Hautot [Thu, 31 Aug 2017 15:57:42 +0000 (15:57 +0000)]
Merge "Add Docker tags"

6 years agoAdd Docker tags 01/9701/2
Determe, Sebastien (sd378r) [Thu, 31 Aug 2017 15:23:57 +0000 (17:23 +0200)]
Add Docker tags

Add docker tags SNAPSHOT and STAGING to the current ones for automation

Change-Id: I330271ec169cba33d0b92579e39afeed55795bd0
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoChange configuration for Clamp integration 87/9687/1
eh552t [Thu, 31 Aug 2017 13:22:00 +0000 (15:22 +0200)]
Change configuration for Clamp integration

Put default configuration for clamp integration directly in
the properties files

Change-Id: Id945159720e5e5cfbc7ddd44f8d31c6f5c6361a0
Signed-off-by: eh552t <eh552t@intl.att.com>
Issue-Id: CLAMP-47

6 years agoMerge "Remove Variable in POM"
Christophe Closset [Thu, 31 Aug 2017 12:41:02 +0000 (12:41 +0000)]
Merge "Remove Variable in POM"

6 years agoRemove Variable in POM 65/9665/1
Determe, Sebastien (sd378r) [Thu, 31 Aug 2017 11:43:36 +0000 (13:43 +0200)]
Remove Variable in POM

Due to the oparent, it's impossible to keep the
variables to define the nexus accesses because
Maven needs the parent first to identify default
values. So it has been removed

Change-Id: Ie81ed776f6d6bd129da9a1701a205d93a6a6780f
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoFix critical SONAR issue 79/9479/2
Determe, Sebastien (sd378r) [Wed, 30 Aug 2017 15:03:22 +0000 (08:03 -0700)]
Fix critical SONAR issue

Replace a default exception by a specific one

Change-Id: I1eef698e994321e6dde70f723e4e3908c5a09118
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
Signed-off-by: ChrisC <cc697w@intl.att.com>
6 years agoFix a Critical issue from SONAR 77/9477/1
Determe, Sebastien (sd378r) [Wed, 30 Aug 2017 15:02:25 +0000 (08:02 -0700)]
Fix a Critical issue from SONAR

Rework the log and include the Exception in it to help the debugging

Change-Id: I8930a4bd65bf2cac48cb1fbf98fb17fe69b5d909
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoFix a blocker issue reported by SOnar 45/9445/1
Determe, Sebastien (sd378r) [Wed, 30 Aug 2017 14:31:31 +0000 (07:31 -0700)]
Fix a blocker issue reported by SOnar

Add a test to return a value that could potentially be null

Change-Id: I092ba4f21775ae64aa86f8dbff8538e47ca16c43
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoFix Sonar bugs 27/9427/1
Determe, Sebastien (sd378r) [Wed, 30 Aug 2017 12:58:36 +0000 (05:58 -0700)]
Fix Sonar bugs

In service java package Blocker issues fixed

Change-Id: I5c6ff6374c40d8e24c4fa920ca2af139761b9e4a
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoAdd a new test class 25/9425/1
Determe, Sebastien (sd378r) [Wed, 30 Aug 2017 12:57:52 +0000 (05:57 -0700)]
Add a new test class

Add a new test class for SdcPolicyReq class

Change-Id: I8c3031a621a5fe1a2f6bc0d44988baae89a35545
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoFix Sonar bugs 23/9423/1
Determe, Sebastien (sd378r) [Wed, 30 Aug 2017 12:56:17 +0000 (05:56 -0700)]
Fix Sonar bugs

In ModelElement.class Blocker issues fixed

Change-Id: Ia03757ed3675d6af8a65b9ed862db25e703387d6
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoFix bad exception used 21/9421/1
Determe, Sebastien (sd378r) [Wed, 30 Aug 2017 12:54:45 +0000 (05:54 -0700)]
Fix bad exception used

Jboss exception used instead of javaws one

Change-Id: If14eba2b529671b862bbdf8edb269eaae7dad77a
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoFix Sonar bugs 19/9419/1
Determe, Sebastien (sd378r) [Wed, 30 Aug 2017 12:53:07 +0000 (05:53 -0700)]
Fix Sonar bugs

In CldsSecurityConfigUsers.class Blocker issues fixed

Change-Id: I3eb90ff986786ab76c767158e5aae3f1bbe0bdeb
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoChange Jboss exception To javaws 17/9417/1
Determe, Sebastien (sd378r) [Wed, 30 Aug 2017 12:50:54 +0000 (05:50 -0700)]
Change Jboss exception To javaws

Replace jboss exception by a web service one

Change-Id: I386da7b8436170a337c815381d97014f445cb21a
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoFix Sonar bugs 15/9415/1
Determe, Sebastien (sd378r) [Wed, 30 Aug 2017 12:49:27 +0000 (05:49 -0700)]
Fix Sonar bugs

In client java packages Blocker issues fixed

Change-Id: I7ea1fb546ad32422da7eef596a989e4696238651
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoFix Sonar bugs 13/9413/1
Determe, Sebastien (sd378r) [Wed, 30 Aug 2017 12:48:57 +0000 (05:48 -0700)]
Fix Sonar bugs

In OperationalPolicyReq.class Blocker issues fixed

Change-Id: If35ab7674961c6d9c7558b1f81d7fd5fb22eae45
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoFix Sonar bugs 11/9411/1
Determe, Sebastien (sd378r) [Wed, 30 Aug 2017 12:48:15 +0000 (05:48 -0700)]
Fix Sonar bugs

In Application.class Blocker issues fixed

Change-Id: I8e64a0caee24e23d52779d01cdffade61f7a6f53
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoIncrease MariaDB timeout 31/9331/1
ChrisC [Wed, 30 Aug 2017 08:13:58 +0000 (01:13 -0700)]
Increase MariaDB timeout

Increase to 600s as Jenkins take some time to start up the container
Change-Id: I57f59f33b6cb2259e22e87a4a4c1a20415f406a1
Signed-off-by: ChrisC <cc697w@intl.att.com>
Issue-Id: CLAMP-43

6 years agoMerge "Update License.txt"
Sébastien Determe [Tue, 29 Aug 2017 15:37:52 +0000 (15:37 +0000)]
Merge "Update License.txt"

6 years agoMerge changes from topic 'feature/rebase-3'
Christophe Closset [Tue, 29 Aug 2017 14:48:00 +0000 (14:48 +0000)]
Merge changes from topic 'feature/rebase-3'

* changes:
  Reorganize some code and fix checkstyle
  Rework the SONAR/Checkstyle report
  Fix a potential NPE
  Add Request ID in Common Logging
  Add 2 new methods getNodeValueByName
  Add missing the eventName
  Rework the javadoc
  Rework the format of this file
  FIx the POM for HTTPS param and jks file in test
  Fix the clds-reference json

6 years agoMerge "Add dynamic ports for HTTP/HTTPS"
Christophe Closset [Tue, 29 Aug 2017 14:47:55 +0000 (14:47 +0000)]
Merge "Add dynamic ports for HTTP/HTTPS"

6 years agoUpdate License.txt 45/9145/1
ChrisC [Tue, 29 Aug 2017 14:17:30 +0000 (07:17 -0700)]
Update License.txt

Change-Id: Ia1fe8deb8c648205752dea012aedf7c615984630
Signed-off-by: ChrisC <cc697w@intl.att.com>
Issue-Id: CLAMP-46

6 years agoMerge "Rename the CldsSecurityConfig"
Christophe Closset [Tue, 29 Aug 2017 14:02:09 +0000 (14:02 +0000)]
Merge "Rename the CldsSecurityConfig"

6 years agoReorganize some code and fix checkstyle 97/9097/1
Determe, Sebastien (sd378r) [Tue, 29 Aug 2017 11:47:45 +0000 (04:47 -0700)]
Reorganize some code and fix checkstyle

Two methods have been moved + rework javadocs + rework exception thrown
(more specific exceptions) + rework the IT tests
+ Add a new exception for DCAE

Change-Id: I3beb49bcbc5678f24c8be9e0340a936401c6cea9
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoRework the SONAR/Checkstyle report 95/9095/1
Determe, Sebastien (sd378r) [Tue, 29 Aug 2017 11:44:20 +0000 (04:44 -0700)]
Rework the SONAR/Checkstyle report

Add bad/missing javadocs + rework the exception thrown + logs +
reorganize the import

Change-Id: I37b5c8983785f00df28bcaee852dc54fd11e8001
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoFix a potential NPE 93/9093/1
Determe, Sebastien (sd378r) [Tue, 29 Aug 2017 11:43:14 +0000 (04:43 -0700)]
Fix a potential NPE

The code must verify if the policy has been found or not

Change-Id: I41343aec40643c29180c892996e4a65d0805193e
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoAdd Request ID in Common Logging 91/9091/1
Determe, Sebastien (sd378r) [Tue, 29 Aug 2017 11:40:12 +0000 (04:40 -0700)]
Add Request ID in Common Logging

Add the requestId method + align the others classes using that
+ Rework the Exceptions thrown and the Javadocs

Change-Id: I15bccf1d46ced15aa85d88287f05f1c14b6017fd
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoAdd 2 new methods getNodeValueByName 89/9089/1
Determe, Sebastien (sd378r) [Tue, 29 Aug 2017 11:32:22 +0000 (04:32 -0700)]
Add 2 new methods getNodeValueByName

Add those new methods for new coming features

Change-Id: I2dbdd8ea524b2eb93841642318a682950f5b7038
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoAdd missing the eventName 87/9087/1
Determe, Sebastien (sd378r) [Tue, 29 Aug 2017 11:29:11 +0000 (04:29 -0700)]
Add missing the eventName

Add a new field for AlarmCondition (EventName) + getter and setter

Change-Id: I825cc57ca65caa49de20cfcf4f8d6849f61de99e
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoRework the javadoc 85/9085/1
Determe, Sebastien (sd378r) [Tue, 29 Aug 2017 11:26:28 +0000 (04:26 -0700)]
Rework the javadoc

The javadoc was not correct for this file according to Checkstyle

Change-Id: I608774f32816f48ec86143888cf7bd9368aad1df
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoRework the format of this file 83/9083/1
Determe, Sebastien (sd378r) [Tue, 29 Aug 2017 11:25:26 +0000 (04:25 -0700)]
Rework the format of this file

The formatting was not correct and the imports were not sorted properly
(according to Checkstyle)

Change-Id: I4e0ddf8c2d493b41a335fd18070ccf285a43081d
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoFIx the POM for HTTPS param and jks file in test 81/9081/1
Determe, Sebastien (sd378r) [Tue, 29 Aug 2017 11:21:41 +0000 (04:21 -0700)]
FIx the POM for HTTPS param and jks file in test

There was an error for the HTTPS test because the keystore was filtered
by maven + remove some useless stuffs + add some execution ID as defined
in the oparent

Change-Id: I3a299bd9790ae2e3db8dca82722bad1ad4f8c284
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoFix the clds-reference json 79/9079/1
Determe, Sebastien (sd378r) [Tue, 29 Aug 2017 11:18:38 +0000 (04:18 -0700)]
Fix the clds-reference json

FIx a mistake in the JSON provided in clds-reference.properties
+ Align the header of clds-version.properties

Change-Id: I63905fa4a9fe3906c6ab9d4724928815dcb2cea1
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoAdd dynamic ports for HTTP/HTTPS 77/9077/1
Determe, Sebastien (sd378r) [Tue, 29 Aug 2017 11:12:52 +0000 (04:12 -0700)]
Add dynamic ports for HTTP/HTTPS

The ports can now be configured in the application.properties and
the both protocols can run at the same time (HTTP+HTTPS)

Change-Id: I57d1b5643df33da45af2f6798923d94bff1d560d
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoRename the CldsSecurityConfig 75/9075/1
Determe, Sebastien (sd378r) [Tue, 29 Aug 2017 10:54:36 +0000 (03:54 -0700)]
Rename the CldsSecurityConfig

This was unclear that this class was related to the Clds Users, so it
has to be renamed

Change-Id: Ia93bc24d4940a017274e55d06075f60954c75cc3
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoAttempt to fix SONAR result 61/8261/1
Determe, Sebastien (sd378r) [Tue, 22 Aug 2017 10:41:54 +0000 (03:41 -0700)]
Attempt to fix SONAR result

The oparent settings changes the files that clamp use for SONAR,
therefore the coverage is not correct

Change-Id: I18be2bbc1d8c6d33abf1b378f1c424d93d784a54
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoFixing some checkstyle issues. 95/7995/3
ChrisC [Fri, 18 Aug 2017 08:09:23 +0000 (01:09 -0700)]
Fixing some checkstyle issues.

Change-Id: I767ec548b9667e8104c485eaae287cbdf0383b07
Signed-off-by: ChrisC <cc697w@intl.att.com>
Issue-Id: CLAMP-43

6 years agoMerge "Code improvement"
Christophe Closset [Thu, 17 Aug 2017 14:46:20 +0000 (14:46 +0000)]
Merge "Code improvement"

6 years agoCode improvement 31/7831/5
xg353y [Thu, 17 Aug 2017 12:10:26 +0000 (14:10 +0200)]
Code improvement

Improve logging message; Introduce timeout for deploy/undeploy CL;
Update allowed actions for deploy/undeploy/update action.

Issue-id: CLAMP-43
Change-Id: Ic876e835447cc495d4ca42d9401ee4bd503d5db7
Signed-off-by: xg353y <xg353y@intl.att.com>
6 years agoFix clamp maxReconnects 11/7811/1
eh552t [Thu, 17 Aug 2017 10:10:40 +0000 (12:10 +0200)]
Fix clamp maxReconnects

Increase maxReconnects from default value 3 to 100

Change-Id: Iab8ee1e1a43f03a6442c051e11e44236c07ed6b9
Signed-off-by: eh552t <eh552t@intl.att.com>
Issue-Id: CLAMP-42

6 years agoFix docker profile default values 21/7321/1
JulienBe [Thu, 10 Aug 2017 16:35:07 +0000 (18:35 +0200)]
Fix docker profile default values

skip tag and skip push were not overridden

Change-Id: I8dc5c760010823ae2d931b6de4f5032fc14ad723
Issue-id: CLAMP-38
Signed-off-by: JulienBe <jb379x@att.com>