ghtblue.migrator.lightblue-migrator.2.56.1.source-code.migrationConfiguration.json Maven / Gradle / Ivy
The newest version!
{
"entityInfo": {
"datastore": {
"backend": "mongo",
"collection": "migrationConfiguration",
"datasource": "mongodata"
},
"defaultVersion" : "2.0.3",
"indexes": [
{
"fields": [
{
"dir": "$asc",
"field": "_id"
}
],
"name": "primary",
"unique": true
},
{
"fields": [
{
"dir": "$asc",
"field": "configurationName"
}
],
"name": "configurationName",
"unique": true
}
],
"name": "migrationConfiguration"
},
"schema": {
"access": {
"delete": [
"anyone"
],
"find": [
"anyone"
],
"insert": [
"anyone"
],
"update": [
"anyone"
]
},
"fields": {
"_id": {
"type": "uid",
"constraints": {
"identity": true
},
"description": "The identifier of the migratonConfiguration."
},
"objectType": {
"access": {
"find": [
"anyone"
],
"update": [
"noone"
]
},
"constraints": {
"minLength": 1,
"required": true
},
"type": "string"
},
"configurationName": {
"type": "string",
"constraints": {
"required": true
},
"description": "Name of the configuration. Referenced by jobs."
},
"consistencyCheckerWeight": {
"type": "double",
"description": "How often select generated jobs for processing."
},
"migratorWeight": {
"type": "double",
"description": "How often select non generated jobs for processing."
},
"consistencyCheckerName": {
"type": "string",
"constraints": {
"required": true
},
"description": "Name of the consistency checker responsible for this configuration"
},
"threadCount": {
"type": "integer",
"constraints": {
"required": true
},
"description": "Number of threads that should be devoted to migrator jobs"
},
"migratorClass" : {
"type":"string",
"description": "Class name of the migrator. If null, DefaultMigrator is used"
},
"consistencyCheckerControllerClass":{
"type":"string",
"description":"Set this to the class name of a class extending AbstractController. If not set, ConsistencyCheckerController is used"
},
"overwriteDestinationDocuments": {
"type": "boolean",
"constraints": {
"required": true
},
"description": "Controls whether or not documents are overwritten (allows for no-op migration)"
},
"comparisonExclusionPaths": {
"type": "array",
"items": {
"type": "string"
},
"minitems": 1,
"uniqueitems": true,
"description": "Optional paths to exclude comparisons of source and destination documents. Fields including arrays will apply to all elements in the array even if specific indexes are included."
},
"destinationConfigPath": {
"type":"string"
},
"destinationServiceURI": {
"type": "string",
"description": "REST service URI for instance housing destination data."
},
"destinationEntityName": {
"type": "string",
"constraints": {
"required": true
},
"description": "destination Entity Name for data being migrated"
},
"destinationEntityVersion": {
"type": "string",
"constraints": {
"required": true
},
"description": "destination Entity Version for data being migrated"
},
"destinationIdentityFields": {
"type": "array",
"items": {
"type": "string"
},
"minitems": 1,
"uniqueitems": true,
"constraints": {
"required": true
},
"description": "identity fields in the destination entity."
},
"ignoreTimestampMSDiffs": {
"type": "boolean",
"description": "If true, 20071203T10:15:30.000-0400 == 20071203T10:15:30.123-0400"
},
"sourceConfigPath": {
"type":"string"
},
"sourceServiceURI": {
"type": "string",
"description": "REST service URI for instance housing source data"
},
"sourceEntityName": {
"type": "string",
"constraints": {
"required": true
},
"description": "source Entity Name for data being migrated"
},
"sourceEntityVersion": {
"type": "string",
"constraints": {
"required": true
},
"description": "source Entity Version for data being migrated"
},
"timestampFieldName": {
"type": "string",
"description": "Name of the timestamp field(s), for consistency checker. Can be comma separated list."
},
"timestampInitialValue": {
"type": "date",
"description": "Consistency checking will run for timestamps greater or equal to this date. This gets updated every time consistency checker runs"
},
"period" : {
"type":"string",
"description":"Period in which consistency checker runs. Must be nonempty for the consistency checker to run. something like 6 hours, 1 day, 1 seconds, etc. Units are millisecond, second, minute, hour, day"
}
},
"name": "migrationConfiguration",
"status": {
"value": "active"
},
"version": {
"changelog": "Adding ignoreTimestampMSDiffs",
"value": "2.0.3"
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy