pub.consul.client:registerService
WmConsul. Registers a microservice with a Consul server. Use this service as a startup service for the package being registered as a microservice.
Input Parameters
registryAlias | String. Optional. Alias to use to connect to a Consul server. If you do not specify this parameter, the service uses the default Consul server alias. |
microserviceName | String. Microservice name to register with the Consul server. |
Output Parameters
None
Usage Notes
A package that identifies pub.consul.client:registerService as a startup service must identify WmConsul as a package dependency.