How sailpoint-oss/rule-development-kit works
The Rule Development Kit is a SailPoint rules development and testing project. Its repository provides six XML rule examples, a Java username-generation implementation, and a Java XML source-reading utility. A developer works with the rule examples; the sampled username generator checks account-name availability through SailPoint’s rule API. The README documents the vendored SailPoint API stubs used for compilation. XML contents and most rule wiring were not sampled, so the graph does not infer calls among those rules or connect them to the Java helpers.
Main entry points: UsernameGenerator.java Username generator · rule-java-docs-2.0.jar Vendored API stubs · Rule - AttributeGenerator - UsernameGenerator.xml Username rule · Rule - BeforeProvisioningRule - Example Rule.xml Provisioning rule
Components 12
Rule examples
- Username rule
src/main/resources/rules/Rule - AttributeGenerator - UsernameGenerator.xml - Provisioning rule
src/main/resources/rules/Rule - BeforeProvisioningRule - Example Rule.xml - Join attributes
src/main/resources/rules/Rule - BuildMap - JoinAttributes.xml - Flatten attributes
src/main/resources/rules/Rule - Generic - FlattenMultiValuedAttribute.xml - Name normalizer
src/main/resources/rules/Rule - Generic - NameNormalizer.xml - Identity rule
src/main/resources/rules/Rule - IdentityAttribute - Example Rule.xml - Manager correlation
src/main/resources/rules/Rule - ManagerCorrelation - Manager Email Correlation.xml
Java helpers
- Username generator
src/main/java/UsernameGenerator.java - Rule XML reader
src/main/java/sailpoint/rdk/utils/RuleXmlUtils.java
SailPoint API
- SailPoint rule API
- Vendored API stubs
lib/sailpoint/rule-java-docs/2.0/rule-java-docs-2.0.jar
Other components
- Rule developer
Connections 9
- Rule developer → Username rule: develops
README.md - Rule developer → Provisioning rule: develops
README.md - Rule developer → Join attributes: develops
README.md - Rule developer → Flatten attributes: develops
README.md - Rule developer → Name normalizer: develops
README.md - Rule developer → Identity rule: develops
README.md - Rule developer → Manager correlation: develops
README.md - Username generator → SailPoint rule API: checks uniqueness
src/main/java/UsernameGenerator.java - Vendored API stubs → SailPoint rule API: provides compile stubs
README.md