Run heimdall specifying the configuration file from above
If you’re using a binary, just execute
$ ./heimdall serve decision -c config.yaml
The above command will start heimdall in a decision operation mode. By default, the service will be served on port 4456
.
Otherwise, if you’ve built a Docker image, run heimdall in the decision operation mode via
$ docker run -t -v $PWD:/heimdall/conf -p 4456:4456 \
dadrus/heimdal:latest serve decision -c /heimdall/conf/config.yaml
In both cases, you’ll see similar output to
2022-08-04T07:40:12+02:00 INF No opentracing provider configured. Tracing will be disabled.
2022-08-04T07:40:12+02:00 INF Instantiating in memory cache
2022-08-04T07:40:12+02:00 INF Loading pipeline definitions
2022-08-04T07:40:12+02:00 WRN No rule provider configured. Only defaults will be used.
2022-08-04T07:40:12+02:00 WRN Key store is not configured. NEVER DO IT IN PRODUCTION!!!! Generating an
RSA key pair.
2022-08-04T07:40:12+02:00 WRN No key id for signer configured. Taking first entry from the key store
2022-08-04T07:40:12+02:00 INF Starting cache evictor
2022-08-04T07:40:12+02:00 INF Starting rule definition loader
2022-08-04T07:40:12+02:00 INF Management service starts listening on: :4457
2022-08-04T07:40:12+02:00 INF Prometheus service starts listening on: :9000
2022-08-04T07:40:12+02:00 INF Decision service starts listening on: :4456
Ignore the warnings. They are expected as we’ve neither configured a rule provider, nor have we configured a key store for JWT signing purposes. Nevertheless, the default rule can be used.