mirror of
https://github.com/FlipsideCrypto/flow-models.git
synced 2026-02-06 11:06:45 +00:00
fix udf 2 api integration (#267)
Co-authored-by: shah <info@shahnewazkhan.ca>
This commit is contained in:
parent
35c6053bcd
commit
dbebfbf0a0
8
Makefile
8
Makefile
@ -25,7 +25,7 @@ udfs:
|
||||
|
||||
udf_2:
|
||||
dbt run-operation create_udf_bulk_grpc_us_east_2 \
|
||||
--vars '{"UPDATE_UDFS_AND_SPS":False}' \
|
||||
--vars '{"UPDATE_UDFS_AND_SPS":True}' \
|
||||
--profile flow \
|
||||
--target $(DBT_TARGET) \
|
||||
--profiles-dir ~/.dbt/
|
||||
@ -83,7 +83,7 @@ tx_history:
|
||||
tx_results_history:
|
||||
dbt run \
|
||||
--vars '{"STREAMLINE_INVOKE_STREAMS":True, "STREAMLINE_USE_DEV_FOR_EXTERNAL_TABLES": True}' \
|
||||
-m 1+models/silver/streamline/core/history/transaction_results/streamline__get_transaction_results_history_mainnet22.sql \
|
||||
-m 1+models/silver/streamline/core/history/transaction_results/streamline__get_transaction_results_history_mainnet_22.sql \
|
||||
--profile flow \
|
||||
--target $(DBT_TARGET) \
|
||||
--profiles-dir ~/.dbt
|
||||
@ -94,4 +94,6 @@ lq_overloads:
|
||||
--profile flow \
|
||||
--target $(DBT_TARGET) \
|
||||
--profiles-dir ~/.dbt \
|
||||
--vars '{"UPDATE_EPHEMERAL_UDFS":True}'
|
||||
--vars '{"UPDATE_EPHEMERAL_UDFS":True}'
|
||||
|
||||
|
||||
|
||||
@ -36,7 +36,7 @@
|
||||
{% if target.name == "prod" %}
|
||||
aws_flow_api_prod_us_east_2 AS 'https://78rpbojpue.execute-api.us-east-2.amazonaws.com/prod/udf_bulk_grpc'
|
||||
{% elif target.name == "dev" %}
|
||||
aws_flow_api_dev_3 AS 'https://ul6x832e8l.execute-api.us-east-1.amazonaws.com/dev/udf_bulk_grpc'
|
||||
aws_flow_api_dev_3 AS 'https://j6qalrfe69.execute-api.us-east-2.amazonaws.com/dev/udf_bulk_grpc'
|
||||
{% elif target.name == "sbx" %}
|
||||
{{ log("Creating sbx udf_bulk_grpc", info=True) }}
|
||||
aws_flow_api_sbx AS 'https://bc5ejedoq8.execute-api.us-east-1.amazonaws.com/sbx/udf_bulk_grpc'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user