Skip to content

Commit ba3d896

Browse files
tloubrieu-jplthomas loubrieu
andauthored
Update tests for latest reference datasets, and freeze registry-loader to flat version (while structured version is developed/tested)) (#449)
* make test work, add one, freeze registry-loader to work with flat document for current stable registry * remove lines --------- Co-authored-by: thomas loubrieu <thomas.loubrieu@jpl.nasa.gov>
1 parent 4f6df3e commit ba3d896

3 files changed

Lines changed: 17 additions & 9 deletions

File tree

docker/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ REG_API_APP_PROPERTIES_FILE=./default-config/application.properties
3232
# --------------------------------------------------------------------
3333

3434
# Docker image of the Registry Loader
35-
REG_LOADER_IMAGE=nasapds/registry-loader:latest
35+
REG_LOADER_IMAGE=nasapds/registry-loader:1.1.1
3636

3737
# --------------------------------------------------------------------
3838
# Registry Sweepers

docker/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,5 +285,3 @@ docker compose --profile=int-registry-batch-loader down
285285

286286
Note: Ignore any `failed to remove network` errors, because the related docker network may
287287
have active endpoints of other services.
288-
289-

docker/postman/postman_collection.json

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"info": {
3-
"_postman_id": "0b7ad2d8-4160-4102-8c0b-2e2e3aeac4af",
4-
"name": "Planetary Data System API Reference Tests Copy 14",
3+
"_postman_id": "8231e835-4e81-4906-af93-d2c6fd8c98b1",
4+
"name": "Planetary Data System API Reference Tests Copy 15",
55
"description": "Federated PDS API which provides actionable end points standardized\nbetween the different nodes.\n\n\nContact Support:\n Email: pds-operator@jpl.nasa.gov",
66
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
77
"_exporter_id": "11337552",
8-
"_collection_link": "https://interstellar-satellite-406261.postman.co/workspace/My-Workspace~2ee1fece-93c6-4f38-806d-fa321e2e92d5/collection/11337552-0b7ad2d8-4160-4102-8c0b-2e2e3aeac4af?action=share&source=collection_link&creator=11337552"
8+
"_collection_link": "https://interstellar-satellite-406261.postman.co/workspace/My-Workspace~2ee1fece-93c6-4f38-806d-fa321e2e92d5/collection/11337552-8231e835-4e81-4906-af93-d2c6fd8c98b1?action=share&source=collection_link&creator=11337552"
99
},
1010
"item": [
1111
{
@@ -3565,7 +3565,7 @@
35653565
"",
35663566
"pm.test(\"C2488844 Response contains same number of properties\", () => {",
35673567
" const responseJson = pm.response.json();",
3568-
" pm.expect(responseJson.length).to.be.eql(146);",
3568+
" pm.expect(responseJson.length).to.be.eql(170);",
35693569
"});",
35703570
"",
35713571
"pm.test(\"C2488844 Response property objects follow expected schema\", () => {",
@@ -3580,7 +3580,8 @@
35803580
"// Some additional tests may be warranted in future based on presence of particular keys, key formats, or types."
35813581
],
35823582
"type": "text/javascript",
3583-
"packages": {}
3583+
"packages": {},
3584+
"requests": {}
35843585
}
35853586
},
35863587
{
@@ -3590,7 +3591,8 @@
35903591
""
35913592
],
35923593
"type": "text/javascript",
3593-
"packages": {}
3594+
"packages": {},
3595+
"requests": {}
35943596
}
35953597
}
35963598
],
@@ -4322,6 +4324,14 @@
43224324
}
43234325
},
43244326
"response": []
4327+
},
4328+
{
4329+
"name": "sql injection in q parameter",
4330+
"request": {
4331+
"method": "GET",
4332+
"header": []
4333+
},
4334+
"response": []
43254335
}
43264336
]
43274337
}

0 commit comments

Comments
 (0)