Example #1
0
 public void GetServiceUri_IsCorrect()
 {
     ConsulUris.GetService("servicestack", "mytag").Should().Be("http://127.0.0.1:8500/v1/health/service/servicestack?near=_agent&passing&tag=mytag");
 }
Example #2
0
 public void DeregisterServiceUri_IsCorrect()
 {
     ConsulUris.DeregisterService("grommet").Should().Be("http://127.0.0.1:8500/v1/agent/service/deregister/grommet");
 }