fix typo when configuring fetch-limit parameter 41/29941/1
authorJorge Hernandez <jh1730@att.com>
Thu, 1 Feb 2018 05:56:20 +0000 (23:56 -0600)
committerJorge Hernandez <jh1730@att.com>
Thu, 1 Feb 2018 05:57:29 +0000 (23:57 -0600)
Change-Id: Iea108fe035bea14e2ecd12db68b331dd2d546591
Issue-ID: POLICY-596
Signed-off-by: Jorge Hernandez <jh1730@att.com>
policy-endpoints/src/main/java/org/onap/policy/drools/event/comm/bus/DmaapTopicSourceFactory.java
policy-endpoints/src/main/java/org/onap/policy/drools/event/comm/bus/UebTopicSourceFactory.java

index 1380832..d5894d5 100644 (file)
@@ -158,7 +158,6 @@ public interface DmaapTopicSourceFactory {
        /**
         * Instantiates a new DMAAP Topic Source
         * 
-        * @param uebTopicReaderType Implementation type
         * @param servers list of servers
         * @param topic topic name
         * 
@@ -445,7 +444,7 @@ class IndexedDmaapTopicSourceFactory implements DmaapTopicSourceFactory {
                                        
                                String fetchLimitString = properties.getProperty(PolicyProperties.PROPERTY_DMAAP_SOURCE_TOPICS + 
                                                                  "." + topic + 
-                                                                 PolicyProperties.PROPERTY_TOPIC_SOURCE_FETCH_TIMEOUT_SUFFIX);
+                                                                 PolicyProperties.PROPERTY_TOPIC_SOURCE_FETCH_LIMIT_SUFFIX);
                                int fetchLimit = DmaapTopicSource.DEFAULT_LIMIT_FETCH;
                                if (fetchLimitString != null && !fetchLimitString.isEmpty()) {
                                        try {
index d2aa671..d614d10 100644 (file)
@@ -96,7 +96,6 @@ public interface UebTopicSourceFactory {
        /**
         * Instantiates a new UEB Topic Source
         * 
-        * @param uebTopicSourceType Implementation type
         * @param servers list of servers
         * @param topic topic name
         * 
@@ -261,7 +260,7 @@ class IndexedUebTopicSourceFactory implements UebTopicSourceFactory {
                                        
                                String fetchLimitString = properties.getProperty(PolicyProperties.PROPERTY_UEB_SOURCE_TOPICS + 
                                                                  "." + topic + 
-                                                                 PolicyProperties.PROPERTY_TOPIC_SOURCE_FETCH_TIMEOUT_SUFFIX);
+                                                                 PolicyProperties.PROPERTY_TOPIC_SOURCE_FETCH_LIMIT_SUFFIX);
                                int fetchLimit = UebTopicSource.DEFAULT_LIMIT_FETCH;
                                if (fetchLimitString != null && !fetchLimitString.isEmpty()) {
                                        try {