Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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
|
|
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>
|
|
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
|
|
|
|
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
|
|
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
|
|
|
|
|
|
|
|
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>
|
|
|
|
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>
|
|
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>
|
|
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
|
|
Issue-ID: POLICY-3612
Change-Id: I818f80cdc1db98752a7791ef4aba7377add66516
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
Issue-ID: POLICY-3588
Change-Id: I66d38e023907e4b9e37a710fa42f8995023dcd3b
Signed-off-by: saul.gill <saul.gill@est.tech>
|
|
|
|
|
|
Issue-ID: CLAMP-1028
Change-Id: I23b6806bf9a22449c7709b619a20f3412e3e3742
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
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>
|
|
Issue-ID: POLICY-3589
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I75f0faaded291d7f40e6d0d94609159f8366583f
|
|
- 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>
|
|
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>
|
|
|
|
|
|
Issue-ID: POLICY-3417
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: I5784debf2e17fd1018b3feb7c9e2ae08d5f93d23
|
|
Issue-ID: POLICY-3544
Change-Id: I40c5dc537b17986d01ab0d213e7ea7c9cdb7d59e
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
Issue-ID: POLICY-3480
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I2499cd8ab9a4cf6390c2c4d834264b3754855d23
|
|
- 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>
|
|
Adding mock server for http tests.
Issue-ID: POLICY-3449
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: Ic1bfacf66e93c835e2ba959756b10caa54377be3
|
|
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
|
|
|
|
Issue-ID: POLICY-3536
Change-Id: I72207ba8b3894238412bf19c32b799b661a23c21
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
Issue-ID: POLICY-3534
Change-Id: I61d27fbe9d7256c391ce1aac657eafa3bafc68ea
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
Updated controlloop messages according to
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: Ied32ea5bb63a6b69286d03f1a7b2b86e3acad7a7
|
|
|
|
|
|
Issue-ID: POLICY-3449
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: Ibfe23a6e98fb760a930b6080dc2291113b3cb4fa
|
|
Updated participant messages according to
https://wiki.onap.org/display/DW/The+CLAMP+Control+Loop+Participant+Protocol
Issue-ID: POLICY-3416
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: Idef19bee05116f11690c7aca0493e731dd128e06
|
|
POLICY-3469: Replace JSON properties files to Yaml from docker images
Change-Id: I23fbd9d84640286725440453d464c397e3144662
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
This commit has no logical changes considered, except renaming
ParticipantControlLoopStateChange message to ControlLoopStateChange message.
According to following wiki ParticipantControlLoopStateChange message is
renamed to ControlLoopStateChange message.
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: I7eaf89ca3fe5ab685b222b604abfd99627776b18
|
|
ParticipantStateChange message is no longer needed, as Runtime is not
allowed to change the state of the participant.
Following Wiki doesnot list ParticipantStateChange message
https://wiki.onap.org/display/DW/The+CLAMP+Control+Loop+Participant+Protocol
Issue-ID: POLICY-3510
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: I06382efa52b1131394518c85d7bc6ce50dd2bbb5
|
|
|
|
This commit has no logical changes considered, except renaming
ParticipantControlLoopUpdate message to ControlLoopUpdate message.
According to following wiki ParticipantControlLoopUpdate message is
renamed to ControlLoopUpdate message.
https://wiki.onap.org/display/DW/The+CLAMP+Control+Loop+Participant+Protocol
Issue-ID: POLICY-3416
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: I73f2b6797393e3352f98db2234ab63b833d7f212
|
|
Issue-ID: POLICY-3418
Change-Id: I957b0ff42ff617fb20ba4134770b43007415a49b
Signed-off-by: waynedunican <wayne.dunican@est.tech>
|
|
|
|
|
|
|