summaryrefslogtreecommitdiffstats
path: root/feature-state-management
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2019-07-10 15:58:09 -0400
committerJim Hahn <jrh3@att.com>2019-07-17 15:21:07 -0400
commit86512b0d4e3235fca6379b3d7f3f1d8a9a5c606b (patch)
tree3a03573fc08cba42d9989cd96148012ddb5c7fd3 /feature-state-management
parent6dee9fba7e3c471bab358d8567a9e3e0a3fca769 (diff)
Fix checkstyle issues in api-state-management
Also deleted the checkstyle suppression file. Change-Id: Ib43a75c2e214db61a75173be095c380c7c7488f1 Issue-ID: POLICY-1902 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'feature-state-management')
-rw-r--r--feature-state-management/src/main/java/org/onap/policy/drools/statemanagement/StateManagementFeature.java2
-rw-r--r--feature-state-management/src/main/resources/META-INF/services/org.onap.policy.drools.statemanagement.StateManagementFeatureApi (renamed from feature-state-management/src/main/resources/META-INF/services/org.onap.policy.drools.statemanagement.StateManagementFeatureAPI)0
-rw-r--r--feature-state-management/src/test/java/org/onap/policy/drools/statemanagement/test/StateManagementTest.java24
3 files changed, 13 insertions, 13 deletions
diff --git a/feature-state-management/src/main/java/org/onap/policy/drools/statemanagement/StateManagementFeature.java b/feature-state-management/src/main/java/org/onap/policy/drools/statemanagement/StateManagementFeature.java
index e1abefc6..d8468b56 100644
--- a/feature-state-management/src/main/java/org/onap/policy/drools/statemanagement/StateManagementFeature.java
+++ b/feature-state-management/src/main/java/org/onap/policy/drools/statemanagement/StateManagementFeature.java
@@ -43,7 +43,7 @@ import org.slf4j.LoggerFactory;
* a separate optional feature.
*/
-public class StateManagementFeature implements StateManagementFeatureAPI,
+public class StateManagementFeature implements StateManagementFeatureApi,
PolicySessionFeatureApi, PolicyEngineFeatureApi {
// get an instance of logger
private static final Logger logger =
diff --git a/feature-state-management/src/main/resources/META-INF/services/org.onap.policy.drools.statemanagement.StateManagementFeatureAPI b/feature-state-management/src/main/resources/META-INF/services/org.onap.policy.drools.statemanagement.StateManagementFeatureApi
index 74d0b995..74d0b995 100644
--- a/feature-state-management/src/main/resources/META-INF/services/org.onap.policy.drools.statemanagement.StateManagementFeatureAPI
+++ b/feature-state-management/src/main/resources/META-INF/services/org.onap.policy.drools.statemanagement.StateManagementFeatureApi
diff --git a/feature-state-management/src/test/java/org/onap/policy/drools/statemanagement/test/StateManagementTest.java b/feature-state-management/src/test/java/org/onap/policy/drools/statemanagement/test/StateManagementTest.java
index 1da0866a..327bb166 100644
--- a/feature-state-management/src/test/java/org/onap/policy/drools/statemanagement/test/StateManagementTest.java
+++ b/feature-state-management/src/test/java/org/onap/policy/drools/statemanagement/test/StateManagementTest.java
@@ -7,9 +7,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -43,23 +43,23 @@ import org.onap.policy.drools.core.PolicySessionFeatureApi;
import org.onap.policy.drools.statemanagement.DbAudit;
import org.onap.policy.drools.statemanagement.IntegrityMonitorRestManager;
import org.onap.policy.drools.statemanagement.RepositoryAudit;
-import org.onap.policy.drools.statemanagement.StateManagementFeatureAPI;
+import org.onap.policy.drools.statemanagement.StateManagementFeatureApi;
import org.onap.policy.drools.statemanagement.StateManagementProperties;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class StateManagementTest {
- // get an instance of logger
+ // get an instance of logger
private static Logger logger = LoggerFactory.getLogger(StateManagementTest.class);
- StateManagementFeatureAPI stateManagementFeature;
+ StateManagementFeatureApi stateManagementFeature;
/**
* Setup the class.
* All you need to do here is create an instance of StateManagementFeature class. Then,
* check it initial state and the state after diableFailed() and promote()
- *
+ *
* @throws Exception exception
*/
@BeforeClass
@@ -114,17 +114,17 @@ public class StateManagementTest {
String thisPdpId = fsmProperties
.getProperty(StateManagementProperties.NODE_NAME);
- StateManagementFeatureAPI stateManagementFeature = null;
- for (StateManagementFeatureAPI feature : StateManagementFeatureAPI.impl.getList()) {
+ StateManagementFeatureApi stateManagementFeature = null;
+ for (StateManagementFeatureApi feature : StateManagementFeatureApi.impl.getList()) {
((PolicySessionFeatureApi) feature).globalInit(null, configDir);
stateManagementFeature = feature;
- logger.debug("testStateManagementOperation stateManagementFeature.getResourceName(): "
+ logger.debug("testStateManagementOperation stateManagementFeature.getResourceName(): "
+ stateManagementFeature.getResourceName());
break;
}
if (stateManagementFeature == null) {
String msg = "testStateManagementOperation failed to initialize. "
- + "Unable to get instance of StateManagementFeatureAPI "
+ + "Unable to get instance of StateManagementFeatureApi "
+ "with resourceID: " + thisPdpId;
logger.error(msg);
logger.debug(msg);
@@ -191,7 +191,7 @@ public class StateManagementTest {
RepositoryAudit repositoryAudit = (RepositoryAudit) RepositoryAudit.getInstance();
repositoryAudit.invoke(fsmProperties);
- //Should not throw an IOException in Linux Foundation env
+ //Should not throw an IOException in Linux Foundation env
assertTrue(true);
} catch (IOException e) {
//Note: this catch is here because in a local environment mvn will not run in
@@ -229,7 +229,7 @@ public class StateManagementTest {
}
/**
- * This method initializes and cleans the DB so that PDP-D will be able to
+ * This method initializes and cleans the DB so that PDP-D will be able to
* store fresh records in the DB.
*/
public static void initializeDb() {