com.contentgrid.spring.boot.actuator.policy.RegoProducible Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of contentgrid-spring-boot-actuators Show documentation
Show all versions of contentgrid-spring-boot-actuators Show documentation
Custom actuators for ContentGrid applications
The newest version!
package com.contentgrid.spring.boot.actuator.policy;
import org.springframework.boot.actuate.endpoint.Producible;
import org.springframework.util.MimeType;
public enum RegoProducible implements Producible {
CONTENT_TYPE_REGO_POLICY_V1 {
@Override
public MimeType getProducedMimeType() {
return MimeType.valueOf("application/vnd.cncf.openpolicyagent.policy.layer.v1+rego");
}
};
@Override
public boolean isDefault() {
return Producible.super.isDefault();
}
}