Hermes 284313f908
Some checks are pending
Bidi Control Character Guard / bidi-control-guard (push) Waiting to run
Circular Dependency Check / Check for new circular dependencies (push) Waiting to run
Citus Migration Smoke / Combined migrations on single-node Citus (push) Waiting to run
E2E Fresh Install Tests / fresh-install-e2e (push) Waiting to run
ext-v2 guardrails / Run ext-v2 guard and ESLint (push) Waiting to run
Integration Tests / Check for relevant changes (push) Waiting to run
Integration Tests / ${{ (github.event_name == 'schedule' || github.event.inputs.suite == 'full') && 'Full integration suite' || 'Tier-1 integration subset' }} (push) Blocked by required conditions
Mobile checks / Mobile lint + typecheck (push) Waiting to run
Mobile checks / Mobile unit tests (push) Waiting to run
Mobile checks / Mobile dependency audit (report) (push) Waiting to run
Mobile checks / Mobile reproducibility checks (push) Waiting to run
Secrets guard (env backups) / Ensure no tracked env backup files (push) Waiting to run
Temporal Readiness / fast-readiness (push) Waiting to run
Temporal Readiness / docker-parity (push) Waiting to run
TypeScript Type Check / Nx affected typecheck (push) Waiting to run
Unit Tests / Skipped-test budget (push) Waiting to run
Unit Tests / Nx affected unit tests (push) Waiting to run
Unit Tests / Server unit coverage (informational) (push) Waiting to run
Validate Tenant Management Schema / Check for relevant changes (push) Waiting to run
Validate Tenant Management Schema / Validate Tenant Management Schema (push) Blocked by required conditions
EE Workflows Build Guard / ee-workflows-build-guard (push) Waiting to run
Initial import of AlgaPSA codebase from PSA server
Excluded: .git, node_modules, secrets/, compose.env, assemblyscript tgz

Source: /opt/alga-psa on psa.joliet.tech
2026-06-22 16:12:17 -05:00

141 lines
3.9 KiB
JSON

{
"mappings": [
{
"name": "Google OAuth Authorization",
"request": {
"method": "GET",
"urlPathPattern": "/o/oauth2/v2/auth.*"
},
"response": {
"status": 302,
"headers": {
"Location": "{{request.query.redirect_uri.[0]}}?code=mock-google-code-{{randomValue type='UUID'}}&state={{request.query.state.[0]}}&scope={{urlEncode request.query.scope.[0]}}"
}
}
},
{
"name": "Google OAuth Token Exchange",
"request": {
"method": "POST",
"urlPath": "/token",
"bodyPatterns": [{
"contains": "grant_type=authorization_code"
}]
},
"response": {
"status": 200,
"jsonBody": {
"access_token": "mock-google-access-{{randomValue type='UUID'}}",
"refresh_token": "mock-google-refresh-{{randomValue type='UUID'}}",
"expires_in": 3600,
"token_type": "Bearer",
"scope": "https://www.googleapis.com/auth/gmail.readonly https://www.googleapis.com/auth/gmail.send https://www.googleapis.com/auth/gmail.modify"
},
"headers": {
"Content-Type": "application/json"
}
}
},
{
"name": "Google OAuth Token Refresh",
"request": {
"method": "POST",
"urlPath": "/token",
"bodyPatterns": [{
"contains": "grant_type=refresh_token"
}]
},
"response": {
"status": 200,
"jsonBody": {
"access_token": "mock-google-refreshed-access-{{randomValue type='UUID'}}",
"expires_in": 3600,
"token_type": "Bearer",
"scope": "https://www.googleapis.com/auth/gmail.readonly https://www.googleapis.com/auth/gmail.send https://www.googleapis.com/auth/gmail.modify"
},
"headers": {
"Content-Type": "application/json"
}
}
},
{
"name": "Google User Profile",
"request": {
"method": "GET",
"urlPath": "/oauth2/v1/userinfo"
},
"response": {
"status": 200,
"jsonBody": {
"id": "test-google-user-{{randomValue type='NUMERIC' length='20'}}",
"email": "test@example.com",
"verified_email": true,
"name": "Test User",
"given_name": "Test",
"family_name": "User",
"picture": "https://lh3.googleusercontent.com/a/default-user",
"locale": "en"
},
"headers": {
"Content-Type": "application/json"
}
}
},
{
"name": "Gmail Watch",
"request": {
"method": "POST",
"urlPathPattern": "/gmail/v1/users/.*/watch"
},
"response": {
"status": 200,
"jsonBody": {
"historyId": "{{randomValue type='NUMERIC' length='10'}}",
"expiration": "{{now offset='7 days' format='epoch'}}"
},
"headers": {
"Content-Type": "application/json"
}
}
},
{
"name": "Google Pub/Sub Topic Creation",
"request": {
"method": "PUT",
"urlPathPattern": "/v1/projects/.*/topics/.*"
},
"response": {
"status": 200,
"jsonBody": {
"name": "{{request.path}}"
},
"headers": {
"Content-Type": "application/json"
}
}
},
{
"name": "Google Pub/Sub Subscription Creation",
"request": {
"method": "PUT",
"urlPathPattern": "/v1/projects/.*/subscriptions/.*"
},
"response": {
"status": 200,
"jsonBody": {
"name": "{{request.path}}",
"topic": "{{jsonPath request.body '$.topic'}}",
"pushConfig": {
"pushEndpoint": "{{jsonPath request.body '$.pushConfig.pushEndpoint'}}",
"attributes": {}
},
"ackDeadlineSeconds": 10,
"messageRetentionDuration": "604800s"
},
"headers": {
"Content-Type": "application/json"
}
}
}
]
}