aboutsummaryrefslogtreecommitdiffstats
path: root/participant/participant-impl/participant-impl-http/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2023-08-18Upgrade Java 17FrancescoFioraEst7-22/+21
Issue-ID: POLICY-4673 Change-Id: Ib09bda7db30f53b01b2ea205ad04e5851217da78 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-07-25Add restart support inside participantsFrancescoFioraEst1-0/+23
Issue-ID: POLICY-4747 Change-Id: I15a6c584062d0fcf0c0c0a6b15a8f3c2c96f7c98 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-23Remove Thread support in http participantFrancescoFioraEst2-51/+11
Due the Thread support in Intermediary, Thread support in http participant could be removed. Issue-ID: POLICY-4736 Change-Id: I2d947ab9f62b626b037c593f326e2d0af9bc7a9e Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-12Add failure handling support in IntermediaryFrancescoFioraEst2-46/+1
Add Failure handling support in Intermediary, and refactor the communication between Participant and Intermediary. Issue-ID: POLICY-4707 Change-Id: Ica22e0e820efda372886d6d8da9c3526633321e2 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-09Add Minor Refactor for Intermediary to support failure handlerFrancescoFioraEst1-1/+1
First part related to refactor Intermediary to support failure handler. Rest of refactor will be implemented in POLICY-4707. Issue-ID: POLICY-4732 Change-Id: I12fbec84c154937f3c197070862b18ad5675cc3e Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-06-06Add Failure handling support in all ACM-participantsFrancescoFioraEst1-4/+47
In any transition (like deploy, undeploy,  lock, unlock, update, delete) a participant should respond with the final state of transition, a status indicator (stateChaneResult) indicating if error has occurred and a message. Issue-ID: POLICY-4706 Change-Id: I424bc6d620f476392baee8904e21d3a6c7aa8d6b Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-05-23Refactor failure handling in http-participantFrancescoFioraEst2-14/+25
In the case, a http-participant fails to deploy an element, it should responds with UNDEPLOYED on a DEPLOY order. Issue-ID: POLICY-4694 Change-Id: I97d2660c7b91e4407ff3fa2cc51557b6c96a3a9e Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-05-16Add participant capability to send message with status and propertiesFrancescoFioraEst1-3/+2
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-02-16Fix participantHtml issue with multi instances in ACMFrancescoFioraEst2-74/+75
In AutomationCompositionElementHandler of participantHtml in ACM, refactor the result of the httpClient, that should not be a parameter class, and handle InterruptedException Issue-ID: POLICY-4560 Change-Id: Id5af639734f29f3600b12205bb83d315a162df99 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-02-13Deployment and undeployment on Participant IntermediaryFrancescoFioraEst1-34/+11
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-01Upgrade and clean up dependenciesliamfallon1-20/+22
- 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>
2022-12-13Replace ToscaConceptIdentifier with UUID in Participant Messages ACMFrancescoFioraEst1-13/+9
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>
2022-11-03Add Prometheus metric messages for ACM participantsFrancescoFioraEst1-0/+46
Issue-ID: POLICY-4433 Change-Id: I625c9ee26bb2451e0dcfbb4bbf7288dcc0effb50 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-10-28Remove old implementation of statistics in ACM participantsFrancescoFioraEst1-11/+0
The old implementation of statistics in ACM-participants can be removed due the Prometheus metrics support. Issue-ID: POLICY-4420 Change-Id: I0785b269614aba51f94e71a3fe931541c1918b0c Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-02-18Rename TOSCA Control Loop to ACMliamfallon10-70/+75
This commit renames the TOSCA Control Loop functionality in CLAMP to Automation Composition Management. This review is a direct renaming review and, as everything is renamed together it is large. Issue-ID: POLICY-3939 Change-Id: I28f0a6dd889bf3570a4c1365ae9e71fc58db6d6c Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-01-27Fix HTTP Participant Status Change on API FailureLathish1-7/+22
Issue-ID: POLICY-3874 Change-Id: Id5eb4529942e36ead245d28151ffccd4dcb21486 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2021-11-11Add health check, metrics and prometheus endpoints for CL participantsrameshiyer271-0/+45
Issue-ID: POLICY-3747 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I9cb1ffcc2f9996c5b0e9f67fec9c706e48cfa800
2021-09-29Fix CL state change failures on participantsrameshiyer271-1/+24
Issue-ID: POLICY-3685 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Ibec537d1ab55fd921481294fc3e193d7f1dc7912
2021-09-08Merge "Fix parsing of type heirarchy for nodetypes"Liam Fallon1-3/+4
2021-09-07Fix parsing of type heirarchy for nodetypesSirisha_Manchikanti1-3/+4
Fixed an issue where a ControlLoopElement with type defined in node-types is not parsed. This commit also includes changes to save the state of a controlLoopElement coming from ControlLoopAck message into runtime database. Issue-ID: POLICY-3575 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I1249cf2cabd4a499d80b401f94f7f42f08b350e3
2021-09-02Fix sonars in clamp #2Jim Hahn2-1/+3
Fixed sonars: Fixed eclipse warnings: - unused imports - unused fields - add serialVersionUID Issue-ID: POLICY-3200 Change-Id: Ieaab6e85f65fb5eed6db337060961ba831628905 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-30Fix issues in Intermediary config of http participantrameshiyer272-0/+52
Issue-ID: POLICY-3589 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I75f0faaded291d7f40e6d0d94609159f8366583f
2021-08-18Updated ControlLoop component messagesSirisha_Manchikanti1-22/+13
Updated controlloop messages (ParticipantUpdate, ControlLoopUpdate, ParticipantStatus) according to the following Wiki and added implementation for the corresponding updates in runtime-controlloop and participant components https://wiki.onap.org/display/DW/The+CLAMP+Control+Loop+Participant+Protocol Issue-ID: POLICY-3417 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I80d96a7553a89ca47de2aa35e09df5a5c792acfa
2021-07-29Implement http participant in CLAMPrameshiyer278-0/+542
Issue-ID: POLICY-3449 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Ibfe23a6e98fb760a930b6080dc2291113b3cb4fa