diff --git a/jvm-runtime/ftl-runtime/common/deployment/src/main/java/xyz/block/ftl/deployment/BannerConfigSource.java b/jvm-runtime/ftl-runtime/common/deployment/src/main/java/xyz/block/ftl/deployment/BannerConfigSource.java new file mode 100644 index 0000000000..0ce5fff4e4 --- /dev/null +++ b/jvm-runtime/ftl-runtime/common/deployment/src/main/java/xyz/block/ftl/deployment/BannerConfigSource.java @@ -0,0 +1,28 @@ +package xyz.block.ftl.deployment; + +import java.util.Set; + +import org.eclipse.microprofile.config.spi.ConfigSource; + +public class BannerConfigSource implements ConfigSource { + + public static final String QUARKUS_BANNER_ENABLED = "quarkus.banner.enabled"; + + @Override + public Set getPropertyNames() { + return Set.of(QUARKUS_BANNER_ENABLED); + } + + @Override + public String getValue(String propertyName) { + if (propertyName.equals(QUARKUS_BANNER_ENABLED)) { + return "false"; + } + return null; + } + + @Override + public String getName() { + return "Quarkus Banner"; + } +} diff --git a/jvm-runtime/ftl-runtime/common/deployment/src/main/resources/META-INF/services/org.eclipse.microprofile.config.spi.ConfigSource b/jvm-runtime/ftl-runtime/common/deployment/src/main/resources/META-INF/services/org.eclipse.microprofile.config.spi.ConfigSource new file mode 100644 index 0000000000..d8995dc83b --- /dev/null +++ b/jvm-runtime/ftl-runtime/common/deployment/src/main/resources/META-INF/services/org.eclipse.microprofile.config.spi.ConfigSource @@ -0,0 +1 @@ +xyz.block.ftl.deployment.BannerConfigSource \ No newline at end of file