Configuration
It is possible to configure certain application parameters either via the conventional springboot configuration file (application.properties
or application.yaml
) or via the HOCON configuration file (application.conf
).
See some examples:
application.yml
logging:
level:
root: ERROR
org.springframework: INFO
io.cloudstate.springboot: DEBUG
io:
cloudstate:
user-function-port: 8080
user-function-interface: "localhost"
user-function-package-name: "io.cloudstate.springboot.example"
Cloudstate Springboot Support uses Classpath scanning to assist in the registration step of entity functions, you can explicitly specify in which package the system should look for its entities.
This can speed up the application’s bootstrap by more than a second in most cases.
To define your package use the |