All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.contentgrid.spring.boot.actuator.policy.RegoProducible Maven / Gradle / Ivy

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();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy