diff options
author | Jim Hahn <jrh3@att.com> | 2019-06-24 08:41:18 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2019-06-24 12:54:43 -0400 |
commit | b52c7f21f7defaeaf86ff3921fe7bc18670ce2c1 (patch) | |
tree | 2c658433bf5a26cfd05e95feb9994f197662e94b /integrity-monitor/pom.xml | |
parent | d6aa3faba917b45e01f5001fe3a768feddedc798 (diff) |
Fix more sonar issues in Integrity Audit & Monitor
Removed duplicate code in DbDao by refactoring common code
into a new updateIae() method.
Removed duplicate code in IntegrityMonitor by refactoring common code
into a new withinTransaction() method.
Removed duplicate code in StateManagementEntity, StateElement by
replacing with lombok Getter & Setter annotations.
Removed duplicate code in StateManagement by refactoring common code
into new setState() and getState() methods. Also removed
logger.isDebugEnabled() tests.
Added coverage for StateChangeNotifier.
Change-Id: I2e29b836dafc5de569a2267206a6a34105e44021
Issue-ID: POLICY-1791
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'integrity-monitor/pom.xml')
-rw-r--r-- | integrity-monitor/pom.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/integrity-monitor/pom.xml b/integrity-monitor/pom.xml index 3d8c9bc8..6c853f26 100644 --- a/integrity-monitor/pom.xml +++ b/integrity-monitor/pom.xml @@ -63,6 +63,11 @@ <artifactId>eclipselink</artifactId> </dependency> <dependency> + <groupId>org.projectlombok</groupId> + <artifactId>lombok</artifactId> + <scope>provided</scope> + </dependency> + <dependency> <groupId>org.onap.policy.common</groupId> <artifactId>utils</artifactId> <version>${project.version}</version> |