aboutsummaryrefslogtreecommitdiffstats
path: root/models
AgeCommit message (Collapse)AuthorFilesLines
2023-06-01Add Failure handling support in the ACM-RFrancescoFioraEst9-29/+115
Issue-ID: POLICY-4705 Change-Id: I919b7981cdbe69ac7ce703fceb2e980a6d9a056e Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-05-25Set snapshot and/or references of policy/clamp for new releaseliamfallon1-1/+1
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4662 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I0697ed63e666a83458b4d05712a2eabd51482f65
2023-05-24Update snapshot and/or references of policy/clamp to latest snapshotsliamfallon1-1/+1
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4662 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I85d01a42bda7693499a1ea0fc64f8ca7818e86a1
2023-05-23Update AC Element properties on the DEPLOYED staterameshiyer274-3/+77
User can update the instance property values on DEPLOYED state. The runtime sends PROPERTY_UPDATE event to the participants and the updated values are stored on the runtime database. Participants can implement the update method to perform the required action. Issue-ID: POLICY-4682 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Ic35fba669b5ffcf2c75d6deaa8c309d58e4026f0
2023-05-18Rename statusProperites to outProperites in ACMFrancescoFioraEst5-11/+11
Issue-ID: POLICY-4687 Change-Id: Ida8ff3fbc72c2f6d75a8e3399fa40099696c1477 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-05-17Add extend instance deletion support in ACMFrancescoFioraEst6-14/+46
Extend the functionality of deletion step to also inform the participant of instance deletion. This allow the participant to take any necessary steps that might result from instance deletion. Issue-ID: POLICY-4686 Change-Id: Ibeb44d472da20ad98dafa9ddd7ded28398f4ed10 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-05-16Add participant capability to send message with status and propertiesFrancescoFioraEst2-0/+8
Add participant capability to send message with status and properties to ACM-R when those values need to be change. Issue-ID: POLICY-4679 Change-Id: Idca5796c199b235e1f829097316c50688a351e80 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-05-03Add participant properties capability to acm/participantsFrancescoFioraEst4-1/+19
Add statusProperties support in acm acm/participants. Issue-ID: POLICY-4652 Change-Id: I6dd37c9be58fce36def022364abe46c791e98a77 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-04-25Update snapshot and/or references of policy/clamp to latest snapshotsSuresh Charan1-1/+1
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4648 Signed-off-by: Suresh Charan <suresh.charan@bell.ca> Change-Id: I79a77b7f325a75a6f0fca2f6b90b7b341626efb8
2023-04-11Add UseState and OperationalState support in ACMFrancescoFioraEst10-56/+210
Issue-ID: POLICY-4639 Change-Id: Iac5249c054bf41d830463826a8f61f477c48235b Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-04-04Fix Participant primed status in ACMFrancescoFioraEst1-1/+3
Fix Participant primed status is not updated correctly in the runtime Issue-ID: POLICY-4625 Change-Id: I6a3ce7b73f5edaeedf84ec43c7f62c526cd99f36 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-03-01Update snapshot and/or references of policy/clamp to latest snapshotssaul.gill1-1/+1
policy/clamp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4570 Signed-off-by: saul.gill <saul.gill@est.tech> Change-Id: Ie3d538408fd63a5a2c667fb7a868b9ce67921f90
2023-02-17Clean up dependencies for London Releaseliamfallon1-2/+1
Issue-ID: POLICY-4482 Change-Id: I8210a48b1080e715ef279c4fedae8dcb6165756f Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-02-16Remove AutomationCompositionState from ACMFrancescoFioraEst7-165/+0
Issue-ID: POLICY-4559 Change-Id: Ib088c76fd39fcaf8fc7b5f315880e2619186caec Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-02-15Merge "Refactor yaml files in ACM"Liam Fallon1-3/+3
2023-02-15Merge "Implement recording of Operational State and Usage State on ACM-R"Ramesh Murugan Iyer5-105/+128
2023-02-15Add undeploy on deregister (acm-side)saul.gill3-2/+115
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>
2023-02-14Implement recording of Operational State and Usage State on ACM-RFrancescoFioraEst5-105/+128
Issue-ID: POLICY-4511 Change-Id: I3a241bf602e6625d91cee2dc5242b76165bcd381 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-02-14Refactor yaml files in ACMFrancescoFioraEst1-3/+3
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>
2023-02-13Deployment and undeployment on Participant IntermediaryFrancescoFioraEst2-5/+3
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>
2023-02-10Initial support for Implement recording of Operational StateFrancescoFioraEst8-179/+36
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>
2023-02-08Implement AC Element Instance Locking and Unlocking on ACM-RFrancescoFioraEst9-95/+30
Issue-ID: POLICY-4509 Change-Id: I8bca27cfa2a417314a27e2bec3938b538f05e346 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-02-08Merge "Replace Eclipselink with Hibernate"Ramesh Murugan Iyer2-5/+11
2023-02-03Handle AC Element Instance Deployment and undeployment on ACM-RFrancescoFioraEst9-120/+103
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>
2023-02-02Replace Eclipselink with Hibernateliamfallon2-5/+11
Issue-ID: POLICY-4533 Change-Id: Iefaacb546812ccb660f32be012a44283c90b334a Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-02-02Refactor ParticipantUpdate to ParticipantPrimesaul.gill5-30/+30
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>
2023-02-01Upgrade and clean up dependenciesliamfallon7-27/+4
- 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>
2023-02-01Merge "Add element and definition map to ppnt endpoints"Liam Fallon7-7/+282
2023-02-01Merge "Refactor ACM Update message to ACM Deploy message in ACM"Liam Fallon11-65/+137
2023-02-01Merge "Added deployState to Automation Composition"Liam Fallon7-17/+187
2023-01-31Added deployState to Automation Compositionsaul.gill7-17/+187
Added deployState and lockState Issue-ID: POLICY-4506 Change-Id: If7fa2cc1f3c729de5dc261e2b527b03c0009e99c Signed-off-by: saul.gill <saul.gill@est.tech>
2023-01-31Refactor ACM Update message to ACM Deploy message in ACMFrancescoFioraEst11-65/+137
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>
2023-01-31Add element and definition map to ppnt endpointssaul.gill7-7/+282
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>
2023-01-30Refactor Prime and Deprime messages in ACMFrancescoFioraEst11-111/+219
Issue-ID: POLICY-4502 Change-Id: Ib0ecc513285bf971a0c25cec528dcdeec5ad63a2 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-01-30Remove ParticipantType in all yaml filesFrancescoFioraEst1-16/+1
Issue-ID: POLICY-4538 Change-Id: I9f6d8830f64ef1178d3e20c7d00374156a84b59e Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-01-26Remove participantType and referencessaul.gill22-209/+56
Issue-ID: POLICY-4538 Change-Id: Idf3f0308254a318b3e72aa8a234fd7c78f6ffd82 Signed-off-by: saul.gill <saul.gill@est.tech>
2023-01-25Models for refactor Prime and Deprime in ACMFrancescoFioraEst13-56/+445
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>
2023-01-23Refactor participantId as UUIDFrancescoFioraEst14-276/+80
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>
2023-01-23Merge "Refactor AcInstanceState Update on ACM"Ramesh Murugan Iyer11-132/+308
2023-01-19Add supported ac elements to participantssaul.gill13-27/+560
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>
2023-01-19Refactor AcInstanceState Update on ACMFrancescoFioraEst11-132/+308
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>
2023-01-18Merge "Remove reference type of participantId in Unit Tests in ACM-models"Liam Fallon14-59/+130
2023-01-17Remove reference type of participantId in Unit Tests in ACM-modelsFrancescoFioraEst14-59/+130
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>
2023-01-17Remove FilterRepository in ACMFrancescoFioraEst7-267/+17
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>
2023-01-12Add participant controller in ACMsaul.gill7-28/+126
Added participant controller Altered openapi spec Added participantId Issue-ID: POLICY-4496 Change-Id: I0c0ea93dacb6927e6f16bd4638d03db6266be3bd Signed-off-by: saul.gill <saul.gill@est.tech>
2023-01-12Merge "Refactor AcTypeState Update"Liam Fallon8-77/+254
2023-01-10Refactor AcTypeState UpdateFrancescoFioraEst8-77/+254
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>
2023-01-06Refactor register deregister a Participant and Supervise ParticipantsFrancescoFioraEst13-304/+68
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>
2023-01-05Merge "Refactor Post instances to create and update ACM instances"Liam Fallon2-35/+1
2023-01-04Refactor Post instances to create and update ACM instancesFrancescoFioraEst2-35/+1
Issue-ID: POLICY-4493 Change-Id: I31c00e6d61a53dcd6a03a911a618f1c6495f2d38 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>