-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
payment feature - part 2 : runtime config in front end
- Loading branch information
1 parent
1f37475
commit f2e7a17
Showing
55 changed files
with
352 additions
and
161 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
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
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
2 changes: 1 addition & 1 deletion
2
core/src/main/java/com/localeat/core/domains/slaughter/AnimalBreed.java
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package com.localeat.core.domains.slaughter; | ||
|
||
public enum AnimalBreed { | ||
BEEF_LIMOUSINE, | ||
BEEF_LIMOUSIN, | ||
BEEF_CHAROLLAIS; | ||
} |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,7 +1,23 @@ | ||
# LOGGING | ||
#-------- | ||
# Workaround to make the service "GET /product/{product}/photo" return a non nul photo content | ||
# see https://github.com/benjaminpochat/localeat/issues/27 | ||
logging.level.org.springframework.web = WARN | ||
logging.level.com.localeat = WARN | ||
|
||
# SPRING | ||
#------- | ||
spring.jackson.serialization.FAIL_ON_EMPTY_BEANS=false | ||
# /!\ Caution : The datasource is not set by SpringBoot default initialization | ||
# The datasource is set in CommandLineDatabaseConfig | ||
# The SQL dialect makes Hibernate generate better SQL for the chosen database | ||
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect | ||
|
||
# LOCALEAT | ||
#--------- | ||
localeat.smtp.authentication = true | ||
localeat.smtp.startTls = true | ||
localeat.smtp.host = smtp.gmail.com | ||
localeat.smtp.port = 587 | ||
localeat.smtp.sslTrust = smtp.gmail.com | ||
|
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
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
1 change: 1 addition & 0 deletions
1
core/src/test/resources/sql/delete/com/localeat/domains/clear_data.sql
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 |
---|---|---|
|
@@ -5,12 +5,14 @@ services: | |
image: postgres:12.2-alpine | ||
networks: | ||
- hostnet | ||
volumes: | ||
- /var/lib/postgresql/data/pgdata:/var/lib/postgresql/data/pgdata | ||
environment: | ||
- POSTGRES_USER=localeat | ||
- POSTGRES_PASSWORD=localeat | ||
- PGDATA=/var/lib/postgresql/data/pgdata | ||
volumes: | ||
- /var/lib/postgresql/data/pgdata:/var/lib/postgresql/data/pgdata | ||
ports: | ||
- 5432:5432 | ||
|
||
core: | ||
build: | ||
|
@@ -27,6 +29,9 @@ services: | |
- localeat_datasource_password=localeat | ||
- [email protected] | ||
- localeat_smtp_password=localeat | ||
- localeat_http_domainname=http://localhost:4200 | ||
ports: | ||
- 8080:8080 | ||
|
||
ui: | ||
build: | ||
|
@@ -39,10 +44,12 @@ services: | |
- hostnet | ||
depends_on: | ||
- core | ||
volumes: | ||
- /home/benjamin/Documents/workspace/localeat/test/localeat-ui-config:/usr/local/apache2/htdocs/assets/config | ||
ports: | ||
- 80:80 | ||
|
||
networks: | ||
hostnet: | ||
external: true | ||
name: host | ||
|
||
|
||
name: host |
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,36 @@ | ||
version: '3.7' | ||
services: | ||
|
||
database: | ||
image: postgres:12.2-alpine | ||
volumes: | ||
- <path_to_postgres_datafile_folder_on_real_server>:/var/lib/postgresql/data/pgdata | ||
environment: | ||
- POSTGRES_USER=localeat | ||
- POSTGRES_PASSWORD=<password> | ||
- PGDATA=/var/lib/postgresql/data/pgdata | ||
ports: | ||
- <published_postgres_port>:5432 | ||
|
||
core: | ||
image: benjaminpochat/localeat-core:${DOCKER_IMAGE_TAG:-latest} | ||
depends_on: | ||
- database | ||
environment: | ||
- localeat_datasource_url=jdbc:postgresql://database:5432/localeat | ||
- localeat_datasource_username=localeat | ||
- localeat_datasource_password=<password> | ||
- [email protected] | ||
- localeat_smtp_password=localeat | ||
- localeat_http_domainname=<domain_name_for_localeat_server> | ||
ports: | ||
- <published_backend_port>:8080 | ||
|
||
ui: | ||
image: benjaminpochat/localeat-ui:${DOCKER_IMAGE_TAG:-latest} | ||
depends_on: | ||
- core | ||
volumes: | ||
- <path_to_folder_containing_localeat_ui_config_file_on_real_server>:/usr/local/apache2/htdocs/assets/config | ||
ports: | ||
- <published_frontend_port>:80 |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.