- the license from the file is also stored in Elasticsearch
- this feature is documented in the user guide
This feature is already partly supported, because we check if there is an OptimizeLicense.txt file in the classpath/environment folder. However, the way we do it, it can have side effects. Let's just add the license from a file to Elasticsearch on startup of Optimize and then we can always check the license from there.