-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.json
More file actions
205 lines (205 loc) · 7.17 KB
/
schema.json
File metadata and controls
205 lines (205 loc) · 7.17 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
{
"repositoryDefinition": {
"type": "object",
"properties": {
"cassandra_home": { "type": "string" },
"pretty_name": { "type": "string" }
},
"nameField": "cassandra_home",
"identityFields": ["cassandra_home"]
},
"sourceConfigDefinition": {
"type": "object",
"required": ["name"],
"ordering": ["name"],
"additionalProperties": false,
"properties": {
"name": { "type": "string" },
"cluster_size": { "type": "integer"}
},
"nameField": "name",
"identityFields": ["name"]
},
"virtualSourceDefinition": {
"type": "object",
"additionalProperties" : false,
"ordering": [
"cluster_name",
"mountLocation",
"nodeName",
"port",
"node_list"
],
"required": [
"cluster_name",
"mountLocation",
"nodeName",
"port"
],
"properties" : {
"cluster_name": {
"type": "string",
"prettyName": "Name of the cluster",
"description": "Name of the new cluster created by Delphix"
},
"mountLocation": {
"type": "string",
"format": "unixpath",
"prettyName": "Mount Location on Target Host",
"description": "Where to mount VDB onto the target hosts"
},
"nodeName" : {
"type" : "string",
"prettyName": "Cassandra Node Name",
"default": "",
"maxLength": 50
},
"port": {
"type": "integer",
"prettyName": "Cassandra Port"
},
"node_list": {
"type": "array",
"prettyName": "Additional Nodes",
"items": {
"type": "object",
"required": ["nodeName","port","environment", "environmentUser"],
"ordering": ["nodeName","port","environment", "environmentUser"],
"properties": {
"environment": {
"type": "string",
"format": "reference",
"referenceType": "UnixHostEnvironment",
"prettyName": "Delphix Environment name",
"description": ""
},
"environmentUser": {
"type": "string",
"format": "reference",
"referenceType": "EnvironmentUser",
"prettyName": "Delphix Environment User",
"description": "",
"matches": "environment"
},
"nodeName" : {
"type" : "string",
"prettyName": "Cassandra Node Name",
"default": "",
"maxLength": 40
},
"port": {
"type": "integer",
"prettyName": "Cassandra port"
}
}
}
}
}
},
"linkedSourceDefinition": {
"type": "object",
"ordering": [
"staging_cluster_name",
"staging_base_dir",
"no_of_nodes",
"port",
"S3bucket",
"full_backup_name",
"force_backup",
"use_last_full"
],
"required": [
"staging_cluster_name",
"staging_base_dir",
"no_of_nodes",
"port",
"S3bucket",
"full_backup_name"
],
"additionalProperties" : false,
"properties" : {
"staging_cluster_name": {
"type": "string",
"prettyName": "Name of the staging cluster",
"description": "Name of the Cassandra staging cluster"
},
"staging_base_dir": {
"type": "string",
"prettyName": "Based mount directory of the staging cluster",
"description": "Based directory used to mount NFS shared on the staging server"
},
"no_of_nodes": {
"type": "integer",
"prettyName": "Number of the Cassandra cluster nodes",
"description": "Number of nodes to use in the virtual environments ( this can't be change on the VDB level )",
"default": 2
},
"port": {
"type": "integer",
"default": 9042,
"prettyName": "Cassandra port",
"description": "Cassandra port"
},
"S3bucket": {
"type": "string",
"prettyName": "Name of S3 bucket with backup",
"description": "Name of the S3 backup with a backup location"
},
"full_backup_name": {
"type": "string",
"prettyName": "Name of the backup inside S3 bucket",
"description": "Name of the backup inside S3 backup which will be used for ingestion"
},
"schema_file_name": { "type": "string", "default":"schema.cql"},
"force_backup": {
"type": "boolean",
"default": false,
"prettyName": "Force full backup ingestion",
"description": "Force full backup ingestion from a particular backup when dSource exist "
},
"use_last_full": {
"type": "boolean",
"default": false,
"prettyName": "Use last available full backup",
"description": "Use last available full backup (works only when dSource already exist"
}
}
},
"snapshotDefinition": {
"type" : "object",
"additionalProperties" : true,
"properties" : {
"node_list" : {
"type" : "array",
"prettyName" : "Add node names, ports",
"description" : "",
"items": {
"type": "object",
"properties": {
"nodeName" : { "type" : "string" },
"port": { "type": "integer" }
}
}
},
"node_mapping" : {
"type" : "array",
"items": {
"type": "object",
"properties": {
"nodemap" : { "type" : "string" }
}
}
},
"init_tokens" : {
"type" : "array",
"items": {
"type": "object",
"properties": {
"nodeName" : { "type" : "string" },
"tokens": { "type": "string" }
}
}
}
}
}
}