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

Javascript Hooks #70

Merged
merged 1 commit into from
Jul 13, 2021
Merged

Javascript Hooks #70

merged 1 commit into from
Jul 13, 2021

Conversation

schrieveslaach
Copy link
Contributor

This PR introduces the concept of hook to PREvant that can be used to manipulate the deployment before handing it over to the actual infrastructure layer. With hooks in place you are able to add custom logik, such as re-configuring services to use a different database configuration.

Fixes #41

@@ -104,7 +104,6 @@ The list of available handlebars variables:

- `application`: The companion's application information
- `name`: The application name
- `applicationPath`: The root path to the application.
Copy link
Contributor Author

@schrieveslaach schrieveslaach Jul 5, 2021

Choose a reason for hiding this comment

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

This variable never existed. So, I decide to remove it from the documentation.

@@ -2,7 +2,7 @@
* ========================LICENSE_START=================================
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Due to a hint of cargo clippy the file api/src/apps/apps.rs has been renamed to api/src/apps/mod.rs. Unfortunately, git does not recognize the diff.

@binepedia
Copy link

The changes seem to be fine. Some changes I do not get because I do not know rust that well but they look like they are not that important, so I believe they work.

I think the hooks could be made a little clearer in the README.

This commit introduces the concept of hook to PREvant that can be used to
manipulate the deployment before handing it over to the actual infrastructure
layer. With hooks in place you are able to add custom logik, such as
reconfiguring services to use a different database configuration.

See README.md files for example usage.

Further, the commit fixes some clippy hints.
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.

Hooks for Advanced Skripting
2 participants