summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/onap/pomba/contextaggregator/builder/ContextBuilder.java4
-rw-r--r--src/main/java/org/onap/pomba/contextaggregator/service/ContextAggregatorProcessor.java3
2 files changed, 3 insertions, 4 deletions
diff --git a/src/main/java/org/onap/pomba/contextaggregator/builder/ContextBuilder.java b/src/main/java/org/onap/pomba/contextaggregator/builder/ContextBuilder.java
index c1ef808..966ebd1 100644
--- a/src/main/java/org/onap/pomba/contextaggregator/builder/ContextBuilder.java
+++ b/src/main/java/org/onap/pomba/contextaggregator/builder/ContextBuilder.java
@@ -33,7 +33,7 @@ public class ContextBuilder {
private static final String READ_TIMEOUT = "read.timeout.ms";
private static final String BASE_URI = "base.uri";
private static final String USERNAME = "basicauth.username";
- private static final String PASSWORD = "basicauth.password";
+ private static final String CREDENTIAL = "basicauth.password";
private Properties properties;
private String contextName;
@@ -98,6 +98,6 @@ public class ContextBuilder {
}
public String getPassword() {
- return properties.getProperty(PASSWORD);
+ return properties.getProperty(CREDENTIAL);
}
}
diff --git a/src/main/java/org/onap/pomba/contextaggregator/service/ContextAggregatorProcessor.java b/src/main/java/org/onap/pomba/contextaggregator/service/ContextAggregatorProcessor.java
index 9d82fb6..5924b15 100644
--- a/src/main/java/org/onap/pomba/contextaggregator/service/ContextAggregatorProcessor.java
+++ b/src/main/java/org/onap/pomba/contextaggregator/service/ContextAggregatorProcessor.java
@@ -74,9 +74,8 @@ public class ContextAggregatorProcessor implements Callable<Void> {
* aggregated models to DMaaP.
*
* @param payload
- * @throws Exception
*/
- public void process(String payload) throws Exception {
+ public void process(String payload) {
log.debug("Consumed event: " + payload);
POAEvent event;