-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinit-docker-dev.sh
More file actions
29 lines (27 loc) · 1 KB
/
init-docker-dev.sh
File metadata and controls
29 lines (27 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/env bash
# Add the base provider base to the node directory
curl --location 'http://localhost:39193/management/v1alpha/directory' \
--header 'Content-Type: application/json' \
--header 'x-api-key: managementApiKeyFederatedCatalog' \
--data-raw ' {
"name": "Default Base Provider",
"id": "provider-base",
"url": "http://provider-base:19194/protocol",
"supportedProtocols": ["dataspace-protocol-http"],
"@context": {
"@vocab": "https://w3id.org/edc/v0.0.1/ns/"
}
}'
# Add the ebird provider base to the node directory
curl --location 'http://localhost:39193/management/v1alpha/directory' \
--header 'Content-Type: application/json' \
--header 'x-api-key: managementApiKeyFederatedCatalog' \
--data-raw ' {
"name": "eBird Provider",
"id": "provider-ebird",
"url": "http://provider-ebird:17194/protocol",
"supportedProtocols": ["dataspace-protocol-http"],
"@context": {
"@vocab": "https://w3id.org/edc/v0.0.1/ns/"
}
}'