brunomilitzer [Wed, 14 Jul 2021 11:01:47 +0000 (12:01 +0100)]
Add Camel Endpoint Change State CL Instantiation
Issue-ID: POLICY-3425
Change-Id: Ie8c5a5c169e3b24b2b74590e13539167d59f9545
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
Jim Hahn [Wed, 14 Jul 2021 14:39:17 +0000 (14:39 +0000)]
Merge "Code Coverage on clamp-participant-dcae"
Jim Hahn [Wed, 14 Jul 2021 14:37:52 +0000 (14:37 +0000)]
Merge "Added get json schema endpoints"
lapentafd [Fri, 9 Jul 2021 10:52:54 +0000 (11:52 +0100)]
Code Coverage on clamp-participant-dcae
Added assertions to existing tests
Issue-ID: POLICY-3452
Change-Id: I653b899f31595ef2bd1164e6caa6a736399c947a
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
saul.gill [Fri, 9 Jul 2021 11:10:46 +0000 (12:10 +0100)]
Added get json schema endpoints
Added runtime-controlloop endpoint to return Json Schema
Schema returned can be for specified type within Tosca Service Template
Added Camel in runtime endpoint to proxy the Schema endpoint
Dependency added to pom for the json schema generation
Issue-ID: POLICY-3439
Change-Id: I2a98ce16dfb3761a174c90f4b965d1a37a0d8576
Signed-off-by: saul.gill <saul.gill@est.tech>
Liam Fallon [Tue, 13 Jul 2021 09:36:13 +0000 (09:36 +0000)]
Merge "Update CL TOSCA definitions, Add Guidance UC"
Liam Fallon [Tue, 13 Jul 2021 08:26:43 +0000 (08:26 +0000)]
Merge "Add docker image for kubernetes participant"
Jim Hahn [Mon, 12 Jul 2021 18:34:13 +0000 (18:34 +0000)]
Merge "Add models for register,deregister and update"
Jim Hahn [Mon, 12 Jul 2021 18:33:50 +0000 (18:33 +0000)]
Merge "Convert controlloop runtime to springboot framework"
Jim Hahn [Mon, 12 Jul 2021 18:32:49 +0000 (18:32 +0000)]
Merge "Add Camel Endpoint ControlLoop Instantiation"
rameshiyer27 [Wed, 7 Jul 2021 07:02:55 +0000 (08:02 +0100)]
Add docker image for kubernetes participant
Issue-ID: POLICY-3411
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: If139d34f70f626e45a7865b7a8e9e3dae0a61daf
FrancescoFioraEst [Mon, 5 Jul 2021 09:36:42 +0000 (10:36 +0100)]
Convert controlloop runtime to springboot framework
Issue-ID: POLICY-3355
Change-Id: Ie1667b749eed28b7e526cd4695f45d8ed736c4e7
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
liamfallon [Wed, 7 Jul 2021 19:08:41 +0000 (20:08 +0100)]
Update CL TOSCA definitions, Add Guidance UC
This patch makes some minor updates to the TOSCA definitions, mainly the
introduction of common parameters.
It also introduces the first draft of a "Gentle Guidance" control loop
that can be used for testing, verification, documenting and explaining
the TOSCA control loop framework.
Issue-ID: POLICY-3341
Change-Id: Ie2d5379bd362f088d7c500402f83745cc7e6aca3
Signed-off-by: liamfallon <liam.fallon@est.tech>
Liam Fallon [Fri, 9 Jul 2021 10:44:34 +0000 (10:44 +0000)]
Merge "Add swagger models for swagger endpoint generation"
Sirisha_Manchikanti [Fri, 2 Jul 2021 07:53:07 +0000 (08:53 +0100)]
Add models for register,deregister and update
This commit adds models for ParticipantRegister, ParticipantDeregister
and ParticipantUpdate messages. Handling of these messages will be
taken care in a later commit.
Issue-ID: POLICY-3414
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: I622b98b03df09eecaac160ba564c8a21b449c642
brunomilitzer [Thu, 8 Jul 2021 11:44:06 +0000 (12:44 +0100)]
Add Camel Endpoint ControlLoop Instantiation
Added Camel Endpoint so that it connects with the ControlLoop Rest endpoint to create a new instantiation.
Issue-ID: POLICY-3436
Change-Id: Idf3bda8a6226f57836d887f9d7a7b66327446858
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
Jim Hahn [Wed, 7 Jul 2021 14:55:24 +0000 (14:55 +0000)]
Merge "Add ONAP standard Control Loop Element types"
liamfallon [Tue, 6 Jul 2021 08:53:17 +0000 (09:53 +0100)]
Add swagger models for swagger endpoint generation
The swagger models dependency is required to generate the swagger for
the Swagger endpoint in Springboot applications.
Springboot needs Jackson annotations as well.
Issue https://jira.onap.org/browse/POLICY-3465 opened for the general
Swagger upgrade work.
Issue-ID: POLICY-3424
Change-Id: Ie86db5652be26df085234f0699f0363081d06af0
Signed-off-by: liamfallon <liam.fallon@est.tech>
Jim Hahn [Wed, 7 Jul 2021 12:29:13 +0000 (12:29 +0000)]
Merge "Fixed failing camel endpoint test"
Jim Hahn [Tue, 6 Jul 2021 14:18:56 +0000 (14:18 +0000)]
Merge "Convert clamp-common unit tests to JUnit 5"
Jim Hahn [Tue, 6 Jul 2021 14:18:42 +0000 (14:18 +0000)]
Merge "Convert clamp-models unit tests to JUnit 5"
saul.gill [Tue, 6 Jul 2021 08:57:28 +0000 (09:57 +0100)]
Fixed failing camel endpoint test
Previously passed integration test failing
Simple fix of the URL in the route
Issue-ID: POLICY-3440
Change-Id: Icd1fcd3e27c3ec632ee07c2ae1bdb2126342cf16
Signed-off-by: saul.gill <saul.gill@est.tech>
Liam Fallon [Tue, 6 Jul 2021 08:37:12 +0000 (08:37 +0000)]
Merge "Add Junits for kubernetes participant module"
Liam Fallon [Mon, 5 Jul 2021 07:54:46 +0000 (07:54 +0000)]
Merge "Added ITs for Commissioning Camel Endpoints"
liamfallon [Fri, 2 Jul 2021 13:42:06 +0000 (14:42 +0100)]
Add ONAP standard Control Loop Element types
The Policy, DCAE, HTTP, Kubernetes, and CDS Control Loop Elements run on
participants delivered with and packaged with ONAP. These TOSCA files
define the properties for Control Loop Elements on these participants as
TOSCA node types.
Developers who wish to run Control Loop Elements on these participants
write a TOSCA Topology Template, which uses the Control Loop Element
Node Types defined in these files.
These Node type definitions should be preloaded into the
Runtime database, which will be done in a future review.
Issue-ID: POLICY-3341
Change-Id: Icc565bdfa1a59e1c1c551f13c48348ee6a8a4e27
Signed-off-by: liamfallon <liam.fallon@est.tech>
saul.gill [Tue, 29 Jun 2021 11:57:29 +0000 (12:57 +0100)]
Added ITs for Commissioning Camel Endpoints
Changed emulator to deal with new endpoint tests
Added spring property to deal with camel endpoint issue
Fixed lingering checkstyle violations
Issue-ID: POLICY-3440
Change-Id: I5810913c4418e7893f3ad848618deec1b1a85a0f
Signed-off-by: saul.gill <saul.gill@est.tech>
liamfallon [Fri, 2 Jul 2021 10:24:51 +0000 (11:24 +0100)]
Convert clamp-models unit tests to JUnit 5
JUnit 4 tests do not fire when JUnit 5 is activated.
Issue-ID: POLICY-3452
Change-Id: I5efb8ee996b06dc7f57107b8f77408adc1a4f22f
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Fri, 2 Jul 2021 10:08:47 +0000 (11:08 +0100)]
Convert clamp-common unit tests to JUnit 5
JUnit 4 tests do not fire when JUnit 5 is activated.
Issue-ID: POLICY-3452
Change-Id: I82396f918c69d9c27d0a00fa0e97b3e6b138e951
Signed-off-by: liamfallon <liam.fallon@est.tech>
rameshiyer27 [Thu, 1 Jul 2021 06:50:45 +0000 (07:50 +0100)]
Add Junits for kubernetes participant module
Overall coverage for the module: 85%
Issue-ID: POLICY-3241
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I00c7866ae598b9768d1616468a4c9bfe4cc76166
liamfallon [Wed, 30 Jun 2021 18:46:09 +0000 (19:46 +0100)]
Restore swagger generation in CLAMP
THis patch restores the Swagger generation in CLAMP. It changes the
target directory for the swagger generation to be the target directory
rather than storing the generated Swagger files in the source
repository.
The reason for this is that it avolds the swagger.json, the
swagger.html, and the swagger.pdf files being generated each time a
build is done and being checked in multiple times. The swagger files
will be produced as an artifact from the build in a later review when
all the swagger documentation for CLAMP is consolidated.
Issue-ID: POLICY-3209
Change-Id: I6ccb446d01509232bbd4230b76bd7950858e1437
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Tue, 29 Jun 2021 16:13:09 +0000 (17:13 +0100)]
Update CLAMP: checkstyle 8.43/Spring dependencies
Updates are indentation changes on annotations and rationallization of
the dependencies for Spring/Springboot
Generation of swagger.json, swagger.html and swagger.pdf temporarily
disabled due to a missing dependency in the generation toolchain.
Issue-ID: POLICY-3209
Change-Id: Iff5881df45ef54b20fa30f63e2393cc1cdbf4bfe
Signed-off-by: liamfallon <liam.fallon@est.tech>
Jim Hahn [Tue, 29 Jun 2021 15:17:11 +0000 (15:17 +0000)]
Merge "Convert Intermediary Participant to Spring and refactor Participants"
Ajith Sreekumar [Tue, 29 Jun 2021 08:38:16 +0000 (08:38 +0000)]
Merge "Refactor participant event handling"
FrancescoFioraEst [Mon, 21 Jun 2021 15:45:27 +0000 (16:45 +0100)]
Convert Intermediary Participant to Spring and refactor Participants
Issue-ID: POLICY-3370
Change-Id: I1541fc47b35c91f9ec86ab768bc3cec2cd78647c
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
FrancescoFioraEst [Thu, 24 Jun 2021 15:30:23 +0000 (16:30 +0100)]
Refactor participant event handling
Issue-ID: POLICY-3268
Change-Id: I02b03fd9f9f4399e045e766baace203f42e678cf
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Liam Fallon [Fri, 25 Jun 2021 12:34:25 +0000 (12:34 +0000)]
Merge "Add Fundamental TOSCA Types for Control Loops"
Liam Fallon [Fri, 25 Jun 2021 12:34:04 +0000 (12:34 +0000)]
Merge "Move parameters from config Json file to application.yaml"
liamfallon [Thu, 24 Jun 2021 18:25:34 +0000 (19:25 +0100)]
Add Fundamental TOSCA Types for Control Loops
This file contains the fundamental concepts that must exist in the TOSCA
universe in order for a Control Loop to be defined in TOSCA
Issue-ID: POLICY-3341
Change-Id: I4c1be9162b84f42388e56fea051a07f901bf92a6
Signed-off-by: liamfallon <liam.fallon@est.tech>
Ajith Sreekumar [Thu, 24 Jun 2021 12:48:56 +0000 (12:48 +0000)]
Merge "Increase code coverage in clamp-common"
Liam Fallon [Thu, 24 Jun 2021 08:35:43 +0000 (08:35 +0000)]
Merge "Added Camel Endpoint for Tosca Instantiation"
FrancescoFioraEst [Tue, 15 Jun 2021 15:01:31 +0000 (16:01 +0100)]
Move parameters from config Json file to application.yaml
Issue-ID: POLICY-3343
Change-Id: Id78c00a5a241337f684a70feeee543f3a88fc01c
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
waynedunican [Fri, 18 Jun 2021 14:06:29 +0000 (15:06 +0100)]
Increase code coverage in clamp-common
Issue-ID: POLICY-3403
Change-Id: Ic66b52da8a6256d2a65c2c2767b939e94a417875
Signed-off-by: waynedunican <wayne.dunican@est.tech>
waynedunican [Tue, 15 Jun 2021 11:40:46 +0000 (12:40 +0100)]
Create test jar for CL examples
Files under /main/resources/ have moved to /test/resources/
Issue-ID: POLICY-3242
Change-Id: I96fa71e1af2c026bfb08db889de8608fe8acbd18
Signed-off-by: waynedunican <wayne.dunican@est.tech>
brunomilitzer [Fri, 18 Jun 2021 15:11:11 +0000 (16:11 +0100)]
Added Camel Endpoint for Tosca Instantiation
Endpoint redirects GET to runtime instantiation
Issue-ID: POLICY-3357
Change-Id: Idf733c2803be2f6ab5cc681d583c1c6b46b2ce96
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
Liam Fallon [Tue, 22 Jun 2021 11:07:50 +0000 (11:07 +0000)]
Merge "Re clean up clamp project properties and dependencies"
Jim Hahn [Mon, 21 Jun 2021 15:51:23 +0000 (15:51 +0000)]
Merge "Added Camel Endpoint for Tosca Template Upload"
Liam Fallon [Sun, 20 Jun 2021 19:39:39 +0000 (19:39 +0000)]
Merge "Clean up CLAMP Sonar and checkstyle issues"
ryanSheehan [Fri, 18 Jun 2021 15:47:38 +0000 (16:47 +0100)]
Re clean up clamp project properties and dependencies
Remove version duplication from clamp projects runtime, dcae
kubernetes, policy participant and simulator
Issue-ID: POLICY-3308
Change-Id: I316b3b0313608c5d17c9692f44d653afabc2d596
Signed-off-by: ryanSheehan <ryansheehan.est@gmail.com>
saul.gill [Thu, 17 Jun 2021 15:28:22 +0000 (16:28 +0100)]
Added Camel Endpoint for Tosca Template Upload
Endpoint redirects a POST to runtime commissiong API
Tosca Service Template is written to the database
Issue-ID: POLICY-3222
Change-Id: I9ca6b0b3fdbef4bf9a182795112de5280ec7f9ff
Signed-off-by: saul.gill <saul.gill@est.tech>
liamfallon [Wed, 16 Jun 2021 11:08:01 +0000 (12:08 +0100)]
Clean up CLAMP Sonar and checkstyle issues
This commit cleans up sonar and checkstyle issues identified in the
CLAMP repository.
Issue-ID: POLICY-3206
Change-Id: I16b61bbe771cc17de15183a24b2a5e82a8d35872
Signed-off-by: liamfallon <liam.fallon@est.tech>
Sirisha_Manchikanti [Tue, 1 Jun 2021 15:48:25 +0000 (16:48 +0100)]
Prepare controlloop docker images
Generate runtime, policy-participant and dcae-participant docker images.
Issue-ID: POLICY-3320
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: I310fd2a098aa48a6a50a9bf6bd2bcb55328f4973
Liam Fallon [Thu, 17 Jun 2021 07:31:03 +0000 (07:31 +0000)]
Merge "Fix CLAMP build failure and kub-participant module startup issue."
rameshiyer27 [Tue, 15 Jun 2021 17:22:04 +0000 (18:22 +0100)]
Fix CLAMP build failure and kub-participant module startup issue.
Initialising ParticipantK8sParameters in the constructor to fix Null pointer Exception in kub-participant module.
Constructor cannot use autowired properties.
Updated pfDao getFiltered method signature to align with latest code in policy models.
Issue-ID: POLICY-3240
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I9405c1e050b31b153ee53829ffece9f4be27818e
Liam Fallon [Wed, 16 Jun 2021 08:21:45 +0000 (08:21 +0000)]
Merge "Remove duplicate properties in clamp repo"
Jim Hahn [Tue, 15 Jun 2021 13:43:54 +0000 (13:43 +0000)]
Merge "Make policy participant interact with Policy API"
Jim Hahn [Tue, 15 Jun 2021 13:43:34 +0000 (13:43 +0000)]
Merge "Convert Participant Simulator to SpringBoot Application"
Liam Fallon [Tue, 15 Jun 2021 08:35:43 +0000 (08:35 +0000)]
Merge "Create camel endpoint to get tosca from runtime"
FrancescoFioraEst [Wed, 9 Jun 2021 13:22:50 +0000 (14:22 +0100)]
Convert Participant Simulator to SpringBoot Application
Issue-ID: POLICY-3246
Change-Id: I0e5220be826531cf0338d5cad7018d06bda3daf5
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
ERIMROB [Thu, 10 Jun 2021 08:13:50 +0000 (09:13 +0100)]
Make policy participant interact with Policy API
Change the policy participant from interacting directly with
the database, into participant interacting with policy API instead
Issue-ID: POLICY-3330
Change-Id: I02420b1e43f1b18e337b00ebd300f03bb9b7412d
Signed-off-by: ERIMROB <robertas.rimkus@est.tech>
saul.gill [Wed, 9 Jun 2021 13:24:00 +0000 (14:24 +0100)]
Create camel endpoint to get tosca from runtime
Endpoint points to Runtime Tosca Service Template endpoint
Added new authorization role for control loop
Credentials in configuration file
Issue-ID: POLICY-3222
Change-Id: I86f8cc5751547abfa15e10903d7e2fb2854f1ece
Signed-off-by: saul.gill <saul.gill@est.tech>
liamfallon [Thu, 10 Jun 2021 10:45:02 +0000 (11:45 +0100)]
Eliminate two fromAuthorative() calls in providers
The current implementation of the providers makes two calls to the
expensive fromAuthorative() method. This change changes the
implementation to make a single call.
Issue-ID: POLICY-3319
Change-Id: I6b7e016e91b07f567973d9e2af68514de0affddd
Signed-off-by: liamfallon <liam.fallon@est.tech>
Jim Hahn [Thu, 10 Jun 2021 14:22:16 +0000 (14:22 +0000)]
Merge "Initial commit for kubernetes participant in CLAMP"
ryanSheehan [Wed, 9 Jun 2021 16:36:27 +0000 (17:36 +0100)]
Remove duplicate properties in clamp repo
Removes properties, dependency and plugin versioning duplication from dcae-participant and runtime, future reviews will handle other participants like kubernetes
Issue-Id: POLICY-3308
Change-Id: I98f9a36e9f984766b469c862f3298ca9120657e4
Signed-off-by: ryanSheehan <ryansheehan.est@gmail.com>
Ram Krishna Verma [Wed, 9 Jun 2021 18:23:49 +0000 (18:23 +0000)]
Merge "Convert Policy Participant to SpringBoot Application"
Ram Krishna Verma [Wed, 9 Jun 2021 18:23:33 +0000 (18:23 +0000)]
Merge "Convert DCAE Participant to SpringBoot Application"
liamfallon [Mon, 7 Jun 2021 15:41:12 +0000 (16:41 +0100)]
Initial commit for kubernetes participant in CLAMP
Spring application that exposes REST end points for installing, uninstalling, onboarding
and deleting of helm charts to/from local directory.
CL runtime can also trigger installation and uninstallation of helm charts from both local and configured helm repositories.
Junits will be committed as a separate review.
Issue-ID: POLICY-3240
Change-Id: I7633b6fd6ad41fc8fa55d3722e44f1b2ec132e50
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Signed-off-by: liamfallon <liam.fallon@est.tech>
FrancescoFioraEst [Tue, 1 Jun 2021 10:35:30 +0000 (11:35 +0100)]
Convert DCAE Participant to SpringBoot Application
Issue-ID: POLICY-3244
Change-Id: I64cef98a4b1a405160d533983baf7a860f1816f5
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
FrancescoFioraEst [Tue, 1 Jun 2021 14:14:24 +0000 (15:14 +0100)]
Convert Policy Participant to SpringBoot Application
Issue-ID: POLICY-3245
Change-Id: Iadacaba3b2a30c67adbe77b8b17debce2f2abb39
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
saul.gill [Thu, 3 Jun 2021 09:17:48 +0000 (10:17 +0100)]
Endpoint added to get Tosca Serivce Template
Issue-Id: POLICY-3222
Change-Id: Ie95bce752019ccfe900205a11bfc28770a7017c9
Signed-off-by: saul.gill <saul.gill@est.tech>
liamfallon [Wed, 26 May 2021 10:02:07 +0000 (11:02 +0100)]
Transfer tosca-poc onto master
This is the third if three commits, this commit makes the content of
the master branch the same as the tosca-poc branch.
This commit adds the "src" files for TOSCA control loops to the modules
in master.
Difference between this commit and the current master:
------------------------------------------------------
diff -qr clamp clamp-master |diff_filter.sh
Only in clamp/common: src
Only in clamp/models: src
Files clamp/participant/participant-impl/participant-impl-dcae/pom.xml and clamp-master/participant/participant-impl/participant-impl-dcae/pom.xml differ
Only in clamp/participant/participant-impl/participant-impl-dcae: src
Only in clamp/participant/participant-impl/participant-impl-policy: src
Only in clamp/participant/participant-impl/participant-impl-simulator: src
Files clamp/participant/participant-impl/pom.xml and clamp-master/participant/participant-impl/pom.xml differ
Only in clamp/participant/participant-intermediary: src
Files clamp/participant/pom.xml and clamp-master/participant/pom.xml differ
Files clamp/pom.xml and clamp-master/pom.xml differ
Files clamp/runtime/pom.xml and clamp-master/runtime/pom.xml differ
Only in clamp: runtime-controlloop
Difference between this commit and the current tosca-poc branch:
----------------------------------------------------------------
diff -qr clamp clamp-tp |diff_filter.sh
Files clamp/INFO.yaml and clamp-tp/INFO.yaml differ
Only in clamp/releases: 6.0.1-container.yaml
Only in clamp/releases: 6.0.1.yaml
Only in clamp/releases: 6.0.2-container.yaml
Only in clamp/releases: 6.0.2.yaml
Only in clamp/releases: 6.1.0-container.yaml
Only in clamp/releases: 6.1.0.yaml
Only in clamp/releases: 6.1.1-container.yaml
Only in clamp/releases: 6.1.1.yaml
Files clamp/runtime/src/main/resources/META-INF/resources/swagger.html and clamp-tp/runtime/src/main/resources/META-INF/resources/swagger.html differ
Issue-ID: POLICY-3215
Change-Id: Ica1aa3fe5d6110df2396ea856703102e800fa770
Signed-off-by: liamfallon <liam.fallon@est.tech>
Sirisha_Manchikanti [Fri, 7 May 2021 14:17:52 +0000 (15:17 +0100)]
Modular structure of clamp including controlloop
This commit is the first commit that puts in multi module structure while
changing the existing CLAMP code as little as possible.
It adds a structure where common, models, participant and runtime are direct children under clamp,
and current clamp code is moved under runtime. This runtime directory will host controlloop
runtime code in later commits.
Issue-ID: POLICY-3215
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: I15bc8be92ed020343bff4024c4718fec462c40d7
Signed-off-by: liamfallon <liam.fallon@est.tech>
S�bastien Determe [Mon, 10 May 2021 12:02:57 +0000 (12:02 +0000)]
Merge "Release Docker 6.1.1"
sebdet [Mon, 10 May 2021 10:39:20 +0000 (12:39 +0200)]
Release Docker 6.1.1
Release the dockers FE/BE for 6.1.1
Issue-ID: POLICY-3224
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ifa429231cb613671a14943cd2b81916539998f22
sebdet [Mon, 10 May 2021 10:33:53 +0000 (12:33 +0200)]
Release Npm/jar 6.1.1
Release the jar and NPm pack for 6.1.1
Issue-ID: POLICY-3224
Change-Id: I537db55acb3bcc7c2c4b1962e434248b908eaccb
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
sebdet [Mon, 10 May 2021 08:30:45 +0000 (10:30 +0200)]
Add envSubst
Add envsubst for OOM changes
Issue-ID: POLICY-3224
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I3f0900c43ab34a985b0e1b0cf02647b0d7ad3ff3
sebdet [Wed, 28 Apr 2021 09:12:45 +0000 (11:12 +0200)]
Add Tests on UI
Add some test to UI and fix errors reported by JEST during Ui tests
Issue-ID: POLICY-3200
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I69e93ad1f1714fa60a0c7ea9b1f3fb691f089f8a
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
sebdet [Mon, 26 Apr 2021 12:04:20 +0000 (14:04 +0200)]
Remove dead code
Remove dead code due to change done to add tosca file to PEF directly.
Issue-ID: POLICY-3229
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I4e48fd5401e304b131406b739268134dd7e7997f
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
sebdet [Mon, 26 Apr 2021 11:10:55 +0000 (13:10 +0200)]
Fix not refreshed Tosca list
The refresh must be don inside the asynchronous block to fix the refreshing of the tosca list
Issue-ID: POLICY-3229
Change-Id: I89d4964b68d88e28bd8d0dfef19c2382d52fa7bf
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
S�bastien Determe [Fri, 23 Apr 2021 15:54:07 +0000 (15:54 +0000)]
Merge "ToscaFileSelector"
S�bastien Determe [Fri, 23 Apr 2021 15:40:31 +0000 (15:40 +0000)]
Merge "Add Camel flows to create policy-type"
sebdet [Wed, 21 Apr 2021 14:28:33 +0000 (16:28 +0200)]
ToscaFileSelector
The UI code that manages the tosca file selector that will be sent to clamp be + fix Rest Camel endpoint that always want ot convert http body to JSON (due to Camel upgrade)
Issue-ID: POLICY-3229
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I6148276d4c527f29db904a76655055c19d4e2023
sebdet [Thu, 22 Apr 2021 11:33:11 +0000 (13:33 +0200)]
Bump up clamp to 6.1.1
Prepare release 6.1.1
Issue-ID: POLICY-3234
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ic0e0d79af92f0df8992e20094514d9dee1638f4d
sebdet [Wed, 21 Apr 2021 10:01:28 +0000 (12:01 +0200)]
Add Camel flows to create policy-type
Add the required camel flows to create a policy type in the clamp BE
Issue-ID: POLICY-3228
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I5c89823eb5f3f0e369fae5b27a803cb509cef128
sebdet [Thu, 22 Apr 2021 09:23:21 +0000 (11:23 +0200)]
Release docker 6.1.0
Release the docker images for 6.1.0
Issue-ID: POLICY-3224
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I961916020d5878b0a4dd029cf189d031d5a3f776
sebdet [Thu, 22 Apr 2021 09:22:54 +0000 (11:22 +0200)]
Release jar/npm 6.1.0
Release the jar/npm pack for 6.1.0
Issue-ID: POLICY-3224
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I92046dc74af3119d1fae68179e55ff5b66efada8
sebdet [Thu, 22 Apr 2021 07:54:47 +0000 (09:54 +0200)]
Update socketTimeout
Update socketTimeout for DCAE deployment command, this has been changed during the camel&Spring upgrades + adding enc: to sdc password to verify that it works well
Issue-ID: POLICY-3169
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ia19f5eb372c2e383d67be48d62c1a355560ab889
sebdet [Thu, 22 Apr 2021 07:33:47 +0000 (09:33 +0200)]
Remove strong copy left dep
Remove dependency not used in clamp that are reported Strong copy left in Nexus-IQ
Issue-ID: POLICY-3169
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I0193cf405236d7f390e94f9281b25cb2320c1dbd
sebdet [Mon, 19 Apr 2021 13:23:56 +0000 (15:23 +0200)]
Fix remaining nexus-IQ issues
Exclude lib not used by clamp BE that are flagged by Nexus IQ
Issue-ID: POLICY-3169
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Idceb809e9cabc709bc820f792648ad1e481d22a7
S�bastien Determe [Wed, 21 Apr 2021 15:38:21 +0000 (15:38 +0000)]
Merge "Fix Sonar Crypto issues"
sebdet [Wed, 21 Apr 2021 14:39:28 +0000 (16:39 +0200)]
Fix Sonar bugs
Fix bug introduced in AAF authentication due to changes done to fix Sonar issues
Issue-ID: POLICY-3200
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I92aae94010cc8275bca5b1fe81bf54ab80f5f267
sebdet [Wed, 21 Apr 2021 10:51:06 +0000 (12:51 +0200)]
Fix Sonar bugs
Fix sonar bugs reported in the ClampServlet
Issue-ID: POLICY-3200
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I8d823d0b25d7379bb0fc8c87f31628bc63f51f5d
S�bastien Determe [Wed, 21 Apr 2021 13:28:59 +0000 (13:28 +0000)]
Merge "Fix UI that sends 2 list policies query"
S�bastien Determe [Wed, 21 Apr 2021 13:28:53 +0000 (13:28 +0000)]
Merge "Fix wrong PDP operations send by UI"
S�bastien Determe [Wed, 21 Apr 2021 13:28:09 +0000 (13:28 +0000)]
Merge "Update Autogenerated Swagger"
sebdet [Wed, 21 Apr 2021 13:01:14 +0000 (15:01 +0200)]
Fix UI that sends 2 list policies query
The UI code that manages the PDP deployments was not correct, it uses to do 2 List queries when it was successful
Issue-ID: POLICY-3226
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ia67d67d1e953cc3426fbe450c428d31bc72649d8
sebdet [Wed, 21 Apr 2021 12:57:57 +0000 (14:57 +0200)]
Fix wrong PDP operations send by UI
The code that was computing the operations to execute was wrong. THe command POST was missing
Issue-ID: POLICY-3225
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I0de307e782bf99ed3cb4274c587c9c71955bab74
sebdet [Mon, 19 Apr 2021 12:46:45 +0000 (14:46 +0200)]
Fix Sonar Crypto issues
Fix this problem by removing the CryptoUtils that could be replaced by AAF cadi call (this was already in place in the code). The OOM sdc controller password will have to be modified as well.
Issue-ID: POLICY-3201
Issue-ID: POLICY-3200
Change-Id: I6dfd9abb691afb3548d4e68c8759351ad02a30da
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
sebdet [Wed, 21 Apr 2021 09:52:50 +0000 (11:52 +0200)]
Fix 401 returned by PAP
The direct call from Policy clamp Ui to Pap returns 401 because UI info are forwarded by Camel
Issue-ID: POLICY-3203
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Id24b45afc05b2d308f6062b22d9e2b4a040f1d93
S�bastien Determe [Wed, 21 Apr 2021 09:00:53 +0000 (09:00 +0000)]
Merge "lifecycle state change"
sebdet [Wed, 21 Apr 2021 08:38:57 +0000 (10:38 +0200)]
Update Autogenerated Swagger
Update Swagger json/html and pdf + boot message for Istanbul
Issue-ID: POLICY-3224
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ie4beddabba73bcba345372c788ab5597edc7afd5