Provisioning Simulator: Disable operations bypass IntegrationConfig

Which IIQ version are you inquiring about?

8.4p4

Share all details about your problem, including any error messages you may have received.

Ahead of deploying an AD connector, we are leveraging the Provisioning Simulator for a dry run phase. We configured the IntegrationConfig with the disableProvisioning attribute set to true, so that all provisioning operations are not sent to the connector and only recorded to the database.

We noticed the following behavior:

  • Create and Modify operations use the ProvisioningExecutor class which is configured in the IntegrationConfig. Provisioning records are properly recorded to the database.
  • Delete operations also use the ProvisioningExecutor, but records are not pushed to the database. Instead an exception is raised, but I identified why in the plugin code, and I can solve the issue by modifying the source code of the provisioning simulator.
  • Disable operations are not sent at all to the ProvisioningExecutor. It seems that those operations are completely bypassing the IntegrationConfig. This happens for exemple during RapidSetup Leaver, or when using the Update Account Quicklink. Therefore operations are directly sent to the connector, even with disableProvisioning set to true.

I could see that the ProvisioningExecutor is not used at all during Disable operation because I set the log level to debug for the ProvisioningExecutor class on log4j configuration. Nothing is logged when performing Disable operations, but a bunch of logs from that class appear for Create, Modify and Delete.

Is it normal that the IntegrationConfig is bypassed for Disable operations? Is there a workaround to have those operations use the IntegrationConfig?

hey @arnaudeddywolf,

I haven’t used this tooling myself, but from what I know about integration config, it
has an operations attribute that lists which account operations it handles. If it isn’t set, IIQ defaults to Create, Modify and Delete only. Disable and Enable are both checked as Enable, so they aren’t covered by the default and go straight to the connector.

The plugin’s IntegrationConfig-ProvisioningSimulation.xmldoesn’t set operations, which is probably why you see exactly this behaviour.

The workaround is to add it at the top level of the IntegrationConfig attributes, next to appConfig, not inside the plugin’s nested integrationConfig map:

xml

<Attributes>
  <Map>
    <entry key="operations" value="Create,Modify,Delete,Enable"/>
    <entry key="appConfig"> ... </entry>
    <entry key="integrationConfig"> ... </entry>
  </Map>
</Attributes>

And you only need to add Enable, not Disable. One entry covers both disables and enables operations. After that, the RapidSetup Leaver and the Update Account quicklink should go through the ProvisioningExecutor, and your debug logging will show it.

One thing to expect: once Disable reaches the executor, it will likely fail the same way your Delete did. ProvisioningExecutor loops over the attribute requests of each account request, and a Disable usually has none, just like a Delete. So make sure your fix covers Disable as well.