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

Add Fargate Restate deployment construct #28

Merged
merged 18 commits into from
Mar 26, 2024
Merged

Conversation

pcholakov
Copy link
Collaborator

No description provided.

- introduce IRestateEnvironment interface
- add vanilla RestateEnvironment implementation
- SingleNodeEnvironment now takes optional VPC parameter, RegistrationProvider takes VPC and associated subnet/SG options
- simplify RegistrationProvider internals
The new name better reflects the component's purpose and encapsulates the provider and its backing handler.
This change simplifies the construct API and eliminates the need for the separate LambdaServiceRegistry component, which was an unnecessary indirection.
…mple property holder

We now have a simple object to hold the necessary components of a "Restate environment pointer" – and its creation is hidden behind a factory method, so we can easily introduce new concrete implementations in the future, if it makes sense for specific deployment scenarios. In the meantime, this greatly simplifies the surface area at the cost of the user having to manually construct the admin URL for a given environment.
@pcholakov pcholakov closed this Mar 26, 2024
@pcholakov pcholakov reopened this Mar 26, 2024
@pcholakov
Copy link
Collaborator Author

Bypassing review requirements; this change was already reviewed as part of #26 and #27 - using a PR just for the sake of creating a squash commit.

@pcholakov pcholakov merged commit 2feba5c into main Mar 26, 2024
2 checks passed
@pcholakov pcholakov deleted the simplify-deployment-api branch September 2, 2024 11:25
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.

1 participant