Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions movies-info-service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
spring:
profiles:
active: local
Copy link
Author

@javabean68 javabean68 Apr 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

config:
activate:
on-profile: test, local
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

without the profile 'test' the ApplicationContext cannot be loaded

mongodb:
embedded:
version: 4.0.21
---
spring:
config:
activate:
on-profile: local
data:
mongodb:
host: localhost
Expand Down