summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-09-23Merge "Fix startPhase in runtime and participants"Liam Fallon7-37/+122
2021-09-23Merge "Fix k8s participant junits ignored in mvn build"Liam Fallon3-14/+15
2021-09-23Fix k8s participant junits ignored in mvn buildrameshiyer273-14/+15
Updated rest end points in junits Fixed json parsing issue Issue-ID: POLICY-3678 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I05b2cac0b5d42f8ea6fef4e2ecfd84a90483b513
2021-09-22Fix startPhase in runtime and participantsFrancescoFioraEst7-37/+122
Issue-ID: POLICY-3677 Change-Id: I78635928086cc39fc3539925052e06b657b249c2 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-09-22Merge "Removed Instance From Participant Type."Liam Fallon1-8/+18
2021-09-21Merge "Code Coverage in clamp intermediary"Liam Fallon5-2/+287
2021-09-21Merge "Fix common properties constraint and add startDelay"Jorge Hernandez1-5/+14
2021-09-21Fix common properties constraint and add startDelayliamfallon1-5/+14
The constraiont for greater or equal (>=) should be greater_or_equal, not greater-or-equal. Also, we need a startDelay parameter in order to synchronize the control loop element starts. Issue-ID: POLICY-3676 Change-Id: I20ecbafb1205c8af5364e75ac36a2cb879b9fe47 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-21Removed Instance From Participant Type.brunomilitzer1-8/+18
Added Null Checker on Participant Type and ID Issue-ID: POLICY-3647 Change-Id: I5bed8ec7f302990745d9c8583c65bdf49dec3ab3 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-09-20Code Coverage in clamp intermediarylapentafd5-2/+287
Issue-ID: POLICY-3452 Change-Id: Ieb0d1153f5f2323bfc73cae7221dfba73b59b725 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2021-09-17Enable SSL connectionFrancescoFioraEst9-18/+48
Enable SSL connection in Rest Api and SSL connection to DMaap. Issue-ID: POLICY-3649 Change-Id: I48db31d3f30d580cea0cfdc385d2c763c212e330 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2021-09-15Bump policy-clamp snapshot version to 6.1.3-SNAPSHOTliamfallon17-17/+17
Issue-ID: POLICY-3587 Change-Id: Ie3e6aba3a2dd64f36fcf5cbd860fe9b63ee4e8aa Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-15Release clamp 6.1.2 docker imagesliamfallon1-0/+18
Issue-ID: POLICY-3587 Change-Id: I203d21423be6e0c83e27f776ff5e1dcf2aff8960 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-15Release clamp 6.1.2 maven artifactsliamfallon1-0/+5
Issue-ID: POLICY-3587 Change-Id: I8ce3aa2df04490642a7730f7ee603e6ff63f814a Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-15Disable swagger pdf/html generationliamfallon1-1/+1
Issue-ID: POLICY-3587 Change-Id: I8a6ad2f18e8de71c03b6729c241c3c64a480c4f1 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-15Fix staging error, remove tests jar dependencyliamfallon1-8/+43
We are skipping tests in staging jobs so the policy-clamp-common tests jar is not staged. This commit introduces profiles to avoid a dependency error in staging jobs for that jar. Issue-ID: POLICY-3587 Change-Id: I1b893fa1cbfd5da38272b531cc7f1130421a5cc6 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-15Add policy deployment/undeployment to policy-participantwaynedunican7-11/+193
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>
2021-09-14Add Priming flag per controlloopSirisha_Manchikanti11-17/+234
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
2021-09-14Merge "Fixed Maven Clean Issue with Node Dependencies"Liam Fallon3-1/+67
2021-09-14Fixed Maven Clean Issue with Node Dependenciesbrunomilitzer3-1/+67
Issue-ID: POLICY-3641 Change-Id: I55f8cb95b21690834dcb8fce29dadd809a944705 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-09-14Merge "Use released common and models"Liam Fallon1-2/+2
2021-09-14Merge "Update participant state and health in DB"Pamela Dragosh1-0/+18
2021-09-13Use released common and modelsliamfallon1-2/+2
Issue-ID: POLICY-3587 Change-Id: I766edc453e6be85c2d477e8f86d2d499230f10d1 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-13Merge "Update docker image names of CL components"Liam Fallon1-7/+7
2021-09-13Update participant state and health in DBSirisha_Manchikanti1-0/+18
Update the state and health-status of a participant in database to TERMINATED and OFF_LINE respectively when there is a ParticipantDeregister message from any of the participants. Issue-ID: POLICY-3578 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I9c6c028be4c15922717795e2a53cb53d02579dcc
2021-09-13Update docker image names of CL componentsrameshiyer271-7/+7
Issue-ID: POLICY-3636 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Icc28af7a2d12830fc8a674d9ebee4461c296276d
2021-09-10Merge "Verify participant Simulator and messages"Liam Fallon24-373/+451
2021-09-09Fixed Delete Instance Properties Endpointbrunomilitzer10-74/+530
Fixed issue regarding that control loops was not getting instantiated Fixed issue regarding state change that was not receiving paramaters Added appropriate Camel Endpoints Unit tests will be applied on POLICY-3568 and POLICY-3567 Issue-ID: POLICY-3558 Change-Id: I11a1093bdb16651fe1c0ad8e267ded5390267a30 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-09-09Verify participant Simulator and messagesFrancescoFioraEst24-373/+451
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-09Point at released policy parentliamfallon1-1/+1
Issue-ID: POLICY-3587 Issue-ID: POLICY-3587 Change-Id: I41a98f3f03d6547adb0ec496011dc80d7655a534 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-09Merge "Update INFO.yaml"Pamela Dragosh1-21/+20
2021-09-08Remove DCAE participant and its referencesSirisha_Manchikanti35-6759/+3
DCAE interactions are handled by k8s-participant from Istanbul due to the helm migration of DCAE services. Cloudify manager is no longer used in DCAE. Issue-ID: POLICY-3630 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: Ifc4cb2491d10cbb57c2e886480f4df7a691f2166
2021-09-08Update INFO.yamlliamfallon1-21/+20
Update the INFO.yaml file with latest information. Issue-ID: POLICY-3552 Change-Id: Ie9840e9add4a47ec44be01dcda75aaac946ee7c3 Signed-off-by: liamfallon <liam.fallon@est.tech>
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>