Skip to content

Commit

Permalink
Merge pull request #19995 from Sgitario/fix_quarkus-hibernate-orm-res…
Browse files Browse the repository at this point in the history
…t-data-panache_guide

Update rest-data-panache and spring-data-rest guides to use reactive dep
  • Loading branch information
geoand authored Sep 8, 2021
2 parents 28acd97 + ed81cf9 commit be259bb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docs/src/main/asciidoc/rest-data-panache.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ include::./status-include.adoc[]
* Add the required dependencies to your `pom.xml`
** Hibernate ORM REST Data with Panache extension (`quarkus-hibernate-orm-rest-data-panache`)
** A JDBC driver extension (`quarkus-jdbc-postgresql`, `quarkus-jdbc-h2`, `quarkus-jdbc-mariadb`, ...)
** One of the RESTEasy JSON serialization extensions (`quarkus-resteasy-jackson` or `quarkus-resteasy-jsonb`)
** One of the RESTEasy JSON serialization extensions (`quarkus-resteasy-reactive-jackson` or `quarkus-resteasy-reactive-jsonb`)

[source,xml]
----
Expand All @@ -38,7 +38,7 @@ include::./status-include.adoc[]
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy-jackson</artifactId>
<artifactId>quarkus-resteasy-reactive-jackson</artifactId>
</dependency>
</dependencies>
----
Expand All @@ -50,7 +50,7 @@ include::./status-include.adoc[]

* Add the required dependencies to your `pom.xml`
** MongoDB REST Data with Panache extension (`quarkus-mongodb-rest-data-panache`)
** One of the RESTEasy JSON serialization extensions (`quarkus-resteasy-jackson` or `quarkus-resteasy-jsonb`)
** One of the RESTEasy JSON serialization extensions (`quarkus-resteasy-reactive-jackson` or `quarkus-resteasy-reactive-jsonb`)

[source,xml]
----
Expand All @@ -61,7 +61,7 @@ include::./status-include.adoc[]
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy-jackson</artifactId>
<artifactId>quarkus-resteasy-reactive-jackson</artifactId>
</dependency>
</dependencies>
----
Expand Down
4 changes: 2 additions & 2 deletions docs/src/main/asciidoc/spring-data-rest.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ First, we need a new project. Create a new project with the following command:
mvn io.quarkus.platform:quarkus-maven-plugin:{quarkus-version}:create \
-DprojectGroupId=org.acme \
-DprojectArtifactId=spring-data-rest-quickstart \
-Dextensions="spring-data-rest,resteasy-jackson,quarkus-jdbc-postgresql" \
-Dextensions="spring-data-rest,resteasy-reactive-jackson,quarkus-jdbc-postgresql" \
-DnoExamples
cd spring-data-rest-quickstart
----
Expand Down Expand Up @@ -76,7 +76,7 @@ For the tests you will also need REST Assured. Add it to the `pom.xml`:
</dependency>
----

Note: both `resteasy-jackson` and `resteasy-jsonb` are supported and can be interchanged.
Note: both `resteasy-reactive-jackson` and `resteasy-reactive-jsonb` are supported and can be interchanged.

== Define the Entity

Expand Down

0 comments on commit be259bb

Please sign in to comment.