aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-09-08Merge "Fix parsing of type heirarchy for nodetypes"Liam Fallon24-65/+280
2021-09-08Merge "Add postman collection for http, k8s participants"Ajith Sreekumar3-0/+762
2021-09-08Merge "Fix bugs on k8s-particpant"Liam Fallon5-6/+13
2021-09-07Fix parsing of type heirarchy for nodetypesSirisha_Manchikanti24-65/+280
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-07Add postman collection for http, k8s participantsrameshiyer273-0/+762
Issue-ID: POLICY-3629 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Ic8213e2fd420a284ca4cc81f33e875f59c8906b8
2021-09-06Add docker image for http participantrameshiyer2710-4/+185
Issue-ID: POLICY-3627 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I63216148adf503f00f444a9bb395f5738c8fa2b3
2021-09-06Fix bugs on k8s-particpantrameshiyer275-6/+13
Configure repository without port Add CL element state change Fix log directory creation inside container Issue-ID: POLICY-3629 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I4564025a94053342b21e6600e0ee7c563bd23243
2021-09-03Merge "Fix eclipse warnings in clamp"Pamela Dragosh14-129/+120
2021-09-03Merge "Fix sonars in clamp #2"Pamela Dragosh18-25/+40
2021-09-03Merge "Fix sonars in clamp"Ajith Sreekumar25-107/+71
2021-09-02Fix eclipse warnings in clampJim Hahn14-129/+120
Fixed some of these warnings, just in policy-clamp-runtime: - equals() with wrong argument type in junit - remove unneeded "SuppressWarning" - unused fields - deprecated classes/methods Fixed some sonars, too: - use isEqualByComparingTo() - method complexity: used eclipse to auto-extract methods Fixed checkstyle issues: - indentation level Did not address all deprecation issues (e.g., SSLSocketFactory). Issue-ID: POLICY-3200 Change-Id: Ibd92e5326854002dc0ca2d7b3b777699cafb5e98 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-09-02Merge "Verify alignment with Definition of TOSCA Control Loop Types"Jim Hahn24-306/+267
2021-09-02Fix sonars in clamp #2Jim Hahn18-25/+40
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-01Fix sonars in clampJim Hahn25-107/+71
Fixed some sonars: - no assertion in test case - unused fields - unthrown exception - define a constant - use boolean instead of Boolean - remove unused parameter Fixed some eclipse warnings: - unused imports - unused methods - suppress warnings - add type parameter Renamed directory from "org.onap.policy..." to "org/onap/policy/...". Issue-ID: POLICY-3200 Change-Id: I76f7cd4a508ac421c37e457fdca6894e6100c802 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-09-01Send ToscaServiceTemplateFragment with policies, policy-typesSirisha_Manchikanti16-114/+180
ToscaServiceTemplateFragment contains policies, policy-types and respective datatypes to be sent to Policy participant, and there on to Policy Framework to create new policies or policy-types that doesnot exist in the database. https://wiki.onap.org/display/DW/The+CLAMP+Policy+Framework+Participant Issue-ID: POLICY-3607 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I2b98d7dc6946b0c27763f1a150d1bf4adca90a2f
2021-09-01Verify alignment with Definition of TOSCA Control Loop TypesFrancescoFioraEst24-306/+267
Issue-ID: POLICY-3612 Change-Id: I818f80cdc1db98752a7791ef4aba7377add66516 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-08-31Fix merged CLAMP build failuresaul.gill1-1/+1
Issue-ID: POLICY-3588 Change-Id: I66d38e023907e4b9e37a710fa42f8995023dcd3b Signed-off-by: saul.gill <saul.gill@est.tech>
2021-08-31Merge "Fix issues in Intermediary config of http participant"Pamela Dragosh3-6/+53
2021-08-31Merge "Fixed participant registration ACK"Pamela Dragosh1-0/+8
2021-08-31Merge "Export basic prometheus metrics from clamp"Jim Hahn8-4/+165
2021-08-31Fix ControlLoopAck and remove circular dependencyFrancescoFioraEst7-169/+150
Issue-ID: CLAMP-1028 Change-Id: I23b6806bf9a22449c7709b619a20f3412e3e3742 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-08-30Export basic prometheus metrics from clampFrancescoFioraEst8-4/+165
POLICY-3557: Export basic prometheus metrics from clamp Change-Id: Ica71d089255e2a8881f668ceeb578993996f9a38 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-08-30Fixed participant registration ACKsaul.gill1-0/+8
Particiapnts now send status message after registration This adds participants to the DB in Runtime Issue-ID: POLICY-3588 Change-Id: Idb62b429a6e2e0047d6946d9718c78560a7cd659 Signed-off-by: saul.gill <saul.gill@est.tech>
2021-08-30Fix issues in Intermediary config of http participantrameshiyer273-6/+53
Issue-ID: POLICY-3589 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I75f0faaded291d7f40e6d0d94609159f8366583f
2021-08-27clamp sonar fix on test code and the restTaka Cho58-170/+171
- rename files to "...ItTestCase" to comply SONAR and checkstyle - surefire plugin include *Test.java files - failsafe plugin include *ItTestCase.java files - use assertEquals etc. - replace to "var" - remove unused import Issue-ID: POLICY-3452 Change-Id: I2e6e829726c4585f5f8bc985f4e8f2b88d17aef1 Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-08-26Fix issue in event handling in participantsFrancescoFioraEst24-150/+337
Fix issue in event handling in participants and refactor Participant Publisher and Listener Issue-ID: POLICY-3544 Change-Id: Ic92ffa79d303adfb1c3319fbfefb1faef911a9d4 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-08-26Merge "Updated handling of ack messages"Liam Fallon20-89/+268
2021-08-25Merge "Intermittent issue in event handling between Cl runtime and participants"Jim Hahn8-40/+121
2021-08-25Updated handling of ack messagesSirisha_Manchikanti20-89/+268
Issue-ID: POLICY-3417 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I5784debf2e17fd1018b3feb7c9e2ae08d5f93d23
2021-08-25Merge "Add support for configuring new helm repository"Jim Hahn8-37/+204
2021-08-25Merge "Added dmaap messages on commission/decommission"Jim Hahn10-57/+233
2021-08-25Added dmaap messages on commission/decommissionsaul.gill10-57/+233
Added dmaap message trigger to commissioning endpoint Added dmapp message trigger to decommissioning endpoint Issue-ID: POLICY-3415 Change-Id: I37ab580c9713d1002becd3bc3af674c2ca17b3c9 Signed-off-by: saul.gill <saul.gill@est.tech>
2021-08-24Merge "clamp sonar fix on runtime dir"Jorge Hernandez55-302/+328
2021-08-24Intermittent issue in event handling between Cl runtime and participantsFrancescoFioraEst8-41/+121
Issue-ID: POLICY-3544 Change-Id: I40c5dc537b17986d01ab0d213e7ea7c9cdb7d59e Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-08-24Merge "Add Create Instance Rest Endpoint"Liam Fallon9-9/+334
2021-08-23clamp sonar fix on runtime dirTaka Cho55-302/+328
- most of fixes are changed to "var" - Exceptions should be either logged or rethrown but not both - Ternary operators should not be nested - "String#replace" should be preferred to "String#replaceAll" - Annotation repetitions should not be wrapped - "throws" declarations should not be superfluous Issue-ID: POLICY-3452 Change-Id: I8894539aa25a8271410fe79c8d898a45a7a4db31 Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-08-23Add support for configuring new helm repositoryrameshiyer278-37/+204
Issue-ID: POLICY-3480 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I2499cd8ab9a4cf6390c2c4d834264b3754855d23
2021-08-23Add Create Instance Rest Endpointbrunomilitzer9-9/+334
Added Camel Endpoint Will Apply Unit Tests on POLICY-3537, since focus is to get the functionalities completed. Issue-ID: POLICY-3436 Change-Id: I8305896b24c30fc0403c57b3925af983065a5ec2 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-08-20sonar fix for clampTaka Cho21-52/+89
- bug: added InterruptedException for sleep - vulns: two false positve - removed some unused import - changed to use var for local variable Issue-ID: POLICY-3452 Change-Id: I8b4be1378a2aad8f68562b63f70853832673ce97 Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-08-20Merge "Fix test failure on Http participant"Jim Hahn1-4/+48
2021-08-20Merge "ADD Change State Control Loop Definition"Jim Hahn7-0/+261
2021-08-20Merge "Added New Commissioning Unit Tests"Jim Hahn3-0/+3769
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-20ADD Change State Control Loop Definitionbrunomilitzer7-0/+261
Issue-ID: POLICY-3425 Change-Id: I0898feefd0d63802e90c1c191d1ac1f14f7df389 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-08-19Added New Commissioning Unit Testssaul.gill3-0/+3769
Adding new tests for CommissioningController Adding new tests for CommissioningProvider Issue-ID: POLICY-3439 Change-Id: I4a59b971389a2bf35ec3df13b653a1c964f552c0 Signed-off-by: saul.gill <saul.gill@est.tech>
2021-08-18Updated ControlLoop component messagesSirisha_Manchikanti46-1905/+1431
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-08-12Merge "Fix serialization of messages in Control Loop and Participants"Jorge Hernandez20-65/+123
2021-08-12Merge "Fix ParticipantStatus message in Control Loop and Participants"Jorge Hernandez3-17/+12
2021-08-11Fix serialization of messages in Control Loop and ParticipantsFrancescoFioraEst20-69/+123
Issue-ID: POLICY-3536 Change-Id: I72207ba8b3894238412bf19c32b799b661a23c21 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-08-11refactor LoggerMarkerFilter to common repoTaka Cho1-3/+3
logback.xml should point to common repo instead Issue-ID: POLICY-3087 Change-Id: I5cdf1ea081274737870c6456e9fa0ee601ee741e Signed-off-by: Taka Cho <takamune.cho@att.com>