DirXML Policy Simulator 1.1.0
A headless, agent-drivable test harness for NetIQ / OpenText Identity Manager (DirXML) channel policies. It runs the real IDM engine: assemble a driver's channel, step it stage by stage (or rule by rule), answer the policies' queries from an in-memory directory, and golden-test changes. A lot has landed since 1.0.0.
New since 1.0.0
- Two ways to supply driver config. A Designer driver export (
export=…) or a Designer project on disk (project=<dir>+driver=<name>) — the latter needs no export and additionally brings the project's GCVs, ECMAScript resources, and eDirectory schema (which exports omit). - Schema validation. With a schema available (
project=orschema=…),input.xds/directory.xdsare checked against the eDir schema — unknown class, misspelled/invalid attribute, or multiple values on a single-valued attribute. - External actions are faked.
do-invoke-rest-endpoint,do-send-email[-from-template], RBPM role/resource SOAP,do-start-workflow, XDAS, and SSO actions are faked by default — no live call, no hang; recorded asFAKED: …in the trace. For REST, supply a canned body (restResponse=…/rest-response.json) that downstream rules consume. - Named passwords. Supplied per case as secret values (
namedPassword.<name>=<value>), resolved throughtoken-named-password. - Entitlements confirmed op-driven —
token-added-entitlement/if-entitlementwork whenever the input op carries theDirXML-EntitlementRefchange. - Windows launcher (
bin/sim.cmd) alongsidebin/sim; shipped in the archive.
Core (since 1.0.0)
Real-engine execution of DirXML Script / XSLT / schema-mapping policies, per-stage and per-rule stepping, trace capture, an in-memory fake directory (with query-ex paging), driver-export chain assembly, ECMAScript (es:) and Java extension functions, trace mining (bin/sim extract), golden tests, the run/step/test/record/extract/doctor CLI, and a Claude Code skill (+ AGENTS.md).
Install (no build)
Download dirxml-simulator-1.1.0.zip, unzip, drop your nine NetIQ jars into lib/, and run bin/sim doctor (Windows: bin\sim.cmd doctor). The proprietary jars are not bundled — you supply them. Requires JDK 21. See docs/intro.md and docs/quickstart.md.