diff options
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 00000000..ef03f7fd --- /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 00000000..6d4bddcd --- /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);
+}
|