0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel{
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "mappings" : [
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "name" : "systemCrestLdapUser_managedUser",
5c0c85e940b70f08c2ef6bb9433307e7edf967a4Nicolas Philippe "source" : "system/scriptedcrest/users",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "managed/user",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "enableSync" : true,
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "properties" : [
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "userName",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "userName"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "contactInformation/emailAddress",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "mail"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "displayName",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "displayName"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "contactInformation/telephoneNumber",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "telephoneNumber"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "name/givenName",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "givenName"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "name/familyName",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "sn"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "_id",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "_id"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel }
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel ],
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "policies" : [
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "AMBIGUOUS",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "EXCEPTION"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "MISSING",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "UNLINK"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "SOURCE_MISSING",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "DELETE"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "UNQUALIFIED",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "IGNORE"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "UNASSIGNED",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "IGNORE"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel }
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel ]
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "name" : "managedUser_systemCrestLdapUser",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "managed/user",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "system/scriptedcrest/users",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "links" : "systemCrestLdapUser_managedUser",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "enableSync" : true,
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "correlationQuery" : {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "type" : "text/javascript",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "var qry = { '_queryFilter': '_id eq \"' + source.userName + '\"' }; qry;"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "properties" : [
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
8e012debfc5fc7d38f85af83a63583866d3213ffLaurent Bristiel "source" : "userName",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "userName"
a63565700f43f629bd52a643cef9d543692b50e5Jason Lemay },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "mail",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "contactInformation/emailAddress"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "displayName",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "displayName"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "telephoneNumber",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "contactInformation/telephoneNumber"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "givenName",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "name/givenName"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "sn",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "name/familyName"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "_id",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "_id"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel }
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel ],
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "policies" : [
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "FOUND",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "LINK"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "AMBIGUOUS",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "IGNORE"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "MISSING",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "IGNORE"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "SOURCE_MISSING",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "DELETE"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "UNQUALIFIED",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "IGNORE"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "UNASSIGNED",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "IGNORE"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "LINK_ONLY",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "UNLINK"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel }
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel ]
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "name" : "systemCrestLdapGroup_managedGroup",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "system/scriptedcrest/groups",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "managed/group",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "enableSync" : true,
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "properties" : [
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
2d70128fa302f0585ffdf2bb6b9b0806fdf5fefbJake Feasel "source" : "_id",
2d70128fa302f0585ffdf2bb6b9b0806fdf5fefbJake Feasel "target" : "_id"
2d70128fa302f0585ffdf2bb6b9b0806fdf5fefbJake Feasel },
2d70128fa302f0585ffdf2bb6b9b0806fdf5fefbJake Feasel {
2d70128fa302f0585ffdf2bb6b9b0806fdf5fefbJake Feasel "source" : "members",
2d70128fa302f0585ffdf2bb6b9b0806fdf5fefbJake Feasel "target" : "members"
2d70128fa302f0585ffdf2bb6b9b0806fdf5fefbJake Feasel },
2d70128fa302f0585ffdf2bb6b9b0806fdf5fefbJake Feasel {
2d70128fa302f0585ffdf2bb6b9b0806fdf5fefbJake Feasel "source" : "displayName",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "displayName"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel }
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel ],
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "policies" : [
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "AMBIGUOUS",
"action" : "EXCEPTION"
},
{
"situation" : "MISSING",
"action" : "UNLINK"
},
{
"situation" : "SOURCE_MISSING",
"action" : "DELETE"
},
{
"situation" : "UNQUALIFIED",
"action" : "IGNORE"
},
{
"situation" : "UNASSIGNED",
"action" : "IGNORE"
},
{
"situation" : "LINK_ONLY",
"action" : "UNLINK"
}
]
},
{
"name" : "managedGroup_systemCrestLdapGroup",
"source" : "managed/group",
"target" : "system/scriptedcrest/groups",
"links" : "systemCrestLdapGroup_managedGroup",
"enableSync" : true,
"correlationQuery" : {
"type" : "text/javascript",
"source" : "var qry = { '_queryFilter': '_id eq \"' + source.uid + '\"' }; qry;"
},
"properties" : [
{
"source" : "_id",
"target" : "_id"
},
{
"source" : "members",
"target" : "members"
},
{
"source" : "displayName",
"target" : "displayName"
}
],
"policies" : [
{
"situation" : "AMBIGUOUS",
"action" : "IGNORE"
},
{
"situation" : "MISSING",
"action" : "UNLINK"
},
{
"situation" : "SOURCE_MISSING",
"action" : "DELETE"
},
{
"situation" : "UNQUALIFIED",
"action" : "IGNORE"
},
{
"situation" : "UNASSIGNED",
"action" : "IGNORE"
},
{
"situation" : "LINK_ONLY",
"action" : "UNLINK"
}
]
}
]
}