Skip to content

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

Open
@cmickeyb

Description

@cmickeyb

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions