Current Epic: osdu/platform&29
OPA\Policy Integration (Configured mostly through properties, Storage, Search).
Currently, the Policy enabled flag which decides whether or not to use Policy service is coming from the application properties file, this MR is made to use the function flag to use Policy as a feature.
So the flag can be fetched from partition property, environment variable featureFlag.policy.enabled
.