payment quotation v2 + payment orchestration v2 draft
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user