aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/src/main/java/org/onap
AgeCommit message (Collapse)AuthorFilesLines
2022-02-18Rename TOSCA Control Loop to ACMliamfallon1-1/+1
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>
2022-01-27Fix for authorization error on clamp besaul.gill1-0/+2
Issue where requests from policy-gui were intermittently rejected toscaControlLoop path was not registered cadi filter Issue-ID: CLAMP-1029 Change-Id: I142ecdc255b0b917202e4ec3471199bf7992928d Signed-off-by: saul.gill <saul.gill@est.tech>
2021-09-29Add Instant Serializer/deserializersebdet1-3/+7
In order to decode the PdpGroup Json properly the instant serializer/deserializer must be added. Issue-ID: POLICY-3684 Issue-ID: POLICY-3682 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I25d96fa3293d8338a2cb6073083121c7663f19b4 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2021-09-02Fix eclipse warnings in clampJim Hahn8-110/+104
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-08-27clamp sonar fix on test code and the restTaka Cho17-29/+9
- 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-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-20sonar fix for clampTaka Cho2-4/+3
- 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-05Use slf4j instead of EELFLogger in ClampTaka Cho34-217/+185
replace EELF with slf4j logback using slf4j Marker from common repo Issue-ID: POLICY-3087 Change-Id: I56b43584b1603d9eba642c1cd6ef6190526d078b Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-07-02Added ITs for Commissioning Camel Endpointssaul.gill3-115/+12
Changed emulator to deal with new endpoint tests Added spring property to deal with camel endpoint issue Fixed lingering checkstyle violations Issue-ID: POLICY-3440 Change-Id: I5810913c4418e7893f3ad848618deec1b1a85a0f Signed-off-by: saul.gill <saul.gill@est.tech>
2021-06-30Update CLAMP: checkstyle 8.43/Spring dependenciesliamfallon3-6/+8
Updates are indentation changes on annotations and rationallization of the dependencies for Spring/Springboot Generation of swagger.json, swagger.html and swagger.pdf temporarily disabled due to a missing dependency in the generation toolchain. Issue-ID: POLICY-3209 Change-Id: Iff5881df45ef54b20fa30f63e2393cc1cdbf4bfe Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-06-17Clean up CLAMP Sonar and checkstyle issuesliamfallon21-296/+293
This commit cleans up sonar and checkstyle issues identified in the CLAMP repository. Issue-ID: POLICY-3206 Change-Id: I16b61bbe771cc17de15183a24b2a5e82a8d35872 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-05-13Modular structure of clamp including controlloopSirisha_Manchikanti139-0/+17039
This commit is the first commit that puts in multi module structure while changing the existing CLAMP code as little as possible. It adds a structure where common, models, participant and runtime are direct children under clamp, and current clamp code is moved under runtime. This runtime directory will host controlloop runtime code in later commits. Issue-ID: POLICY-3215 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I15bc8be92ed020343bff4024c4718fec462c40d7 Signed-off-by: liamfallon <liam.fallon@est.tech>