clamp.git
6 years agoAdd reference for better cross links 85/24985/1 amsterdam
Gildas Lanilis [Wed, 22 Nov 2017 19:09:27 +0000 (11:09 -0800)]
Add reference for better cross links

Add index index-clamp-installation for crosss reference

Issue-ID: DOC-203

Change-Id: I7f7555f829965982b31aa4baa549cc2709c7d02a
Signed-off-by: Gildas Lanilis <gildas.lanilis@huawei.com>
(cherry picked from commit 53f4973f159c8649a6d8a102fd82d82f5b01d2ba)

6 years agoFix Doc8 error 09/24409/1
Morgan Richomme [Wed, 8 Nov 2017 08:06:39 +0000 (09:06 +0100)]
Fix Doc8 error

JIRA: CLAMP-71

Change-Id: I073290ff655aa23b0d705f7e815b466bf82cb35d
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit f391c6ca9ee635c25f57f217e3280cb25e42ac9f)

6 years agoBump patch version 23/24123/1
Jessica Wagantall [Fri, 17 Nov 2017 08:04:42 +0000 (00:04 -0800)]
Bump patch version

Bump patch version in preparation for Amsterdam
branching.

Change-Id: Ia957ce649e9ed6eeaf9aa671b6c6af3cced16516
Issue-ID: CIMAN-120
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoFix Clamp crash 67/22567/1 1.0.0-Amsterdam 1.0.0-ONAP v1.1.0
Determe, Sebastien (sd378r) [Tue, 7 Nov 2017 16:58:12 +0000 (17:58 +0100)]
Fix Clamp crash

Fix clamp crash during database initialization due to CryptoUtils not
properly initialized.

Change-Id: Iff080c7ab482cda98eb9ec58f2648cfce877bb96
Issue-ID: CLAMP-70
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoMerge "Improve documentation"
Sébastien Determe [Tue, 7 Nov 2017 15:50:52 +0000 (15:50 +0000)]
Merge "Improve documentation"

6 years agoImprove documentation 27/22527/1
ChrisC [Tue, 7 Nov 2017 14:44:18 +0000 (06:44 -0800)]
Improve documentation

Add Release Note for Amsterdam and link to ONAP wiki

Change-Id: I87781f15cdea542741b43cec05536f8ce1b7d2db
Issue-Id: CLAMP-67
Signed-off-by: ChrisC <cc697w@intl.att.com>
6 years agoCorrect list of consumed API 83/22383/1
Eric Debeau [Mon, 6 Nov 2017 20:45:04 +0000 (20:45 +0000)]
Correct list of consumed API

Change-Id: I4ab224216413731a17a6badd785e6f86494b3cc0
ISSUE-ID: CLAMP-14
Signed-off-by: Eric Debeau <eric.debeau@orange.com>
6 years agoDisable camunda fo https test 91/22291/1
Determe, Sebastien (sd378r) [Mon, 6 Nov 2017 12:39:38 +0000 (13:39 +0100)]
Disable camunda fo https test

Disable camunda for the HTTP/HTTPS test

Change-Id: Ia33fe315670ac616562460d18f5041d4db49e048
Issue-ID: CLAMP-65
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoFix the blueprint for TCA 89/22189/1
Determe, Sebastien (sd378r) [Sun, 5 Nov 2017 22:30:26 +0000 (23:30 +0100)]
Fix the blueprint for TCA

FIx the blueprint for TCA, policy section removed + Locations changes to
DatacenterX

Change-Id: Ia438bbfaf1cdf25bdadb897c39b68934cf1f52a3
Issue-ID: CLAMP-66
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoFix DCAE connection issue 83/22183/1
Determe, Sebastien (sd378r) [Sun, 5 Nov 2017 19:46:52 +0000 (20:46 +0100)]
Fix DCAE connection issue

Code has been added to support http/https protocols for DCAE

Change-Id: Ib1259310b801a19cacd08c22292509156624ac9b
Issue-ID: CLAMP-65
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoUpdate the policyName send to Policy 37/22037/2
xg353y [Fri, 3 Nov 2017 15:16:16 +0000 (16:16 +0100)]
Update the policyName send to Policy

Change-Id: Ib8ef7feb2404b15f215a1a7967d3af7d6ac89da0
Issue-Id: CLAMP-62
Signed-off-by: xg353y <xg353y@intl.att.com>
6 years agoRework the Spring starting order 01/22001/1
xg353y [Fri, 3 Nov 2017 09:30:12 +0000 (10:30 +0100)]
Rework the Spring starting order

Change-Id: I30c930b0abc724a8da57657dfede940efa69aae0
Issue-ID: CLAMP-62
Signed-off-by: xg353y <xg353y@intl.att.com>
6 years agoUpdate the content send to Policy 95/21995/1
xg353y [Fri, 3 Nov 2017 09:30:12 +0000 (10:30 +0100)]
Update the content send to Policy

Adding tca_policy tag under content section, while sending configBody to
Policy.

Change-Id: I184d366b0cda24ff6b95c4e8c29d0a90bde7ba06
Issue-ID: CLAMP-62
Signed-off-by: xg353y <xg353y@intl.att.com>
6 years agoUpdate the version.properties 05/21905/1
Determe, Sebastien (sd378r) [Thu, 2 Nov 2017 15:40:59 +0000 (16:40 +0100)]
Update the version.properties

Update to 1.1.0 as it's used now by the jenkins build.

Change-Id: I4ea03f90b8cee8d180e4eab8b3ef82adb4a8582f
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoRevert snapshot to release 39/21439/1
Determe, Sebastien (sd378r) [Tue, 31 Oct 2017 09:42:32 +0000 (10:42 +0100)]
Revert snapshot to release

Revert back snapshot version to release, due to problem with nexus lf

Change-Id: I78f674e7513c728eba1e5aba64cf539c518f357c
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoAdd encryption for passwords 45/21345/1
Determe, Sebastien (sd378r) [Mon, 30 Oct 2017 17:50:37 +0000 (18:50 +0100)]
Add encryption for passwords

Add encrypted password on all values specified in the properties files,
unit tests have been reworked.

Change-Id: I619ff67fe1025f69af733b776f055914f949f26a
Issue-ID: CLAMP-64
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoMore secure XSLT 43/21343/1
Determe, Sebastien (sd378r) [Mon, 30 Oct 2017 17:49:26 +0000 (18:49 +0100)]
More secure XSLT

Add security to XSLT class as reported by Fortify

Change-Id: I90af6ad54aaf45a3d743638466f29492ca04841b
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoFix the build 41/21341/1
Determe, Sebastien (sd378r) [Mon, 30 Oct 2017 17:48:35 +0000 (18:48 +0100)]
Fix the build

Fix temporary the build with snapshot version of policy
as release versions are not available anymore

Change-Id: I3cf8e3bf8a7becd01be188f9b9e2d531eecccfad
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoAdd new class for DAO 39/21339/1
Determe, Sebastien (sd378r) [Mon, 30 Oct 2017 17:47:34 +0000 (18:47 +0100)]
Add new class for DAO

Add a new class to map differently the existing DB data and
check duplicates

Change-Id: I1eef75775a2d5a7bee82320171d04956b1e94412
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoRemove and change useless code 37/21337/1
Determe, Sebastien (sd378r) [Mon, 30 Oct 2017 17:43:27 +0000 (18:43 +0100)]
Remove and change useless code

Remove and change useless code in UI designer part.

Change-Id: I3a0d4b98bb5dfff380c50edccc9ca073c263a04d
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoRemove useless methods 35/21335/1
Determe, Sebastien (sd378r) [Mon, 30 Oct 2017 17:39:45 +0000 (18:39 +0100)]
Remove useless methods

Thos methods were not used in code or by users.

Change-Id: I2134b6bcd198d63b3dd6326fe7e8f83ecfcbd589
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoFix logger of camunda filter 33/21333/1
Determe, Sebastien (sd378r) [Mon, 30 Oct 2017 17:38:41 +0000 (18:38 +0100)]
Fix logger of camunda filter

The filter did not have the right logger set

Change-Id: I1d890346d7b4e7d4567a21eb200a57c4325da291
Issue-ID: CLAMP-64
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoNew datasource class 31/21331/1
Determe, Sebastien (sd378r) [Mon, 30 Oct 2017 17:25:54 +0000 (18:25 +0100)]
New datasource class

New datasource class that can handle encrypted password

Change-Id: Ia5c4517b5cc1817f86e2fb07baa732d8b9003148
Issue-ID: CLAMP-64
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoPolicy client fixes 29/21329/1
Determe, Sebastien (sd378r) [Mon, 30 Oct 2017 17:21:46 +0000 (18:21 +0100)]
Policy client fixes

Some fixes on policy, new exception, new params for BRMS.

Change-Id: Ia30bf68ec492c448249c1634f3790712a27631e4
Issue-ID: CLAMP-62
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoMerge "Fix the bad request issue for operational policy"
Sébastien Determe [Mon, 30 Oct 2017 10:29:31 +0000 (10:29 +0000)]
Merge "Fix the bad request issue for operational policy"

6 years agoFix the bad request issue for operational policy 55/21255/1
xg353y [Mon, 30 Oct 2017 09:09:26 +0000 (10:09 +0100)]
Fix the bad request issue for operational policy

Change-Id: Ie3275adf6ed549fe4a8488f84ca3ff5bd429069b
Signed-off-by: xg353y <xg353y@intl.att.com>
ISSUE-Id:CLAMP-62

6 years agoMerge "Update TCA config json send to Policy"
Sébastien Determe [Fri, 27 Oct 2017 08:44:28 +0000 (08:44 +0000)]
Merge "Update TCA config json send to Policy"

6 years agoUpdate TCA config json send to Policy 85/20785/2
xg353y [Tue, 24 Oct 2017 09:49:46 +0000 (11:49 +0200)]
Update TCA config json send to Policy

Update the format of the TCA configuration send to Policy

Issue-ID: CLAMP-62
Change-Id: I53cbfcb1f8f8772856b645e8aec0db2a8a94d15e
Signed-off-by: xg353y <xg353y@intl.att.com>
6 years agoMerge "Add architecture and release notes structure"
Sébastien Determe [Wed, 25 Oct 2017 09:30:29 +0000 (09:30 +0000)]
Merge "Add architecture and release notes structure"

6 years agoMerge "Remove datatable lib"
Sébastien Determe [Tue, 24 Oct 2017 13:18:32 +0000 (13:18 +0000)]
Merge "Remove datatable lib"

6 years agoAdd architecture and release notes structure 55/20355/1
Rich Bennett [Tue, 24 Oct 2017 12:26:42 +0000 (08:26 -0400)]
Add architecture and release notes structure

Add release-notes template
Move Clamp in ONAP Architecture description a separate file
Add seperator lines on list items

Issue-ID: DOC-110
Change-Id: Ibe803f4de3d4641b54ff4c2df54c5c3af62e4afc
Signed-off-by: Rich Bennett <rb2745@att.com>
6 years agoRemove datatable lib 49/20349/1
Determe, Sebastien (sd378r) [Tue, 24 Oct 2017 12:13:25 +0000 (14:13 +0200)]
Remove datatable lib

Remove datatable lib and its associated designer UI code

Change-Id: I328bad242d478a43e3b77716491aa921ade37a64
Issue-ID: CLAMP-63
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoCorrections to pass doc8 and minor corrections 39/19939/1
Eric Debeau [Fri, 20 Oct 2017 20:21:57 +0000 (20:21 +0000)]
Corrections to pass doc8 and minor corrections

Change-Id: I4ee1613a446ca02b9dc94506f5cf455dd161beb0
Issue-ID: DOC-94
Signed-off-by: Eric Debeau <eric.debeau@orange.com>
6 years agoAdd config folder to be able to change config 31/19231/1
eh552t [Tue, 17 Oct 2017 09:08:02 +0000 (11:08 +0200)]
Add config folder to be able to change config

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

6 years agoAdd Policy dependency 21/19221/1
xg353y [Tue, 17 Oct 2017 08:39:38 +0000 (10:39 +0200)]
Add Policy dependency

Add policy deppendency to solve NoClassFoundException issue.

Issue-ID:CLAMP-61
Change-Id: Iaf20852aff0313d3f503773468222113888940e9
Signed-off-by: xg353y <xg353y@intl.att.com>
6 years agoMerge "Update the TCA blueprint format"
Eddy Hautot [Thu, 12 Oct 2017 09:44:41 +0000 (09:44 +0000)]
Merge "Update the TCA blueprint format"

6 years agoMerge "Inverted patch commited"
Christophe Closset [Thu, 12 Oct 2017 07:43:01 +0000 (07:43 +0000)]
Merge "Inverted patch commited"

6 years agoUpdate the TCA blueprint format 67/18267/2
xg353y [Tue, 10 Oct 2017 13:45:46 +0000 (15:45 +0200)]
Update the TCA blueprint format

Change-Id: Ib5b6fe1b46a509bea6c40ebc8ec9058990e5f64d
Signed-off-by: xg353y <xg353y@intl.att.com>
Issue-ID: CLAMP-59

6 years agoDocumentation update 69/18269/1
martial [Wed, 11 Oct 2017 11:49:07 +0000 (13:49 +0200)]
Documentation update

Change-Id: I74f093304ebfc5f0c77bd880eefd6cfc63c654f7
Signed-off-by: martial <gn422w@intl.att.com>
Issue-ID: CLAMP-16

6 years agoInverted patch commited 53/17653/1
Anaël Closson [Mon, 9 Oct 2017 12:01:27 +0000 (14:01 +0200)]
Inverted patch commited

The previous patch on this file has been commited
with a not up to date codebase and previously made
changes were overwritten.

Change-Id: I0731a4a228e8bbdff46c09dee757d076eebcc799
Issue-ID: CLAMP-54
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
6 years agoFix the bad test 81/17481/1
Determe, Sebastien (sd378r) [Fri, 6 Oct 2017 15:46:08 +0000 (17:46 +0200)]
Fix the bad test

This test fails when pnfType is set in the yaml

Change-Id: I7ec3996ca0bbf40334063011d9d745155b1ba6e8
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoRemove useless method 41/17441/1
Determe, Sebastien (sd378r) [Fri, 6 Oct 2017 12:12:55 +0000 (14:12 +0200)]
Remove useless method

This method was private and not used so it has been removed

Change-Id: I8d4799dfd499fcc6b046ff59b449d79abd28dc40
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoRestoring try catch for policy request 39/17439/1
Determe, Sebastien (sd378r) [Fri, 6 Oct 2017 12:11:34 +0000 (14:11 +0200)]
Restoring try catch for policy request

This exception log was not useful so it has been removed and replaced
by an easier log to understand

Change-Id: Ie25426d3b8b44b55a3fd2dd3807620d98fad5bbf
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoFixing typo in parameter names 37/17437/1
Determe, Sebastien (sd378r) [Fri, 6 Oct 2017 12:10:28 +0000 (14:10 +0200)]
Fixing typo in parameter names

Fix formated to formatted parameter names

Change-Id: I01e78b99eabea8b098d9c9dfca9f77116e0dd62a
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoIncrease the test portability 35/17435/1
Determe, Sebastien (sd378r) [Fri, 6 Oct 2017 12:09:17 +0000 (14:09 +0200)]
Increase the test portability

This test was testing the class name provided in the yaml,
if it changes the test is dead. So it's more generic now

Change-Id: I72ba7ac087da137b0e43628c99b5d92a1696078a
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoRemove useless code 33/17433/1
Determe, Sebastien (sd378r) [Fri, 6 Oct 2017 12:07:37 +0000 (14:07 +0200)]
Remove useless code

This code was always returning an empty map so it has been removed

Change-Id: I7691d2a52b2ea50d4cb8586b2e66b6ecfdd6fe13
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoSet Cache Timeout to 30 31/17431/1
Determe, Sebastien (sd378r) [Fri, 6 Oct 2017 12:06:53 +0000 (14:06 +0200)]
Set Cache Timeout to 30

Reduce the expiration timeout of the sdc model cache to 30

Change-Id: If44852f807bd65e5494a95d64e90985967e55eef
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoRemove useless method 29/17429/1
Determe, Sebastien (sd378r) [Fri, 6 Oct 2017 12:05:10 +0000 (14:05 +0200)]
Remove useless method

One method one private and not used anymore in the code so it
has been removed

Change-Id: Id6754eb446a781b691184ace07a68ce26c8ed684
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoUpdate Holmes related feature 11/17411/3
xg353y [Thu, 5 Oct 2017 16:04:24 +0000 (18:04 +0200)]
Update Holmes related feature

No blueprint need to be send to SDC; Add configuration policy name in
holmes UI; Update the config body sent to Policy.

Change-Id: I4bf5b0c32d64f4acf28ac6f24128e463e28e5779
Signed-off-by: xg353y <xg353y@intl.att.com>
Issue-ID: CLAMP-27

6 years agoMerge "Remove useless plugin"
Sébastien Determe [Fri, 29 Sep 2017 11:34:14 +0000 (11:34 +0000)]
Merge "Remove useless plugin"

6 years agoRemove useless plugin 19/16619/1
Determe, Sebastien (sd378r) [Fri, 29 Sep 2017 11:31:14 +0000 (13:31 +0200)]
Remove useless plugin

Remove the gpg plugin in main pom as not used at all

Change-Id: Ic86cb285012da0cdbceca78c4750a5365e9fc6a0
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoMerge "Removed redundant code"
Sébastien Determe [Fri, 29 Sep 2017 07:05:06 +0000 (07:05 +0000)]
Merge "Removed redundant code"

6 years agoMerge "Fixed major sonar issues"
Sébastien Determe [Fri, 29 Sep 2017 07:00:41 +0000 (07:00 +0000)]
Merge "Fixed major sonar issues"

6 years agoMerge "Removal of useless test"
Sébastien Determe [Thu, 28 Sep 2017 16:07:02 +0000 (16:07 +0000)]
Merge "Removal of useless test"

6 years agoMerge "Change SDC address to openecomp"
Sébastien Determe [Thu, 28 Sep 2017 16:06:35 +0000 (16:06 +0000)]
Merge "Change SDC address to openecomp"

6 years agoMerge "Fix the Checkstyle issues"
Sébastien Determe [Thu, 28 Sep 2017 16:06:31 +0000 (16:06 +0000)]
Merge "Fix the Checkstyle issues"

6 years agoRemoval of useless test 51/16451/1
Determe, Sebastien (sd378r) [Thu, 28 Sep 2017 16:03:27 +0000 (18:03 +0200)]
Removal of useless test

This file is deleted as not used at all

Change-Id: I257c7410d5864890ed4d0258baa90f3061e294b6
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoChange SDC address to openecomp 49/16449/1
Determe, Sebastien (sd378r) [Thu, 28 Sep 2017 16:00:03 +0000 (18:00 +0200)]
Change SDC address to openecomp

Change SDC address to openecomp one as required for integration tests

Change-Id: Ib8661f0755df6af5b07fc0f693ee5e6f2dc61d11
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoMerge "TCA Window initialization not possible anymore"
Sébastien Determe [Thu, 28 Sep 2017 15:54:14 +0000 (15:54 +0000)]
Merge "TCA Window initialization not possible anymore"

6 years agoFix the Checkstyle issues 47/16447/1
Determe, Sebastien (sd378r) [Thu, 28 Sep 2017 15:52:30 +0000 (17:52 +0200)]
Fix the Checkstyle issues

Fix all checkstyle issues in all unit tests + rename all IT
and remove useless tests

Change-Id: I8d1244c26d4d2ca490ba8ffcf2236f484c783394
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoTCA Window initialization not possible anymore 43/16443/1
Anaël Closson [Thu, 28 Sep 2017 15:44:45 +0000 (17:44 +0200)]
TCA Window initialization not possible anymore

Change-Id: I56750cebf5345f89eb11158c0cbd6325d83a283e
Issue-ID: CLAMP-58
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
6 years agoMerge "Set localhost in config"
Sébastien Determe [Thu, 28 Sep 2017 15:25:34 +0000 (15:25 +0000)]
Merge "Set localhost in config"

6 years agoSet localhost in config 35/16435/1
Determe, Sebastien (sd378r) [Thu, 28 Sep 2017 15:23:59 +0000 (17:23 +0200)]
Set localhost in config

Set to localhost in clds config file

Change-Id: Ic8595e0fcfd7a4481464b1facc8bcb4cbeac92fb
Issue-ID: CLAMP-59
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoMerge "Fix spelling mistakes"
Sébastien Determe [Thu, 28 Sep 2017 14:45:46 +0000 (14:45 +0000)]
Merge "Fix spelling mistakes"

6 years agoMerge "Change the model to fix TCA"
Sébastien Determe [Thu, 28 Sep 2017 14:39:37 +0000 (14:39 +0000)]
Merge "Change the model to fix TCA"

6 years agoMerge "new method for policy client"
Sébastien Determe [Thu, 28 Sep 2017 14:38:49 +0000 (14:38 +0000)]
Merge "new method for policy client"

6 years agoMerge "Fix the a log in Model Properties"
Sébastien Determe [Thu, 28 Sep 2017 14:38:32 +0000 (14:38 +0000)]
Merge "Fix the a log in Model Properties"

6 years agoMerge "Removal of useless tests"
Sébastien Determe [Thu, 28 Sep 2017 14:37:27 +0000 (14:37 +0000)]
Merge "Removal of useless tests"

6 years agoMerge "Add an exception for new class TcaRequestFormatter"
Sébastien Determe [Thu, 28 Sep 2017 14:30:52 +0000 (14:30 +0000)]
Merge "Add an exception for new class TcaRequestFormatter"

6 years agoMerge "New Files added for future unit tests"
Sébastien Determe [Thu, 28 Sep 2017 14:30:36 +0000 (14:30 +0000)]
Merge "New Files added for future unit tests"

6 years agoFix spelling mistakes 29/16429/1
Determe, Sebastien (sd378r) [Thu, 28 Sep 2017 14:11:11 +0000 (16:11 +0200)]
Fix spelling mistakes

Spelling mistakes fixed with formater word

Change-Id: I2e5e44e3de6ac1c8f2a5a6aee0ec7ec713cf139f
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoChange the model to fix TCA 17/16417/1
Determe, Sebastien (sd378r) [Thu, 28 Sep 2017 13:40:15 +0000 (15:40 +0200)]
Change the model to fix TCA

Fix TCA model and JSON model for TCA + rework the JUNIT

Change-Id: I35099633e89f9f95f1957afeffa915feda4045f3
Issue-ID: CLAMP-59
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agonew method for policy client 15/16415/1
Determe, Sebastien (sd378r) [Thu, 28 Sep 2017 13:38:33 +0000 (15:38 +0200)]
new method for policy client

A new method to send JSON in other type to policy

Change-Id: I24b2d36464fa3c9786007ea3772c6a2c4b7c7b66
Issue-ID: CLAMP-59
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoFix the a log in Model Properties 13/16413/1
Determe, Sebastien (sd378r) [Thu, 28 Sep 2017 13:33:45 +0000 (15:33 +0200)]
Fix the a log in Model Properties

One of the log did not contain the stacktrace for Model properties

Change-Id: I5f269bb1744343ef9646cf818babfd77ea237b76
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoRemoval of useless tests 11/16411/1
Determe, Sebastien (sd378r) [Thu, 28 Sep 2017 13:29:43 +0000 (15:29 +0200)]
Removal of useless tests

These IT are not useful anymore as covered by others test classes

Change-Id: I6691c944f3ec98d4685229ce4758ba79c6bfa0ae
Issue-ID: CLAMP-59
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoAdd an exception for new class TcaRequestFormatter 09/16409/1
Determe, Sebastien (sd378r) [Thu, 28 Sep 2017 13:28:44 +0000 (15:28 +0200)]
Add an exception for new class TcaRequestFormatter

This new exception will be used in a new class that will manage TCA

Change-Id: I4ae2c33929c81a141b59dabe6e2d1db371cfc188
Issue-ID: CLAMP-59
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoNew Files added for future unit tests 07/16407/1
Determe, Sebastien (sd378r) [Thu, 28 Sep 2017 13:25:59 +0000 (15:25 +0200)]
New Files added for future unit tests

New files that will uses by new junit on TCA code

Change-Id: Icfd991da3210cc2a9534815ec5d1671fcd72a0d8
Issue-ID: CLAMP-59
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoFix fields corruption on save 25/16325/1
Anaël Closson [Thu, 28 Sep 2017 09:45:36 +0000 (11:45 +0200)]
Fix fields corruption on save

Change-Id: I02c8fe662698ce943ce3eed8cd1e0b78b1311cc8
Issue-ID: CLAMP-58
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
6 years agoFix fields not restored on tca open 83/15983/2
Anaël Closson [Wed, 27 Sep 2017 12:41:12 +0000 (14:41 +0200)]
Fix fields not restored on tca open

Change-Id: I18bb36d7df0aa982f941c9153a86ab17a48f4295
Issue-ID: CLAMP-58
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
6 years agoRemove debugger + fix missing info 81/15981/2
Anaël Closson [Wed, 27 Sep 2017 11:59:33 +0000 (13:59 +0200)]
Remove debugger + fix missing info

Change-Id: Ic6e016eef81fbad70d3ac61c435cd47feb23cf3b
Issue-ID: CLAMP-58
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
6 years agoFixed major sonar issues 45/16245/2
shashikanth [Thu, 28 Sep 2017 06:59:16 +0000 (12:29 +0530)]
Fixed major sonar issues

Fix major sonar issues in clamp module
https://sonar.onap.org/component_issues?id=org.onap.clamp%3Aclds#resolved=false|severities=MAJOR|rules=squid%3AS1132%2Csquid%3AS1858

"get" returns a string, there's no need to call "toString()".

Issue-Id:CLAMP-54
Change-Id: I36cadab8e60122e1b4e244768d345cf04568d134
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
6 years agoMore flexible styling + fix cannot save tca 79/15979/2
Anaël Closson [Wed, 27 Sep 2017 10:30:08 +0000 (12:30 +0200)]
More flexible styling + fix cannot save tca

Change-Id: Ice937ce4a56218981976e6ad777b3e4e71963680
Issue-ID: CLAMP-58
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
6 years agoRemove tab header 77/15977/2
Anaël Closson [Wed, 27 Sep 2017 09:17:21 +0000 (11:17 +0200)]
Remove tab header

Change-Id: I6c0fd3e46b3e7062521b0274cadae620719f0d4b
Issue-ID: CLAMP-58
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
6 years agoRemoved redundant code 43/16243/2
shashikanth [Thu, 28 Sep 2017 06:41:21 +0000 (12:11 +0530)]
Removed redundant code

Fix major sonar issues in clamp module
https://sonar.onap.org/component_issues?id=org.onap.clamp%3Aclds#resolved=false|severities=MAJOR|rules=squid%3AS1132%2Csquid%3AS1858

Move the "csv" string literal on the left side of this string comparison.

Issue-Id:CLAMP-54
Change-Id: If24d56fd5f539718e12241d4c1d4d83d8a079c0e
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
6 years agoCode Improvement 73/15973/4
xg353y [Wed, 27 Sep 2017 11:21:21 +0000 (13:21 +0200)]
Code Improvement

Change-Id: I703aabf234cb656b1faea3b5c0776d034d8ec807
Signed-off-by: xg353y <xg353y@intl.att.com>
Issue-ID: CLAMP-54

6 years agoRestore version to SNAPSHOT 79/14979/1
Determe, Sebastien (sd378r) [Mon, 25 Sep 2017 08:49:40 +0000 (10:49 +0200)]
Restore version to SNAPSHOT

The version has been changed to 1.1.0 and should be 1.1.0-SNAPSHOT

Change-Id: I268f050c381a8ae884f0c5615e78288be0390329
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoFix bug at runtime 71/14671/1
Determe, Sebastien (sd378r) [Fri, 22 Sep 2017 16:13:26 +0000 (18:13 +0200)]
Fix bug at runtime

There was a missing class due to policy dependency changed

Change-Id: Id8d85a8925c1ac2164528333672a552cb55ca5ca
Issue-ID: CLAMP-48
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoRework the indentation 53/14653/1
Determe, Sebastien (sd378r) [Fri, 22 Sep 2017 15:28:44 +0000 (17:28 +0200)]
Rework the indentation

Remove the tabs and replace by Spaces

Change-Id: Id9e1e5e434789ec7ebf5ba0d3e25a8ccf9765852
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoRemove the Policy Dep Snapshot 41/14641/2
Determe, Sebastien (sd378r) [Fri, 22 Sep 2017 14:52:51 +0000 (16:52 +0200)]
Remove the Policy Dep Snapshot

The policy dependencies have been changed to refer to
non snapshot packages. Some java packages have been updated too.

Change-Id: Id70a0247b859368c642a73fa59bbda93bf9904ae
Issue-ID: CLAMP-55
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
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"