repo.orientdb.json revision 345f2ea93746a7db75e68688ea1611ba532f73e1
{
"DEFAULT-dbUrl" : "local:./db/openidm",
"user" : "admin",
"poolMinSize" : 5,
"poolMaxSize" : 20,
"queries" : {
"for-credentials" : "select * FROM ${resource} WHERE userName = '${uid}'",
"check-userName-availability" : "select userName FROM ${_resource} WHERE userName = '${uid}'",
"get-security-question" : "select securityquestion FROM ${_resource} WHERE userName = '${uid}'",
"for-security-answer" : "select securityanswer FROM ${_resource} WHERE userName = '${uid}'",
"query-all-ids" : "select _openidm_id from ${_resource}",
"query-all" : "select ${fields} from ${_resource}",
"query-count-matching-username" : "select count(*) from ${_resource} where userName like '%${usernameToMatch}%' or firstname like '%${usernameToMatch}%' or lastname like '%${usernameToMatch}%'",
"query-matching-username" : "select ${fields} from ${_resource} where userName like '%${usernameToMatch}%' or firstname like '%${usernameToMatch}%' or lastname like '%${usernameToMatch}%' limit ${limit}",
"links-for-firstId" : "SELECT * FROM ${_resource} WHERE linkType = '${linkType}' AND firstId = '${firstId}'",
"links-for-secondId" : "SELECT * FROM ${_resource} WHERE linkType = '${linkType}' AND secondId = '${secondId}'",
"credential-query" : "SELECT * FROM ${_resource} WHERE userName = '${username}'",
"credential-internaluser-query" : "SELECT * FROM internal_user WHERE _openidm_id = ${username}",
"for-userName" : "SELECT * FROM ${_resource} WHERE userName = '${uid}'",
"set-newPassword-for-userName-and-security-answer" : "SELECT * FROM ${_resource} WHERE userName = '${username}'"
},
"dbStructure" : {
"orientdbClass" : {
"internal_user" : {
"index" : [
{
"propertyName" : "_openidm_id",
"propertyType" : "string",
"indexType" : "unique"
}
]
},
"managed_user" : {
"index" : [
{
"propertyName" : "_openidm_id",
"propertyType" : "string",
"indexType" : "unique"
}
]
},
"link" : {
"index" : [
{
"propertyName" : "_openidm_id",
"propertyType" : "string",
"indexType" : "unique"
},
{
"propertyName" : "linkType",
"propertyType" : "string",
"indexType" : "notunique"
},
{
"propertyName" : "firstId",
"propertyType" : "string",
"indexType" : "notunique"
},
{
"propertyName" : "secondId",
"propertyType" : "string",
"indexType" : "notunique"
},
{
"propertyName" : "reconId",
"propertyType" : "string",
"indexType" : "notunique"
}
]
},
"synchronisation_pooledSyncStage" : {
"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"
}
]
},
"config" : {
"index" : [
{
"propertyName" : "_openidm_id",
"propertyType" : "string",
"indexType" : "unique"
}
]
}
}
},
"embeddedServer" : {
"enabled" : true
}
}