Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use node API via API Gateway #302

Merged
merged 1 commit into from
Mar 5, 2024
Merged

Use node API via API Gateway #302

merged 1 commit into from
Mar 5, 2024

Conversation

banool
Copy link
Contributor

@banool banool commented Feb 22, 2024

Description

This is part of the migration to API Gateway. More context here: https://www.notion.so/aptoslabs/Migration-1-Legacy-URL-to-API-Gateway-migration-b007742490684b9bab3debd674504a94.

I found the initial files to change like this:

rg -l -e 'fullnode\.[a-z]{3,6}net.aptoslabs.com'

I then did a find replace from fullnode.([a-z]{3,6}net).aptoslabs.com to api.$1.aptoslabs.com.

I did some further digging, e.g. for places where we perhaps build the URL, by just looking at every file that references aptoslabs.com. Hopefully this is everything.

I haven't touched indexer API, we'll do that in another PR.

Test Plan

CI for now.

@banool banool force-pushed the banool/node-api-gateway branch from d42132a to 3b01d73 Compare February 26, 2024 14:28
@banool banool force-pushed the banool/node-api-gateway branch from 3b01d73 to c493c2c Compare March 1, 2024 16:50
@banool banool marked this pull request as ready for review March 1, 2024 16:50
@banool banool requested a review from a team as a code owner March 1, 2024 16:50
@banool banool marked this pull request as draft March 1, 2024 17:08
@banool banool marked this pull request as ready for review March 1, 2024 19:16
Copy link
Collaborator

@0xmaayan 0xmaayan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@banool banool merged commit 1b386d3 into main Mar 5, 2024
7 checks passed
@banool banool deleted the banool/node-api-gateway branch March 5, 2024 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants