outbox for gateways
This commit is contained in:
@@ -149,10 +149,26 @@ if [ -f "${PROTO_DIR}/payments/orchestration/v1/orchestration.proto" ]; then
|
||||
generate_go_with_grpc "${PROTO_DIR}/payments/orchestration/v1/orchestration.proto"
|
||||
fi
|
||||
|
||||
if [ -f "${PROTO_DIR}/payments/quotation/v1/quotation.proto" ]; then
|
||||
if [ -f "${PROTO_DIR}/payments/transfer/v1/transfer.proto" ]; then
|
||||
info "Compiling payments transfer protos"
|
||||
clean_pb_files "./pkg/proto/payments/transfer"
|
||||
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" ] || \
|
||||
[ -f "${PROTO_DIR}/payments/quotation/v2/quotation.proto" ]; then
|
||||
info "Compiling payments quotation protos"
|
||||
clean_pb_files "./pkg/proto/payments/quotation"
|
||||
generate_go_with_grpc "${PROTO_DIR}/payments/quotation/v1/quotation.proto"
|
||||
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
|
||||
if [ -f "${PROTO_DIR}/payments/quotation/v2/quotation.proto" ]; then
|
||||
generate_go_with_grpc "api/proto/payments/quotation/v2/quotation.proto"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -f "${PROTO_DIR}/payments/endpoint/v1/endpoint.proto" ]; then
|
||||
|
||||
Reference in New Issue
Block a user