-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding GCP versions of Postman workspace configs
- Loading branch information
Showing
2 changed files
with
132 additions
and
0 deletions.
There are no files selected for viewing
99 changes: 99 additions & 0 deletions
99
tools/postman_configurations/GCP Privacy Sandbox.postman_collection.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
{ | ||
"info": { | ||
"_postman_id": "57a11868-f3c8-4ccc-b43a-af43e038700f", | ||
"name": "GCP Privacy Sandbox", | ||
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", | ||
"_exporter_id": "32120047" | ||
}, | ||
"item": [ | ||
{ | ||
"name": "createJob", | ||
"request": { | ||
"method": "POST", | ||
"header": [], | ||
"body": { | ||
"mode": "raw", | ||
"raw": "{\n \"job_request_id\": \"<job_request_id>\",\n \"input_data_blob_prefix\": \"<report_folder>/<report_name>.avro\",\n \"input_data_bucket_name\": \"<input_bucket_name>\",\n \"output_data_blob_prefix\": \"<output_folder>/<summary_report_prefix>\",\n \"output_data_bucket_name\": \"<output_bucket_name>\",\n \"job_parameters\": {\n \"output_domain_blob_prefix\": \"<output_domain_folder>/<output_domain>.avro\",\n \"output_domain_bucket_name\": \"<output_domain_bucket_name>\",\n \"attribution_report_to\": \"<reporting origin of report>\",\n \"report_error_threshold_percentage\": \"10\",\n \"debug_run\": \"true\"\n }\n}", | ||
"options": { | ||
"raw": { | ||
"language": "json" | ||
} | ||
} | ||
}, | ||
"url": { | ||
"raw": "https://{{environment}}-{{region}}-frontend-service-{{cloud-function-id}}-uc.a.run.app/v1alpha/createJob", | ||
"protocol": "https", | ||
"host": [ | ||
"{{environment}}-{{region}}-frontend-service-{{cloud-function-id}}-uc", | ||
"a", | ||
"run", | ||
"app" | ||
], | ||
"path": [ | ||
"v1alpha", | ||
"createJob" | ||
] | ||
} | ||
}, | ||
"response": [] | ||
}, | ||
{ | ||
"name": "getJob", | ||
"request": { | ||
"method": "GET", | ||
"header": [], | ||
"url": { | ||
"raw": "https://{{environment}}-{{region}}-frontend-service-{{cloud-function-id}}-uc.a.run.app/v1alpha/getJob?job_request_id={{request-id}}", | ||
"protocol": "https", | ||
"host": [ | ||
"{{environment}}-{{region}}-frontend-service-{{cloud-function-id}}-uc", | ||
"a", | ||
"run", | ||
"app" | ||
], | ||
"path": [ | ||
"v1alpha", | ||
"getJob" | ||
], | ||
"query": [ | ||
{ | ||
"key": "job_request_id", | ||
"value": "{{request-id}}" | ||
} | ||
] | ||
} | ||
}, | ||
"response": [] | ||
} | ||
], | ||
"auth": { | ||
"type": "bearer", | ||
"bearer": [ | ||
{ | ||
"key": "token", | ||
"value": "", | ||
"type": "string" | ||
} | ||
] | ||
}, | ||
"event": [ | ||
{ | ||
"listen": "prerequest", | ||
"script": { | ||
"type": "text/javascript", | ||
"exec": [ | ||
"" | ||
] | ||
} | ||
}, | ||
{ | ||
"listen": "test", | ||
"script": { | ||
"type": "text/javascript", | ||
"exec": [ | ||
"" | ||
] | ||
} | ||
} | ||
] | ||
} |
33 changes: 33 additions & 0 deletions
33
tools/postman_configurations/GCP_workspace.postman_globals.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"id": "4a7cfc0f-9e23-41f2-8aa5-480e9f87737f", | ||
"values": [ | ||
{ | ||
"key": "region", | ||
"value": "", | ||
"type": "default", | ||
"enabled": true | ||
}, | ||
{ | ||
"key": "environment", | ||
"value": "", | ||
"type": "default", | ||
"enabled": true | ||
}, | ||
{ | ||
"key": "cloud-function-id", | ||
"value": "", | ||
"type": "default", | ||
"enabled": true | ||
}, | ||
{ | ||
"key": "request-id", | ||
"value": "", | ||
"type": "default", | ||
"enabled": true | ||
} | ||
], | ||
"name": "Globals", | ||
"_postman_variable_scope": "globals", | ||
"_postman_exported_at": "2024-01-08T20:00:52.445Z", | ||
"_postman_exported_using": "Postman/10.21.11-240102-2003" | ||
} |