repo.orientdb.json revision 27b2ac15d8015fcdd3a940b10e788f408903670e
{
"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 givenName like '%${usernameToMatch}%' or familyName like '%${usernameToMatch}%'",
"query-matching-username" : "select ${fields} from ${_resource} where userName like '%${usernameToMatch}%' or givenName like '%${usernameToMatch}%' or familyName 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}'",
"links-for-linkType" : "SELECT * FROM ${_resource} WHERE linkType = '${linkType}'",
"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}'",
"notifications-for-userName": "SELECT * FROM ${_resource} WHERE userName = '${uid}' ORDER BY 'requestDate' desc",
"query-all-notifications": "select * from ${_resource}",
"user_application_lnk-for-userName": "SELECT * FROM ${_resource} WHERE userName = '${uid}'",
"query-all-user_application_lnk": "select * from ${_resource}",
"user_application_lnk-for-id": "select * from ${_resource} WHERE _openidm_id = '${userApplicationLnkId}'",
"application-for-ids": "SELECT * FROM ${_resource} WHERE _openidm_id in [${applicationIds}]",
"application-for-id": "SELECT * FROM ${_resource} WHERE _openidm_id = '${applicationId}'",
"query-all-applications": "select * from ${_resource}",
"query-default-applications": "select * from ${_resource} WHERE isDefault = true",
"user_application_state-for-id": "SELECT * FROM ${_resource} WHERE _openidm_id = '${userApplicationStateId}'",
"query-all-user_application_states": "select * from ${_resource}"
},
"dbStructure" : {
"orientdbClass" : {
"internal_user" : {
"index" : [
{
"propertyName" : "_openidm_id",
"propertyType" : "string",
"indexType" : "unique"
}
]
},
"managed_user" : {
"index" : [
{
"propertyName" : "_openidm_id",
"propertyType" : "string",
"indexType" : "unique"
}
]
},
"managed_notification" : {
"index" : [
{
"propertyName" : "_openidm_id",
"propertyType" : "string",
"indexType" : "unique"
}
]
},
"managed_user_application_lnk" : {
"index" : [
{
"propertyName" : "_openidm_id",
"propertyType" : "string",
"indexType" : "unique"
}
]
},
"managed_user_application_state" : {
"index" : [
{
"propertyName" : "_openidm_id",
"propertyType" : "string",
"indexType" : "unique"
}
]
},
"managed_application" : {
"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"
}
]
},
"scheduler" : {
"index" : [
{
"propertyName" : "_openidm_id",
"propertyType" : "string",
"indexType" : "unique"
}
]
},
"scheduler_triggers" : {
"index" : [
{
"propertyName" : "_openidm_id",
"propertyType" : "string",
"indexType" : "unique"
}
]
},
"scheduler_jobs" : {
"index" : [
{
"propertyName" : "_openidm_id",
"propertyType" : "string",
"indexType" : "unique"
}
]
},
"scheduler_calendars" : {
"index" : [
{
"propertyName" : "_openidm_id",
"propertyType" : "string",
"indexType" : "unique"
}
]
},
"scheduler_jobGroups" : {
"index" : [
{
"propertyName" : "_openidm_id",
"propertyType" : "string",
"indexType" : "unique"
}
]
},
"scheduler_triggerGroups" : {
"index" : [
{
"propertyName" : "_openidm_id",
"propertyType" : "string",
"indexType" : "unique"
}
]
}
}
},
"embeddedServer" : {
"enabled" : true
}
}