Skip to content

Commit

Permalink
chore: remove Quarkus banner (#2620)
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas authored Sep 5, 2024
1 parent c633e59 commit 1a8ec26
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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<String> 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";
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
xyz.block.ftl.deployment.BannerConfigSource

0 comments on commit 1a8ec26

Please sign in to comment.