summaryrefslogtreecommitdiffstats
path: root/message-router/consumer/provider
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-08-09 18:28:55 +0000
committerGerrit Code Review <gerrit@onap.org>2019-08-09 18:28:55 +0000
commitb429ab898e97c7607df38004e59ffeb3b747f82b (patch)
treeefcca60175d8b802d259e86d78b732d3c6bca9a5 /message-router/consumer/provider
parentd9105054ab02ecbc7b323624ecfc563ed3c0c0f6 (diff)
parentc5302e63a7cfffa1fdf7f435d559a49688747a84 (diff)
Merge "CCSDK-1556 -Move this constructor to comply with Java Code Conventions"
Diffstat (limited to 'message-router/consumer/provider')
-rwxr-xr-xmessage-router/consumer/provider/pom.xml2
-rwxr-xr-xmessage-router/consumer/provider/src/main/java/org/onap/ccsdk/sli/adaptors/messagerouter/consumer/provider/impl/ConsumerFactory.java19
2 files changed, 11 insertions, 10 deletions
diff --git a/message-router/consumer/provider/pom.xml b/message-router/consumer/provider/pom.xml
index fa8dfee14..3b1373edf 100755
--- a/message-router/consumer/provider/pom.xml
+++ b/message-router/consumer/provider/pom.xml
@@ -5,7 +5,7 @@
<parent>
<groupId>org.onap.ccsdk.sli.adaptors.messagerouter</groupId>
<artifactId>consumer.aggregate</artifactId>
- <version>0.5.1-SNAPSHOT</version>
+ <version>0.5.2-SNAPSHOT</version>
</parent>
<artifactId>consumer.provider</artifactId>
diff --git a/message-router/consumer/provider/src/main/java/org/onap/ccsdk/sli/adaptors/messagerouter/consumer/provider/impl/ConsumerFactory.java b/message-router/consumer/provider/src/main/java/org/onap/ccsdk/sli/adaptors/messagerouter/consumer/provider/impl/ConsumerFactory.java
index 0802bec2f..1aa02c70a 100755
--- a/message-router/consumer/provider/src/main/java/org/onap/ccsdk/sli/adaptors/messagerouter/consumer/provider/impl/ConsumerFactory.java
+++ b/message-router/consumer/provider/src/main/java/org/onap/ccsdk/sli/adaptors/messagerouter/consumer/provider/impl/ConsumerFactory.java
@@ -77,6 +77,16 @@ public class ConsumerFactory {
setDefaults();
}
+ public ConsumerFactory(String username, String password, String host, String group, String id, Integer connectTimeout, Integer readTimeout) {
+ this.username = username;
+ this.password = password;
+ this.host = host;
+ this.group = group;
+ this.id = id;
+ setDefaults();
+ }
+
+
public String getAuth() {
return auth;
}
@@ -133,15 +143,6 @@ public class ConsumerFactory {
processFilter(filter);
}
- public ConsumerFactory(String username, String password, String host, String group, String id, Integer connectTimeout, Integer readTimeout) {
- this.username = username;
- this.password = password;
- this.host = host;
- this.group = group;
- this.id = id;
- setDefaults();
- }
-
private Integer readOptionalInteger(Properties properties, String propertyName) {
String stringValue = properties.getProperty(propertyName);
if (stringValue != null && stringValue.length() > 0) {