/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2014 ForgeRock AS. All rights reserved.
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*/
/*global source, linkQualifier, require */
(function () {
i = 0,
expression = "",
var j = 0, p,
source = {},
p = mapping.properties[j];
// If this condition uses a linkQualifier to distinguish it, then make sure that the given qualifier
// matches the qualifier used to execute this script. Otherwise, skip it.
typeof linkQualifier !== undefined &&
return "";
}
// If this is a condition script (assuming based on the presence of a "type" property) then
// evaluate that condition and decide whether or not to include it based on the result
{
"globals": {
"object": sourceObject,
"linkQualifier": linkQualifier
}
})
) !== true) {
return "";
}
}
}
} else {
}
// A failure to evaluate the script implies that the source script isn't a valid candidate for syncing;
// errors thrown as a result will prevent the sync from occurring.
try {
returnValue = eval(p.transform.source); // references to "source" variable expected within this string
} catch (e) {
throw {
"code" : 500,
"detail": {
}
};
}
}
returnValue = p["default"];
}
}
if (returnValue) {
} else {
return "";
}
}
}
return "";
},
expressionParser = function (mapping, node) {
var getResults = function (container) {
var j,tmp,resultArray = [];
for (j = 0; j<container.length; j++) {
} else {
}
}
}
return resultArray;
};
} else {
return "";
}
};
break;
}
i++;
}
}
}
return {'_queryFilter': expression}
}());