summaryrefslogtreecommitdiffstats
path: root/aai-schema-service/pom.xml
diff options
context:
space:
mode:
authorKajur, Harish (vk250x) <vk250x@att.com>2019-01-22 17:11:02 -0500
committerKajur, Harish (vk250x) <vk250x@att.com>2019-01-23 17:12:56 -0500
commit47fe584b69f0631aa151c7e6a28378d5b712006c (patch)
treeb4dfbadd8c09c809573e21f3978515138e35af5b /aai-schema-service/pom.xml
parent2e6edbd56d6644d84fe24b061be06b952ceb773a (diff)
Add the queries endpoint and files
related to the queries endpoint Issue-ID: AAI-1864 Change-Id: I50054dbaa5b069f0cdbe5b0dc0ce8c06a189589a Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
Diffstat (limited to 'aai-schema-service/pom.xml')
-rw-r--r--aai-schema-service/pom.xml132
1 files changed, 97 insertions, 35 deletions
diff --git a/aai-schema-service/pom.xml b/aai-schema-service/pom.xml
index 658e5ec..3eeefd1 100644
--- a/aai-schema-service/pom.xml
+++ b/aai-schema-service/pom.xml
@@ -78,7 +78,7 @@
<maven.skip.tests>true</maven.skip.tests>
- <jacoco.line.coverage.limit>0.68</jacoco.line.coverage.limit>
+ <jacoco.line.coverage.limit>0.44</jacoco.line.coverage.limit>
<!-- This will be used for the docker images as the default format of maven build has issues -->
<maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
@@ -407,6 +407,22 @@
<artifactId>spring-boot-test</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-test</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-all</artifactId>
+ <version>${mockito.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-junit</artifactId>
+ <version>${hamcrest.junit.version}</version>
+ </dependency>
</dependencies>
<build>
<resources>
@@ -477,40 +493,6 @@
<targetPath>${aai.build.directory}/lib/</targetPath>
<filtering>false</filtering>
</resource>
- <resource>
- <directory>${project.basedir}/../aai-schema/src/main/resources/</directory>
- <includes>
- <include>**/oxm/**/*.xml</include>
- <include>**/dbedgerules/**/*.json</include>
- </includes>
- <targetPath>${project.basedir}/src/main/resources/schema</targetPath>
- <filtering>false</filtering>
- </resource>
- <resource>
- <directory>${project.basedir}/../aai-queries/src/main/resources/schema</directory>
- <includes>
- <include>**/query/**/*.json</include>
- </includes>
- <targetPath>${project.basedir}/src/main/resources/schema</targetPath>
- <filtering>false</filtering>
- </resource>
- <resource>
- <directory>${project.basedir}/../aai-schema/src/main/resources/</directory>
- <includes>
- <include>**/oxm/**/*.xml</include>
- <include>**/dbedgerules/**/*.json</include>
- </includes>
- <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig/schema/</targetPath>
- <filtering>false</filtering>
- </resource>
- <resource>
- <directory>${project.basedir}/../aai-queries/src/main/resources/schema</directory>
- <includes>
- <include>**/query/**/*.json</include>
- </includes>
- <targetPath>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig/schema/</targetPath>
- <filtering>false</filtering>
- </resource>
</resources>
<pluginManagement>
<plugins>
@@ -596,6 +578,86 @@
</executions>
</plugin>
<plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.7</version>
+ <executions>
+ <execution>
+ <id>copy-oxm-edgerules-project</id>
+ <phase>initialize</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.basedir}/src/main/resources/schema</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${project.basedir}/../aai-schema/src/main/resources/</directory>
+ <includes>
+ <include>**/oxm/**/*.xml</include>
+ <include>**/dbedgerules/**/*.json</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ <execution>
+ <id>copy-queries-project</id>
+ <phase>initialize</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.basedir}/src/main/resources/schema</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${project.basedir}/../aai-queries/src/main/resources/schema</directory>
+ <includes>
+ <include>**/query/**/*.json</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ <execution>
+ <id>copy-oxm-edgerules</id>
+ <phase>initialize</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig/schema/</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${project.basedir}/../aai-schema/src/main/resources/</directory>
+ <includes>
+ <include>**/oxm/**/*.xml</include>
+ <include>**/dbedgerules/**/*.json</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ <execution>
+ <id>copy-queries</id>
+ <phase>initialize</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.build.directory}/swm/package/nix/dist_files/opt/app/${project.artifactId}/appconfig/schema/</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${project.basedir}/../aai-queries/src/main/resources/schema</directory>
+ <includes>
+ <include>**/query/**/*.json</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12.4</version>