Skip to content

Commit

Permalink
Issue #296: move to cleaner structure
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelbernard committed Dec 19, 2018
1 parent a20b1f7 commit eb87b62
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Finally add the relevant configuration properties in `{config-file}`.

[source,properties]
--
shamrock.datasource.url: jdbc:postgresql://localhost:5432/jpa-configurationless
shamrock.datasource.url: jdbc:postgresql://localhost:5432/mydatabase
shamrock.datasource.driver: org.postgresql.Driver
shamrock.datasource.username: sarah
shamrock.datasource.password: connor
Expand Down Expand Up @@ -270,5 +270,5 @@ Start the database first.

[source]
--
docker run --ulimit memlock=-1:-1 -it --rm=true --memory-swappiness=0 --name postgres-protean-jpa -e POSTGRES_USER=jpa-configurationless -e POSTGRES_PASSWORD=jpa-configurationless -e POSTGRES_DB=jpa-configurationless -p 5431:5432 postgres:10.5
docker run --ulimit memlock=-1:-1 -it --rm=true --memory-swappiness=0 --name postgres-protean-jpa -e POSTGRES_USER=jpa-integrationtests -e POSTGRES_PASSWORD=jpa-integrationtests -e POSTGRES_DB=jpa-integrationtests -p 5431:5432 postgres:10.5
--
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>shamrock-jpa-configurationless-tests</artifactId>
<artifactId>shamrock-jpa-integration-tests</artifactId>

<dependencies>
<dependency>
Expand Down Expand Up @@ -124,7 +124,7 @@
</property>
</activation>
<properties>
<postgres.url>jdbc:postgresql://localhost:5431/jpa-configurationless</postgres.url>
<postgres.url>jdbc:postgresql://localhost:5431/jpa-integrationtests</postgres.url>
</properties>
<build>
<plugins>
Expand All @@ -139,9 +139,9 @@
<alias>postgresql</alias>
<run>
<env>
<POSTGRES_USER>jpa-configurationless</POSTGRES_USER>
<POSTGRES_PASSWORD>jpa-configurationless</POSTGRES_PASSWORD>
<POSTGRES_DB>jpa-configurationless</POSTGRES_DB>
<POSTGRES_USER>jpa-integrationtests</POSTGRES_USER>
<POSTGRES_PASSWORD>jpa-integrationtests</POSTGRES_PASSWORD>
<POSTGRES_DB>jpa-integrationtests</POSTGRES_DB>
</env>
<ports>
<port>5431:5432</port>
Expand Down
2 changes: 1 addition & 1 deletion jpa/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<modules>
<module>deployment</module>
<module>runtime</module>
<module>configurationless-tests</module>
<module>integrationtests</module>
</modules>


Expand Down

0 comments on commit eb87b62

Please sign in to comment.