File tree Expand file tree Collapse file tree 3 files changed +45
-0
lines changed
Expand file tree Collapse file tree 3 files changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ # Dev profile for AWS Lambda deployment
2+ server.servlet.context-path =
3+
4+ # Logging for production
5+ logging.level.com.example.demo =INFO
6+ logging.level.root =WARN
7+ logging.pattern.console =%d{yyyy-MM-dd HH:mm:ss} - %msg%n
8+
9+ # Error handling for production
10+ server.error.include-message =always
11+ server.error.include-binding-errors =never
12+ server.error.include-stacktrace =never
13+ server.error.include-exception =false
14+
15+ # Disable static resources for Lambda
16+ spring.web.resources.add-mappings =false
17+
18+ # Jackson configuration
19+ spring.jackson.serialization.indent-output =false
20+ spring.jackson.default-property-inclusion =NON_NULL
Original file line number Diff line number Diff line change 1+ # Local development profile
2+ server.port =8080
3+ server.servlet.context-path =
4+
5+ # Logging for development
6+ logging.level.com.example.demo =DEBUG
7+ logging.level.root =INFO
8+ logging.pattern.console =%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n
9+
10+ # Error handling for development
11+ server.error.include-message =always
12+ server.error.include-binding-errors =always
13+ server.error.include-stacktrace =always
14+ server.error.include-exception =true
15+
16+ # Enable detailed error responses
17+ spring.web.resources.add-mappings =true
18+
19+ # Jackson configuration for pretty JSON
20+ spring.jackson.serialization.indent-output =true
Original file line number Diff line number Diff line change 1+ spring.application.name =demo
2+ app.version =1.0.0
3+
4+ # Default profile
5+ spring.profiles.active =local
You can’t perform that action at this time.
0 commit comments