Enable health check and prometheus on gui-server

Issue-ID: POLICY-4138
Change-Id: Ibd815d54e7ee1df787412ed55d70d8a5dc95f1c0
Signed-off-by: liamfallon <liam.fallon@est.tech>
diff --git a/gui-server/pom.xml b/gui-server/pom.xml
index b774f0d..4082fd3 100644
--- a/gui-server/pom.xml
+++ b/gui-server/pom.xml
@@ -41,10 +41,20 @@
         </dependency>
         <dependency>
             <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-actuator</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-test</artifactId>
             <scope>test</scope>
         </dependency>
         <dependency>
+            <groupId>io.micrometer</groupId>
+            <artifactId>micrometer-registry-prometheus</artifactId>
+            <version>${version.io.micrometer}</version>
+            <scope>runtime</scope>
+        </dependency>
+        <dependency>
             <groupId>org.apache.httpcomponents</groupId>
             <artifactId>httpclient</artifactId>
         </dependency>
diff --git a/gui-server/src/main/resources/static/designtime-ui/index.html b/gui-server/src/main/resources/static/designtime-ui/index.html
index 8da1b06..4080991 100644
--- a/gui-server/src/main/resources/static/designtime-ui/index.html
+++ b/gui-server/src/main/resources/static/designtime-ui/index.html
@@ -7,6 +7,7 @@
 <body>
 <ul>
     <li><a href="/designtime-ui/apex-editor/index.html">The Apex Policy Editor</a></li>
+    <li>Another Editor</li>
 </ul>
 </body>
 </html>
diff --git a/gui-server/src/main/resources/static/runtime-ui/index.html b/gui-server/src/main/resources/static/runtime-ui/index.html
index 74fa41a..4d0f175 100644
--- a/gui-server/src/main/resources/static/runtime-ui/index.html
+++ b/gui-server/src/main/resources/static/runtime-ui/index.html
@@ -7,6 +7,7 @@
 <body>
 <ul>
     <li><a href="/runtime-ui/clamp/index.html">The CLAMP GUI</a></li>
+    <li>Another Runtime GUI</li>
 </ul>
 </body>
 </html>
diff --git a/gui-server/src/test/resources/application_http.yaml b/gui-server/src/test/resources/application_http.yaml
index 934e933..fbe2f36 100644
--- a/gui-server/src/test/resources/application_http.yaml
+++ b/gui-server/src/test/resources/application_http.yaml
@@ -30,5 +30,8 @@
 management:
   endpoints:
     web:
+      base-path: /
       exposure:
-        include: health, metrics, prometheus
+        include: health,metrics,prometheus
+      path-mapping.metrics: plain-metrics
+      path-mapping.prometheus: metrics
diff --git a/gui-server/src/test/resources/application_https.yaml b/gui-server/src/test/resources/application_https.yaml
index e5a84c1..825d6b9 100644
--- a/gui-server/src/test/resources/application_https.yaml
+++ b/gui-server/src/test/resources/application_https.yaml
@@ -36,5 +36,8 @@
 management:
   endpoints:
     web:
+      base-path: /
       exposure:
-        include: health, metrics, prometheus
+        include: health,metrics,prometheus
+      path-mapping.metrics: plain-metrics
+      path-mapping.prometheus: metrics