diff options
author | 2018-10-26 11:14:13 +0200 | |
---|---|---|
committer | 2018-10-26 11:14:13 +0200 | |
commit | 600c05b1530c120b34370e86e92dfd79421474fe (patch) | |
tree | bf181b2dae941c768d41df18f5e72eb51d3be6cd /prh-dmaap-client/src/main | |
parent | 361f6112f3316f66f1a20a994db0996975080a25 (diff) |
Simplify DmaaP Publisher and consumer interfaces
Change-Id: Iaa7d870e8bd33687047832960c86adb7e97d969c
Issue-ID: DCAEGEN2-922
Signed-off-by: piotr.karas <piotr.karas@nokia.com>
Diffstat (limited to 'prh-dmaap-client/src/main')
-rw-r--r-- | prh-dmaap-client/src/main/java/org/onap/dcaegen2/services/prh/service/producer/DMaaPPublisherReactiveHttpClient.java (renamed from prh-dmaap-client/src/main/java/org/onap/dcaegen2/services/prh/service/producer/DMaaPProducerReactiveHttpClient.java) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/prh-dmaap-client/src/main/java/org/onap/dcaegen2/services/prh/service/producer/DMaaPProducerReactiveHttpClient.java b/prh-dmaap-client/src/main/java/org/onap/dcaegen2/services/prh/service/producer/DMaaPPublisherReactiveHttpClient.java index 6cd54846..6919487a 100644 --- a/prh-dmaap-client/src/main/java/org/onap/dcaegen2/services/prh/service/producer/DMaaPProducerReactiveHttpClient.java +++ b/prh-dmaap-client/src/main/java/org/onap/dcaegen2/services/prh/service/producer/DMaaPPublisherReactiveHttpClient.java @@ -43,7 +43,7 @@ import reactor.core.publisher.Mono; /** * @author <a href="mailto:przemyslaw.wasala@nokia.com">Przemysław Wąsala</a> on 7/4/18 */ -public class DMaaPProducerReactiveHttpClient { +public class DMaaPPublisherReactiveHttpClient { private final String dmaapHostName; private final Integer dmaapPortNumber; @@ -54,11 +54,11 @@ public class DMaaPProducerReactiveHttpClient { private RestTemplate restTemplate; /** - * Constructor DMaaPProducerReactiveHttpClient. + * Constructor DMaaPPublisherReactiveHttpClient. * * @param dmaapPublisherConfiguration - DMaaP producer configuration object */ - public DMaaPProducerReactiveHttpClient(DmaapPublisherConfiguration dmaapPublisherConfiguration) { + public DMaaPPublisherReactiveHttpClient(DmaapPublisherConfiguration dmaapPublisherConfiguration) { this.dmaapHostName = dmaapPublisherConfiguration.dmaapHostName(); this.dmaapProtocol = dmaapPublisherConfiguration.dmaapProtocol(); this.dmaapPortNumber = dmaapPublisherConfiguration.dmaapPortNumber(); @@ -90,7 +90,7 @@ public class DMaaPProducerReactiveHttpClient { } - public DMaaPProducerReactiveHttpClient createDMaaPWebClient(RestTemplate restTemplate) { + public DMaaPPublisherReactiveHttpClient createDMaaPWebClient(RestTemplate restTemplate) { this.restTemplate = restTemplate; return this; } |