clamp.git
5 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"

5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 years agoAdded more unit tests to reach the minimum threshold of 65 % coverage 20/86120/1
p.borelowski [Wed, 24 Apr 2019 07:19:53 +0000 (09:19 +0200)]
Added more unit tests to reach the minimum threshold of 65 % coverage

Added unit tests for the class TcaPolicyDeleteDelegate

Change-Id: Iadd6e6f0600f3400f29ad21d7b84da09945b36cc
Issue-ID: CLAMP-355
Signed-off-by: p.borelowski <p.borelowski@partner.samsung.com>
5 years agoFixed various sonar identified code smells 72/85772/2
p.borelowski [Thu, 18 Apr 2019 13:11:53 +0000 (15:11 +0200)]
Fixed various sonar identified code smells

- introduced a few String constants,
- removed unused code,
- added @FunctionalInterface annotation,
- made most fields private (when possible)

Change-Id: If8c523125de6a5e5c756e18bd04efd548b19ba91
Issue-ID: CLAMP-346
Signed-off-by: p.borelowski <p.borelowski@partner.samsung.com>
5 years agoMerge "Fix logging issues"
Sébastien Determe [Tue, 23 Apr 2019 11:29:15 +0000 (11:29 +0000)]
Merge "Fix logging issues"

5 years agoMerge "Update tosca lib"
Xue Gao [Tue, 23 Apr 2019 09:24:27 +0000 (09:24 +0000)]
Merge "Update tosca lib"

5 years agoFix logging issues 11/85811/4
xg353y [Fri, 19 Apr 2019 11:55:40 +0000 (13:55 +0200)]
Fix logging issues

Fix the logging issues created by the api defined by camel. Adding the
entering/exiting and invoking/invoking return logs as based on the ONAP
Logging Requirement.

Issue-ID: CLAMP-351
Change-Id: I5cb314ade5a716993206a917dfdbdab3f2572b3a
Signed-off-by: xg353y <xg353y@intl.att.com>
5 years agoMerge "Fixed generic Sonar issue in the clamp project Remove duplicated literal in...
Sébastien Determe [Tue, 23 Apr 2019 09:21:36 +0000 (09:21 +0000)]
Merge "Fixed generic Sonar issue in the clamp project Remove duplicated literal in DefaultUserConfiguration"

5 years agoMerge "Replacing the VFC with VFModule"
Sébastien Determe [Tue, 23 Apr 2019 09:16:11 +0000 (09:16 +0000)]
Merge "Replacing the VFC with VFModule"

5 years agoUpdate tosca lib 31/86031/1
sebdet [Tue, 23 Apr 2019 09:09:54 +0000 (11:09 +0200)]
Update tosca lib

Update tosca lib to 1.5.1 in order to have the fix for policy model

Issue-ID: CLAMP-352
Change-Id: Id72d54eed2afabcf45ae95866927f398659f7967
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
5 years agoFixed generic Sonar issue in the clamp project 26/86026/3
m.kowalski3 [Tue, 23 Apr 2019 07:23:41 +0000 (09:23 +0200)]
Fixed generic Sonar issue in the clamp project
Remove duplicated literal in DefaultUserConfiguration

Change-Id: I8318b568d4dd093e9a57a30341ce607c6668c5d1
Issue-ID: CLAMP-346
Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com>
5 years agoMerge "Fixed generic Sonar issue in the clamp project"
Sébastien Determe [Tue, 23 Apr 2019 08:24:54 +0000 (08:24 +0000)]
Merge "Fixed generic Sonar issue in the clamp project"

5 years agoMerge "Fixed Sonar issues in the onap.clamp.clds.client packages"
Sébastien Determe [Tue, 23 Apr 2019 08:14:12 +0000 (08:14 +0000)]
Merge "Fixed Sonar issues in the onap.clamp.clds.client packages"

5 years agoFix Checkstyle issues 27/85927/1
Vidyashree Rama [Mon, 22 Apr 2019 04:10:50 +0000 (09:40 +0530)]
Fix Checkstyle issues

Fix Checkstyle issues

Issue-ID: CLAMP-328

Change-Id: Ic03e0a00094a5de8b592ecd3ce3b9ae0ecdb59f8
Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
5 years agoReplacing the VFC with VFModule 18/85818/1
ThamlurRaju [Fri, 19 Apr 2019 14:11:09 +0000 (19:41 +0530)]
Replacing the VFC with VFModule

GUI modifications for operation policy

Change-Id: I21fd7bc499ba799a0b8436b1946733608d9c62e2
Issue-ID: CLAMP-350
Signed-off-by: ThamlurRaju <TR00568434@TechMahindra.com>
5 years agoFixed generic Sonar issue in the clamp project 81/85681/4
k.kedron [Thu, 18 Apr 2019 11:42:40 +0000 (13:42 +0200)]
Fixed generic Sonar issue in the clamp project

Fixed Sonar issue:
- name convection for static field in AuthorizationController
- optimize condition flow in AuthorizationController
- remove not used import in BlueprintParserMappingConfiguration
- remove not used field in AuthorizationController, SdcControllersConfiguration, CldsService
- add private constructor to the AwtUtils
- change redundant EnableAutoConfiguration annotation to SpringBootApplication annotation
- remove duplications of code in the CldsDao

Change-Id: I49d8be9ec44b5930f76bace0fc9d8cf61ee000f5
Issue-ID: CLAMP-346
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
5 years agoMerge "Fix Checkstyle issues"
Xue Gao [Fri, 19 Apr 2019 11:35:55 +0000 (11:35 +0000)]
Merge "Fix Checkstyle issues"

5 years agoMerge "Improve test coverage in TcaRequestFormatter"
Xue Gao [Fri, 19 Apr 2019 07:49:10 +0000 (07:49 +0000)]
Merge "Improve test coverage in TcaRequestFormatter"

5 years agoFix Checkstyle issues 51/85551/2
Vidyashree Rama [Wed, 17 Apr 2019 09:37:29 +0000 (15:07 +0530)]
Fix Checkstyle issues

Fix Checkstyle issues

Change-Id: I67fa832cc1ac3e4992837a8022bb7673ab81913d
Issue-ID: CLAMP-328
Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
5 years agoImprove test coverage in TcaRequestFormatter 82/85682/2
m.kowalski3 [Thu, 18 Apr 2019 11:45:08 +0000 (13:45 +0200)]
Improve test coverage in TcaRequestFormatter

Issue-ID: CLAMP-349
Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com>
Change-Id: I617261a1a71f0a0007286be9cf09024c71419c68

5 years agoRemoved unused fields from AbstractModelElement 65/85665/1
p.borelowski [Thu, 18 Apr 2019 07:28:01 +0000 (09:28 +0200)]
Removed unused fields from AbstractModelElement

Removed 3 unused private fields from the class
org.onap.clamp.clds.model.properties.AbstractModelElement
along with the following changes within 4 other classes and 1 test class

Change-Id: Id4cc30964ca5478add446601f642c6c0ed190ab7
Issue-ID: CLAMP-347
Signed-off-by: p.borelowski <p.borelowski@partner.samsung.com>
5 years agoMerge "Removed unused code from GuardPolicyDelegate and GuardPolicyDeleteDelegate"
Xue Gao [Wed, 17 Apr 2019 12:53:13 +0000 (12:53 +0000)]
Merge "Removed unused code from GuardPolicyDelegate and GuardPolicyDeleteDelegate"

5 years agoFixed Sonar issues in the onap.clamp.clds.client packages 65/85565/1
k.kedron [Wed, 17 Apr 2019 12:20:01 +0000 (14:20 +0200)]
Fixed Sonar issues in the onap.clamp.clds.client packages

Fixed Sonar issues:
 - change the HasMap to more optimized(in this case) EnumMap in GuardPolicyAttributesConstructor
 - remove no necessary casting in the TcaRequestFormatter
 - remove not used value in the DcaeDispatcherServices
Additionally correct javadoc in PolicyClient.

Change-Id: I6435fe093248073fee9749366e98d5720a8fe375
Issue-ID: CLAMP-346
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
5 years agoRemoved unused code from GuardPolicyDelegate and GuardPolicyDeleteDelegate 63/85563/2
p.borelowski [Wed, 17 Apr 2019 11:37:07 +0000 (13:37 +0200)]
Removed unused code from GuardPolicyDelegate and GuardPolicyDeleteDelegate

Removed unused code from GuardPolicyDelegate
and GuardPolicyDeleteDelegate according to Sonar

Change-Id: I9a58765b4bcf7015b0ca2e3b1dce272358657052
Issue-ID: CLAMP-345
Signed-off-by: p.borelowski <p.borelowski@partner.samsung.com>
5 years agoFixed Sonar vulnerabilities in CldsDao 80/85480/2
k.kedron [Tue, 16 Apr 2019 14:34:26 +0000 (16:34 +0200)]
Fixed Sonar vulnerabilities in CldsDao

Fixed Sonar vulnerabilities in CldsDao:
- used StringBuilder instead of String concatenation to build the query

Change-Id: Idc5fb50eae240352edd93329398eca0ef1b3d1f8
Issue-ID: CLAMP-344
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
5 years agoMerge "Removed code duplication in PolicyClient"
Xue Gao [Tue, 16 Apr 2019 11:44:11 +0000 (11:44 +0000)]
Merge "Removed code duplication in PolicyClient"

5 years agoRemoved code duplication in PolicyClient 31/85431/1
k.kedron [Tue, 16 Apr 2019 08:53:44 +0000 (10:53 +0200)]
Removed code duplication in PolicyClient

Removed code duplication in PolicyClient according to Sonar analysis

Change-Id: I7fd7bdee228eb80661a8416ffc0aab0b2e8c7e04
Issue-ID: CLAMP-343
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
5 years agoFix Checkstyle issues 12/85412/2
Vidyashree Rama [Tue, 16 Apr 2019 05:22:51 +0000 (10:52 +0530)]
Fix Checkstyle issues

Fix Checkstyle issues

Issue-ID: CLAMP-328

Change-Id: Idecd87abbf3765a7e77e2219df1063e732bb04b0
Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
5 years agoFix PolicyID for DCAE 86/85086/1
sebdet [Thu, 11 Apr 2019 16:02:53 +0000 (18:02 +0200)]
Fix PolicyID for DCAE

Replace PolicyID by the real microservice policy name as it's known in
the csar installer code

Issue-ID: CLAMP-304
Change-Id: Ifbd1796cb52b6271218fe63927af32ec392ed81a
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
5 years agoAdd Start/stop routes 84/85084/1
sebdet [Thu, 11 Apr 2019 15:58:36 +0000 (17:58 +0200)]
Add Start/stop routes

Add Start/stop routes for policy control, it's obviously working the PDP
group

Issue-ID: CLAMP-303
Change-Id: I16cafa46ee39b6114af9b36f7382b7c2401edaf1
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
5 years agoAdd Log in UI 83/85083/1
sebdet [Thu, 11 Apr 2019 15:55:47 +0000 (17:55 +0200)]
Add Log in UI

Add log in UI from Loop logs table so that user see what has been done

Issue-ID: CLAMP-313
Change-Id: I673a46e7b867852179b32d163241de67b300b07c
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
5 years agoAdd pdp group 69/84969/1
sebdet [Thu, 11 Apr 2019 00:07:44 +0000 (02:07 +0200)]
Add pdp group

Add pdp group code to add/remove policies from active PDP group

Issue-ID: CLAMP-303
Change-Id: I3fcffd229bc7703231b813948aac14ce63437127
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
5 years agoAdd Loop name 68/84968/1
sebdet [Thu, 11 Apr 2019 00:05:56 +0000 (02:05 +0200)]
Add Loop name

Add Loop name in UI + removal of useless javascript code

Issue-ID: CLAMP-313
Change-Id: Iba72f3bfcf2a0bf2731120c77b17f41ed7ac77f6
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
5 years agoMerge changes I8c744a32,Id357ac37,I7df87e14,I2abd173c,Ie53b1dfd
Eddy Hautot [Wed, 10 Apr 2019 15:57:33 +0000 (15:57 +0000)]
Merge changes I8c744a32,Id357ac37,I7df87e14,I2abd173c,Ie53b1dfd

* changes:
  Add timeout + Creds
  Remove SQL Dump
  Add delete support
  Rework Gson in Camel
  PDP Group support

5 years agoAdd timeout + Creds 79/84879/1
sebdet [Wed, 10 Apr 2019 13:29:16 +0000 (15:29 +0200)]
Add timeout + Creds

Add Creds and timeout to queries done to policy Engine in CAMEL routes

Issue-ID: CLAMP-303
Change-Id: I8c744a3272e139e5968751bcece7c53612c23904
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
5 years agoRemove SQL Dump 77/84877/1
sebdet [Wed, 10 Apr 2019 13:27:46 +0000 (15:27 +0200)]
Remove SQL Dump

Remove SQL dump in logs done by hibernate

Issue-ID: CLAMP-254
Change-Id: Id357ac37dfa475a9774d0b2c3b5f254c84caa9d7
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
5 years agoAdd delete support 61/84861/1
sebdet [Wed, 10 Apr 2019 12:07:35 +0000 (14:07 +0200)]
Add delete support

Move delete code to Camel way so that it's more flexible + introduce
removal of the loop + test

Issue-ID: CLAMP-315
Change-Id: I7df87e1441d4511ad6b42d0d269c3b2c8c7d8eef
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
5 years agoRework Gson in Camel 48/84848/1
sebdet [Wed, 10 Apr 2019 10:39:53 +0000 (12:39 +0200)]
Rework Gson in Camel

Create new Camel DataFormat class to handle the Clamp JSon model
specific type

Issue-ID: CLAMP-303
Change-Id: I2abd173c7d2a96a03d333a8def4307bc3cf082d7
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
5 years agoPDP Group support 19/84719/1
sebdet [Tue, 9 Apr 2019 16:10:32 +0000 (18:10 +0200)]
PDP Group support

Add support to push all policies to pdp group + log

Issue-ID: CLAMP-303
Change-Id: Ie53b1dfd11ef8db9c2b5ccca0511e6f6343fb70a
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
5 years agoMerge "update certificate"
Gervais-Martial Ngueko [Tue, 9 Apr 2019 12:40:41 +0000 (12:40 +0000)]
Merge "update certificate"

5 years agoMerge changes I6f714a87,If69e3ebb,Iad23cd23
Eddy Hautot [Tue, 9 Apr 2019 11:48:33 +0000 (11:48 +0000)]
Merge changes I6f714a87,If69e3ebb,Iad23cd23

* changes:
  Fix guard payload
  Add logs
  Remove the license issue

5 years agoupdate certificate 66/84666/1
osgn422w [Tue, 9 Apr 2019 11:32:43 +0000 (13:32 +0200)]
update certificate

update expiring AAF certificates

Issue-ID: CLAMP-335

Change-Id: I99200cc1851ad9768ff01f008525633f9800c76f
Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
5 years agoFix guard payload 61/84661/1
sebdet [Tue, 9 Apr 2019 11:09:37 +0000 (13:09 +0200)]
Fix guard payload

Fix guard payload nullpointerException when guard list is empty or null

Issue-ID: CLAMP-303
Change-Id: I6f714a877036cbc531dd35505202dde227cc224a
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
5 years agoAdd logs 60/84660/1
sebdet [Tue, 9 Apr 2019 11:08:10 +0000 (13:08 +0200)]
Add logs

Add logs entries in loop database so that we can track what is going on

Issue-ID: CLAMP-303
Change-Id: If69e3ebbb9f96e4bc3a95b06e61eaa301bd32007
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
5 years agoRemove the license issue 40/84640/1
sebdet [Tue, 9 Apr 2019 09:16:42 +0000 (11:16 +0200)]
Remove the license issue

Remove license issue in csar that was generated by SDC

Issue-ID: CLAMP-338
Change-Id: Iad23cd23b7c5ad79d2443188f461614b169f8d85
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
5 years agoMerge changes Idfa005ff,If9033cfa,I8921cf0d
Eddy Hautot [Tue, 9 Apr 2019 08:15:17 +0000 (08:15 +0000)]
Merge changes Idfa005ff,If9033cfa,I8921cf0d

* changes:
  Update sql files
  Create submit route
  Fix tomcat issue

5 years agoUpdate sql files 27/84627/1
sebdet [Tue, 9 Apr 2019 08:11:55 +0000 (10:11 +0200)]
Update sql files

Update sql files to provision the new database and new loop model

Issue-ID: CLAMP-276
Change-Id: Idfa005ff5eb431abea02a0ceea6c6a65f57b3f29
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
5 years agoMerge "Update cadi to 2.1.10 and updated keystore"
Sébastien Determe [Mon, 8 Apr 2019 16:34:27 +0000 (16:34 +0000)]
Merge "Update cadi to 2.1.10 and updated keystore"

5 years agoCreate submit route 45/84545/1
sebdet [Mon, 8 Apr 2019 16:32:26 +0000 (18:32 +0200)]
Create submit route

Create required components for Submit route in camel + unit tests +
Policy payload generation + emulator feature for new policy api

Issue-ID: CLAMP-303
Change-Id: If9033cfa3f4e346e2cbd7f891baff1f2c04a40a2
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
5 years agoFix tomcat issue 44/84544/1
sebdet [Mon, 8 Apr 2019 16:29:32 +0000 (18:29 +0200)]
Fix tomcat issue

Fix tomcat severity issue reported by Nexus IQ due to dom4j fix

Issue-ID: CLAMP-338
Change-Id: I8921cf0dbee5351c98d8b12ea3f3c0a76afed595
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
5 years agoFix dom4j issue 22/84522/2
sebdet [Mon, 8 Apr 2019 12:39:39 +0000 (14:39 +0200)]
Fix dom4j issue

Upgrade Spring and Camel to latest version so that it fixes thesecurity
issues

Issue-ID: CLAMP-338
Change-Id: I214ac3520be3c388ec2f7e715b7d37e0db5d5a9c
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
5 years agoFix config policy 68/84368/2
sebdet [Fri, 5 Apr 2019 16:00:51 +0000 (18:00 +0200)]
Fix config policy

Fix saving of config policy due to refactoring + fix missing model
type in config policy

Issue-ID: CLAMP-303
Change-Id: I863f3bb6b2acef8ed7bf534e142c1730b1493b67
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
5 years agoMerge "Introduce Camel route"
Xue Gao [Fri, 5 Apr 2019 14:34:04 +0000 (14:34 +0000)]
Merge "Introduce Camel route"

5 years agoMerge "LoopLog repository"
Xue Gao [Fri, 5 Apr 2019 14:33:59 +0000 (14:33 +0000)]
Merge "LoopLog repository"

5 years agoUpdate cadi to 2.1.10 and updated keystore 55/84355/1
ChrisC [Fri, 5 Apr 2019 14:24:13 +0000 (16:24 +0200)]
Update cadi to 2.1.10 and updated keystore

Updated cadi for Dublin

Issue-ID: CLAMP-337
Change-Id: I71e02369e8aa0a23250c94c68fcd9cf434de4414
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
5 years agoRework the Op policy UI 50/84350/1
xg353y [Fri, 5 Apr 2019 13:47:37 +0000 (15:47 +0200)]
Rework the Op policy UI

Rework the op policy UI, fix some bugs while saving op policy
properties.

Issue-ID: CLAMP-330
Change-Id: Id21f86c239e4e880a0a7ea08d0ed4b56bc05b4fb
Signed-off-by: xg353y <xg353y@intl.att.com>
5 years agoMerge "E2E Automation"
Sébastien Determe [Fri, 5 Apr 2019 13:35:33 +0000 (13:35 +0000)]
Merge "E2E Automation"

5 years agoMerge "E2E Automation"
Sébastien Determe [Fri, 5 Apr 2019 13:35:24 +0000 (13:35 +0000)]
Merge "E2E Automation"

5 years agoMerge "Update Csar handler"
Sébastien Determe [Fri, 5 Apr 2019 13:31:34 +0000 (13:31 +0000)]
Merge "Update Csar handler"

5 years agoIntroduce Camel route 49/84349/1
sebdet [Fri, 5 Apr 2019 13:15:31 +0000 (15:15 +0200)]
Introduce Camel route

Camel route for Submit operation using http4 component

Issue-ID: CLAMP-303
Change-Id: I29804a7db6286dfa84f7eed63813f25299a385e6
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
5 years agoLoopLog repository 11/84111/8
sebdet [Wed, 3 Apr 2019 15:07:34 +0000 (17:07 +0200)]
LoopLog repository

Introduction of the loop log repo + refactoring

Issue-ID: CLAMP-303
Change-Id: I3e806993d35f82fd9258e55592391a48eb7e199f
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
5 years agoE2E Automation 47/84247/1
ThamlurRaju [Thu, 4 Apr 2019 14:12:58 +0000 (19:42 +0530)]
E2E Automation

Modifications to operation policy with additional model related IDs

Change-Id: Ic99b0646814a64682c7ea90c9a3638993e9d9c5c
Issue-ID: CLAMP-309
Signed-off-by: ThamlurRaju <TR00568434@TechMahindra.com>
5 years agoE2E Automation 46/84246/1
ThamlurRaju [Thu, 4 Apr 2019 13:55:19 +0000 (19:25 +0530)]
E2E Automation

GUI modifications for operation policy

Change-Id: Icd2ff83a991899efaa986b4f15549c2bfd82b63e
Issue-ID: CLAMP-308
Signed-off-by: ThamlurRaju <TR00568434@TechMahindra.com>
5 years agoMerge "Add new visualizations + new kibana + new Logstash"
Gervais-Martial Ngueko [Thu, 4 Apr 2019 13:40:40 +0000 (13:40 +0000)]
Merge "Add new visualizations + new kibana + new Logstash"

5 years agoAdd new visualizations + new kibana + new Logstash 07/84207/3
Krysiak Adam [Thu, 4 Apr 2019 08:18:42 +0000 (10:18 +0200)]
Add new visualizations + new kibana + new Logstash

Change-Id: If49336c8402ee826863237f996a659bf6ea7b08d
Issue-ID: CLAMP-341
Signed-off-by: Krysiak Adam <adam.krysiak@nokia.com>
5 years agoUpdate Csar handler 00/84100/1
xg353y [Wed, 3 Apr 2019 13:54:21 +0000 (15:54 +0200)]
Update Csar handler

Update Csar handler, return the content of policies.yaml concatenateed
with data.yaml while getting the policy model yaml.

Issue-ID: CLAMP-261
Change-Id: I8ef7bcb9b2daaea37f13ca9d3ad9f38b889d6041
Signed-off-by: xg353y <xg353y@intl.att.com>
5 years agoRefactoring 07/83707/4
sebdet [Fri, 29 Mar 2019 10:52:02 +0000 (11:52 +0100)]
Refactoring

Small refactoring of the Http library

Issue-ID: CLAMP-333
Change-Id: I90a5488241ab84636bc0cec5849e97c4f98f3a38
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
5 years agoDraft operational policy rework 17/83317/11
sebdet [Tue, 26 Mar 2019 09:31:13 +0000 (10:31 +0100)]
Draft operational policy rework

Operational policy Ui rework, removal of useless code and new json
format output sent to backend

Issue-ID: CLAMP-330
Change-Id: I2261f6bdcdb6b9864dddba26f5f7ec6c684ff018
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
5 years agoMove Javascript code 27/82927/3
sebdet [Thu, 21 Mar 2019 12:56:08 +0000 (13:56 +0100)]
Move Javascript code

Move js code outstide of the html page so that we can debug  it

Issue-ID: CLAMP-330
Change-Id: Iba5a61f7a001f0bd73f99b340380b5d6a1383831
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
5 years agoMerge "Rework the submit operation"
Sébastien Determe [Fri, 29 Mar 2019 09:09:24 +0000 (09:09 +0000)]
Merge "Rework the submit operation"

5 years agoMerge "Rework the UI"
Sébastien Determe [Fri, 29 Mar 2019 08:50:43 +0000 (08:50 +0000)]
Merge "Rework the UI"

5 years agoMerge "Rework deploy/undeploy UI"
Sébastien Determe [Fri, 29 Mar 2019 08:48:11 +0000 (08:48 +0000)]
Merge "Rework deploy/undeploy UI"

5 years agoMerge "Rework the deploy/undeploy method"
Sébastien Determe [Fri, 29 Mar 2019 08:47:17 +0000 (08:47 +0000)]
Merge "Rework the deploy/undeploy method"

5 years agoMerge "Create common library for REST"
Sébastien Determe [Fri, 29 Mar 2019 08:41:02 +0000 (08:41 +0000)]
Merge "Create common library for REST"

5 years agoRework the submit operation 68/83568/1
xg353y [Thu, 28 Mar 2019 09:05:25 +0000 (10:05 +0100)]
Rework the submit operation

Rework the logic to create/delete ms config policies.

Issue-ID: CLAMP-303
Change-Id: I317e262ab68280a7518a6e31e82e5fcb0a7f94ed
Signed-off-by: xg353y <xg353y@intl.att.com>
5 years agoUpdate SSL certificate for Dublin 52/83352/1
ChrisC [Tue, 26 Mar 2019 13:28:39 +0000 (14:28 +0100)]
Update SSL certificate for Dublin

Updated keystore for use with Dublin release
Expiry is March 26th 2020

Issue-ID: CLAMP-337
Change-Id: Ifd044b02a94bd93fa2320281638c4b3e7daa1d9c
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
5 years agoRework the UI 67/83567/1
xg353y [Mon, 25 Mar 2019 14:23:41 +0000 (15:23 +0100)]
Rework the UI

Rework the UI to submit/stop/restart the closed loop based on the new
data model

Issue-ID: CLAMP-313
Change-Id: Ide9be22f5ffc4faa2cd257a7f7eec895ab81f5de
Signed-off-by: xg353y <xg353y@intl.att.com>
5 years agoRework deploy/undeploy UI 56/83156/2
xg353y [Fri, 22 Mar 2019 14:43:15 +0000 (15:43 +0100)]
Rework deploy/undeploy UI

Rework the deploy/undeploy Ui based on the new data model.

Issue-ID: CLAMP-334
Change-Id: I03d591bea81cb050e12031782dfa383656f1a32c
Signed-off-by: xg353y <xg353y@intl.att.com>
5 years agoRework the deploy/undeploy method 55/83155/1
xg353y [Wed, 20 Mar 2019 15:01:43 +0000 (16:01 +0100)]
Rework the deploy/undeploy method

Create the camle box for depoy/undeploy closed loop with the new loop
data model

Issue-ID: CLAMP-334
Change-Id: Ica77163877c30b31efc37ab489b3810fe1251012
Signed-off-by: xg353y <xg353y@intl.att.com>
5 years agoCreate common library for REST 54/83154/1
xg353y [Wed, 20 Mar 2019 14:59:44 +0000 (15:59 +0100)]
Create common library for REST

Create the common library to establish http/https calls

Issue-ID: CLAMP-333
Change-Id: I4fbb8a45bb75cb370e46bbf63b5e2ce0ea9b834c
Signed-off-by: xg353y <xg353y@intl.att.com>
5 years agoFix check style issues 75/82775/1
xg353y [Wed, 20 Mar 2019 08:19:35 +0000 (09:19 +0100)]
Fix check style issues

Fix the issues found by check style.

Issue-ID: CLAMP-328
Change-Id: I709bbad46fd35d04174af5f85f314e05dce6929f
Signed-off-by: xg353y <xg353y@intl.att.com>
5 years agoMerge "Removal of dead code"
Xue Gao [Tue, 19 Mar 2019 15:02:44 +0000 (15:02 +0000)]
Merge "Removal of dead code"

5 years agoMerge "Fix check style issues"
Sébastien Determe [Tue, 19 Mar 2019 14:11:32 +0000 (14:11 +0000)]
Merge "Fix check style issues"

5 years agoRemoval of dead code 83/82683/1
sebdet [Tue, 19 Mar 2019 14:07:49 +0000 (15:07 +0100)]
Removal of dead code

Cleanup of the Ui javascript code so that it's easier to work with op
policies

Issue-ID: CLAMP-330
Change-Id: Ia08b0af5ea818f49ac8625a3709b8f2a4cfdcddd
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
5 years agoMerge "Remove useless UI code"
Xue Gao [Tue, 19 Mar 2019 14:03:35 +0000 (14:03 +0000)]
Merge "Remove useless UI code"