Skip to content

Commit

Permalink
[WFLY-19426] microprofile-health Quickstarts should have a root webpa…
Browse files Browse the repository at this point in the history
…ge similar to helloworld
  • Loading branch information
sudeshnas93 committed Jun 14, 2024
1 parent 01313ed commit 29bd172
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
import jakarta.ws.rs.ApplicationPath;
import jakarta.ws.rs.core.Application;

@ApplicationPath("/")
@ApplicationPath("/rest")
public class JaxRsApplication extends Application {
}
28 changes: 28 additions & 0 deletions microprofile-health/src/main/webapp/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!--
JBoss, Home of Professional Open Source
Copyright 2024, Red Hat, Inc. and/or its affiliates, and individual
contributors by the @authors tag. See the copyright.txt in the
distribution for a full listing of individual contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE html>
<html>
<title>microprofile-health</title>
<body>
<div style="text-align:center">

<h1>Hello There! Welcome to WildFly!</h1>
<h2>The microprofile-health application has been deployed and running successfully.</h2>

</div>
</body>

</html>

0 comments on commit 29bd172

Please sign in to comment.