Skip to content
Snippets Groups Projects

Add support for consul name resolution with grpc

Merged Vaastav Anand requested to merge consul into main
22 files
+ 607
45
Compare changes
  • Side-by-side
  • Inline
Files
22
+ 35
0
 
{
 
"app_name" : "leaf",
 
"src_dir" : "examples/Leaf/input/input_go",
 
"output_dir" : "examples/Leaf/output_go_consul",
 
"wiring_file" : "examples/Leaf/wiring/instances_consul.py",
 
"target" : "go",
 
"addresses": [
 
{
 
"name" : "leafService",
 
"address" : "leafService",
 
"port" : 9500
 
},
 
{
 
"name" : "nonleafService",
 
"address" : "nonleafService",
 
"port" : 9501
 
},
 
{
 
"name" : "webService",
 
"address" : "webService",
 
"port" : 9502
 
},
 
{
 
"name" : "jaegerTracer",
 
"address": "jaegerTracer",
 
"port": 14268
 
},
 
{
 
"name" : "consul",
 
"address" : "consul",
 
"port" : 8500
 
}
 
],
 
"inventory":[]
 
}
Loading