mirror of
https://github.com/jlengrand/quarkus-workshop.git
synced 2026-03-10 08:41:21 +00:00
fixes
This commit is contained in:
@@ -126,12 +126,12 @@ Wow, how cool is that? Supersonic Subatomic live reload! Go ahead and change it
|
||||
|
||||
[NOTE]
|
||||
====
|
||||
This will also listen for a debugger on port `5005`. If your want to wait for the debugger to attach before running you can pass `-Ddebug` on the command line. If you don’t want the debugger at all you can use `-Ddebug=false`. We'll use this later.
|
||||
This will also listen for a debugger on port `5005`. If you want to wait for the debugger to attach before running you can pass `-Ddebug` on the command line. If you don’t want the debugger at all you can use `-Ddebug=false`. We'll use this later.
|
||||
====
|
||||
|
||||
### Stop the previous application
|
||||
|
||||
Let's stop the original application so we can package and re-run it as an executable JAR. In the terminal, press kbd:[CTRL+C] to stop the application (**some browsers don't support this command** - simply close the Terminal using the kbd:[X] button on the tab, which will also kill the running app).
|
||||
Let's stop the original application so we can package and re-run it as an executable JAR. In the terminal, press kbd:[CTRL+C] to stop the application (**some browsers don't support this command** - simply close the Terminal using the kbd:[X] button on the tab, which will also kill the running app - remember to click _OK_ to the pop-up dialog about terminating the running process.)
|
||||
|
||||
image::kill.png[kill,800]
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ This default health check will return success as long as the app is running - if
|
||||
|
||||
We can now implement a better Health Check using the MicroProfile APIs. Create a new Java class - `org.acme.people.health.SimpleHealthCheck` (hint: right-click on the `org.acme.people.health` package and select _New > Java Class_ and name it `SimpleHealthCheck`). In this file, implement the health check (you can copy/paste this code):
|
||||
|
||||
[source, java, role="copypaste"
|
||||
[source, java, role="copypaste"]
|
||||
----
|
||||
package org.acme.people.health;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user