Application api.properties

1
2
3
4
5
6
7
8
# API Details (1)
server.address=127.0.0.1
server.port=8080
server.servlet.context-path=/api
spring.main.web-application-type=servlet

# Used By Executor Service Config (2)
thread.pool.size=5 
  1. These settings configure the application using the profile to be a web server running on local host, port 8080, with a path of /api.
  2. If we configure a global Executor Service for background threads it will be initialized with this number.