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

remove katalogus dependency for fetching current organisation list in octopoes worker #2106

Open
underdarknl opened this issue Dec 8, 2023 · 0 comments

Comments

@underdarknl
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently the octopoes workers rely on the katalogus to know which organizations are present in the install. This information can be sourced more locally since each organization also has a 'node' available in the XTDB server.

We should try to fetch such information locally, and possibly cached locally if we can to avoid unnecessary lookups.

Describe the solution you'd like
Maybe the XTDB multinode api can support a 'listnodes' endpoint, or maybe we can keep track of the organizations in the worker some other way (by observing create/delete orga requests somewhere)

Describe alternatives you've considered
None as of yet.

Additional context
Due to a katalogus url not being parsed / set correctly, we lost scan level propagation at some point. This was hard to debug because of the unexpected location of the data, and the seemingly unrelated katalogus errors.
#2105

@underdarknl underdarknl added this to KAT Dec 8, 2023
@github-project-automation github-project-automation bot moved this to Incoming features / Need assessment in KAT Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Incoming features / Need assessment
Development

No branches or pull requests

2 participants