Skip to content

Commit

Permalink
chore: update profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukinhasssss committed May 28, 2024
1 parent 9f25135 commit 6f05cc4
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ elasticsearch:
username: elastic
password: elastic

kafka:
bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVERS:localhost:9092}

keycloak:
client-id: ${KEYCLOAK_CLIENT_ID}
client-secret: ${KEYCLOAK_CLIENT_SECRET}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,9 @@ keycloak:
realm: ${KEYCLOAK_REALM}

rest-client:
base-url: ${BASE_URL}
keycloak:
read-timeout: 1_000
read-timeout: 1_000

kafka:
bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVERS}
5 changes: 4 additions & 1 deletion infrastructure/src/main/resources/application-sandbox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,17 @@ elasticsearch:
graphql:
graphiql: true

kafka:
bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVERS:localhost:9092}

keycloak:
client-id: ${KEYCLOAK_CLIENT_ID}
client-secret: ${KEYCLOAK_CLIENT_SECRET}
host: http://keycloak.internal:8443
realm: codeflix

rest-client:
base-url: http://localhost:8080
base-url: ${BASE_URL:http://localhost:8080}
keycloak:
read-timeout: 1_000
categories:
Expand Down
4 changes: 3 additions & 1 deletion infrastructure/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ graphql:

kafka:
auto-create-topics: false
bootstrap-servers: localhost:9092
bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVERS:localhost:9092}
pool-timeout: 1_000
consumers:
categories:
Expand Down Expand Up @@ -95,6 +95,8 @@ spring:
graphql:
graphiql:
enabled: ${graphql.graphiql}
kafka:
bootstrap-servers: ${kafka.bootstrap-servers}
servlet:
multipart:
max-file-size: 10GB
Expand Down
3 changes: 3 additions & 0 deletions infrastructure/src/test/resources/application-test-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ elasticsearch:
username: elastic
password: elastic

kafka:
bootstrap-servers: localhost:9092

keycloak:
client-id: clientId
client-secret: clientSecret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ elasticsearch:
username: elastic
password: elastic

kafka:
bootstrap-servers: localhost:9092

keycloak:
client-id: clientId
client-secret: clientSecret
Expand Down

0 comments on commit 6f05cc4

Please sign in to comment.