Skip to content

Commit

Permalink
Presets - Rename Microservice with database to REST service (#1502)
Browse files Browse the repository at this point in the history
* Presets - Rename Microservice with database to REST service

* Fix legacy RESTEasy Reactive preset and reorganize presets a bit
  • Loading branch information
gsmet authored Sep 26, 2024
1 parent 61aa32a commit caa2ca2
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions base/src/main/java/io/quarkus/code/service/PlatformService.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,24 +49,21 @@
public class PlatformService {

public static final List<Preset> PRESETS = List.of(
new Preset("db-service-reactive", "Microservice with database",
"https://raw.githubusercontent.com/quarkusio/code.quarkus.io/main/base/assets/icons/presets/db-service.svg",
List.of("io.quarkus:quarkus-resteasy-reactive", "io.quarkus:quarkus-resteasy-reactive-jackson",
"io.quarkus:quarkus-hibernate-reactive-panache", "io.quarkus:quarkus-jdbc-postgresql")),
new Preset("webapp-npm-reactive", "Web app with NPM UI",
"https://raw.githubusercontent.com/quarkusio/code.quarkus.io/main/base/assets/icons/presets/webapp-npm.svg",
List.of("io.quarkus:quarkus-resteasy-reactive", "io.quarkus:quarkus-resteasy-reactive-jackson",
"io.quarkiverse.quinoa:quarkus-quinoa")),
new Preset("event-driven-reactive-kafka", "Event driven service with Kafka",
"https://raw.githubusercontent.com/quarkusio/code.quarkus.io/main/base/assets/icons/presets/event-driven-kafka.svg",
List.of("io.quarkus:quarkus-smallrye-reactive-messaging-kafka")),
new Preset("db-service", "Microservice with database",
// Some presets are duplicated to support platforms before and after the Big Reactive Renaming
new Preset("db-service", "REST service with database",
"https://raw.githubusercontent.com/quarkusio/code.quarkus.io/main/base/assets/icons/presets/db-service.svg",
List.of("io.quarkus:quarkus-rest", "io.quarkus:quarkus-rest-jackson",
"io.quarkus:quarkus-hibernate-orm-panache", "io.quarkus:quarkus-jdbc-postgresql")),
new Preset("db-service", "REST service with database",
"https://raw.githubusercontent.com/quarkusio/code.quarkus.io/main/base/assets/icons/presets/db-service.svg",
List.of("io.quarkus:quarkus-resteasy-reactive", "io.quarkus:quarkus-resteasy-reactive-jackson",
"io.quarkus:quarkus-hibernate-orm-panache", "io.quarkus:quarkus-jdbc-postgresql")),
new Preset("event-driven-kafka", "Event driven service with Kafka",
"https://raw.githubusercontent.com/quarkusio/code.quarkus.io/main/base/assets/icons/presets/event-driven-kafka.svg",
List.of("io.quarkus:quarkus-messaging-kafka")),
new Preset("event-driven-kafka", "Event driven service with Kafka",
"https://raw.githubusercontent.com/quarkusio/code.quarkus.io/main/base/assets/icons/presets/event-driven-kafka.svg",
List.of("io.quarkus:quarkus-smallrye-reactive-messaging-kafka")),
new Preset("cli", "Command-line tool",
"https://raw.githubusercontent.com/quarkusio/code.quarkus.io/main/base/assets/icons/presets/cli.svg",
List.of("io.quarkus:quarkus-picocli")),
Expand All @@ -77,6 +74,10 @@ public class PlatformService {
"https://raw.githubusercontent.com/quarkusio/code.quarkus.io/main/base/assets/icons/presets/webapp-npm.svg",
List.of("io.quarkus:quarkus-rest", "io.quarkus:quarkus-rest-jackson",
"io.quarkiverse.quinoa:quarkus-quinoa")),
new Preset("webapp-npm", "Web app with NPM UI",
"https://raw.githubusercontent.com/quarkusio/code.quarkus.io/main/base/assets/icons/presets/webapp-npm.svg",
List.of("io.quarkus:quarkus-resteasy-reactive", "io.quarkus:quarkus-resteasy-reactive-jackson",
"io.quarkiverse.quinoa:quarkus-quinoa")),
new Preset("webapp-qute", "Web app with ServerSide Rendering",
"https://raw.githubusercontent.com/quarkusio/code.quarkus.io/main/base/assets/icons/presets/webapp-qute.svg",
List.of("io.quarkiverse.qute.web:quarkus-qute-web", "io.quarkiverse.web-bundler:quarkus-web-bundler")),
Expand Down

0 comments on commit caa2ca2

Please sign in to comment.