Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit ae244aa

Browse files
authored
Update create_resources_and_upload_app_local.py
1 parent 2a2024e commit ae244aa

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

scripts/tests/create_resources_and_upload_app_local.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def create_representation():
7272
"description": "This is the docker representation for the DataProcessingApp",
7373
"language": "EN",
7474
"runtimeEnvironment": "docker",
75-
"distributionService": "https://localhost:8080"
75+
"distributionService": "https://app.registry.example.org"
7676
}
7777
loc = post_request_check_response(f"{combined_host}/api/representations", json)
7878
return loc
@@ -85,6 +85,7 @@ def create_dataApp():
8585
"docs": "App-related human-readable documentation.",
8686
"environmentVariables": "dbUser=sa;dbPasswd=passwd",
8787
"storageConfig": "-v /data",
88+
"language": "EN",
8889
"supportedUsagePolicies": [
8990
"PROVIDE_ACCESS"
9091
]
@@ -99,12 +100,12 @@ def create_endpoints():
99100
"description": "This is the input endpoint for the DataProcessingApp.",
100101
"location": "/input",
101102
"mediaType": "application/json",
102-
"port": 5000,
103+
"port": 8080,
103104
"protocol": "HTTP/1.1",
104105
"type": "Input",
105106
"docs": "https://app.swaggerhub.com/apis/app/1337",
106107
"info": "More information about the endpoint",
107-
"path": "/input"
108+
"path": "/input/"
108109
}
109110
loc = post_request_check_response(f"{combined_host}/api/endpoints", json)
110111
return loc

0 commit comments

Comments
 (0)