summaryrefslogtreecommitdiffstats
path: root/participant/participant-impl/participant-impl-http/src/test
AgeCommit message (Collapse)AuthorFilesLines
2023-02-14Refactor yaml files in ACMFrancescoFioraEst1-2/+0
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-01Upgrade and clean up dependenciesliamfallon1-2/+2
- 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-01-30Remove ParticipantType in all yaml filesFrancescoFioraEst1-3/+0
Issue-ID: POLICY-4538 Change-Id: I9f6d8830f64ef1178d3e20c7d00374156a84b59e Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-01-23Refactor participantId as UUIDFrancescoFioraEst1-3/+1
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-19Add supported ac elements to participantssaul.gill1-0/+5
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>
2022-12-13Replace ToscaConceptIdentifier with UUID in Participant Messages ACMFrancescoFioraEst2-11/+11
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-4/+3
Issue-ID: POLICY-4433 Change-Id: I625c9ee26bb2451e0dcfbb4bbf7288dcc0effb50 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-09-26Refactor Mock Server in httpParticipant Unit TestsFrancescoFioraEst3-47/+154
Replace MockServerRest, that failing and causing all tests ignored. Issue-ID: POLICY-4366 Change-Id: Icc86cf26f4cd329b0d24b3dd05b85143e6621517 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-03-22Clean up unit testsadheli.tavares8-275/+51
- use the unified test reference folder - fix some sonar lint issues Issue-ID: POLICY-3945 Change-Id: I33e30332d911f02c32937316bac6d2d331ac6346 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-02-18Rename TOSCA Control Loop to ACMliamfallon9-212/+195
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-2/+3
Issue-ID: POLICY-3874 Change-Id: Id5eb4529942e36ead245d28151ffccd4dcb21486 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2021-11-17Code coverage clamp participantlapentafd1-0/+29
Issue-ID: POLICY-3452 Change-Id: I5de10918f91ff2857cf81cc362c9cbecfcb01ec1 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2021-11-11Add health check, metrics and prometheus endpoints for CL participantsrameshiyer277-7/+238
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-0/+5
Issue-ID: POLICY-3685 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Ibec537d1ab55fd921481294fc3e193d7f1dc7912
2021-09-09Verify participant Simulator and messagesFrancescoFioraEst1-1/+4
Add missing ControlLoopElementHandler in participant Simulator and fix some message issues. Issue-ID: POLICY-3628 Change-Id: I9f058c19aa18e070bac6ccaf98fdf7600d66d71e Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-09-08Merge "Fix parsing of type heirarchy for nodetypes"Liam Fallon2-1/+10
2021-09-07Fix parsing of type heirarchy for nodetypesSirisha_Manchikanti2-1/+10
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-03Merge "Fix sonars in clamp #2"Pamela Dragosh1-3/+1
2021-09-02Fix sonars in clamp #2Jim Hahn1-3/+1
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-09-01Verify alignment with Definition of TOSCA Control Loop TypesFrancescoFioraEst1-2/+14
Issue-ID: POLICY-3612 Change-Id: I818f80cdc1db98752a7791ef4aba7377add66516 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-08-20Fix test failure on Http participantrameshiyer271-4/+48
Adding mock server for http tests. Issue-ID: POLICY-3449 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Ic1bfacf66e93c835e2ba959756b10caa54377be3
2021-08-18Updated ControlLoop component messagesSirisha_Manchikanti1-1/+9
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 CLAMPrameshiyer275-0/+550
Issue-ID: POLICY-3449 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Ibfe23a6e98fb760a930b6080dc2291113b3cb4fa