From 285f6d6b54771656422fe6dc01ebbfc4e88513ab Mon Sep 17 00:00:00 2001 From: Martin Kouba Date: Fri, 10 Nov 2023 12:18:45 +0100 Subject: [PATCH] Rename quarkus-qute-server-pages to quarkus-qute-web - round #2 --- README.md | 4 ++-- docs/antora.yml | 4 ++-- .../quarkiverse/{quteserverpages => qute/web}/it/Code.java | 2 +- .../{quteserverpages => qute/web}/it/Colors.java | 2 +- .../{quteserverpages => qute/web}/it/MyBean.java | 2 +- .../src/main/resources/templates/web/colors.html | 2 +- .../it/QspIT.java => qute/web/it/QuteWebIT.java} | 4 ++-- .../it/QspTest.java => qute/web/it/QuteWebTest.java} | 4 ++-- pom.xml | 6 +++--- runtime/src/main/resources/META-INF/quarkus-extension.yaml | 2 +- 10 files changed, 16 insertions(+), 16 deletions(-) rename integration-tests/src/main/java/io/quarkiverse/{quteserverpages => qute/web}/it/Code.java (71%) rename integration-tests/src/main/java/io/quarkiverse/{quteserverpages => qute/web}/it/Colors.java (86%) rename integration-tests/src/main/java/io/quarkiverse/{quteserverpages => qute/web}/it/MyBean.java (90%) rename integration-tests/src/test/java/io/quarkiverse/{quteserverpages/it/QspIT.java => qute/web/it/QuteWebIT.java} (50%) rename integration-tests/src/test/java/io/quarkiverse/{quteserverpages/it/QspTest.java => qute/web/it/QuteWebTest.java} (96%) diff --git a/README.md b/README.md index caea889e..b84bcb4f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Quarkus Qute Web -[![Version](https://img.shields.io/maven-central/v/io.quarkiverse.quteserverpages/quarkus-qute-server-pages.svg?label=Maven%20Central)](https://search.maven.org/artifact/io.quarkiverse.quteserverpages/quarkus-qute-server-pages) +[![Version](https://img.shields.io/maven-central/v/io.quarkiverse.qute.web/quarkus-qute-web.svg?label=Maven%20Central)](https://search.maven.org/artifact/io.quarkiverse.qute.web/quarkus-qute-web) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) The goal of this extension is to expose the [Qute](https://quarkus.io/guides/qute-reference) templates located in the `src/main/resource/templates` directory via HTTP. Automatically, no controllers needed. For example, the template `src/main/resource/templates/web/foo.html` will be served from the paths `/foo` and `/foo.html` by default. @@ -15,4 +15,4 @@ In a template you can access: - the current `io.vertx.core.http.HttpServerRequest` via the `http:` namespace, e.g. `{http:request.path}` - the query parameters via the `http:` namespace, e.g. `{http:param('name')}` and `{http:param('name','DefaultName'}` -Read the full [documentation](https://quarkiverse.github.io/quarkiverse-docs/quarkus-quteserverpages/dev/index.html). +Read the full [documentation](https://quarkiverse.github.io/quarkiverse-docs/quarkus-qute-web/dev/index.html). diff --git a/docs/antora.yml b/docs/antora.yml index fc18ce61..f298bd21 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -1,5 +1,5 @@ -name: quarkus-quteserverpages -title: QuteServerPages +name: quarkus-qute-web +title: Qute Web version: dev nav: - modules/ROOT/nav.adoc diff --git a/integration-tests/src/main/java/io/quarkiverse/quteserverpages/it/Code.java b/integration-tests/src/main/java/io/quarkiverse/qute/web/it/Code.java similarity index 71% rename from integration-tests/src/main/java/io/quarkiverse/quteserverpages/it/Code.java rename to integration-tests/src/main/java/io/quarkiverse/qute/web/it/Code.java index 1511d6a8..4e4e11aa 100644 --- a/integration-tests/src/main/java/io/quarkiverse/quteserverpages/it/Code.java +++ b/integration-tests/src/main/java/io/quarkiverse/qute/web/it/Code.java @@ -1,4 +1,4 @@ -package io.quarkiverse.quteserverpages.it; +package io.quarkiverse.qute.web.it; import io.quarkus.qute.TemplateEnum; diff --git a/integration-tests/src/main/java/io/quarkiverse/quteserverpages/it/Colors.java b/integration-tests/src/main/java/io/quarkiverse/qute/web/it/Colors.java similarity index 86% rename from integration-tests/src/main/java/io/quarkiverse/quteserverpages/it/Colors.java rename to integration-tests/src/main/java/io/quarkiverse/qute/web/it/Colors.java index 90834517..8c1a3bf4 100644 --- a/integration-tests/src/main/java/io/quarkiverse/quteserverpages/it/Colors.java +++ b/integration-tests/src/main/java/io/quarkiverse/qute/web/it/Colors.java @@ -1,4 +1,4 @@ -package io.quarkiverse.quteserverpages.it; +package io.quarkiverse.qute.web.it; import java.util.List; diff --git a/integration-tests/src/main/java/io/quarkiverse/quteserverpages/it/MyBean.java b/integration-tests/src/main/java/io/quarkiverse/qute/web/it/MyBean.java similarity index 90% rename from integration-tests/src/main/java/io/quarkiverse/quteserverpages/it/MyBean.java rename to integration-tests/src/main/java/io/quarkiverse/qute/web/it/MyBean.java index 63db8003..105558af 100644 --- a/integration-tests/src/main/java/io/quarkiverse/quteserverpages/it/MyBean.java +++ b/integration-tests/src/main/java/io/quarkiverse/qute/web/it/MyBean.java @@ -1,4 +1,4 @@ -package io.quarkiverse.quteserverpages.it; +package io.quarkiverse.qute.web.it; import java.util.List; diff --git a/integration-tests/src/main/resources/templates/web/colors.html b/integration-tests/src/main/resources/templates/web/colors.html index d1ace742..dc756426 100644 --- a/integration-tests/src/main/resources/templates/web/colors.html +++ b/integration-tests/src/main/resources/templates/web/colors.html @@ -5,6 +5,6 @@ Colors -{#for color in io_quarkiverse_quteserverpages_it_Colors:colors}{color}{#if color_hasNext}, {/if}{/for} +{#for color in io_quarkiverse_qute_web_it_Colors:colors}{color}{#if color_hasNext}, {/if}{/for} \ No newline at end of file diff --git a/integration-tests/src/test/java/io/quarkiverse/quteserverpages/it/QspIT.java b/integration-tests/src/test/java/io/quarkiverse/qute/web/it/QuteWebIT.java similarity index 50% rename from integration-tests/src/test/java/io/quarkiverse/quteserverpages/it/QspIT.java rename to integration-tests/src/test/java/io/quarkiverse/qute/web/it/QuteWebIT.java index 26b30bd2..bb39b7da 100644 --- a/integration-tests/src/test/java/io/quarkiverse/quteserverpages/it/QspIT.java +++ b/integration-tests/src/test/java/io/quarkiverse/qute/web/it/QuteWebIT.java @@ -1,7 +1,7 @@ -package io.quarkiverse.quteserverpages.it; +package io.quarkiverse.qute.web.it; import io.quarkus.test.junit.QuarkusIntegrationTest; @QuarkusIntegrationTest -public class QspIT extends QspTest { +public class QuteWebIT extends QuteWebTest { } diff --git a/integration-tests/src/test/java/io/quarkiverse/quteserverpages/it/QspTest.java b/integration-tests/src/test/java/io/quarkiverse/qute/web/it/QuteWebTest.java similarity index 96% rename from integration-tests/src/test/java/io/quarkiverse/quteserverpages/it/QspTest.java rename to integration-tests/src/test/java/io/quarkiverse/qute/web/it/QuteWebTest.java index 582a1a0a..de88d05b 100644 --- a/integration-tests/src/test/java/io/quarkiverse/quteserverpages/it/QspTest.java +++ b/integration-tests/src/test/java/io/quarkiverse/qute/web/it/QuteWebTest.java @@ -1,4 +1,4 @@ -package io.quarkiverse.quteserverpages.it; +package io.quarkiverse.qute.web.it; import static io.restassured.RestAssured.given; import static org.hamcrest.Matchers.containsString; @@ -9,7 +9,7 @@ import io.quarkus.test.junit.QuarkusTest; @QuarkusTest -public class QspTest { +public class QuteWebTest { @Test public void testTemplates() { diff --git a/pom.xml b/pom.xml index d7dd9d2f..f0d54459 100644 --- a/pom.xml +++ b/pom.xml @@ -17,9 +17,9 @@ docs - scm:git:git@github.com:quarkiverse/quarkus-qute-server-pages.git - scm:git:git@github.com:quarkiverse/quarkus-qute-server-pages.git - https://github.com/quarkiverse/quarkus-qute-server-pages + scm:git:git@github.com:quarkiverse/quarkus-qute-web.git + scm:git:git@github.com:quarkiverse/quarkus-qute-web.git + https://github.com/quarkiverse/quarkus-qute-web HEAD diff --git a/runtime/src/main/resources/META-INF/quarkus-extension.yaml b/runtime/src/main/resources/META-INF/quarkus-extension.yaml index 49736987..0a5a8e48 100644 --- a/runtime/src/main/resources/META-INF/quarkus-extension.yaml +++ b/runtime/src/main/resources/META-INF/quarkus-extension.yaml @@ -6,7 +6,7 @@ metadata: - web - qute - templates - guide: https://quarkiverse.github.io/quarkiverse-docs/quarkus-quteserverpages/dev/index.html + guide: https://quarkiverse.github.io/quarkiverse-docs/quarkus-qute-web/dev/index.html categories: - "web" status: "preview" \ No newline at end of file