DZone
Abstract
Service discovery is a mechanism allowing to automatically detect services in complex ecosystems utilizing microservices architecture. Consul is one of the most popular tools offering service discovery. Therefore, it is a perfect match for Judge-d, an open source tool providing contract testing, to become one of the available sources of information about the state of the environment, which is under Judge-d jurisdiction.
In this article, we would like to introduce you (both in theory and in practice) to the subject of service discovery, Consul as a sample tool implementing it, and how it can be used with Judge-d as a source of truth about the environment where contract tests are required.
Source: DZone