Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.

The dependencies.json file should allow an override check condition (for non NAME services) #37

@ctorrao

Description

@ctorrao

When we have an external dependency that does not have NAME nor we can control the source code of that dependency it makes sense to allow a different dependency check. For instance, check for a simple HTTP GET an check the returned HTTP Status Code.

Proposal of change:
{ "name": "WebPA Tridium", "min_version": "1.0", "max_version": "1.*", "check_override_uri": "{connection_string}/health", "check_override_codes": "200;400;401", "connection_string": { "locator": "IConfiguration", "key": "WebPaHttpClient:BaseUrl" } }

New properties:

  • check_override_uri
    The URI used to check if the dependency is up and running
  • check_override_codes
    The accepted HTTP status codes (or that follow the same network like status code format) for the NAME to consider the dependency status as "Ok", otherwise it should be considered "Error"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions