Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Issue-ID: POLICY-3452
Change-Id: I35c10562c5e11698491a5d93adcf417784395534
Signed-off-by: lapentafd <francesco.lapenta@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
|
|
|
|
|
|
|
|
|
|
Fixes for the removal of duplicate code blocks reported by sonar cloud
Issue-ID: POLICY-3792
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: I8943f625cd940e7d1f9dd04b0dff2dd838879431
|
|
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>
|
|
Issue-ID: POLICY-3452
Change-Id: If4fe15d4e74a7f04b77fb1d6dc70f1b7cd32baa6
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
|
|
Issue-ID: POLICY-3785
Change-Id: I1b5821cc42cdbb63e3172596431dc561ced09c55
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
|
|
|
|
Issue-ID: POLICY-3530
Change-Id: Ib33daf8491c1bf96460b424e8b0da228d65e571a
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
Participant Handler Test Cases
Issue-ID: POLICY-3452
Change-Id: I8325206fdfbfbc199f593f7e058e28fa0ef2a649
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
|
|
Issue-ID: POLICY-3696
Change-Id: I4dfc0532e30106478c89182f7c2cd573c168a634
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Issue-ID: POLICY-3696
Change-Id: Icef72d76b53fa09c0f88d71431ae5a13d441c787
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
|
|
|
|
Issue-ID: POLICY-3687
Change-Id: I41f8cd80d0c3441533891e7edc21e1440028b852
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
Issue-ID: POLICY-3686
Change-Id: Ia9d8c345412c9d4d5017a6931565d57b16ec0c03
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
Issue-ID: POLICY-3685
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: Ibec537d1ab55fd921481294fc3e193d7f1dc7912
|
|
|
|
|
|
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
|
|
Issue-ID: POLICY-3677
Change-Id: I78635928086cc39fc3539925052e06b657b249c2
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
|
|
Add participantType to participant class, cascade common and
instance properties from runtime to participants
Issue-ID: POLICY-3576
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: Ic9205aafe269ccc6dae0b3463fc6df5c47129e5d
|
|
|
|
Issue-ID: POLICY-3452
Change-Id: Ieb0d1153f5f2323bfc73cae7221dfba73b59b725
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
|
|
Issue-ID: POLICY-3587
Change-Id: Ie3e6aba3a2dd64f36fcf5cbd860fe9b63ee4e8aa
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
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>
|
|
|