IHTSDO / snowstorm

Scalable SNOMED CT Terminology Server using Elasticsearch
Other
204 stars 80 forks source link

Addition of read-only option #1

Closed rorydavidson closed 6 years ago

rorydavidson commented 7 years ago

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.

kaicode commented 7 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.

kaicode commented 6 years ago

This is fixed in 1.0.0 with config: snowstorm.rest-api.readonly=true