repo.orientdb.json revision 1232213c7ea096a64153b62081ed5d3b8ba72fca
{
"dbUrl" : "local:./db/openidm",
"user" : "admin",
"poolMinSize" : 5,
"poolMaxSize" : 20,
"queries" : {
"query-all-ids" : "select _openidm_id from ${_resource}",
"query-all" : "select ${fields} from ${_resource}",
"query-by-native-ids" : "select ${fields} from ${native-ids}",
"query-by-ids-experiment" : "select ${fields} from ${_resource} where _openidm_id = ${id1} or _openidm_id = ${id2}",
"links-for-sourceId": "SELECT * FROM ${_resource} WHERE sourceId = ${sourceId}",
"links-for-targetId": "SELECT * FROM ${_resource} WHERE targetId = ${targetId}"
},
"dbStructure" : {
"orientdbClass" : {
"managed/user" : {
"index" : [
{ "propertyName": "_openidm_id", "propertyType": "string", "indexType: "unique" }
]
},
"links/systemXmlAccounts_managedUser" : {
"index" : [
{ "propertyName": "_openidm_id", "propertyType": "string", "indexType": "unique" },
{ "propertyName": "sourceId", "propertyType": "string", "indexType": "unique" },
{ "propertyName": "targetId", "propertyType": "string", "indexType": "unique" },
{ "propertyName": "reconId", "propertyType": "string", "indexType": "notunique" }
]
},
"links/managedUser_systemXmlTargetAccounts" : {
"index" : [
{ "propertyName": "_openidm_id", "propertyType": "string", "indexType": "unique" },
{ "propertyName": "sourceId", "propertyType": "string", "indexType": "unique" },
{ "propertyName": "targetId", "propertyType": "string", "indexType": "unique" },
{ "propertyName": "reconId", "propertyType": "string", "indexType": "notunique" }
]
}
}
}
}