diff options
author | Thugutla Sailakshmi <tsaila10@in.ibm.com> | 2019-08-05 19:44:53 +0530 |
---|---|---|
committer | Timoney, Dan (dt5972) <dtimoney@att.com> | 2019-08-09 09:58:05 -0400 |
commit | c5302e63a7cfffa1fdf7f435d559a49688747a84 (patch) | |
tree | 708b45b6a8132cb34eefab127c6a68e53ddf4b35 /message-router/consumer | |
parent | be718ade10ffe698739ae724d50628e559d28805 (diff) |
CCSDK-1556 -Move this constructor to comply with Java Code Conventions
Move this constructor to comply with Java Code Conventions
Issue-ID: CCSDK-1556
Change-Id: I6b6c75c07cccdd4b18027f6c4ab3badf9c273c97
Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
Diffstat (limited to 'message-router/consumer')
8 files changed, 21 insertions, 20 deletions
diff --git a/message-router/consumer/api/pom.xml b/message-router/consumer/api/pom.xml index 7a65eae98..2b55169b3 100755 --- a/message-router/consumer/api/pom.xml +++ b/message-router/consumer/api/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.api</artifactId> diff --git a/message-router/consumer/features/ccsdk-messagerouter-consumer/pom.xml b/message-router/consumer/features/ccsdk-messagerouter-consumer/pom.xml index 4f4a43e0d..f3fc352c4 100755 --- a/message-router/consumer/features/ccsdk-messagerouter-consumer/pom.xml +++ b/message-router/consumer/features/ccsdk-messagerouter-consumer/pom.xml @@ -5,12 +5,12 @@ <parent> <groupId>org.onap.ccsdk.parent</groupId> <artifactId>single-feature-parent</artifactId> - <version>1.3.2</version> + <version>1.3.3-SNAPSHOT</version> </parent> <groupId>org.onap.ccsdk.sli.adaptors.messagerouter</groupId> <artifactId>ccsdk-messagerouter-consumer</artifactId> - <version>0.5.1-SNAPSHOT</version> + <version>0.5.2-SNAPSHOT</version> <packaging>feature</packaging> <dependencies> diff --git a/message-router/consumer/features/features-messagerouter-consumer/pom.xml b/message-router/consumer/features/features-messagerouter-consumer/pom.xml index 810cd05a9..a1e12a4b8 100755 --- a/message-router/consumer/features/features-messagerouter-consumer/pom.xml +++ b/message-router/consumer/features/features-messagerouter-consumer/pom.xml @@ -5,13 +5,13 @@ <parent> <groupId>org.onap.ccsdk.parent</groupId> <artifactId>feature-repo-parent</artifactId> - <version>1.3.2</version> + <version>1.3.3-SNAPSHOT</version> <relativePath/> </parent> <groupId>org.onap.ccsdk.sli.adaptors.messagerouter</groupId> <artifactId>features-messagerouter-consumer</artifactId> - <version>0.5.1-SNAPSHOT</version> + <version>0.5.2-SNAPSHOT</version> <packaging>feature</packaging> <name>ccsdk-sli-adaptors :: messagerouter :: ${project.artifactId}</name> diff --git a/message-router/consumer/features/pom.xml b/message-router/consumer/features/pom.xml index cd8407dcd..2651a5013 100755 --- a/message-router/consumer/features/pom.xml +++ b/message-router/consumer/features/pom.xml @@ -16,12 +16,12 @@ <parent> <artifactId>odlparent-lite</artifactId> <groupId>org.onap.ccsdk.parent</groupId> - <version>1.3.2</version> + <version>1.3.3-SNAPSHOT</version> <relativePath/> </parent> <groupId>org.onap.ccsdk.sli.adaptors.messagerouter</groupId> <artifactId>consumer.features</artifactId> - <version>0.5.1-SNAPSHOT</version> + <version>0.5.2-SNAPSHOT</version> <name>ccsdk-sli-adaptors :: messagerouter :: ${project.artifactId}</name> <packaging>pom</packaging> diff --git a/message-router/consumer/installer/pom.xml b/message-router/consumer/installer/pom.xml index 62e214772..1e6cc380a 100755 --- a/message-router/consumer/installer/pom.xml +++ b/message-router/consumer/installer/pom.xml @@ -5,12 +5,12 @@ <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> <groupId>org.onap.ccsdk.sli.adaptors.messagerouter</groupId> <artifactId>consumer.installer</artifactId> - <version>0.5.1-SNAPSHOT</version> + <version>0.5.2-SNAPSHOT</version> <packaging>pom</packaging> <properties> diff --git a/message-router/consumer/pom.xml b/message-router/consumer/pom.xml index 5a292ce1b..6476c407a 100755 --- a/message-router/consumer/pom.xml +++ b/message-router/consumer/pom.xml @@ -5,7 +5,7 @@ <parent> <groupId>org.onap.ccsdk.sli.adaptors.messagerouter</groupId> <artifactId>messagerouter-root</artifactId> - <version>0.5.1-SNAPSHOT</version> + <version>0.5.2-SNAPSHOT</version> </parent> <artifactId>consumer.aggregate</artifactId> 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) {
|