This is an automated email from the ASF dual-hosted git repository.

xiaoyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git


The following commit(s) were added to refs/heads/master by this push:
     new a235b4604 fix: missing actuator dependency and port error in examples 
http (#4506)
a235b4604 is described below

commit a235b4604ec21a0c5c9c3b4af9f5dfa76adb1ac4
Author: Bird <[email protected]>
AuthorDate: Tue Mar 28 16:49:28 2023 +0800

    fix: missing actuator dependency and port error in examples http (#4506)
---
 .../shenyu-examples-http/k8s/shenyu-examples-http-deployment.yml     | 2 +-
 shenyu-examples/shenyu-examples-http/pom.xml                         | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git 
a/shenyu-examples/shenyu-examples-http/k8s/shenyu-examples-http-deployment.yml 
b/shenyu-examples/shenyu-examples-http/k8s/shenyu-examples-http-deployment.yml
index 0ac19766e..a22cee252 100644
--- 
a/shenyu-examples/shenyu-examples-http/k8s/shenyu-examples-http-deployment.yml
+++ 
b/shenyu-examples/shenyu-examples-http/k8s/shenyu-examples-http-deployment.yml
@@ -40,7 +40,7 @@ spec:
           livenessProbe:
             exec:
               command:
-                - wget -q -O - http://localhost:8011/actuator/health | grep UP 
|| exit 1
+                - wget -q -O - http://localhost:8189/actuator/health | grep UP 
|| exit 1
             initialDelaySeconds: 10
             failureThreshold: 3
             timeoutSeconds: 2
diff --git a/shenyu-examples/shenyu-examples-http/pom.xml 
b/shenyu-examples/shenyu-examples-http/pom.xml
index 48bbca021..4fa48f5c4 100644
--- a/shenyu-examples/shenyu-examples-http/pom.xml
+++ b/shenyu-examples/shenyu-examples-http/pom.xml
@@ -46,6 +46,11 @@
             <artifactId>spring-boot-starter</artifactId>
         </dependency>
 
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-actuator</artifactId>
+        </dependency>
+
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-webflux</artifactId>

Reply via email to