Skip to content

Commit 89db8e7

Browse files
authored
update README for mp5 (#72)
* update README for mp5 * Update README.adoc
1 parent b1b8eab commit 89db8e7

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

README.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
:page-essential: false
1414
:page-description: Learn how to use MicroProfile GraphQL to query and update data.
1515
:page-tags: ['MicroProfile']
16-
:page-related-guides: ['rest-intro', 'jpa-intro', 'mongodb-intro']
16+
:page-related-guides: ['rest-intro', 'graphql-client', 'jpa-intro', 'mongodb-intro']
1717
:page-permalink: /guides/{projectid}
1818
:common-includes: https://raw.githubusercontent.com/OpenLiberty/guides-common/prod
1919
:imagesdir: /img/guide/{projectid}
@@ -32,7 +32,7 @@ Learn how to use MicroProfile GraphQL to query and update data from multiple ser
3232

3333
== What you'll learn
3434

35-
You will learn how to build and use a simple GraphQL service with https://openliberty.io/docs/latest/reference/feature/mpGraphQL-1.0.html[MicroProfile GraphQL^].
35+
You will learn how to build and use a simple GraphQL service with https://openliberty.io/docs/latest/reference/feature/mpGraphQL-2.0.html[MicroProfile GraphQL^].
3636

3737
GraphQL is an open source data query language. Unlike REST APIs, each HTTP request that is sent to a GraphQL service goes to a single HTTP endpoint. Create, read, update, and delete operations and their details are differentiated by the contents of the request. If the operation returns data, the user specifies what properties of the data that they want returned. For read operations, a JSON object is returned that contains only the data and properties that are specified. For other operations, a JSON object might be returned containing information such as a success message.
3838

@@ -153,7 +153,7 @@ To save time, the [hotspot=class file=3]`SystemLoad` class and [hotspot=class fi
153153

154154
== Implementing system service
155155

156-
The `system` microservices are backend services that use JAX-RS. For more details on using JAX-RS, see the https://www.openliberty.io/guides/rest-intro.html[Creating a RESTful web service guide^]. These `system` microservices report system properties. GraphQL can access multiple instances of these `system` microservices and collate their information. In a real scenario, GraphQL might access multiple databases or other services.
156+
The `system` microservices are backend services that use Jakarta Restful Web Services. For more details on using Jakarta Restful Web Services, see the https://www.openliberty.io/guides/rest-intro.html[Creating a RESTful web service guide^]. These `system` microservices report system properties. GraphQL can access multiple instances of these `system` microservices and collate their information. In a real scenario, GraphQL might access multiple databases or other services.
157157

158158
[role="code_command hotspot file=0" ,subs="quotes"]
159159
----
@@ -258,7 +258,7 @@ server.xml
258258
include::finish/graphql/src/main/liberty/config/server.xml[]
259259
----
260260

261-
The [hotspot=graphql file=1]`mpGraphQL-1.0` feature that is added to the [hotspot file=1]`server.xml` enables the use of the https://openliberty.io/docs/latest/reference/feature/mpGraphQL-1.0.html[MicroProfile GraphQL^] feature in Open Liberty. Open Liberty's MicroProfile GraphQL feature includes GraphiQL. Enable it by setting the [hotspot=enableGraphiql file=1]`io.openliberty.enableGraphQLUI` variable to `true`.
261+
The [hotspot=graphql file=1]`mpGraphQL` feature that is added to the [hotspot file=1]`server.xml` enables the use of the https://openliberty.io/docs/latest/reference/feature/mpGraphQL-2.0.html[MicroProfile GraphQL^] feature in Open Liberty. Open Liberty's MicroProfile GraphQL feature includes GraphiQL. Enable it by setting the [hotspot=enableGraphiql file=1]`io.openliberty.enableGraphQLUI` variable to `true`.
262262

263263

264264
== Building and running the application

start/graphql/src/main/liberty/config/server.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
<feature>cdi-3.0</feature>
77
<feature>mpConfig-3.0</feature>
88
<feature>mpRestClient-3.0</feature>
9-
<!-- tag::graphql[] -->
10-
<feature>mpGraphQL-2.0</feature>
11-
<!-- end::graphql[] -->
129
</featureManager>
1310

1411
<variable name="default.http.port" defaultValue="9082"/>

0 commit comments

Comments
 (0)