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

account-service should replace PROVIDER_BASE_URL with WEBHOOK_BASE_URL #350

Conversation

mattheworris
Copy link
Contributor

@mattheworris mattheworris commented Aug 8, 2024

Description

The gateway microservices that use webhooks previously used the environment variable PROVIDER_BASE_URL as the webhook target server. The social-app-template has adopted a new nomenclature using WEBHOOK_BASE_URL. All micro services should be in sync with the social-app-template and use the new nomenclature.

Acceptance Criteria

  • All microservices that use webhooks use WEBHOOK_BASE_URL to provision their webhook.
    • account

Follow up to remove entirely: #339

@mattheworris mattheworris marked this pull request as draft August 8, 2024 00:32
@mattheworris mattheworris self-assigned this Aug 8, 2024

# Remove specified volumes
echo "Removing specified volumes..."
docker volume rm account-service_redis_data
docker volume rm account-service_chainstorage
docker volume rm gateway_redis_data
Copy link
Contributor Author

Choose a reason for hiding this comment

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

docker-compose.yaml file moved to root, so targets needed to be renamed to match.

Copy link
Contributor

@wilwade wilwade left a comment

Choose a reason for hiding this comment

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

Two small things. The readme updates and such are great, although I guess we might need to make the same changes to the other services?

services/account/README.md Outdated Show resolved Hide resolved
services/account/env.template Show resolved Hide resolved
@mattheworris mattheworris changed the title Microservices that use a webhook should replace PROVIDER_BASE_URL with WEBHOOK_BASE_URL account-service should replace PROVIDER_BASE_URL with WEBHOOK_BASE_URL Aug 9, 2024
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: rename this file?

Copy link
Contributor

@JoeCap08055 JoeCap08055 left a comment

Choose a reason for hiding this comment

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

One nit about renaming a file; non-blocking.
🚢 it!

@mattheworris mattheworris merged commit b5e7fee into main Aug 9, 2024
11 checks passed
@mattheworris mattheworris deleted the 218-microservices-that-use-a-webhook-should-replace-provider_base_url-with-webhook_base_url branch August 9, 2024 14:05
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.

Microservices that use a webhook should replace PROVIDER_BASE_URL with WEBHOOK_BASE_URL
3 participants