Age | Commit message (Collapse) | Author | Files | Lines |
|
Fix close response using try-with-resources statement
Issue-ID: POLICY-4834
Change-Id: Ifc90a09816b2338b020fc72125f2dd5450428409
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
Issue-ID: POLICY-4834
Change-Id: I17efea9b14bb39d7abbafa4f3b695b0451a08c68
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
Issue-ID: POLICY-4834
Change-Id: I4489dc66e9b20c8264ec88593f0b5d89d62f1ef8
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
Issue-ID: POLICY-4825
Change-Id: Iebdd0b8c4890e9c022f68396f11f7ba8c80bef00
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
Issue-ID: POLICY-4673
Change-Id: I01fd3677687b5d2e065d0cc131b338ed841d7e99
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
|
|
Issue-ID: POLICY-4783
Change-Id: Ib0c89298a29a3524787e11ff7e25d3d22d01b534
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
Issue-ID: POLICY-4747
Change-Id: I09ca3e373f8271fbfe612c031920058b744cf413
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
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>
|
|
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>
|
|
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>
|
|
In the case, a policy-participant fails to deploy an element,
it should responds with UNDEPLOYED on a DEPLOY order.
Issue-ID: POLICY-4695
Change-Id: I9daca4ab1311d96351bb5db4405e0f280ad4a7c6
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
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>
|
|
Issue-ID: POLICY-4639
Change-Id: Iac5249c054bf41d830463826a8f61f477c48235b
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
SNI is now supported in Jersey.
Issue-ID: POLICY-4474
Change-Id: I7e52aa5c632409422c11ad875cb70ce1324ab655
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Fix UNDEPLOY transition in policyParticipant when there are
more then one service template defined
Issue-ID: POLICY-4561
Change-Id: Ib05b995a215d9f5f62c69f7058db128474f48dab
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
- 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>
|
|
Issue-ID: POLICY-4538
Change-Id: I9f6d8830f64ef1178d3e20c7d00374156a84b59e
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
Issue-ID: POLICY-4538
Change-Id: Idf3f0308254a318b3e72aa8a234fd7c78f6ffd82
Signed-off-by: saul.gill <saul.gill@est.tech>
|
|
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>
|
|
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>
|
|
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>
|
|
Issue-ID: POLICY-4489
Change-Id: I1fb8c04eacee040d5c944c522ca59a2a9a50376b
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
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>
|
|
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>
|
|
Issue-ID: POLICY-4433
Change-Id: I625c9ee26bb2451e0dcfbb4bbf7288dcc0effb50
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
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>
|
|
Issue-ID: POLICY-4393
Change-Id: I31399942e603b2f29921c38c7dc1b9ab18be0d09
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Added junits for handler and policy client classes which improves the
overall module covergae from 38.8% to 92%
Issue-ID: POLICY-4365
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I0a860cff870b77a29a66f04645c64fdd8cf66313
|
|
Fix Clamp build fails in policy participant module
while processing policies without topology template.
Issue-ID: POLICY-4339
Change-Id: I94f2f0e0acede233f33668e2b083c58e15181290
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
Policy participant always updates the state of AC element to PASSIVE, irrespective of
success/failure scenarios in policy creation and deployment. This causes
inconsistency in AC overall state and CSIT validation fails.
Verifying the response code from api and pap before updating the AC element state from policy participant.
Issue-ID: POLICY-4270
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I0ecf770d9803e520401ba49cd47c22ac6e4f9c17
|
|
Issue-ID: POLICY-4225
Change-Id: Ib069dec0acfdd85e45659deffb45398f7eae5e54
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
Issue-ID: POLICY-3941
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: I3a9d66b5f6be55e722bb15326d0af83a1b698a02
|
|
- 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>
|
|
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>
|
|
Issue-ID: POLICY-3874
Change-Id: If8a8a85dcb61389114a14c207c29ca55ba73161f
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
|
|
Added Camel Unit Tests to test creation of instance properties
Updated credentials for Rest End point
Issue-ID: POLICY-3565
Change-Id: I0899d3052588822f02a8a003eb4bc406bc887713
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
|
|
Issue-ID: POLICY-3452
Change-Id: Iad815f2c0e239356f5e21e2fedd8e7b9e8f523d2
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
|
|
|
|
Issue-ID: POLICY-3747
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I9cb1ffcc2f9996c5b0e9f67fec9c706e48cfa800
|
|
Changes config files to use "useHttps" instead of "https"
Issue-ID: POLICY-3817
Change-Id: Ic945150eff5334cbba77b4da77d72dc1283d4e67
Signed-off-by: saul.gill <saul.gill@est.tech>
|
|
Remove code-smells reported by sonar cloud
https://sonarcloud.io/project/issues?id=onap_policy-clamp&resolved=false
Issue-ID: POLICY-3540
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: I8ed1c4599e7eeebbc3a31e74cea4148eb0435847
|
|
|
|
This commit moves duplicate code from runtime and participant
to common
Issue-ID: POLICY-3542
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: Ia7cea1d2c88031c72af77338e242f8981e536c21
|
|
Change the policy-participant to use DeploymentGroups to generate JSON body rather than manual generation
Issue-ID: POLICY-3793
Change-Id: I3a049e2be8a677f5a5aeff7ed14e44d7252a2fb7
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
|
|
Add policy deployment and undeployment to the policy-participant
Allow user to specify pdpGroup and pdpdType as part of the
deployment or undeployment of policies
Change-Id: I8b37ee96305d35db0784cde3e4564150feaf477d
Issue-ID: POLICY-3584
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
|
|
This commit adds a Priming flag per controlloop which indicates
whether a controlLoop is primed or deprimed. There is a rest
end-point added to depict in GUI
Issue-ID: POLICY-3577
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: Ie81a41505ab1eafda9515733e0b895421803ea8a
|