io.quarkus.test.services.containers.AmqOpenShiftContainerManagedResource Maven / Gradle / Ivy
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