Skip to content

Commit

Permalink
chore: remove Quarkus banner
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas committed Sep 5, 2024
1 parent c633e59 commit dc6735b
Show file tree
Hide file tree
Showing 3 changed files with 34 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_PATH = "quarkus.banner.path";

@Override
public Set<String> getPropertyNames() {
return Set.of(QUARKUS_BANNER_PATH);
}

@Override
public String getValue(String propertyName) {
if (propertyName.equals(QUARKUS_BANNER_PATH)) {
return "ftl-banner.txt";
}
return null;
}

@Override
public String getName() {
return "FTL Banner";
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
xyz.block.ftl.deployment.BannerConfigSource
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
______ ______ __
/\ ___\/\__ _\/\ \
\ \ __\\/_/\ \/\ \ \____
\ \_\ \ \_\ \ \_____\
\/_/ \/_/ \/_____/

0 comments on commit dc6735b

Please sign in to comment.