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

io.quarkus.test.services.containers.AmqOpenShiftContainerManagedResource Maven / Gradle / Ivy

There is a newer version: 1.6.0.Beta20
Show newest version
package io.quarkus.test.services.containers;

public class AmqOpenShiftContainerManagedResource extends OpenShiftContainerManagedResource {

    private static final String DEPLOYMENT_TEMPLATE_PROPERTY_DEFAULT = "/amq-openshift-deployment-template.yml";

    private final AmqContainerManagedResourceBuilder model;

    protected AmqOpenShiftContainerManagedResource(AmqContainerManagedResourceBuilder model) {
        super(model);

        this.model = model;
    }

    @Override
    protected String getInternalServiceName() {
        return super.getInternalServiceName() + "-" + model.getProtocol().name().toLowerCase();
    }

    @Override
    protected boolean useInternalServiceByDefault() {
        return true;
    }

    @Override
    protected String getTemplateByDefault() {
        return DEPLOYMENT_TEMPLATE_PROPERTY_DEFAULT;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy