Skip to content

Commit bdf4a4a

Browse files
committed
feat(cosid-example-proxy): update application.yaml for local testing
- Add local instance configuration for cosid-proxy - Comment out load balancing host configuration - Remove unnecessary segment configuration
1 parent 7f755d2 commit bdf4a4a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

examples/cosid-example-proxy/src/main/resources/application.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@ server:
33
spring:
44
application:
55
name: ${service.name:cosid-example-proxy}
6+
7+
# cloud:
8+
# discovery:
9+
# client:
10+
# simple:
11+
# instances:
12+
# cosid-proxy:
13+
# - host: localhost
14+
# port: 8688
15+
# - host: localhost
16+
# port: 8788
617
cosid:
718
namespace: ${spring.application.name}
819
machine:
@@ -15,6 +26,7 @@ cosid:
1526
enabled: true
1627
proxy:
1728
host: http://localhost:8688
29+
# host: lb://cosid-proxy
1830

1931
# segment:
2032
# enabled: true

0 commit comments

Comments
 (0)