The compartment OCID must be mentioned multiple times, and is not consistently used across modules. The following changes are requested for managing compartment OCIDs:
Deprecate the spring.cloud.oci.compartment.static property
Add a new proprty, spring.cloud.oci.compartment.ocid. This is the default compartment OCID property, falling back to spring.cloud.oci.compartment.static if not present.
Ensure each service has an optional service-level compartment OCID property. Deprecate any service level properties named "compartment". If the service-level compartment OCID is set, use that for the service compartment, otherwise, use the global compartment OCID.
The compartment OCID must be mentioned multiple times, and is not consistently used across modules. The following changes are requested for managing compartment OCIDs:
Deprecate the
spring.cloud.oci.compartment.staticpropertyAdd a new proprty,
spring.cloud.oci.compartment.ocid. This is the default compartment OCID property, falling back tospring.cloud.oci.compartment.staticif not present.Ensure each service has an optional service-level compartment OCID property. Deprecate any service level properties named "compartment". If the service-level compartment OCID is set, use that for the service compartment, otherwise, use the global compartment OCID.