-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new projection admin implementation
- Loading branch information
1 parent
4ab2f2d
commit 94dbf28
Showing
9 changed files
with
569 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# esc-http-admin | ||
HTTP based implementation of the projection admin API. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,182 @@ | ||
<?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.fuin.esc</groupId> | ||
<artifactId>esc-parent</artifactId> | ||
<version>0.7.0-SNAPSHOT</version> | ||
</parent> | ||
|
||
<artifactId>esc-http-admin</artifactId> | ||
<packaging>jar</packaging> | ||
<description>HTTP based implementation of the projection administration API.</description> | ||
|
||
<dependencies> | ||
|
||
<!-- compile --> | ||
|
||
<dependency> | ||
<groupId>org.fuin.esc</groupId> | ||
<artifactId>esc-api</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.fuin.esc</groupId> | ||
<artifactId>esc-spi</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>jakarta.validation</groupId> | ||
<artifactId>jakarta.validation-api</artifactId> | ||
<optional>true</optional> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-api</artifactId> | ||
</dependency> | ||
|
||
<!-- test --> | ||
|
||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.assertj</groupId> | ||
<artifactId>assertj-core</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>nl.jqno.equalsverifier</groupId> | ||
<artifactId>equalsverifier</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>ch.qos.logback</groupId> | ||
<artifactId>logback-classic</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.hibernate.validator</groupId> | ||
<artifactId>hibernate-validator</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
|
||
</dependencies> | ||
|
||
<build> | ||
|
||
<plugins> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<configuration> | ||
<includes> | ||
<include>**/*</include> | ||
</includes> | ||
<archive> | ||
<manifestEntries> | ||
<Automatic-Module-Name>org.fuin.esc.prjadmin</Automatic-Module-Name> | ||
</manifestEntries> | ||
</archive> | ||
</configuration> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jdeps-plugin</artifactId> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-failsafe-plugin</artifactId> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>io.fabric8</groupId> | ||
<artifactId>docker-maven-plugin</artifactId> | ||
<configuration> | ||
|
||
<images> | ||
<image> | ||
<name>eventstore/eventstore:${eventstore.version}</name> | ||
<run> | ||
<network> | ||
<mode>bridge</mode> | ||
</network> | ||
<ports> | ||
<port>1113:1113</port> | ||
<port>2113:2113</port> | ||
</ports> | ||
<env> | ||
<EVENTSTORE_MEM_DB>TRUE</EVENTSTORE_MEM_DB> | ||
<EVENTSTORE_RUN_PROJECTIONS>All</EVENTSTORE_RUN_PROJECTIONS> | ||
<EVENTSTORE_INSECURE>true</EVENTSTORE_INSECURE> | ||
<EVENTSTORE_LOG>/tmp/log-eventstore</EVENTSTORE_LOG> | ||
</env> | ||
<log> | ||
<enabled>false</enabled> | ||
</log> | ||
<wait> | ||
<http> | ||
<url>http://localhost:2113/web/index.html#/</url> | ||
<method>GET</method> | ||
</http> | ||
<time>20000</time> | ||
</wait> | ||
</run> | ||
</image> | ||
|
||
</images> | ||
</configuration> | ||
|
||
<executions> | ||
<execution> | ||
<id>start-images</id> | ||
<phase>pre-integration-test</phase> | ||
<goals> | ||
<goal>start</goal> | ||
</goals> | ||
</execution> | ||
<execution> | ||
<id>stop-images</id> | ||
<phase>post-integration-test</phase> | ||
<goals> | ||
<goal>stop</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
|
||
</plugin> | ||
|
||
</plugins> | ||
|
||
</build> | ||
|
||
</project> |
Oops, something went wrong.