(client: Client, slug: IntegrationSlug, description?: string)
| 32 | }); |
| 33 | |
| 34 | const addPingSpec = (client: Client, slug: IntegrationSlug, description?: string) => |
| 35 | client.openapi.addSpec({ |
| 36 | payload: { |
| 37 | spec: { kind: "blob", value: pingSpec }, |
| 38 | slug, |
| 39 | ...(description === undefined ? {} : { description }), |
| 40 | baseUrl: "http://127.0.0.1:59999", // never contacted during registration |
| 41 | authenticationTemplate: [ |
| 42 | { |
| 43 | slug: "apiKey", |
| 44 | type: "apiKey", |
| 45 | headers: { authorization: ["Bearer ", { type: "variable", name: "token" }] }, |
| 46 | }, |
| 47 | ], |
| 48 | }, |
| 49 | }); |
| 50 | |
| 51 | scenario( |
| 52 | "Tenant isolation · integrations, tools, and connections in one org are invisible to another", |
no outgoing calls
no test coverage detected