diff --git a/models/streamline/core/realtime/streamline__block_txs_realtime.sql b/models/streamline/core/realtime/streamline__block_txs_realtime.sql index f7b1987..c4247c7 100644 --- a/models/streamline/core/realtime/streamline__block_txs_realtime.sql +++ b/models/streamline/core/realtime/streamline__block_txs_realtime.sql @@ -49,7 +49,7 @@ SELECT ) :: INT AS partition_key, {{ target.database }}.live.udf_api( 'POST', - '{Service}', + '{Service}/token/{Authentication}', OBJECT_CONSTRUCT( 'Content-Type', 'application/json' @@ -76,7 +76,7 @@ SELECT ) ) ), - 'Vault/prod/eclipse/mainnet' + 'Vault/prod/eclipse/private/mainnet' ) AS request FROM blocks diff --git a/models/streamline/core/realtime/streamline__block_txs_realtime_2.sql b/models/streamline/core/realtime/streamline__block_txs_realtime_2.sql index 7e18e54..a72272b 100644 --- a/models/streamline/core/realtime/streamline__block_txs_realtime_2.sql +++ b/models/streamline/core/realtime/streamline__block_txs_realtime_2.sql @@ -34,14 +34,14 @@ WITH blocks AS ( FROM {{ ref("streamline__blocks") }} WHERE - block_id >= 52500858 + block_id >= 54084999 EXCEPT SELECT block_id FROM {{ ref('streamline__block_txs_complete') }} WHERE - block_id <= 52500858 + block_id <= 54084999 EXCEPT SELECT block_id @@ -56,7 +56,7 @@ SELECT ) :: INT AS partition_key, {{ target.database }}.live.udf_api( 'POST', - '{Service}', + '{Service}/token/{Authentication}', OBJECT_CONSTRUCT( 'Content-Type', 'application/json' @@ -83,7 +83,7 @@ SELECT ) ) ), - 'Vault/prod/eclipse/mainnet' + 'Vault/prod/eclipse/private/mainnet' ) AS request FROM blocks diff --git a/models/streamline/core/realtime/streamline__blocks_realtime.sql b/models/streamline/core/realtime/streamline__blocks_realtime.sql index ecefd95..4689b90 100644 --- a/models/streamline/core/realtime/streamline__blocks_realtime.sql +++ b/models/streamline/core/realtime/streamline__blocks_realtime.sql @@ -47,7 +47,7 @@ SELECT ) :: INT AS partition_key, {{ target.database }}.live.udf_api( 'POST', - '{Service}', + '{Service}/token/{Authentication}', OBJECT_CONSTRUCT( 'Content-Type', 'application/json' @@ -74,7 +74,7 @@ SELECT ) ) ), - 'Vault/prod/eclipse/mainnet' + 'Vault/prod/eclipse/private/mainnet' ) AS request FROM blocks diff --git a/models/streamline/core/streamline__chainhead.sql b/models/streamline/core/streamline__chainhead.sql index 26f390b..5a1b949 100644 --- a/models/streamline/core/streamline__chainhead.sql +++ b/models/streamline/core/streamline__chainhead.sql @@ -6,7 +6,7 @@ SELECT {{ target.database }}.live.udf_api( 'POST', - '{Service}', + '{Service}/token/{Authentication}', OBJECT_CONSTRUCT( 'Content-Type', 'application/json', @@ -23,5 +23,5 @@ SELECT 'params', [] ), - 'Vault/prod/eclipse/mainnet' + 'Vault/prod/eclipse/private/mainnet' ) :data :result :: INT - 50 AS block_id diff --git a/models/streamline/core/streamline__node_min_block_available.sql b/models/streamline/core/streamline__node_min_block_available.sql index 64f39da..bde8425 100644 --- a/models/streamline/core/streamline__node_min_block_available.sql +++ b/models/streamline/core/streamline__node_min_block_available.sql @@ -9,7 +9,7 @@ WITH node_response AS ( SELECT {{ target.database }}.live.udf_api( 'POST', - '{Service}', + '{Service}/token/{Authentication}', OBJECT_CONSTRUCT( 'Content-Type', 'application/json' @@ -36,7 +36,7 @@ WITH node_response AS ( ) ) ), - 'Vault/prod/eclipse/mainnet' + 'Vault/prod/eclipse/private/mainnet' ) AS DATA ) SELECT