Skip to content

Commit

Permalink
Infinispan Client QS cleanup
Browse files Browse the repository at this point in the history
- removal of repositories definition
- Update of README to mention ISPN server version and removed docker info
- Update of Dockerfile to be in sync with current template
  • Loading branch information
rsvoboda authored and gsmet committed Apr 12, 2019
1 parent afedb4e commit 0935017
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 94 deletions.
6 changes: 0 additions & 6 deletions infinispan-client/Dockerfile

This file was deleted.

4 changes: 3 additions & 1 deletion infinispan-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ This example showcases how to use the Infinispan client with Quarkus.

# Start the Infinispan server

<!-- TODO: https://github.com/quarkusio/quarkus-quickstarts/issues/148
- Running with Docker `docker run -it -p 11222:11222 jboss/infinispan-server:latest`
- Download the server from `http://www.infinispan.org/` and run `./bin/standalone.sh`
-->
- Download the server (e.g. 9.4 or 10.0) from `http://www.infinispan.org/` and run `./bin/standalone.sh`

Infinispan server listens in ```localhost:8080``` for REST endpoints.

Expand Down
87 changes: 0 additions & 87 deletions infinispan-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,91 +124,4 @@
</build>
</profile>
</profiles>

<!-- This should go away as soon as we publish the artifacts publicly. -->
<repositories>
<repository>
<id>central</id>
<name>Maven Central</name>
<url>http://repo.maven.apache.org/maven2</url>
</repository>
<!-- Forgot the password? see https://github.com/quarkus-project/hibernate-quarkus/wiki/Quarkus-Nexus-credentials -->
<repository>
<id>quarkus-nexus-release</id>
<name>Quarkus AWS Nexus - Releases</name>
<url>http://ec2-18-234-117-118.compute-1.amazonaws.com:8081/nexus/content/repositories/releases/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!-- Forgot the password? see https://github.com/quarkus-project/hibernate-quarkus/wiki/Quarkus-Nexus-credentials -->
<repository>
<id>quarkus-nexus-snapshot</id>
<name>Quarkus AWS Nexus - Snapshots</name>
<url>http://ec2-18-234-117-118.compute-1.amazonaws.com:8081/nexus/content/repositories/snapshots/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<!-- 10 minutes. Or enforce refresh by using -U option to
Maven -->
<updatePolicy>daily</updatePolicy>
</snapshots>
</repository>
<repository>
<id>jboss</id>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Maven Central</name>
<url>http://repo.maven.apache.org/maven2</url>
</pluginRepository>
<pluginRepository>
<id>quarkus-nexus-release</id>
<name>Quarkus AWS Nexus - Releases</name>
<url>http://ec2-18-234-117-118.compute-1.amazonaws.com:8081/nexus/content/repositories/releases/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<!-- Forgot the password? see https://github.com/quarkus-project/hibernate-quarkus/wiki/Quarkus-Nexus-credentials -->
<pluginRepository>
<id>quarkus-nexus-snapshot</id>
<name>Quarkus AWS Nexus - Snapshots</name>
<url>http://ec2-18-234-117-118.compute-1.amazonaws.com:8081/nexus/content/repositories/snapshots/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<!-- 10 minutes. Or enforce refresh by using -U option to
Maven -->
<updatePolicy>daily</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
</project>
20 changes: 20 additions & 0 deletions infinispan-client/src/main/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
####
# Before building the docker image run:
#
# mvn package -Pnative -Dnative-image.docker-build=true
#
# Then, build the image with:
#
# docker build -f src/main/docker/Dockerfile -t quarkus/infinispan-client .
#
# Then run the container using:
#
# docker run -i --rm -p 8081:8081 quarkus/infinispan-client
#
###
FROM registry.fedoraproject.org/fedora-minimal
WORKDIR /work/
COPY target/*-runner /work/application
RUN chmod 775 /work
EXPOSE 8081
CMD ["./application", "-Dquarkus.http.host=0.0.0.0"]

0 comments on commit 0935017

Please sign in to comment.