Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

Acceptance tests validating security groups are indeed open #14

Open
gberche-orange opened this issue Oct 26, 2016 · 0 comments
Open

Acceptance tests validating security groups are indeed open #14

gberche-orange opened this issue Oct 26, 2016 · 0 comments
Milestone

Comments

@gberche-orange
Copy link
Member

gberche-orange commented Oct 26, 2016

  • Given
    • A target service responding to HTTP on a given IP/port with a 200 status (IP1/port1)
    • A CF deployment with restricted security groups preventing acccess to IP1/port1
    • A service broker "SB1" that returns binding credentials of the form "http://IP1:port1/"
    • a sec-group-broker filter app is deployed, and filters SB1, and registered in the marketplace as service offering SO1
    • a service instance SI1 is created for service offering SO1 in space S1
    • an app A1 pushed from repo https://github.com/krujos/willitconnect exposed to route R1/v2/willitconnect
    • curl R1/v2/willitconnect -d '{"target":"http://IP1:port1/"}' returns "canConnect": false,
  • When
    • SI1 is bound to A1
  • Then
    • curl R1/v2/willitconnect -d '{"target":"http://IP1:port1/"}' returns "canConnect": true,
    • A security group is created in the space opening access to IP1:port1
@gberche-orange gberche-orange added this to the 2.1 milestone Nov 3, 2016
@s-bortolussi s-bortolussi modified the milestones: 2.2, 2.1 Nov 17, 2016
@gberche-orange gberche-orange modified the milestones: Later, 2.2 Feb 22, 2017
gberche-orange pushed a commit that referenced this issue Apr 19, 2021
This change adds acceptance tests to validate security groups are indeed open after service binding.
 Acceptance tests are implemented using JGIVEN http://jgiven.org/

[#14]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants