Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] rule-java-docs missing method on IDN class #13

Closed
kevin-gorton-sp opened this issue May 13, 2024 · 2 comments · Fixed by #14
Closed

[BUG] rule-java-docs missing method on IDN class #13

kevin-gorton-sp opened this issue May 13, 2024 · 2 comments · Fixed by #14
Labels
bug Something isn't working

Comments

@kevin-gorton-sp
Copy link

kevin-gorton-sp commented May 13, 2024

Describe the bug
In tha Java Docs located here
https://developer.sailpoint.com/rule-java-docs/sailpoint/server/IdnRuleUtil.html#findAccountsByAttribute-java.lang.String-java.lang.String-java.lang.String-java.lang.Object-

shows the findAccountsByAttribute method defined as
java.util.List<Account> findAccountsByAttribute(java.lang.String applicationName, java.lang.String identityName, java.lang.String attributeName, java.lang.Object attributeValue)

but the RDK, or more precisely v1.0 of the rule-java-docs JAR, is missing this method.

To Reproduce
Steps to reproduce the behavior:

  1. Create any rule with the idn class mocked
  2. try and add the idn.findAccountsByAttribute("","","","") method
  3. See error ( The method findAccountsByAttribute(String, String, String, Object) is undefined for the type IdnRuleUtilJava(67108964))

Expected behavior
the method would be defined and useable.

Screenshots
image
image

Operating System (please complete the following information):

  • OS: Windows 11
  • Environment: VSCode
  • main branch pulled 5/13/2024

** Additional Information **
this also produces the error when trying to test code with the method.

java.lang.Error: Unresolved compilation problem: The method findAccountsByAttribute(any(), any(), any(), any()) is undefined for the type IdnRuleUtil

@kevin-gorton-sp kevin-gorton-sp added the bug Something isn't working label May 13, 2024
Copy link

🎉 Thanks for opening your first issue here! Welcome to the community!

@ed-schuelter-sp
Copy link

Hi team, any indication when this could be addressed? I'm having the same issue, however with getFirstAccountNativeIdentityByAttribute method which also seems to be a recent new addition.
Any workaround in the meantime?

@philip-ellis-sp philip-ellis-sp linked a pull request Aug 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants