Skip to content

Commit bb7f523

Browse files
committed
fix: migrate Goldsky webhooks to filbeam.io
1 parent 359b85c commit bb7f523

3 files changed

Lines changed: 30 additions & 22 deletions

File tree

indexer/wrangler.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ binding = "RETRY_QUEUE"
7474
binding = "PROCESSED_EVENTS"
7575
id = "b18c3c10-fake-dev-id"
7676

77+
[env.calibration.route]
78+
pattern = "index.calibration.filbeam.io/*"
79+
zone_name = "filbeam.io"
80+
7781
[env.calibration.vars]
7882
ENVIRONMENT = "calibration"
7983
WALLET_SCREENING_BATCH_SIZE = 1
@@ -114,6 +118,10 @@ max_batch_timeout = 30
114118
binding = "PROCESSED_EVENTS"
115119
id = "86018fc9b60a462bbfd3a08c66680ffc"
116120

121+
[env.mainnet.route]
122+
pattern = "index.filbeam.io/*"
123+
zone_name = "filbeam.io"
124+
117125
[env.mainnet.vars]
118126
ENVIRONMENT = "mainnet"
119127
WALLET_SCREENING_BATCH_SIZE = 10

subgraph/pipelines/calibnet.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -71,67 +71,67 @@ sources:
7171
transforms: {}
7272
sinks:
7373
sink__fwss__data_set_created:
74-
url: https://index.calibration.filcdn.io/fwss/data-set-created
74+
url: https://index.calibration.filbeam.io/fwss/data-set-created
7575
type: webhook
7676
secret_name: WEBHOOK_SECRET_CMBHIZHPO0
7777
one_row_per_request: true
7878
from: filbeam__data_set_created
7979
sink__service_provider_registry__product_added:
80-
url: https://index.calibration.filcdn.io/service-provider-registry/product-added
80+
url: https://index.calibration.filbeam.io/service-provider-registry/product-added
8181
type: webhook
8282
secret_name: WEBHOOK_SECRET_CMBHIZHPO0
8383
one_row_per_request: true
8484
from: source__service_provider_registry__product_added
8585
sink__fwss__piece_added:
86-
url: https://index.calibration.filcdn.io/fwss/piece-added
86+
url: https://index.calibration.filbeam.io/fwss/piece-added
8787
type: webhook
8888
secret_name: WEBHOOK_SECRET_CMBHIZHPO0
8989
one_row_per_request: true
9090
from: filbeam__piece_added
9191
sink__fwss__service_terminated:
92-
url: https://index.calibration.filcdn.io/fwss/service-terminated
92+
url: https://index.calibration.filbeam.io/fwss/service-terminated
9393
type: webhook
9494
secret_name: WEBHOOK_SECRET_CMBHIZHPO0
9595
one_row_per_request: true
9696
from: filbeam__service_terminated
9797
sink__service_provider_registry__product_updated:
98-
url: https://index.calibration.filcdn.io/service-provider-registry/product-updated
98+
url: https://index.calibration.filbeam.io/service-provider-registry/product-updated
9999
type: webhook
100100
secret_name: WEBHOOK_SECRET_CMBHIZHPO0
101101
one_row_per_request: true
102102
from: source__service_provider_registry__product_updated
103103
sink__pdp__pieces_removed:
104-
url: https://index.calibration.filcdn.io/pdp-verifier/pieces-removed
104+
url: https://index.calibration.filbeam.io/pdp-verifier/pieces-removed
105105
type: webhook
106106
secret_name: WEBHOOK_SECRET_CMBHIZHPO0
107107
one_row_per_request: true
108108
from: filbeam__pieces_removed
109109
sink_fwss_cdn_service_terminated:
110-
url: https://index.calibration.filcdn.io/fwss/cdn-service-terminated
110+
url: https://index.calibration.filbeam.io/fwss/cdn-service-terminated
111111
type: webhook
112112
secret_name: WEBHOOK_SECRET_CMBHIZHPO0
113113
one_row_per_request: true
114114
from: filbeam__cdn_service_terminated
115115
sink__fwss__cdn_payment_rails_topped_up:
116-
url: https://index.calibration.filcdn.io/fwss/cdn-payment-rails-topped-up
116+
url: https://index.calibration.filbeam.io/fwss/cdn-payment-rails-topped-up
117117
type: webhook
118118
secret_name: WEBHOOK_SECRET_CMBHIZHPO0
119119
one_row_per_request: true
120120
from: filbeam__cdn_payment_rails_topped_up
121121
sink__filbeam_operator__cdn_payment_settled:
122-
url: https://index.calibration.filcdn.io/filbeam-operator/cdn-payment-settled
122+
url: https://index.calibration.filbeam.io/filbeam-operator/cdn-payment-settled
123123
type: webhook
124124
secret_name: WEBHOOK_SECRET_CMBHIZHPO0
125125
one_row_per_request: true
126126
from: filbeam__cdn_payment_settled
127127
sink__service_provider_registry__product_removed:
128-
url: https://index.calibration.filcdn.io/service-provider-registry/product-removed
128+
url: https://index.calibration.filbeam.io/service-provider-registry/product-removed
129129
type: webhook
130130
secret_name: WEBHOOK_SECRET_CMBHIZHPO0
131131
one_row_per_request: true
132132
from: source__service_provider_registry__product_removed
133133
sink_service_provider_registry__provider_removed:
134-
url: https://index.calibration.filcdn.io/service-provider-registry/provider-removed
134+
url: https://index.calibration.filbeam.io/service-provider-registry/provider-removed
135135
type: webhook
136136
secret_name: WEBHOOK_SECRET_CMBHIZHPO0
137137
one_row_per_request: true

subgraph/pipelines/mainnet.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -71,67 +71,67 @@ sources:
7171
transforms: {}
7272
sinks:
7373
sink__fwss__data_set_created:
74-
url: https://index.filcdn.io/fwss/data-set-created
74+
url: https://index.filbeam.io/fwss/data-set-created
7575
type: webhook
7676
secret_name: WEBHOOK_SECRET_CMBHIZHPO0
7777
one_row_per_request: true
7878
from: filbeam__data_set_created
7979
sink__service_provider_registry__product_added:
80-
url: https://index.filcdn.io/service-provider-registry/product-added
80+
url: https://index.filbeam.io/service-provider-registry/product-added
8181
type: webhook
8282
secret_name: WEBHOOK_SECRET_CMBHIZHPO0
8383
one_row_per_request: true
8484
from: source__service_provider_registry__product_added
8585
sink__fwss__piece_added:
86-
url: https://index.filcdn.io/fwss/piece-added
86+
url: https://index.filbeam.io/fwss/piece-added
8787
type: webhook
8888
secret_name: WEBHOOK_SECRET_CMBHIZHPO0
8989
one_row_per_request: true
9090
from: filbeam__piece_added
9191
sink__fwss__service_terminated:
92-
url: https://index.filcdn.io/fwss/service-terminated
92+
url: https://index.filbeam.io/fwss/service-terminated
9393
type: webhook
9494
secret_name: WEBHOOK_SECRET_CMBHIZHPO0
9595
one_row_per_request: true
9696
from: filbeam__service_terminated
9797
sink__service_provider_registry__product_updated:
98-
url: https://index.filcdn.io/service-provider-registry/product-updated
98+
url: https://index.filbeam.io/service-provider-registry/product-updated
9999
type: webhook
100100
secret_name: WEBHOOK_SECRET_CMBHIZHPO0
101101
one_row_per_request: true
102102
from: source__service_provider_registry__product_updated
103103
sink__pdp__pieces_removed:
104-
url: https://index.filcdn.io/pdp-verifier/pieces-removed
104+
url: https://index.filbeam.io/pdp-verifier/pieces-removed
105105
type: webhook
106106
secret_name: WEBHOOK_SECRET_CMBHIZHPO0
107107
one_row_per_request: true
108108
from: filbeam__pieces_removed
109109
sink_fwss_cdn_service_terminated:
110-
url: https://index.filcdn.io/fwss/cdn-service-terminated
110+
url: https://index.filbeam.io/fwss/cdn-service-terminated
111111
type: webhook
112112
secret_name: WEBHOOK_SECRET_CMBHIZHPO0
113113
one_row_per_request: true
114114
from: filbeam__cdn_service_terminated
115115
sink__fwss__cdn_payment_rails_topped_up:
116-
url: https://index.filcdn.io/fwss/cdn-payment-rails-topped-up
116+
url: https://index.filbeam.io/fwss/cdn-payment-rails-topped-up
117117
type: webhook
118118
secret_name: WEBHOOK_SECRET_CMBHIZHPO0
119119
one_row_per_request: true
120120
from: filbeam__cdn_payment_rails_topped_up
121121
sink__filbeam_operator__cdn_payment_settled:
122-
url: https://index.filcdn.io/filbeam-operator/cdn-payment-settled
122+
url: https://index.filbeam.io/filbeam-operator/cdn-payment-settled
123123
type: webhook
124124
secret_name: WEBHOOK_SECRET_CMBHIZHPO0
125125
one_row_per_request: true
126126
from: filbeam__cdn_payment_settled
127127
sink__service_provider_registry__product_removed:
128-
url: https://index.filcdn.io/service-provider-registry/product-removed
128+
url: https://index.filbeam.io/service-provider-registry/product-removed
129129
type: webhook
130130
secret_name: WEBHOOK_SECRET_CMBHIZHPO0
131131
one_row_per_request: true
132132
from: source__service_provider_registry__product_removed
133133
sink_service_provider_registry__provider_removed:
134-
url: https://index.filcdn.io/service-provider-registry/provider-removed
134+
url: https://index.filbeam.io/service-provider-registry/provider-removed
135135
type: webhook
136136
secret_name: WEBHOOK_SECRET_CMBHIZHPO0
137137
one_row_per_request: true

0 commit comments

Comments
 (0)