2018-05-11 12:47:21 +00:00
@setupApplicationTest
2020-01-24 12:26:28 +00:00
Feature : dc / services / index: List Services
2020-05-05 16:29:51 +00:00
Scenario : Viewing the service list page with services
2018-05-11 12:47:21 +00:00
Given 1 d a t a c e n t e r m o d e l w i t h t h e v a l u e " d c - 1 "
2020-04-21 14:21:52 +00:00
And 10 s e r v i c e m o d e l s f r o m y a m l
2018-09-12 19:23:39 +00:00
- - -
2020-04-21 14:21:52 +00:00
- N a m e : S e r v i c e - 0
E x t e r n a l S o u r c e s :
- c o n s u l
2020-11-19 16:05:46 +00:00
C h e c k s P a s s i n g : 0
C h e c k s W a r n i n g : 0
C h e c k s C r i t i c a l : 10
2020-05-05 16:29:51 +00:00
K i n d : ~
2020-04-21 14:21:52 +00:00
- N a m e : S e r v i c e - 0 - p r o x y
K i n d : ' c o n n e c t - p r o x y '
- N a m e : S e r v i c e - 1
E x t e r n a l S o u r c e s :
- n o m a d
2020-11-19 16:05:46 +00:00
C h e c k s P a s s i n g : 0
C h e c k s W a r n i n g : 0
C h e c k s C r i t i c a l : 9
2020-05-05 16:29:51 +00:00
K i n d : ~
2020-04-21 14:21:52 +00:00
- N a m e : S e r v i c e - 1 - p r o x y
K i n d : ' c o n n e c t - p r o x y '
- N a m e : S e r v i c e - 2
E x t e r n a l S o u r c e s :
- t e r r a f o r m
2020-11-19 16:05:46 +00:00
C h e c k s P a s s i n g : 0
C h e c k s W a r n i n g : 0
C h e c k s C r i t i c a l : 8
2020-05-05 16:29:51 +00:00
K i n d : ~
2020-04-21 14:21:52 +00:00
- N a m e : S e r v i c e - 2 - p r o x y
K i n d : ' c o n n e c t - p r o x y '
- N a m e : S e r v i c e - 3
E x t e r n a l S o u r c e s :
- k u b e r n e t e s
2020-11-19 16:05:46 +00:00
C h e c k s P a s s i n g : 0
C h e c k s W a r n i n g : 0
C h e c k s C r i t i c a l : 7
2020-05-05 16:29:51 +00:00
K i n d : ~
2020-04-21 14:21:52 +00:00
- N a m e : S e r v i c e - 3 - p r o x y
K i n d : ' c o n n e c t - p r o x y '
- N a m e : S e r v i c e - 4
E x t e r n a l S o u r c e s :
- a w s
2020-11-19 16:05:46 +00:00
C h e c k s P a s s i n g : 0
C h e c k s W a r n i n g : 0
C h e c k s C r i t i c a l : 6
2020-05-05 16:29:51 +00:00
K i n d : ~
2020-04-21 14:21:52 +00:00
- N a m e : S e r v i c e - 4 - p r o x y
K i n d : ' c o n n e c t - p r o x y '
2020-11-19 16:05:46 +00:00
C h e c k s P a s s i n g : 0
C h e c k s W a r n i n g : 0
C h e c k s C r i t i c a l : 5
2018-09-12 19:23:39 +00:00
- - -
2020-04-21 14:21:52 +00:00
2018-05-11 12:47:21 +00:00
When I v i s i t t h e s e r v i c e s p a g e f o r y a m l
- - -
d c : d c - 1
- - -
Then t h e u r l s h o u l d b e / d c - 1 / s e r v i c e s
2020-01-28 14:25:52 +00:00
And t h e t i t l e s h o u l d b e " S e r v i c e s - C o n s u l "
2020-04-21 14:21:52 +00:00
Then I s e e 5 s e r v i c e m o d e l s
2018-09-12 19:23:39 +00:00
And I s e e e x t e r n a l S o u r c e o n t h e s e r v i c e s l i k e y a m l
- - -
- c o n s u l
- n o m a d
- t e r r a f o r m
- k u b e r n e t e s
2020-04-14 20:07:09 +00:00
- a w s
2018-09-12 19:23:39 +00:00
- - -
2020-05-05 16:29:51 +00:00
Scenario : Viewing the service list page with gateways
Given 1 d a t a c e n t e r m o d e l w i t h t h e v a l u e " d c - 1 "
2023-03-03 21:59:04 +00:00
And 4 s e r v i c e m o d e l s f r o m y a m l
2020-05-05 16:29:51 +00:00
- - -
- N a m e : S e r v i c e - 0 - p r o x y
K i n d : ' c o n n e c t - p r o x y '
2020-11-19 16:05:46 +00:00
C h e c k s P a s s i n g : 0
C h e c k s W a r n i n g : 0
C h e c k s C r i t i c a l : 3
2020-05-05 16:29:51 +00:00
- N a m e : S e r v i c e - 1 - i n g r e s s - g a t e w a y
K i n d : ' i n g r e s s - g a t e w a y '
2020-11-19 16:05:46 +00:00
C h e c k s P a s s i n g : 0
C h e c k s W a r n i n g : 0
C h e c k s C r i t i c a l : 2
2020-05-05 16:29:51 +00:00
- N a m e : S e r v i c e - 2 - t e r m i n a t i n g - g a t e w a y
K i n d : ' t e r m i n a t i n g - g a t e w a y '
2020-11-19 16:05:46 +00:00
C h e c k s P a s s i n g : 0
C h e c k s W a r n i n g : 0
C h e c k s C r i t i c a l : 1
2023-03-03 21:59:04 +00:00
- N a m e : S e r v i c e - 3 - a p i - g a t e w a y
K i n d : ' a p i - g a t e w a y '
C h e c k s P a s s i n g : 0
C h e c k s W a r n i n g : 0
C h e c k s C r i t i c a l : 1
2020-05-05 16:29:51 +00:00
- - -
When I v i s i t t h e s e r v i c e s p a g e f o r y a m l
- - -
d c : d c - 1
- - -
Then t h e u r l s h o u l d b e / d c - 1 / s e r v i c e s
And t h e t i t l e s h o u l d b e " S e r v i c e s - C o n s u l "
2023-03-03 21:59:04 +00:00
Then I s e e 3 s e r v i c e m o d e l s
2020-05-05 16:29:51 +00:00
And I s e e k i n d o n t h e s e r v i c e s l i k e y a m l
- - -
- i n g r e s s - g a t e w a y
- t e r m i n a t i n g - g a t e w a y
2023-03-03 21:59:04 +00:00
- a p i - g a t e w a y
2020-05-05 16:29:51 +00:00
- - -
2020-09-30 13:13:38 +00:00
Scenario : View a Service in mesh
2020-05-12 15:37:22 +00:00
Given 1 d a t a c e n t e r m o d e l w i t h t h e v a l u e " d c - 1 "
And 3 s e r v i c e m o d e l s f r o m y a m l
- - -
- N a m e : S e r v i c e - 0
K i n d : ~
2020-09-30 13:13:38 +00:00
C o n n e c t e d W i t h P r o x y : t r u e
C o n n e c t e d W i t h G a t e w a y : t r u e
2020-11-19 16:05:46 +00:00
C h e c k s P a s s i n g : 0
C h e c k s W a r n i n g : 0
C h e c k s C r i t i c a l : 2
2020-05-12 15:37:22 +00:00
- N a m e : S e r v i c e - 0 - p r o x y
K i n d : c o n n e c t - p r o x y
- N a m e : S e r v i c e - 1
K i n d : ~
2020-09-30 13:13:38 +00:00
C o n n e c t e d W i t h P r o x y : f a l s e
C o n n e c t e d W i t h G a t e w a y : f a l s e
2020-11-19 16:05:46 +00:00
C h e c k s P a s s i n g : 0
C h e c k s W a r n i n g : 0
C h e c k s C r i t i c a l : 1
2020-05-12 15:37:22 +00:00
- - -
2020-05-05 16:29:51 +00:00
2020-05-12 15:37:22 +00:00
When I v i s i t t h e s e r v i c e s p a g e f o r y a m l
- - -
d c : d c - 1
- - -
Then t h e u r l s h o u l d b e / d c - 1 / s e r v i c e s
And t h e t i t l e s h o u l d b e " S e r v i c e s - C o n s u l "
Then I s e e 2 s e r v i c e m o d e l s
2020-09-30 13:13:38 +00:00
And I s e e m e s h o n t h e s e r v i c e s .0
And I d o n ' t s e e m e s h o n t h e s e r v i c e s .1
Scenario : View a Service's Associated Service count
Given 1 d a t a c e n t e r m o d e l w i t h t h e v a l u e " d c - 1 "
And 3 s e r v i c e m o d e l s f r o m y a m l
- - -
- N a m e : S e r v i c e - 0
K i n d : ~
2020-11-19 16:05:46 +00:00
C h e c k s P a s s i n g : 0
C h e c k s W a r n i n g : 0
C h e c k s C r i t i c a l : 2
2020-09-30 13:13:38 +00:00
- N a m e : S e r v i c e - 0 - p r o x y
K i n d : c o n n e c t - p r o x y
2020-11-19 16:05:46 +00:00
C h e c k s P a s s i n g : 0
C h e c k s W a r n i n g : 0
C h e c k s C r i t i c a l : 1
2020-09-30 13:13:38 +00:00
- N a m e : S e r v i c e - 1
K i n d : ' i n g r e s s - g a t e w a y '
2020-11-19 16:05:46 +00:00
C h e c k s P a s s i n g : 0
C h e c k s W a r n i n g : 0
C h e c k s C r i t i c a l : 1
2020-09-30 13:13:38 +00:00
G a t e w a y C o n f i g :
2020-12-15 18:29:32 +00:00
A s s o c i a t e d S e r v i c e C o u n t : 345
2020-09-30 13:13:38 +00:00
- - -
When I v i s i t t h e s e r v i c e s p a g e f o r y a m l
- - -
d c : d c - 1
- - -
Then t h e u r l s h o u l d b e / d c - 1 / s e r v i c e s
And t h e t i t l e s h o u l d b e " S e r v i c e s - C o n s u l "
Then I s e e 2 s e r v i c e m o d e l s
And I d o n ' t s e e a s s o c i a t e d S e r v i c e C o u n t o n t h e s e r v i c e s .0
And I s e e a s s o c i a t e d S e r v i c e C o u n t o n t h e s e r v i c e s .1
2022-10-06 17:01:49 +00:00
Scenario : Viewing the services index page with no services and ACLs enabled
Given 1 d a t a c e n t e r m o d e l w i t h t h e v a l u e " d c - 1 "
And 0 s e r v i c e m o d e l s
When I v i s i t t h e s e r v i c e s p a g e f o r y a m l
- - -
d c : d c - 1
- - -
Then t h e u r l s h o u l d b e / d c - 1 / s e r v i c e s
And t h e t i t l e s h o u l d b e " S e r v i c e s - C o n s u l "
Then I s e e 0 s e r v i c e m o d e l s
And I s e e t h e t e x t " T h e r e d o n ' t s e e m t o b e a n y r e g i s t e r e d s e r v i c e s i n t h i s C o n s u l c l u s t e r , o r y o u m a y n o t h a v e s e r v i c e : r e a d a n d n o d e : r e a d a c c e s s t o t h i s v i e w . U s e T e r r a f o r m , K u b e r n e t e s C R D s , V a u l t , o r t h e C o n s u l C L I t o r e g i s t e r S e r v i c e s . " i n " . e m p t y - s t a t e p "
And I s e e t h e " [ d a t a - t e s t - e m p t y - s t a t e - l o g i n ] " e l e m e n t
Scenario : Viewing the services index page with no services and ACLs disabled
Given A C L s a r e d i s a b l e d
Given 1 d a t a c e n t e r m o d e l w i t h t h e v a l u e " d c - 1 "
And 0 s e r v i c e m o d e l s
When I v i s i t t h e s e r v i c e s p a g e f o r y a m l
- - -
d c : d c - 1
- - -
Then t h e u r l s h o u l d b e / d c - 1 / s e r v i c e s
And t h e t i t l e s h o u l d b e " S e r v i c e s - C o n s u l "
Then I s e e 0 s e r v i c e m o d e l s
And I s e e t h e t e x t " T h e r e d o n ' t s e e m t o b e a n y r e g i s t e r e d s e r v i c e s i n t h i s C o n s u l c l u s t e r . " i n " . e m p t y - s t a t e p "
And I d o n ' t s e e t h e " [ d a t a - t e s t - e m p t y - s t a t e - l o g i n ] " e l e m e n t