Closed rorydavidson closed 6 years ago
Nice idea. I suggest two flags: --read-only which disables the id pool and write functionality. --no-auth which disables authentication... although there may be an existing spring boot flag for this.
This is fixed in 1.0.0 with config:
snowstorm.rest-api.readonly=true
As some users would want to use this in a read-only fashion, then parts of the functionality are not needed, including the allocation of SCT identifiers or authentication tokens, making deployments more straightforward. The simplistic recommendation is a startup flag for read-only use, by-passing and disabling any write functionality.