It is possible to configure certain application parameters either via the conventional springboot configuration file (
application.yaml) or via the HOCON configuration file (
See some examples:
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