This PR addresses issue #6 by introducing a lightweight service discovery mechanism that enables the orchestration of multiple network environments without the need for Docker. We leverage the zeroconf library to provide mDNS-based service discovery, offering a simple alternative to Docker's swarm package for network orchestration.
Key Features:
Implemented service-discovery package with core functionalities:
registerService: Allows services to register their presence on the network.
getServices: Retrieves all registered services.
getServiceById: Fetches details of a specific service by its ID.
Provided end-to-end tests ensuring the correct functioning of the service discovery mechanisms.
Eliminated dependency on Docker for network orchestration.
Benefits:
Enables the creation of multiple network environments in a more lightweight and streamlined manner.
Reduces complexity by eliminating Docker dependency, making the system more maintainable and easier to debug.
Enhances flexibility by providing an alternative method for network orchestration and inter-network communications.
Description:
This uses https://github.com/grandcat/zeroconf
This PR addresses issue #6 by introducing a lightweight service discovery mechanism that enables the orchestration of multiple network environments without the need for Docker. We leverage the
zeroconf
library to provide mDNS-based service discovery, offering a simple alternative to Docker's swarm package for network orchestration.Key Features:
service-discovery
package with core functionalities:registerService
: Allows services to register their presence on the network.getServices
: Retrieves all registered services.getServiceById
: Fetches details of a specific service by its ID.Benefits:
Related Issue: #6