When testing Lifecycle Manager features in development with a provisioning environment that is not fully configured, simulated provisioning can help speed the testing process. IdentityIQ versions 5.2 and higher include a TestProvisioningConnector that can be used for this simulation.
Execute these steps to implement simulated provisioning:
The application definition should look something like this:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE Application PUBLIC "sailpoint.dtd" "sailpoint.dtd">
<Application name="Provisioning Application" connector="sailpoint.integration.TestProvisioningConnector" type="XML" featuresString="PROVISIONING">
<Schemas>
<Schema objectType="account" identityAttribute="name" includePermissions="true">
<AttributeDefinition name="name" type="string" />
</Schema>
</Schemas>
<ProvisioningConfig saveProvisioningRequests='true'>
<ManagedResources>
<!-- This tag omitted for version 5.2p2+ -->
<ManagedResource name="Active_Directory">
<ApplicationRef>
<Reference class="sailpoint.object.Application" name="Active_Directory" />
</ApplicationRef>
</ManagedResource>
</ManagedResources>
<!-- This tag omitted for version 5.2p2+ -->
<PlanInitializerScript>
<Source>
import sailpoint.object.*;
import sailpoint.object.ProvisioningPlan.AccountRequest;
import sailpoint.object.ProvisioningPlan.AttributeRequest;
import sailpoint.object.ProvisioningPlan;
import sailpoint.object.ProvisioningResult;
import sailpoint.integration.TestProvisioningConnector;
List accountRequests = plan.getAccountRequests();
for (AccountRequest acctReq : accountRequests) {
acctReq.put(TestProvisioningConnector.ARG_RESULT_STATUS, ProvisioningResult.STATUS_COMMITTED);
}
</Source>
</PlanInitializerScript>
</ProvisioningConfig>
</Application>
Hi @community_manager ,
as this article was just moved please kindly note that the class (location) has changed in recent versions of IIQ.
Now the class name is:
sailpoint.connectorDependencies.TestProvisioningConnector
Best regards,
Daniel