fixed mntx discovery

This commit is contained in:
Stephan D
2026-03-03 13:15:42 +01:00
parent f9acb47ad7
commit 83745bcd10
24 changed files with 268 additions and 201 deletions

View File

@@ -6,6 +6,7 @@ import (
"github.com/tech/sendico/payments/quotation/internal/appversion"
"github.com/tech/sendico/pkg/discovery"
msg "github.com/tech/sendico/pkg/messaging"
"github.com/tech/sendico/pkg/mservice"
"go.uber.org/zap"
)
@@ -51,7 +52,7 @@ func (i *Imp) startDiscoveryAnnouncer(cfg *config, producer msg.Producer) {
}
announce := discovery.Announcement{
Service: "PAYMENTS_QUOTATION",
Service: mservice.PaymentQuotation,
Operations: []string{discovery.OperationPaymentQuote, discovery.OperationPaymentMultiQuote},
InvokeURI: invokeURI,
Version: appversion.Create().Short(),