Skip to content

Commit

Permalink
Change server to runtime or instance
Browse files Browse the repository at this point in the history
  • Loading branch information
gkwan-ibm committed Aug 15, 2023
1 parent 3b682e2 commit d201b81
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ The [hotspot=getProperty file=0]`getProperty()` method implements the unary RPC
// update server.xml
[role='code_command hotspot file=1', subs="quotes"]
----
#Replace the system's server.xml configuration file.#
#Replace the system's `server.xml` configuration file.#
`system/src/main/liberty/config/server.xml`
----

Expand Down Expand Up @@ -276,7 +276,7 @@ The `PropertiesResource` class provides RESTful endpoints to interact with the `
// update server.xml
[role='code_command hotspot file=3', subs="quotes"]
----
#Replace the query's server.xml configuration file.#
#Replace the query's `server.xml` configuration file.#
`query/src/main/liberty/config/server.xml`
----

Expand All @@ -286,7 +286,7 @@ query/server.xml
include::finish/query/src/main/liberty/config/server.xml[]
----

Add the [hotspot=grpc file=3]`grpc` and [hotspot=grpcClient file=3]`grpcClient` features to the Liberty's `server.xml` configuration file for the `query` service. These two features enable gRPC server and client support on Liberty respectively. Configure the [hotspot=grpcClientConfig file=3]`grpcClient` feature with the `headersToPropagate` and `target` attributes. If you want to learn more about `grpcClient` feature configuration, see the https://openliberty.io/docs/latest/reference/config/grpcClient.html[GRPC Client Properties^].
Add the [hotspot=grpc file=3]`grpc` and [hotspot=grpcClient file=3]`grpcClient` features to the Liberty `server.xml` configuration file for the `query` service. These two features enable gRPC server and client support on Liberty respectively. Configure the [hotspot=grpcClientConfig file=3]`grpcClient` feature with the `headersToPropagate` and `target` attributes. If you want to learn more about `grpcClient` feature configuration, see the https://openliberty.io/docs/latest/reference/config/grpcClient.html[GRPC Client Properties^].

Because you are running the `system` and `query` services in dev mode, the changes that you made are automatically picked up. You’re now ready to check out your application in your browser.

Expand Down

0 comments on commit d201b81

Please sign in to comment.