diff options
author | Guangrong Fu <fu.guangrong@zte.com.cn> | 2017-10-27 20:40:51 +0800 |
---|---|---|
committer | Guangrong Fu <fu.guangrong@zte.com.cn> | 2017-10-27 20:40:51 +0800 |
commit | 8b558989dd5af250972f45b5edd9f3be835f6dcd (patch) | |
tree | c520614b9f621a5c53f87158606f7cc24b88c0bd /dmaap-dsa/src/main/java/org/onap | |
parent | 2f2a91a2e3e38ec0ee8cb2da34f3f6b9dfac008b (diff) |
Add the "timeout" Param into the Request Path
Change-Id: Ie185500761003091f6d3adad86397f1127a4432f
Issue-ID: HOLMES-80
Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'dmaap-dsa/src/main/java/org/onap')
-rw-r--r-- | dmaap-dsa/src/main/java/org/onap/holmes/dsa/dmaappolling/Subscriber.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dmaap-dsa/src/main/java/org/onap/holmes/dsa/dmaappolling/Subscriber.java b/dmaap-dsa/src/main/java/org/onap/holmes/dsa/dmaappolling/Subscriber.java index 47dfd79..8b7c727 100644 --- a/dmaap-dsa/src/main/java/org/onap/holmes/dsa/dmaappolling/Subscriber.java +++ b/dmaap-dsa/src/main/java/org/onap/holmes/dsa/dmaappolling/Subscriber.java @@ -79,7 +79,7 @@ public class Subscriber { private List<String> getDMaaPData() { Client client = ClientBuilder.newClient(new ClientConfig()); WebTarget webTarget = client.target(url + "/" + consumerGroup + "/" + consumer); - Response response = webTarget.request().get(); + Response response = webTarget.queryParam("timeout", timeout).request().get(); return response.readEntity(List.class); } |