Runtime resolution of a registered service NAME into a MAL URI. More...
#include <functional>#include <string>Go to the source code of this file.
Classes | |
| class | ifw::slm::ServiceResolver |
Namespaces | |
| namespace | ifw |
| namespace | ifw::slm |
Functions | |
| std::string | ifw::slm::ResolveEndpoint (const std::string &spec, const ServiceResolver &resolver, const std::string &name_space=ServiceResolver::DefaultNamespace()) |
Runtime resolution of a registered service NAME into a MAL URI.
Mirrors the Python helpers ifw.core.stooUtils.nomad.NomadClient.get_uri and consul.ConsulClient.get_uri so a C++ SLM loop can target a subsystem by its Nomad/Consul service name (e.g. "fcs-req") instead of a hardcoded host:port. The HTTP GET is injectable so the resolver can be unit-tested without a live Nomad/Consul agent.