wwwlicious / servicestack-discovery-consul

ServiceStack Plugin for Service Discovery using Consul.io
Other
64 stars 13 forks source link

Enhance discovery options for service health and versioning strategy #2

Closed wwwlicious closed 8 years ago

wwwlicious commented 8 years ago

When resolving the endpoint for a requestDTO, add a default option to prefer healthy services over services at 'warning' level. Critical health services to be ignored and filtered out.

By default prefer the highest version service available (require that Version be numeric on registration?)

If the requestDTO contains a property named "Version", this should be used if a matching service version is found.

Provide feature properties to: Ignore Warning services Favour lowest version

wwwlicious commented 8 years ago

latest PR returns only healthy services.

wwwlicious commented 8 years ago

Closing for speciific issues

9 - Versioning

10 - Returning services with 'warning' health