repo.orientdb.json revision 4b93fff6cbed4e2ae34e954b9b9bd4f318d34cd4
{
"DEFAULT-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}",
"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 _openidm_id, password from managed_user WHERE email = ${username}",
"credential-internaluser-query" : "select _openidm_id, password, roles from internal_user WHERE _openidm_id = ${username}",
"for-username" : "SELECT * FROM ${_resource} WHERE name = '${uid}'"
},
"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
}
}