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

Query director for available namespaces #185

Conversation

haoming29
Copy link
Contributor

@haoming29 haoming29 commented Oct 5, 2023

According to issue #147 We want to make sure that when an origin was registered, the director cache actually contains the newly registered namespaces from the origin. Thus, to make the testing is possible, I added the ListNamespacesFromOrigins function, which as the name suggests, will return all the namespaces from all origin servers registered at the director.

With this function, I added the extra test clause in redirect_test.go to achieve the set goal.

@haoming29 haoming29 requested a review from turetske October 5, 2023 17:37
Copy link
Collaborator

@turetske turetske left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@turetske turetske merged commit f0f94a3 into PelicanPlatform:main Oct 5, 2023
6 checks passed
@haoming29 haoming29 deleted the query-director-for-available-namespaces branch October 5, 2023 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants