Skip to content

Commit 4b0a511

Browse files
committed
updating http requests file
1 parent fb644c9 commit 4b0a511

1 file changed

Lines changed: 15 additions & 43 deletions

File tree

qa-workflow/qa-workflow.http

Lines changed: 15 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,24 @@
1-
@scheme = https
2-
@testeodh = workspaces.test.eodhp.eco-ke-staging.com
3-
@ades = test.eodatahub.org.uk/ades
4-
@username= sam-malone41
5-
@workspace = workspace
6-
@s3Endpoint = AccessPointName-AccountId.s3-accesspoint.region.amazonaws.com
7-
@fileName = <WORKSPACE NAME>/<FILENAME>.tif
8-
@logindetails = 454f44482c4c3dae5a4c52913e7a2dea
9-
@deployStatus = {{deployProcessJson.response.headers.Location}}
10-
@executeStatus = {{executeProcess.response.headers.Location}}
11-
12-
131
###
14-
# example from GitHub guide
15-
# @name accessFileInWorkspace
16-
GET /files/<bucket_name>/<path_to_file> HTTP/1.1
17-
Host: {{workspace}}.workspaces.test.eodhp.eco-ke-staging.com
18-
Authorization: Bearer {{logindetails}}
19-
20-
###
21-
22-
# @name TestUserDatasetsAccess
23-
GET /https://eodatahub.org.uk/api/catalogue/stac/catalogs/user-datasets/sam-malone41/processing-results
24-
Authorization: Bearer 454f444804db0b775ae7b186a695d8ba
25-
Accept: application/json
26-
27-
########
28-
29-
302

313
# @name deleteProcess
324
DELETE https://eodatahub.org.uk/api/catalogue/stac/catalogs/user/catalogs/npl/processes/qa-workflow HTTP/1.1
33-
Authorization: Bearer 454f44482a0903a2ae985b1a9f8c7d7a
5+
Authorization: Bearer TOKEN
346
Accept: application/json
357

368

379
###
3810

3911
# @name listProcesses
4012
GET https://eodatahub.org.uk/api/catalogue/stac/catalogs/user/catalogs/npl/processes HTTP/1.1
41-
Authorization: Bearer 454f44482a0903a2ae985b1a9f8c7d7a
13+
Authorization: Bearer TOKEN
4214
Accept: application/json
4315

4416

4517
###
4618

4719
# @name deployProcessJson
4820
POST https://eodatahub.org.uk/api/catalogue/stac/catalogs/user/catalogs/npl/processes HTTP/1.1
49-
Authorization: Bearer 454f44482a0903a2ae985b1a9f8c7d7a
21+
Authorization: Bearer TOKEN
5022
Accept: application/json
5123
Content-Type: application/cwl+yaml
5224

@@ -57,22 +29,22 @@ Content-Type: application/cwl+yaml
5729
# need to update url
5830
# @name getDeployStatus
5931
GET deployProcessJson.response.headers.Location HTTP/1.1
60-
Authorization: Bearer 454f444804db0b775ae7b186a695d8ba
32+
Authorization: Bearer TOKEN
6133
Accept: application/json
6234

6335

6436
###
6537
# @name executeProcess
6638
POST https://eodatahub.org.uk/api/catalogue/stac/catalogs/user/catalogs/npl/processes/qa-workflow/execution HTTP/1.1
67-
Authorization: Bearer 454f44482a0903a2ae985b1a9f8c7d7a
39+
Authorization: Bearer TOKEN
6840
Accept: application/json
6941
Content-Type: application/json
7042
Prefer: respond-async
7143

7244
{
7345
"inputs": {"s3_endpoint": "AccessPointName-AccountId.s3-accesspoint.region.amazonaws.com",
7446
"qa_check_type": "radiometric_unc",
75-
"date_range": "2023-01-01,2023-12-31",
47+
"date_range": "2022-01-01,2022-12-31",
7648
"data_collection": "s2a"
7749
}
7850
}
@@ -82,55 +54,55 @@ Prefer: respond-async
8254
# need to update url with job id
8355
# @name getExecuteStatus
8456
GET https://eodatahub.org.uk/api/catalogue/stac/catalogs/user/catalogs/npl/jobs/63eba338-484a-11f0-9935-8235d858a0f5 HTTP/1.1
85-
Authorization: Bearer 454f44482a0903a2ae985b1a9f8c7d7a
57+
Authorization: Bearer TOKEN
8658
Accept: application/json
8759

8860

8961
###
9062
# need to update url to include correct job code a88a2af4-05ca-11f0-bbc3-eadd75232b79
9163
# @name getProcessingResults
9264
GET 8iu970fcf1314-05c6-11f0-b647-eadd75232b79/results HTTP/1.1
93-
Authorization: Bearer 454f444804db0b775ae7b186a695d8ba
65+
Authorization: Bearer TOKEN
9466
Accept: application/json
9567

9668

9769
### /api/catalogue/stac/catalogs/user/catalogs/<workspace>/processes /api/catalogue/stac/catalogs/user/catalogs/<workspace>/jobs
9870

9971
# @name getProcessDetails
10072
GET https://eodatahub.org.uk/api/catalogue/stac/catalogs/user/catalogs/npl/processes/qa-workflow HTTP/1.1
101-
Authorization: Bearer 454f444804db0b775ae7b186a695d8ba
73+
Authorization: Bearer TOKEN
10274
Accept: application/json
10375

10476

10577
###
10678

10779
# @name listJobs
10880
GET https://eodatahub.org.uk//api/catalogue/stac/catalogs/user/catalogs/npl/jobs HTTP/1.1
109-
Authorization: Bearer 454f444804db0b775ae7b186a695d8ba
81+
Authorization: Bearer TOKEN
11082
Accept: application/json
11183

11284

11385
###
11486

11587
# @name listJobResults
11688
GET https://eodatahub.org.uk/api/catalogue/stac/catalogs/user/catalogs/npl/jobs/4aab56c4-2749-11f0-94ae-1a1f07364587/results HTTP/1.1
117-
Authorization: Bearer 454f44482a0903a2ae985b1a9f8c7d7a
89+
Authorization: Bearer TOKEN
11890
Accept: application/json
11991

12092

12193
###
12294

12395
# @name listCatalogsAndCollections
12496
GET https://eodatahub.org.uk/api/catalogue/stac/catalogs/user/catalogs/npl/catalogs/processing-results/catalogs/qa-workflow/search HTTP/1.1
125-
Authorization: Bearer 454f44487da1554205b71d5ad77c4b7b
97+
Authorization: Bearer TOKEN
12698
Accept: application/json
12799

128100

129101
###
130102

131103
# @name listoutputsinmyworkspace
132104
GET https://eodatahub.org.uk/api/catalogue/stac/catalogs/user/catalogs/npl/jobs/a66638d2-0af0-11f0-b2a8-de263ce83925/results HTTP/1.1
133-
Authorization: Bearer 454f44487da1554205b71d5ad77c4b7b
105+
Authorization: Bearer TOKEN
134106
Accept: application/json
135107

136108

@@ -139,7 +111,7 @@ Accept: application/json
139111

140112
# @name getDocReviewResults
141113
GET https://npl.eodatahub-workspaces.org.uk/files/workspaces-eodhp/processing-results/qa-workflow/sentinel-2_l1c_qa/qa_documentation/output_sentinel-2_l1c_qa_check_doc_review.json HTTP/1.1
142-
Authorization: Bearer 454f44482a0903a2ae985b1a9f8c7d7a
114+
Authorization: Bearer TOKEN
143115
Accept: application/json
144116

145117

@@ -148,7 +120,7 @@ Accept: application/json
148120

149121
# @name getRadUncResults
150122
GET https://npl.eodatahub-workspaces.org.uk/files/workspaces-eodhp/processing-results/qa-workflow/sentinel-2_l1c_qa/qa_radiometric/output_sentinel-2_l1c_qa_check_radiometric_unc_2022-02-01_2022-02-28.json HTTP/1.1
151-
Authorization: Bearer 454f44482a0903a2ae985b1a9f8c7d7a
123+
Authorization: Bearer TOKEN
152124
Accept: application/json
153125

154126

0 commit comments

Comments
 (0)