2019-07-05 08:07:25 +00:00
|
|
|
@setupApplicationTest
|
|
|
|
Feature: dc / services / instances / gateway: Show Gateway Service Instance
|
|
|
|
Scenario: A Gateway Service instance
|
|
|
|
Given 1 datacenter model with the value "dc1"
|
2021-10-26 18:26:04 +00:00
|
|
|
Given 1 proxy model from yaml
|
|
|
|
---
|
|
|
|
- ServiceProxy:
|
|
|
|
DestinationServiceName: service-1
|
|
|
|
DestinationServiceID: ~
|
2020-05-07 13:57:15 +00:00
|
|
|
---
|
2019-07-05 08:07:25 +00:00
|
|
|
And 1 instance model from yaml
|
|
|
|
---
|
|
|
|
- Service:
|
|
|
|
Kind: mesh-gateway
|
|
|
|
Name: gateway
|
|
|
|
ID: gateway-with-id
|
|
|
|
TaggedAddresses:
|
|
|
|
lan:
|
|
|
|
Address: 127.0.0.1
|
|
|
|
Port: 8080
|
|
|
|
wan:
|
|
|
|
Address: 92.68.0.0
|
|
|
|
Port: 8081
|
|
|
|
---
|
|
|
|
When I visit the instance page for yaml
|
|
|
|
---
|
|
|
|
dc: dc1
|
|
|
|
service: gateway
|
|
|
|
node: node-0
|
|
|
|
id: gateway-with-id
|
|
|
|
---
|
2020-04-22 14:40:59 +00:00
|
|
|
Then the url should be /dc1/services/gateway/instances/node-0/gateway-with-id/health-checks
|
2019-07-05 08:07:25 +00:00
|
|
|
|
2020-04-22 14:40:59 +00:00
|
|
|
And I see healthChecksIsSelected on the tabs
|
2019-07-05 08:07:25 +00:00
|
|
|
|
|
|
|
When I click addresses on the tabs
|
|
|
|
And I see addressesIsSelected on the tabs
|
|
|
|
And I see 2 of the addresses object
|
2021-10-26 18:26:04 +00:00
|
|
|
And I see address on the addresses vertically like yaml
|
2019-07-05 08:07:25 +00:00
|
|
|
---
|
|
|
|
- 127.0.0.1:8080
|
|
|
|
- 92.68.0.0:8081
|
|
|
|
---
|