payment quotation v2 + payment orchestration v2 draft

This commit is contained in:
Stephan D
2026-02-24 13:01:35 +01:00
parent 0646f55189
commit 6444813f38
289 changed files with 17005 additions and 16065 deletions

View File

@@ -143,10 +143,10 @@ if [ -f "${PROTO_DIR}/payments/shared/v1/shared.proto" ]; then
generate_go_with_grpc "${PROTO_DIR}/payments/shared/v1/shared.proto"
fi
if [ -f "${PROTO_DIR}/payments/orchestration/v1/orchestration.proto" ]; then
if [ -f "${PROTO_DIR}/payments/orchestration/v2/orchestration.proto" ]; then
info "Compiling payments orchestration protos"
clean_pb_files "./pkg/proto/payments/orchestration"
generate_go_with_grpc "${PROTO_DIR}/payments/orchestration/v1/orchestration.proto"
generate_go_with_grpc "${PROTO_DIR}/payments/orchestration/v2/orchestration.proto"
fi
if [ -f "${PROTO_DIR}/payments/transfer/v1/transfer.proto" ]; then
@@ -155,14 +155,10 @@ if [ -f "${PROTO_DIR}/payments/transfer/v1/transfer.proto" ]; then
generate_go "${PROTO_DIR}/payments/transfer/v1/transfer.proto"
fi
if [ -f "${PROTO_DIR}/payments/quotation/v1/quotation.proto" ] || \
[ -f "${PROTO_DIR}/payments/quotation/v2/interface.proto" ] || \
if [ -f "${PROTO_DIR}/payments/quotation/v2/interface.proto" ] || \
[ -f "${PROTO_DIR}/payments/quotation/v2/quotation.proto" ]; then
info "Compiling payments quotation protos"
clean_pb_files "./pkg/proto/payments/quotation"
if [ -f "${PROTO_DIR}/payments/quotation/v1/quotation.proto" ]; then
generate_go_with_grpc "${PROTO_DIR}/payments/quotation/v1/quotation.proto"
fi
if [ -f "${PROTO_DIR}/payments/quotation/v2/interface.proto" ]; then
generate_go "api/proto/payments/quotation/v2/interface.proto"
fi