Skip to content

Commit

Permalink
fix: Add organization dependencies for Apigee tests
Browse files Browse the repository at this point in the history
This should allow the e2e tests to provision their organization
resources for each run, making it possible to run the apigee integration
tests.  However, this will require running each Apigee test case in a
separate project (so that each test can provision its own organization,
as there is only one organization allowed per project).
  • Loading branch information
Jason Vigil committed Mar 6, 2025
1 parent 27e2885 commit b945076
Show file tree
Hide file tree
Showing 28 changed files with 18,770 additions and 1,912 deletions.
1 change: 1 addition & 0 deletions mockgcp/mockserviceusage/knownservices.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ package mockserviceusage
var allServices = []string{
"apigee.googleapis.com",
"bigquery.googleapis.com",
"cloudkms.googleapis.com",
"compute.googleapis.com",
"pubsub.googleapis.com",
"runtimeconfig.googleapis.com",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ metadata:
name: apgea-${uniqueId}
namespace: ${uniqueId}
spec:
location: us-west3
location: us-west1
organizationRef:
external: organizations/${organizationID}
name: ${projectId}
serviceAttachmentRef:
name: computeserviceattachment-${uniqueId}
status:
Expand All @@ -22,7 +22,7 @@ status:
reason: UpToDate
status: "True"
type: Ready
externalRef: organizations/${organizationID}/endpointAttachments/apgea-${uniqueId}
externalRef: organizations/${projectId}/endpointAttachments/apgea-${uniqueId}
observedGeneration: 1
observedState:
connectionState: ACCEPTED
Expand Down
Loading

0 comments on commit b945076

Please sign in to comment.