Context:
The license header replacement added with OPT-5852 is currently also active if Optimize runs in ccsm mode with enterpriseMode set to true. In this case the enterprise license should be added though.
Given:
Optimize is running with the following environment variables set:
SPRING_PROFILES_ACTIVE=ccsm
CAMUNDA_OPTIMIZE_ENTERPRISE_MODE=true
When:
The javascript main file is requested from the server
Then:
It contains the ccsm free license header
Expected:
I contains the enterprise/commercial license header