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

Copy service availability test from PDO contracts guardian to PDO services #476

Open
cmickeyb opened this issue Mar 7, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@cmickeyb
Copy link
Contributor

cmickeyb commented Mar 7, 2024

Current approach for testing availability of the [eps]services is to attempt retrieval of the information from the service through the /info URL. Basically, if the service is running then the operation will succeed.

However, to accomplish this, we dig through the configuration files looking for host interface and port (using grep). That means that any attempt to override the port or interface will make the test fail.

Recent commit to the PDO contracts guardian service adds a "TestService" interface that is part of the service code. That way, we can start the service and then test it using the same command line (meaning that we end up testing the same configuration). This approach should be far more reliable than the current approach.

@cmickeyb cmickeyb self-assigned this Mar 7, 2024
@cmickeyb cmickeyb added enhancement New feature or request good first issue Good for newcomers labels Mar 7, 2024
@cmickeyb cmickeyb changed the title Copy service availability test from PDO contracts guardian to eservice, pservice and sservice Copy service availability test from PDO contracts guardian to PDO services Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant