Skip to content

Commit

Permalink
Updating crawler server to user service port 8080.
Browse files Browse the repository at this point in the history
Search processor configuration defaults to calling the crawler service
on port 8080.  When Eureka is enabled, the configuration excludes the
port and lets the service registry take over.
  • Loading branch information
meyerg authored and trisberg committed May 1, 2024
1 parent 38f34fa commit 0f22175
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
4 changes: 2 additions & 2 deletions where-for-dinner/templates/workloads.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ spec:
params:
- name: ports
value:
- port: 80
- port: 8080
containerPort: 8080
name: http
serviceClaims: #@ buildServiceClaimsBinding(False, False, False, False, True, True)
Expand Down Expand Up @@ -460,7 +460,7 @@ spec:
params:
- name: ports
value:
- port: 80
- port: 8080
containerPort: 8080
name: http
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
params:
- name: ports
value:
- port: 80
- port: 8080
containerPort: 8080
name: http
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
params:
- name: ports
value:
- port: 80
- port: 8080
containerPort: 8080
name: http
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ eureka:

where-for-dinner:

crawler:
service:
identifier: 'http://where-for-dinner-crawler:8080'

randomsearcher:
establishments:
- diningName: Bristol
Expand Down Expand Up @@ -180,7 +184,12 @@ spring:
config.activate.on-profile: eureka

cloud.loadbalancer.enabled: true


where-for-dinner:

crawler:
service:
identifier: 'http://where-for-dinner-crawler'

eureka:
client:
Expand Down

0 comments on commit 0f22175

Please sign in to comment.