discovery: +invoke url
This commit is contained in:
@@ -4,6 +4,7 @@ runtime:
|
||||
grpc:
|
||||
network: tcp
|
||||
address: ":50062"
|
||||
advertise_host: "sendico_payments_orchestrator"
|
||||
enable_reflection: true
|
||||
enable_health: true
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@ func (i *Imp) initDiscovery(cfg *config) {
|
||||
announce := discovery.Announcement{
|
||||
Service: "PAYMENTS_ORCHESTRATOR",
|
||||
Operations: []string{"payment.quote", "payment.initiate"},
|
||||
InvokeURI: cfg.GRPC.DiscoveryInvokeURI(),
|
||||
Version: appversion.Create().Short(),
|
||||
}
|
||||
i.discoveryAnnouncer = discovery.NewAnnouncer(i.logger, producer, string(mservice.PaymentOrchestrator), announce)
|
||||
|
||||
Reference in New Issue
Block a user