FrancescoFioraEst [Wed, 15 Feb 2023 17:26:30 +0000 (17:26 +0000)]
Remove AutomationCompositionState from ACM
Issue-ID: POLICY-4559
Change-Id: Ib088c76fd39fcaf8fc7b5f315880e2619186caec
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Liam Fallon [Wed, 15 Feb 2023 17:02:52 +0000 (17:02 +0000)]
Merge "Refactor yaml files in ACM"
Ramesh Murugan Iyer [Wed, 15 Feb 2023 16:44:08 +0000 (16:44 +0000)]
Merge "Implement recording of Operational State and Usage State on ACM-R"
saul.gill [Wed, 15 Feb 2023 12:39:43 +0000 (12:39 +0000)]
Add undeploy on deregister (acm-side)
State of Ac Elements associated with participant changed on deregister
Issue-ID: POLICY-4499
Change-Id: I54265c13deebd77d654fb843a33f7267d4276b76
Signed-off-by: saul.gill <saul.gill@est.tech>
FrancescoFioraEst [Mon, 13 Feb 2023 11:08:42 +0000 (11:08 +0000)]
Implement recording of Operational State and Usage State on ACM-R
Issue-ID: POLICY-4511
Change-Id: I3a241bf602e6625d91cee2dc5242b76165bcd381
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Liam Fallon [Tue, 14 Feb 2023 10:24:57 +0000 (10:24 +0000)]
Merge "Deployment and undeployment on Participant Intermediary"
Liam Fallon [Tue, 14 Feb 2023 09:49:50 +0000 (09:49 +0000)]
Merge "Add stubs and tests for ppnt controller"
FrancescoFioraEst [Mon, 13 Feb 2023 14:51:08 +0000 (14:51 +0000)]
Refactor yaml files in ACM
Refactor Supported ACM element types
and align element type version in all examples
Issue-ID: POLICY-4512
Change-Id: Ic810fc1a98237d1b6fb816dccb1fcbe61a675c1e
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
saul.gill [Mon, 13 Feb 2023 17:53:26 +0000 (17:53 +0000)]
Add stubs and tests for ppnt controller
Added stubs
Added tests
Added node state and elements to all participant endpoint
Issue-ID: POLICY-4557
Change-Id: Ia76831ec02f9a308e39f138a3b24f3baced62095
Signed-off-by: saul.gill <saul.gill@est.tech>
liamfallon [Mon, 13 Feb 2023 17:23:41 +0000 (17:23 +0000)]
Remove unnecessary dependencies in policy/clamp
Issue-ID: POLICY-4482
Change-Id: Id303d1203ebe0e490e1e9b964f3133ed4269019b
Signed-off-by: liamfallon <liam.fallon@est.tech>
FrancescoFioraEst [Fri, 10 Feb 2023 15:28:50 +0000 (15:28 +0000)]
Deployment and undeployment on Participant Intermediary
Handle AC Element Instance Deployment and undeployment
on Participant Intermediary.
Issue-ID: POLICY-4507
Change-Id: I6a6976a8893450467ee609a1a476dbfa473a0e82
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Liam Fallon [Fri, 10 Feb 2023 23:39:41 +0000 (23:39 +0000)]
Merge "Initial support for Implement recording of Operational State"
Liam Fallon [Fri, 10 Feb 2023 23:37:34 +0000 (23:37 +0000)]
Merge "Contract Tests policy-clamp"
FrancescoFioraEst [Fri, 10 Feb 2023 12:54:14 +0000 (12:54 +0000)]
Initial support for Implement recording of Operational State
Remove AutomationCompositionState and AutomationCompositionOrderedState
in Jpa classes
add validation to not update deployed instances
Issue-ID: POLICY-4550
Change-Id: If18915a4be6b67dda83ff3ca5457ed52d0e8ddf2
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
lapentafd [Wed, 8 Feb 2023 16:40:59 +0000 (16:40 +0000)]
Contract Tests policy-clamp
Moving Contract tests in a new package, verifying the stubbed implementation.
Issue-ID: POLICY-4533
Change-Id: Ibd5c9d8b9a2685439bc9d335910882e3f2668d7d
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
FrancescoFioraEst [Tue, 7 Feb 2023 11:06:01 +0000 (11:06 +0000)]
Implement AC Element Instance Locking and Unlocking on ACM-R
Issue-ID: POLICY-4509
Change-Id: I8bca27cfa2a417314a27e2bec3938b538f05e346
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Ramesh Murugan Iyer [Wed, 8 Feb 2023 09:37:48 +0000 (09:37 +0000)]
Merge "Replace Eclipselink with Hibernate"
FrancescoFioraEst [Thu, 2 Feb 2023 15:42:56 +0000 (15:42 +0000)]
Handle AC Element Instance Deployment and undeployment on ACM-R
Part of the implementation related to Deployment and undeployment,
missing part will be implemented in POLICY-4509.
push-upstream: POLICY-4506
Change-Id: Ie7ad2da6c0a3286938fc4993d70ee71caee833ba
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Ramesh Murugan Iyer [Fri, 3 Feb 2023 09:01:30 +0000 (09:01 +0000)]
Merge "Refactor ParticipantUpdate to ParticipantPrime"
liamfallon [Thu, 2 Feb 2023 14:47:15 +0000 (14:47 +0000)]
Replace Eclipselink with Hibernate
Issue-ID: POLICY-4533
Change-Id: Iefaacb546812ccb660f32be012a44283c90b334a
Signed-off-by: liamfallon <liam.fallon@est.tech>
saul.gill [Thu, 2 Feb 2023 11:40:29 +0000 (11:40 +0000)]
Refactor ParticipantUpdate to ParticipantPrime
Refactored ParticipantUpdateAck to ParticipantPrimeAck
Refactored ParticipantUpdate to ParticipantPrime
Refactored all associated tests and code
Issue-ID: POLICY-4548
Change-Id: I2265777add4e088173ec465603e26143e3f40070
Signed-off-by: saul.gill <saul.gill@est.tech>
FrancescoFioraEst [Thu, 2 Feb 2023 10:20:43 +0000 (10:20 +0000)]
Fix issue in StartAndStop Activator Test
Issue-ID: POLICY-4547
Change-Id: I2b9320c79b9a9ab6df587065b7a0638ff06d16be
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
liamfallon [Tue, 31 Jan 2023 12:35:17 +0000 (12:35 +0000)]
Upgrade and clean up dependencies
- Upgrade Hibernate
- Upgrade Mockito
- Upgrade Mockserver
- Remove Powermock (no longer supported) and replace with spring-test ReflectionTestUtils
- Upgrade Spring Framework
- Add spring-security to allow authentication on unit tests using MockMVC
Minor clean-up
- Replace deprecated authorization configuraiton on spring boot applications with SecurityFilterChain bean
- Change @LocalPort include on tests to use test include rather than runtime include
- Remove unused imports
- Remove unused constants and variables
- Add deprecation annotations where required
Issue-ID: POLICY-4482
Change-Id: I7356d60696330e868d4f67195ba55b80987f85b9
Signed-off-by: liamfallon <liam.fallon@est.tech>
Liam Fallon [Wed, 1 Feb 2023 14:17:21 +0000 (14:17 +0000)]
Merge "Add element and definition map to ppnt endpoints"
Liam Fallon [Wed, 1 Feb 2023 09:49:00 +0000 (09:49 +0000)]
Merge "Refactor ACM Update message to ACM Deploy message in ACM"
Liam Fallon [Wed, 1 Feb 2023 09:34:58 +0000 (09:34 +0000)]
Merge "Added deployState to Automation Composition"
saul.gill [Mon, 30 Jan 2023 15:44:58 +0000 (15:44 +0000)]
Added deployState to Automation Composition
Added deployState and lockState
Issue-ID: POLICY-4506
Change-Id: If7fa2cc1f3c729de5dc261e2b527b03c0009e99c
Signed-off-by: saul.gill <saul.gill@est.tech>
FrancescoFioraEst [Mon, 30 Jan 2023 13:43:10 +0000 (13:43 +0000)]
Refactor ACM Update message to ACM Deploy message in ACM
Refactor ACM Update message to ACM Deploy message in ACM
and add AcElementDeploy in Deploy message.
AutomationCompositionElement will be removed from the message
after POLICY-4506 and POLICY-4507.
Issue-ID: POLICY-4543
Change-Id: I8444e15b3b4cb1209ffd083fb965e0707fbd9625
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
saul.gill [Fri, 27 Jan 2023 14:58:05 +0000 (14:58 +0000)]
Add element and definition map to ppnt endpoints
Add element instance map
Add node template state map
Issue-ID: POLICY-4540
Change-Id: I6e7c2b27db78a090b0a1303c49e57d8675316f9b
Signed-off-by: saul.gill <saul.gill@est.tech>
FrancescoFioraEst [Thu, 26 Jan 2023 17:31:46 +0000 (17:31 +0000)]
Refactor Prime and Deprime messages in ACM
Issue-ID: POLICY-4502
Change-Id: Ib0ecc513285bf971a0c25cec528dcdeec5ad63a2
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
FrancescoFioraEst [Mon, 30 Jan 2023 08:39:34 +0000 (08:39 +0000)]
Remove ParticipantType in all yaml files
Issue-ID: POLICY-4538
Change-Id: I9f6d8830f64ef1178d3e20c7d00374156a84b59e
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
saul.gill [Mon, 23 Jan 2023 17:44:13 +0000 (17:44 +0000)]
Remove participantType and references
Issue-ID: POLICY-4538
Change-Id: Idf3f0308254a318b3e72aa8a234fd7c78f6ffd82
Signed-off-by: saul.gill <saul.gill@est.tech>
FrancescoFioraEst [Tue, 24 Jan 2023 16:27:21 +0000 (16:27 +0000)]
Models for refactor Prime and Deprime in ACM
Refactor Ac Definition to store Prime and Deprime status
and refactor CommissioningController to show the status
of the AC Definition and of all elements.
Issue-ID: POLICY-4502
Change-Id: Ifd90fc8d5788ec2ddebc12ee2e78beef4c0254c8
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
FrancescoFioraEst [Tue, 17 Jan 2023 09:56:52 +0000 (09:56 +0000)]
Refactor participantId as UUID
As part of endpoint refactoring, refactor participantId as UUID in ACM.
Issue-ID: POLICY-4521
Change-Id: I8ac652d9b2fadf9ce3220febb9c2c3ac0d3786cc
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Liam Fallon [Mon, 23 Jan 2023 14:50:16 +0000 (14:50 +0000)]
Merge "Remove reference type of participantId in Unit Tests in ACM"
Ramesh Murugan Iyer [Mon, 23 Jan 2023 09:31:50 +0000 (09:31 +0000)]
Merge "Refactor AcInstanceState Update on ACM"
FrancescoFioraEst [Wed, 18 Jan 2023 10:31:34 +0000 (10:31 +0000)]
Remove reference type of participantId in Unit Tests in ACM
As part of the participantId refactoring, reduce the impact
of the changes by removing the reference type of participantId
in unit tests.
Issue-ID: POLICY-4524
Change-Id: I08837a0739f229a0a8c439c8b12578823277aa32
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
saul.gill [Fri, 13 Jan 2023 17:24:23 +0000 (17:24 +0000)]
Add supported ac elements to participants
Added new supported elements table
Added supported element names and versions
to participant application.yaml files
Issue-ID: POLICY-4512
Change-Id: I97d7f571f2906846514ac0804b4827f0601177d7
Signed-off-by: saul.gill <saul.gill@est.tech>
FrancescoFioraEst [Thu, 19 Jan 2023 10:08:35 +0000 (10:08 +0000)]
Refactor AcInstanceState Update on ACM
Create AcInstanceStateResolver that will be used to Handle Deployment,
Undeployment, Locking and Unlocking.
Issue-ID: POLICY-4526
Change-Id: I9a7beb57dba9e9ea334974d63c1063acde7c977d
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Liam Fallon [Wed, 18 Jan 2023 09:41:48 +0000 (09:41 +0000)]
Merge "Remove reference type of participantId in Unit Tests in ACM-models"
FrancescoFioraEst [Tue, 17 Jan 2023 13:42:36 +0000 (13:42 +0000)]
Remove reference type of participantId in Unit Tests in ACM-models
As part of the participantId refactoring, reduce the impact
of the changes by removing the reference type of participantId
in unit tests.
Issue-ID: POLICY-4523
Change-Id: I5d25dd3a02dffc8293bd9a4a2ce5dbcdbbf0bcb5
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
FrancescoFioraEst [Tue, 17 Jan 2023 10:54:33 +0000 (10:54 +0000)]
Remove FilterRepository in ACM
As part of participantId refactoring, FilterRepository and related
implementation could be removed.
Issue-ID: POLICY-4522
Change-Id: Idb078989871f1f65615a7df90aea69f7cd822dae
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
saul.gill [Tue, 10 Jan 2023 11:11:08 +0000 (11:11 +0000)]
Add participant controller in ACM
Added participant controller
Altered openapi spec
Added participantId
Issue-ID: POLICY-4496
Change-Id: I0c0ea93dacb6927e6f16bd4638d03db6266be3bd
Signed-off-by: saul.gill <saul.gill@est.tech>
Liam Fallon [Thu, 12 Jan 2023 09:35:07 +0000 (09:35 +0000)]
Merge "Refactor AcTypeState Update"
Liam Fallon [Wed, 11 Jan 2023 12:49:49 +0000 (12:49 +0000)]
Merge "Add ACM demo service template under examples"
FrancescoFioraEst [Tue, 10 Jan 2023 15:46:51 +0000 (15:46 +0000)]
Refactor AcTypeState Update
Refactor AcTypeState Update and add AcTypeState Resolved that will used by priming/depriming.
Issue-ID: POLICY-4503
Change-Id: I2dd70cd8f569f29d35709e741616079499757bfd
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
rameshiyer27 [Mon, 9 Jan 2023 15:13:00 +0000 (15:13 +0000)]
Add ACM demo service template under examples
Issue-ID: POLICY-4501
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I0388e26d508f506caa115025ec80200e76868c4a
FrancescoFioraEst [Wed, 4 Jan 2023 17:04:37 +0000 (17:04 +0000)]
Refactor register deregister a Participant and Supervise Participants
Refactor register deregister a Participant and Supervise
Participants using ON_LINE/OFF_LINE as Participant Status.
Issue-ID: POLICY-4497
Change-Id: If9c5b92131c99132c18340e56334fb9453745526
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Liam Fallon [Thu, 5 Jan 2023 09:41:14 +0000 (09:41 +0000)]
Merge "Refactor Post instances to create and update ACM instances"
FrancescoFioraEst [Tue, 3 Jan 2023 16:15:39 +0000 (16:15 +0000)]
Refactor Post instances to create and update ACM instances
Issue-ID: POLICY-4493
Change-Id: I31c00e6d61a53dcd6a03a911a618f1c6495f2d38
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
FrancescoFioraEst [Tue, 3 Jan 2023 10:48:36 +0000 (10:48 +0000)]
Refactor Post compositions to create and update ACM definitions
Issue-ID: POLICY-4492
Change-Id: Ica3885c7e2a048500a86abc194624ac22efd6bc2
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Liam Fallon [Wed, 21 Dec 2022 12:24:18 +0000 (12:24 +0000)]
Merge "Add compositionId into Messages between ACM and Participants"
Liam Fallon [Tue, 20 Dec 2022 16:44:27 +0000 (16:44 +0000)]
Merge "Remove unused code in acm stubs"
FrancescoFioraEst [Mon, 19 Dec 2022 14:43:11 +0000 (14:43 +0000)]
Add compositionId into Messages between ACM and Participants
Issue-ID: POLICY-4489
Change-Id: I1fb8c04eacee040d5c944c522ca59a2a9a50376b
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Liam Fallon [Tue, 20 Dec 2022 09:56:01 +0000 (09:56 +0000)]
Merge "Fix copy contructor in DocToscaServiceTemplate in ACM"
Liam Fallon [Tue, 20 Dec 2022 09:55:45 +0000 (09:55 +0000)]
Merge "Refactor instanceId as primary key in JpaAutomationComposition"
Liam Fallon [Mon, 19 Dec 2022 18:17:52 +0000 (18:17 +0000)]
Merge "Upgrade the H2 database to the latest version"
lapentafd [Mon, 19 Dec 2022 09:04:59 +0000 (09:04 +0000)]
Remove unused code in acm stubs
Issue-ID: POLICY-4143
Change-Id: Iaaa16a3a3273659506bc63169b5e87ae5ed288c1
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
liamfallon [Sun, 18 Dec 2022 03:15:42 +0000 (03:15 +0000)]
Upgrade the H2 database to the latest version
The latest verison of H2 does not allow colums called "user" or indexes
using an underscore in their name.
Issue-ID: POLICY-4488
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I399508265eded036bc3133db890b97a0870640d5
liamfallon [Fri, 16 Dec 2022 10:17:46 +0000 (10:17 +0000)]
Add new endpoints for ACM state handling
This commit introduces the Swagger changes required for the updates to
the State Handling in ACM.
The Update handling on the endpoints has changed and will be completed
in future reviews. In the meantime, some stubs and unit tests have been
temporarily disabled.
Issue-ID: POLICY-4487
Change-Id: I40b8cbb188d809b43c3e385aea35f88e9ea7da2b
Signed-off-by: liamfallon <liam.fallon@est.tech>
FrancescoFioraEst [Wed, 14 Dec 2022 16:57:00 +0000 (16:57 +0000)]
Refactor instanceId as primary key in JpaAutomationComposition
Issue-ID: POLICY-4480
Change-Id: I4d3bd44c23378b428beb901d78ea48dcdbbe7f44
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
FrancescoFioraEst [Thu, 15 Dec 2022 16:19:44 +0000 (16:19 +0000)]
Fix copy contructor in DocToscaServiceTemplate in ACM
Issue-ID: POLICY-4486
Change-Id: Ic13daae3c9c8ebdf72a30dcdac59b3a944f77893
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
liamfallon [Thu, 15 Dec 2022 16:19:55 +0000 (16:19 +0000)]
Update snapshot and/or references of policy/clamp to latest snapshots
policy/clamp updated to its latest own and reference snapshots
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ia4d1977e35c4783bd94e034c4195b1ef1ae8b930
liamfallon [Thu, 15 Dec 2022 15:38:18 +0000 (15:38 +0000)]
Release docker images for policy/clamp: 6.4.0
This commit releases docker images for repo policy/clamp.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I7c2b1dfa5e715adfd2a835e1e10b05fe16b28e16
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Thu, 15 Dec 2022 14:12:30 +0000 (14:12 +0000)]
Release policy/clamp: 6.4.0
This commit releases repo policy/clamp.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Id73489870e1ba16ee797bbe810811d75ec519dc6
liamfallon [Thu, 15 Dec 2022 12:39:44 +0000 (12:39 +0000)]
update references in policy/clamp pom
updated references in the policy/clamp pom
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ic09ff93af8a7142f7149f79aac344efc389b4082
Liam Fallon [Thu, 15 Dec 2022 09:03:28 +0000 (09:03 +0000)]
Merge "Server stubs for acm runtime"
lapentafd [Mon, 12 Dec 2022 14:28:41 +0000 (14:28 +0000)]
Server stubs for acm runtime
- Added spring profile "stub"
- Added Commission and Instantiation stub controllers
- Added util function that decodes the object from the openapi/examples
- Added 2 missing examples
- Added Unit Test for stub controllers
Issue-ID: POLICY-4143
Change-Id: Ife91a74e93df4e9db55e17ca9d1793a7ed289e92
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
FrancescoFioraEst [Tue, 13 Dec 2022 13:57:47 +0000 (13:57 +0000)]
Replace ToscaConceptIdentifier with UUID in Participant Messages ACM
Replace in all messages the reference to Automation Composition
ToscaConceptIdentifier(name, version) with instanceId(UUID).
Issue-ID: POLICY-4479
Change-Id: I7bc9a7494103b9c1752a1e2c6f6d5a527196913d
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Liam Fallon [Tue, 13 Dec 2022 14:12:45 +0000 (14:12 +0000)]
Merge "Fix intermittent clamp test failure"
Ramesh Murugan Iyer [Tue, 13 Dec 2022 09:22:13 +0000 (09:22 +0000)]
Merge "Link the existing InstantiationController with the generated code"
lapentafd [Mon, 12 Dec 2022 15:06:45 +0000 (15:06 +0000)]
Fix intermittent clamp test failure
Issue-ID: POLICY-4476
Change-Id: I93a14336fa4197c241ad5880e2f597820fd809ce
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Pamela Dragosh [Mon, 12 Dec 2022 15:19:14 +0000 (15:19 +0000)]
Merge "Add support for instance properties"
Pamela Dragosh [Mon, 12 Dec 2022 15:17:57 +0000 (15:17 +0000)]
Merge "Adding examples for openapi specification"
FrancescoFioraEst [Fri, 9 Dec 2022 14:38:10 +0000 (14:38 +0000)]
Link the existing InstantiationController with the generated code
Issue-ID: POLICY-4467
Change-Id: Ibe9206ee4189e73357271211d83b0603edfb86da
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Liam Fallon [Fri, 9 Dec 2022 10:43:39 +0000 (10:43 +0000)]
Merge "Increase code coverage of k8s-participant module"
Liam Fallon [Fri, 9 Dec 2022 10:41:35 +0000 (10:41 +0000)]
Merge "Clamp models code coverage"
Liam Fallon [Fri, 9 Dec 2022 10:41:23 +0000 (10:41 +0000)]
Merge "Add instanceId support in AutomationCompositionProvider"
FrancescoFioraEst [Thu, 8 Dec 2022 12:41:49 +0000 (12:41 +0000)]
Add support for instance properties
Issue-ID: POLICY-4483
Change-Id: I6ca953e05e74d68262507b393fb6415573fa3eab
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
lapentafd [Thu, 8 Dec 2022 12:12:10 +0000 (12:12 +0000)]
Clamp models code coverage
Issue-ID: POLICY-4476
Change-Id: Ie34f278cf999dd2046ccdff6b97936b42ad19355
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
rameshiyer27 [Tue, 6 Dec 2022 17:04:32 +0000 (17:04 +0000)]
Increase code coverage of k8s-participant module
Unit tests with static mocks are being ignored in the build causing drop in the code coverage of k8s participant module. Static implementation in the code has been changed as it is not required.
Code coverage improved to 85%
Issue-ID: POLICY-4477
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I82facafffb8da1823699f63da480951b60060888
FrancescoFioraEst [Wed, 7 Dec 2022 16:22:45 +0000 (16:22 +0000)]
Add instanceId support in AutomationCompositionProvider
As part of the endpoint refactoring of InstantiationController,
AutomationCompositionProvider have to support instanceId
in CRUD operations. InstanceId will be temporary add as normal field
and it will became primary key in next Jira task.
Issue-ID: POLICY-4478
Change-Id: I0f7a1ab7683671403831cffdfe6db37eea569c74
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
lapentafd [Tue, 6 Dec 2022 21:34:12 +0000 (21:34 +0000)]
Adding examples for openapi specification
Issue-ID: POLICY-4435
Change-Id: Icc45000058a579a076bbb0c2ae9bf3e66bce6f67
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
FrancescoFioraEst [Thu, 8 Dec 2022 09:47:30 +0000 (09:47 +0000)]
Remove test statistics json files
Issue-ID: POLICY-4481
Change-Id: Idd84f453315bce3865080979aceff3a188e36de5
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Liam Fallon [Wed, 7 Dec 2022 15:56:36 +0000 (15:56 +0000)]
Merge "Fix dockersuse profile"
Liam Fallon [Wed, 7 Dec 2022 15:30:54 +0000 (15:30 +0000)]
Merge "A1pms: Fix Code smells and coverage"
Liam Fallon [Wed, 7 Dec 2022 15:30:40 +0000 (15:30 +0000)]
Merge "Clamp models utils code coverage"
FrancescoFioraEst [Tue, 6 Dec 2022 15:44:05 +0000 (15:44 +0000)]
Increase code coverage in runtime ACM
Issue-ID: POLICY-4475
Change-Id: I936d6f0c20f774e37cef8dfbccaecb8f85660309
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
saul.gill [Tue, 6 Dec 2022 15:27:11 +0000 (15:27 +0000)]
Fix dockersuse profile
Addition of mvn properties to make Dockerfile configurable
caused ignoring of dockersuse properties.
Removed overriding properties and manually tested.
Added dockerfile names to docker profile too.
Issue-ID: POLICY-4473
Change-Id: Ic7432524127500c7533d0d72172027142de1ee4c
Signed-off-by: saul.gill <saul.gill@est.tech>
aravind.est [Tue, 6 Dec 2022 15:42:08 +0000 (15:42 +0000)]
A1pms: Fix Code smells and coverage
Issue-ID: CCSDK-3816
Signed-off-by: aravind.est <aravindhan.a@est.tech>
Change-Id: Ifa9a5d538d13e59ec842edee6d3cbc43a0f0df1d
lapentafd [Tue, 6 Dec 2022 12:13:22 +0000 (12:13 +0000)]
Clamp models utils code coverage
Issue-ID: POLICY-4476
Change-Id: Ia18a80565abbf8e9aaeba270f60b6984aa8078ef
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Liam Fallon [Tue, 6 Dec 2022 15:46:31 +0000 (15:46 +0000)]
Merge "Replace SpringFox with SpringDoc in CLAMP"
liamfallon [Thu, 1 Dec 2022 15:24:57 +0000 (15:24 +0000)]
Replace SpringFox with SpringDoc in CLAMP
This commit:
- Remove springfox from CLAMP
- updates the commissioning, AC Element, and K8S particiapnt to use the
generated interface rather than the hard coded one
- removes swagger annotations from handwritten code
- implements SpringDoc for the <base_path>/v3/api-docs on endpoints
Issue-ID: POLICY-4404
Change-Id: I49f48bc7828cb49dab854ef9ed16a9aa377983e1
Signed-off-by: liamfallon <liam.fallon@est.tech>
Liam Fallon [Mon, 5 Dec 2022 17:36:04 +0000 (17:36 +0000)]
Merge "Refactor POST and PUT Automation Composition"
Liam Fallon [Mon, 5 Dec 2022 17:35:54 +0000 (17:35 +0000)]
Merge "Save ToscaServiceTemplate as Json in ACM"
FrancescoFioraEst [Thu, 1 Dec 2022 09:15:22 +0000 (09:15 +0000)]
Refactor POST and PUT Automation Composition
Refactor POST and PUT Automation Composition to handle
a single resource instead of a list.
Issue-ID: POLICY-4470
Change-Id: Ic7025e1eafdd197487bc5268993ec5e3e5520025
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Liam Fallon [Wed, 30 Nov 2022 15:10:38 +0000 (15:10 +0000)]
Merge "Add A1 PMS participant"
Liam Fallon [Wed, 30 Nov 2022 14:22:22 +0000 (14:22 +0000)]
Merge "Move git-commit-id-maven-plugin to parent pom"
FrancescoFioraEst [Mon, 28 Nov 2022 17:31:45 +0000 (17:31 +0000)]
Save ToscaServiceTemplate as Json in ACM
Save ToscaServiceTemplate as Json using DocToscaServiceTemplate
as model.
Issue-ID: POLICY-4468
Change-Id: I4c6f49012d091b87f0da4db2edcd5f16af2f4d5c
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Liam Fallon [Mon, 28 Nov 2022 14:59:43 +0000 (14:59 +0000)]
Merge "Link the AutomationComposition with AutomationCompositionDefinition"