diff options
author | Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> | 2019-03-13 21:02:14 +0000 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2019-03-18 18:30:18 +0000 |
commit | 8506f0b261083e945488e869803bcd5ab8b7ea84 (patch) | |
tree | fa0937b2fdf31b2d334affd1eb2838d2bddf2842 /message-router/publisher/api | |
parent | 20e9eda25ee9aebbcd5fda7497a0baccb64348af (diff) |
add message router publisher
initial api and implementation of message router publisher
Change-Id: Ic69d013bae8ab8c842e6ecd2eef41e10649d1009
Issue-ID: CCSDK-1163
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Diffstat (limited to 'message-router/publisher/api')
-rwxr-xr-x | message-router/publisher/api/pom.xml | 27 | ||||
-rwxr-xr-x | message-router/publisher/api/src/main/java/org/onap/ccsdk/messagerouter/publisher/api/PublisherApi.java | 5 |
2 files changed, 32 insertions, 0 deletions
diff --git a/message-router/publisher/api/pom.xml b/message-router/publisher/api/pom.xml new file mode 100755 index 000000000..ef03f7fd0 --- /dev/null +++ b/message-router/publisher/api/pom.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.onap.ccsdk.messagerouter</groupId> + <artifactId>publisher.aggregate</artifactId> + <version>0.4.1-SNAPSHOT</version> + </parent> + + <artifactId>publisher.api</artifactId> + <packaging>bundle</packaging> + + <build> + <plugins> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <configuration> + <instructions> + <Export-Package>org.onap.ccsdk.messagerouter.publisher.api</Export-Package> + </instructions> + </configuration> + </plugin> + </plugins> + </build> +</project> diff --git a/message-router/publisher/api/src/main/java/org/onap/ccsdk/messagerouter/publisher/api/PublisherApi.java b/message-router/publisher/api/src/main/java/org/onap/ccsdk/messagerouter/publisher/api/PublisherApi.java new file mode 100755 index 000000000..6d4bddcde --- /dev/null +++ b/message-router/publisher/api/src/main/java/org/onap/ccsdk/messagerouter/publisher/api/PublisherApi.java @@ -0,0 +1,5 @@ +package org.onap.ccsdk.messagerouter.publisher.api;
+
+public interface PublisherApi {
+ public Boolean publish(String topic, String body);
+}
|