</dependency>
<dependency>
<groupId>${project.groupId}.messagerouter</groupId>
- <artifactId>publisher.features</artifactId>
+ <artifactId>ccsdk-messagerouter-publisher</artifactId>
<version>${project.version}</version>
<type>xml</type>
<classifier>features</classifier>
-package org.onap.ccsdk.messagerouter.publisher.api;\r
+package org.onap.ccsdk.sli.adaptors.messagerouter.publisher.api;\r
\r
public interface PublisherApi {\r
public Boolean publish(String topic, String body);\r
--- /dev/null
+<?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.parent</groupId>
+ <artifactId>single-feature-parent</artifactId>
+ <version>1.2.2-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.onap.ccsdk.sli.adaptors.messagerouter</groupId>
+ <artifactId>ccsdk-messagerouter-publisher</artifactId>
+ <version>0.4.2-SNAPSHOT</version>
+ <packaging>feature</packaging>
+
+ <dependencies>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>publisher.api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>publisher.provider</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+
+
+</project>
--- /dev/null
+<?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.parent</groupId>
+ <artifactId>feature-repo-parent</artifactId>
+ <version>1.2.2-SNAPSHOT</version>
+ <relativePath/>
+ </parent>
+
+ <groupId>org.onap.ccsdk.sli.adaptors.messagerouter</groupId>
+ <artifactId>features-messagerouter-publisher</artifactId>
+ <version>0.4.2-SNAPSHOT</version>
+ <packaging>feature</packaging>
+
+ <name>ccsdk-sli-adaptors :: messagerouter :: ${project.artifactId}</name>
+
+ <properties>
+ <ccsdk.sli.adaptors.version>${project.version}</ccsdk.sli.adaptors.version>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>ccsdk-messagerouter-publisher</artifactId>
+ <version>${project.version}</version>
+ <type>xml</type>
+ <classifier>features</classifier>
+ </dependency>
+
+ </dependencies>
+</project>
<?xml version="1.0" encoding="UTF-8"?>
+<!-- ============LICENSE_START=======================================================
+ ONAP : APPC ================================================================================
+ Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. ================================================================================
+ Copyright (C) 2017 Amdocs =============================================================================
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ use this file except in compliance with the License. You may obtain a copy
+ of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
+ by applicable law or agreed to in writing, software distributed under the
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+ OF ANY KIND, either express or implied. See the License for the specific
+ language governing permissions and limitations under the License. ECOMP is
+ a trademark and service mark of AT&T Intellectual Property. ============LICENSE_END========================================================= -->
<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>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <artifactId>odlparent-lite</artifactId>
+ <groupId>org.onap.ccsdk.parent</groupId>
+ <version>1.2.2-SNAPSHOT</version>
+ <relativePath/>
+ </parent>
+ <groupId>org.onap.ccsdk.sli.adaptors.messagerouter</groupId>
+ <artifactId>publisher.features</artifactId>
+ <version>0.4.2-SNAPSHOT</version>
+ <name>ccsdk-sli-adaptors :: messagerouter :: ${project.artifactId}</name>
- <parent>
- <groupId>org.onap.ccsdk.sli.adaptors.messagerouter</groupId>
- <artifactId>publisher.aggregate</artifactId>
- <version>0.4.2-SNAPSHOT</version>
- </parent>
+ <packaging>pom</packaging>
- <artifactId>publisher.features</artifactId>
- <packaging>pom</packaging>
-
- <build>
- <resources>
- <resource>
- <directory>src/main/feature</directory>
- <filtering>true</filtering>
- <targetPath>${project.build.directory}/feature</targetPath>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>resources</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-artifacts</id>
- <phase>package</phase>
- <goals>
- <goal>attach-artifact</goal>
- </goals>
- <configuration>
- <artifacts>
- <artifact>
- <file>target/feature/feature.xml</file>
- <type>xml</type>
- <classifier>features</classifier>
- </artifact>
- </artifacts>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
+ <modules>
+ <module>ccsdk-messagerouter-publisher</module>
+ <module>features-messagerouter-publisher</module>
+ </modules>
</project>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
- <artifactId>publisher.features</artifactId>
+ <artifactId>ccsdk-messagerouter-publisher</artifactId>
<version>${project.version}</version>
<type>xml</type>
<classifier>features</classifier>
-package org.onap.ccsdk.messagerouter.publisher.provider.impl;\r
+package org.onap.ccsdk.sli.adaptors.messagerouter.publisher.provider.impl;\r
\r
import java.io.BufferedReader;\r
import java.io.DataOutputStream;\r
import java.net.URL;\r
import java.util.Base64;\r
\r
-import org.onap.ccsdk.messagerouter.publisher.api.PublisherApi;\r
+import org.onap.ccsdk.sli.adaptors.messagerouter.publisher.api.PublisherApi;\r
import org.slf4j.Logger;\r
import org.slf4j.LoggerFactory;\r
\r
xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.2.0">
<bean id="publisher"
- class="org.onap.ccsdk.messagerouter.publisher.provider.impl.PublisherApiImpl">
+ class="org.onap.ccsdk.sli.adaptors.messagerouter.publisher.provider.impl.PublisherApiImpl">
<cm:managed-properties
- persistent-id="org.onap.ccsdk.messagerouter.publisher.provider"
+ persistent-id="org.onap.ccsdk.sli.adaptors.messagerouter.publisher.provider"
update-strategy="container-managed" />
</bean>
- <service ref="publisher" interface="org.onap.ccsdk.messagerouter.publisher.api.PublisherApi" />
+ <service ref="publisher" interface="org.onap.ccsdk.sli.adaptors.messagerouter.publisher.api.PublisherApi" />
</blueprint>
\ No newline at end of file
-package org.onap.ccsdk.messagerouter.publisher.client.impl;\r
+package org.onap.ccsdk.sli.adaptors.messagerouter.publisher.client.impl;\r
\r
-import org.onap.ccsdk.messagerouter.publisher.api.PublisherApi;\r
+import org.onap.ccsdk.sli.adaptors.messagerouter.publisher.api.PublisherApi;\r
import org.slf4j.Logger;\r
import org.slf4j.LoggerFactory;\r
\r
xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.2.0">
<bean id="client"
- class="org.onap.ccsdk.messagerouter.publisher.client.impl.ClientImpl"
+ class="org.onap.ccsdk.sli.adaptors.messagerouter.publisher.client.impl.ClientImpl"
init-method="init">
<property name="publisher" ref="publisher" />
<cm:managed-properties
- persistent-id="org.onap.ccsdk.messagerouter.publisher.client"
+ persistent-id="org.onap.ccsdk.sli.adaptors.messagerouter.publisher.client"
update-strategy="container-managed" />
</bean>
- <reference id="publisher" interface="org.onap.ccsdk.messagerouter.publisher.api.PublisherApi" />
+ <reference id="publisher" interface="org.onap.ccsdk.sli.adaptors.messagerouter.publisher.api.PublisherApi" />
</blueprint>
\ No newline at end of file