From 711d7e460f24b5e94b445cfefb7951a22adcabc3 Mon Sep 17 00:00:00 2001 From: josiemundi Date: Mon, 20 Jul 2020 17:59:48 +0200 Subject: [PATCH] add splash page for quarkus kafka project (#843) * add splash page for quarkus kafka project * update stack.yaml * added newline to index.html --- incubator/quarkus/stack.yaml | 2 +- .../resources/META-INF/resources/index.html | 152 ++++++++++++++++++ 2 files changed, 153 insertions(+), 1 deletion(-) create mode 100644 incubator/quarkus/templates/kafka/src/main/resources/META-INF/resources/index.html diff --git a/incubator/quarkus/stack.yaml b/incubator/quarkus/stack.yaml index fd3659a37..b85e945a7 100644 --- a/incubator/quarkus/stack.yaml +++ b/incubator/quarkus/stack.yaml @@ -1,5 +1,5 @@ name: Quarkus -version: 0.5.0 +version: 0.5.1 description: Quarkus runtime for running Java applications license: Apache-2.0 language: java diff --git a/incubator/quarkus/templates/kafka/src/main/resources/META-INF/resources/index.html b/incubator/quarkus/templates/kafka/src/main/resources/META-INF/resources/index.html new file mode 100644 index 000000000..bd00254da --- /dev/null +++ b/incubator/quarkus/templates/kafka/src/main/resources/META-INF/resources/index.html @@ -0,0 +1,152 @@ + + + + + kafka-quickstart - 1.0-SNAPSHOT + + + + + + +
+
+

Congratulations, you have created a new Quarkus application.

+ +

Why do you see this?

+ +

This page is served by Quarkus. The source is in + src/main/resources/META-INF/resources/index.html.

+ +

What can I do from here?

+ +

If not already done, run the application in dev mode using: mvn quarkus:dev. +

+
    +
  • Add REST resources, Servlets, functions and other services in src/main/java.
  • +
  • Your static assets are located in src/main/resources/META-INF/resources.
  • +
  • Configure your application in src/main/resources/application.properties. +
  • +
+ +

How do I get rid of this page?

+

Just delete the src/main/resources/META-INF/resources/index.html file.

+
+
+
+

Application

+
    +
  • GroupId: org.acme.quarkus.sample
  • +
  • ArtifactId: kafka-quickstart
  • +
  • Version: 1.0-SNAPSHOT
  • +
  • Quarkus Version: 1.6.0.Final
  • +
+
+ +
+
+ + + +