forked from folio-org/okapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDeploymentDescriptor.json
31 lines (31 loc) · 961 Bytes
/
DeploymentDescriptor.json
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
30
31
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "DeploymentDescriptor.json",
"title": "DeploymentDescriptor",
"description" : "Module deployment information. There are two modes: deployment managed by Okapi (with nodeId specified) and remote module (with URL specified).",
"type": "object",
"additionalProperties" : false,
"properties": {
"srvcId": {
"description": "The Module ID for the instance",
"type": "string"
},
"instId": {
"description": "Instance ID (at least unique for node)",
"type": "string"
},
"nodeId": {
"description": "Node ID where module is deployed",
"type": ["string", "null"]
},
"url": {
"description": "URL where module is deployed (not managed by Okapi)",
"type": ["string", "null"]
},
"descriptor" : {
"description": "Deployment details",
"$ref": "LaunchDescriptor.json"
}
},
"required": ["srvcId"]
}