Update published event to include header and body
[aai/gizmo.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 52009f5..9fe273b 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -29,6 +29,7 @@ limitations under the License.
         <groupId>com.att.ajsc</groupId>
         <version>2.0.0</version>
     </parent>
+
     <groupId>org.onap.aai.gizmo</groupId>
     <artifactId>gizmo</artifactId>
     <version>1.2.0-SNAPSHOT</version>
@@ -68,10 +69,10 @@ limitations under the License.
         </sonar.jacoco.reportPath>
         <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
         <sonar.projectVersion>${project.version}</sonar.projectVersion>
+        <version.org.hamcrest.hamcrest-library>1.3</version.org.hamcrest.hamcrest-library>
     </properties>
 
     <dependencies>
-
         <dependency>
             <groupId>dom4j</groupId>
             <artifactId>dom4j</artifactId>
@@ -83,8 +84,8 @@ limitations under the License.
             <groupId>com.att.aft</groupId>
             <artifactId>dme2</artifactId>
             <version>3.1.200</version>
-            <scope>provided</scope>
         </dependency>
+
         <dependency>
             <groupId>commons-io</groupId>
             <artifactId>commons-io</artifactId>
@@ -99,29 +100,29 @@ limitations under the License.
 
         <!-- Common logging framework -->
         <dependency>
-          <groupId>org.onap.aai.logging-service</groupId>
-          <artifactId>common-logging</artifactId>
-          <version>1.2.2</version>
+            <groupId>org.onap.aai.logging-service</groupId>
+            <artifactId>common-logging</artifactId>
+            <version>1.2.2</version>
         </dependency>
-           <dependency>
-                 <groupId>org.glassfish.jersey.core</groupId>
-                 <artifactId>jersey-client</artifactId>
-                 <version>2.23</version>
-           </dependency>
         <dependency>
-          <groupId>ch.qos.logback</groupId>
-          <artifactId>logback-core</artifactId>
-          <version>1.1.7</version>
+            <groupId>org.glassfish.jersey.core</groupId>
+            <artifactId>jersey-client</artifactId>
+            <version>2.23</version>
         </dependency>
-               <dependency>
-          <groupId>org.onap.aai.event-client</groupId>
-          <artifactId>event-client-dmaap</artifactId>
-          <version>1.2.1</version>
+        <dependency>
+            <groupId>ch.qos.logback</groupId>
+            <artifactId>logback-core</artifactId>
+            <version>1.1.7</version>
         </dependency>
         <dependency>
-          <groupId>org.onap.aai.aai-common</groupId>
-          <artifactId>aai-schema</artifactId>
-          <version>1.2.1</version>
+            <groupId>org.onap.aai.event-client</groupId>
+            <artifactId>event-client-dmaap</artifactId>
+            <version>1.2.1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.onap.aai.aai-common</groupId>
+            <artifactId>aai-schema</artifactId>
+            <version>1.2.1</version>
         </dependency>
         <dependency>
             <groupId>org.onap.aai.aai-common</groupId>
@@ -141,13 +142,13 @@ limitations under the License.
         </dependency>
 
         <dependency>
-            <groupId>org.onap.aai.aai-common</groupId>
-            <artifactId>aai-auth</artifactId>
-            <version>1.2.1</version>
+            <groupId>org.onap.aai.aai-common</groupId>
+            <artifactId>aai-auth</artifactId>
+            <version>1.2.1</version>
         </dependency>
 
         <dependency>
-          <groupId>org.eclipse.persistence</groupId>
+            <groupId>org.eclipse.persistence</groupId>
             <artifactId>eclipselink</artifactId>
             <version>2.6.2</version>
         </dependency>
@@ -155,38 +156,38 @@ limitations under the License.
         <dependency>
             <groupId>org.onap.aai</groupId>
             <artifactId>rest-client</artifactId>
-            <version>1.1.0</version>
+            <version>1.2.1</version>
         </dependency>
-                       <dependency>
+        <dependency>
             <groupId>net.dongliu</groupId>
             <artifactId>gson-java8-datatype</artifactId>
             <version>1.0.3</version>
         </dependency>
-       <dependency>
+        <dependency>
             <groupId>com.jayway.jsonpath</groupId>
             <artifactId>json-path</artifactId>
             <version>2.2.0</version>
         </dependency>
-               
-               <!-- AAI-CORE specific dependencies -->
-               <dependency>
-               <groupId>org.apache.tinkerpop</groupId>
-               <artifactId>gremlin-core</artifactId> 
-               <version>3.2.3</version>
-               <scope>provided</scope>
-               <exclusions>
-                   <exclusion>
-                       <groupId>org.slf4j</groupId>
-                       <artifactId>slf4j-log4j12</artifactId>
-                   </exclusion>
-                   <exclusion>
-                       <groupId>org.slf4j</groupId>
-                       <artifactId>jcl-over-slf4j</artifactId>
-                   </exclusion>
-               </exclusions>
-     </dependency>
-
-       <dependency>
+
+        <!-- AAI-CORE specific dependencies -->
+        <dependency>
+            <groupId>org.apache.tinkerpop</groupId>
+            <artifactId>gremlin-core</artifactId>
+            <version>3.2.3</version>
+            <scope>provided</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.slf4j</groupId>
+                    <artifactId>slf4j-log4j12</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.slf4j</groupId>
+                    <artifactId>jcl-over-slf4j</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+
+        <dependency>
             <groupId>org.apache.tinkerpop</groupId>
             <artifactId>tinkergraph-gremlin</artifactId>
             <version>3.2.3</version>
@@ -203,35 +204,46 @@ limitations under the License.
             <artifactId>junit</artifactId>
         </dependency>
 
-    </dependencies>
+        <dependency>
+            <groupId>org.skyscreamer</groupId>
+            <artifactId>jsonassert</artifactId>
+            <version>1.5.0</version>
+            <scope>test</scope>
+        </dependency>
 
+        <dependency>
+            <groupId>org.hamcrest</groupId>
+            <artifactId>hamcrest-library</artifactId>
+            <version>${version.org.hamcrest.hamcrest-library}</version>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
 
     <repositories>
-      <repository>
-        <id>central</id>
-        <name>Maven 2 repository 2</name>
-        <url>http://repo2.maven.org/maven2/</url>
-      </repository>
-      <repository>
-        <id>ecomp-releases</id>
-        <name>ECOMP Release Repository</name>
-        <url>${nexusproxy}/content/repositories/releases/</url>
-      </repository>
-      <repository>
-        <id>ecomp-snapshots</id>
-        <name>ECOMP Snapshot Repository</name>
-        <url>${nexusproxy}/content/repositories/snapshots/</url>
-      </repository>
-      <repository>
-        <id>ecomp-staging</id>
-        <name>ECOMP Staging Repository</name>
-        <url>${nexusproxy}/content/repositories/staging/</url>
-      </repository>
-
+        <repository>
+            <id>central</id>
+            <name>Maven 2 repository 2</name>
+            <url>http://repo2.maven.org/maven2/</url>
+        </repository>
+        <repository>
+            <id>ecomp-releases</id>
+            <name>ECOMP Release Repository</name>
+            <url>${nexusproxy}/content/repositories/releases/</url>
+        </repository>
+        <repository>
+            <id>ecomp-snapshots</id>
+            <name>ECOMP Snapshot Repository</name>
+            <url>${nexusproxy}/content/repositories/snapshots/</url>
+        </repository>
+        <repository>
+            <id>ecomp-staging</id>
+            <name>ECOMP Staging Repository</name>
+            <url>${nexusproxy}/content/repositories/staging/</url>
+        </repository>
     </repositories>
 
     <build>
-      <finalName>${project.artifactId}</finalName>
+        <finalName>${project.artifactId}</finalName>
         <plugins>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
@@ -256,7 +268,7 @@ limitations under the License.
                                     </includes>
                                 </resource>
                                 <resource>
-                                  <directory>${basedir}/src/main/bin/</directory>
+                                    <directory>${basedir}/src/main/bin/</directory>
                                 </resource>
                             </resources>
                         </configuration>
@@ -265,23 +277,23 @@ limitations under the License.
             </plugin>
 
             <plugin>
-              <groupId>com.spotify</groupId>
-              <artifactId>docker-maven-plugin</artifactId>
-              <version>0.4.11</version>
-              <configuration>
-                <verbose>true</verbose>
-                <serverId>docker-hub</serverId>
-                <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
-                <dockerDirectory>${docker.location}</dockerDirectory>
-                <imageTags>
-                  <imageTag>latest</imageTag>
-                </imageTags>
-                <forceTags>true</forceTags>
-              </configuration>
+                <groupId>com.spotify</groupId>
+                <artifactId>docker-maven-plugin</artifactId>
+                <version>0.4.11</version>
+                <configuration>
+                    <verbose>true</verbose>
+                    <serverId>docker-hub</serverId>
+                    <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
+                    <dockerDirectory>${docker.location}</dockerDirectory>
+                    <imageTags>
+                        <imageTag>latest</imageTag>
+                    </imageTags>
+                    <forceTags>true</forceTags>
+                </configuration>
             </plugin>
 
             <!-- license plugin -->
-            <!-- Uncomment this to add a license header to every source file 
+            <!-- Uncomment this to add a license header to every source file
             <plugin>
                 <groupId>com.mycila</groupId>
                 <artifactId>license-maven-plugin</artifactId>
@@ -303,7 +315,7 @@ limitations under the License.
                 </executions>
             </plugin>
             -->
-            
+
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-site-plugin</artifactId>
@@ -317,7 +329,7 @@ limitations under the License.
                             <reportSets>
                                 <reportSet>
                                     <reports>
-                                      <report>checkstyle</report>
+                                        <report>checkstyle</report>
                                     </reports>
                                 </reportSet>
                             </reportSets>
@@ -327,39 +339,39 @@ limitations under the License.
             </plugin>
 
             <plugin>
-              <groupId>org.apache.maven.plugins</groupId>
-              <artifactId>maven-deploy-plugin</artifactId>
-              <configuration>
-                <skip>true</skip>
-              </configuration>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-deploy-plugin</artifactId>
+                <configuration>
+                    <skip>true</skip>
+                </configuration>
             </plugin>
 
             <plugin>
-              <groupId>org.codehaus.mojo</groupId>
-              <artifactId>sonar-maven-plugin</artifactId>
-              <version>3.2</version>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>sonar-maven-plugin</artifactId>
+                <version>3.2</version>
             </plugin>
 
             <plugin>
-              <groupId>org.jacoco</groupId>
-              <artifactId>jacoco-maven-plugin</artifactId>
-              <version>0.7.7.201606060606</version>
-              <configuration>
-                <dumpOnExit>true</dumpOnExit>
-              </configuration>
-              <executions>
-                <execution>
-                  <id>jacoco-initialize-unit-tests</id>
-                  <goals>
-                    <goal>prepare-agent</goal>
-                  </goals>
-                  <configuration>
-                    <destFile>${project.build.directory}/coverage-reports/jacoco.exec
-                    </destFile>
-                    <!-- <append>true</append> -->
-                  </configuration>
-                </execution>
-              </executions>
+                <groupId>org.jacoco</groupId>
+                <artifactId>jacoco-maven-plugin</artifactId>
+                <version>0.7.7.201606060606</version>
+                <configuration>
+                    <dumpOnExit>true</dumpOnExit>
+                </configuration>
+                <executions>
+                    <execution>
+                        <id>jacoco-initialize-unit-tests</id>
+                        <goals>
+                            <goal>prepare-agent</goal>
+                        </goals>
+                        <configuration>
+                            <destFile>${project.build.directory}/coverage-reports/jacoco.exec
+                            </destFile>
+                            <!-- <append>true</append> -->
+                        </configuration>
+                    </execution>
+                </executions>
             </plugin>
         </plugins>
     </build>
@@ -502,19 +514,19 @@ limitations under the License.
     </dependencyManagement>
 
     <distributionManagement>
-      <repository>
-        <id>ecomp-releases</id>
-        <name>ECOMP Release Repository</name>
-        <url>${nexusproxy}/content/repositories/releases/</url>
-      </repository>
-      <snapshotRepository>
-        <id>ecomp-snapshots</id>
-        <name>ECOMP Snapshot Repository</name>
-        <url>${nexusproxy}/content/repositories/snapshots/</url>
-      </snapshotRepository>
-      <site>
-        <id>ecomp-javadoc</id>
-        <url>dav:https://ecomp-nexus:8443/repository/aai/gizmo-javadoc/${project.version}</url>
-      </site>
+        <repository>
+            <id>ecomp-releases</id>
+            <name>ECOMP Release Repository</name>
+            <url>${nexusproxy}/content/repositories/releases/</url>
+        </repository>
+        <snapshotRepository>
+            <id>ecomp-snapshots</id>
+            <name>ECOMP Snapshot Repository</name>
+            <url>${nexusproxy}/content/repositories/snapshots/</url>
+        </snapshotRepository>
+        <site>
+            <id>ecomp-javadoc</id>
+            <url>dav:https://ecomp-nexus:8443/repository/aai/gizmo-javadoc/${project.version}</url>
+        </site>
     </distributionManagement>
 </project>