Closed juldrixx closed 3 months ago
I have also noticed these endpoints in particular getting hammered while inspecting NiFi logs. This is a much needed change.
This looks fine on the surface. I just want to carefully walk through the logic to make sure there aren't unintended consequences. You've tested this, yeah?
This looks fine on the surface. I just want to carefully walk through the logic to make sure there aren't unintended consequences. You've tested this, yeah?
I tested it and it seems to good. But if you want to retry to be sure, you can 😁.
After review, i don't see anything glaringly incorrect about this.
What's in this PR?
Update of the
NifiUser
sync logic to reduce the number of API call on theUserGroup
endpoint.Why?
Because if we have a lot of user or node, we will spam NiFi to retrieve the group information.
Additional context
Checklist