-
Notifications
You must be signed in to change notification settings - Fork 376
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
config: add dependencies for roles #9338
Merged
Totktonada
merged 1 commit into
tarantool:master
from
ImeevMA:imeevma/gh-9078-dependencies
Nov 29, 2023
Merged
config: add dependencies for roles #9338
Totktonada
merged 1 commit into
tarantool:master
from
ImeevMA:imeevma/gh-9078-dependencies
Nov 29, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ImeevMA
force-pushed
the
imeevma/gh-9078-dependencies
branch
from
November 7, 2023 14:59
59fa815
to
79287dc
Compare
xuniq
approved these changes
Nov 8, 2023
ImeevMA
force-pushed
the
imeevma/gh-9078-dependencies
branch
from
November 9, 2023 14:28
79287dc
to
14a0a0e
Compare
Totktonada
reviewed
Nov 13, 2023
ImeevMA
force-pushed
the
imeevma/gh-9078-dependencies
branch
from
November 23, 2023 07:31
14a0a0e
to
ecc2cac
Compare
Totktonada
approved these changes
Nov 26, 2023
ylobankov
approved these changes
Nov 27, 2023
ImeevMA
force-pushed
the
imeevma/gh-9078-dependencies
branch
from
November 28, 2023 08:13
ecc2cac
to
1b6dcf7
Compare
This patch adds dependencies support for roles. Part of tarantool#9078 @TarantoolBot document Title: dependencies for roles Roles can now have dependencies. This means that the verify() and apply() methods will be executed for these roles, taking into account the dependencies. Dependencies should be written in the "dependencies" field of the array type. Note, the roles will be loaded (not applied!) in the same order in which they were specified, i.e. not taking dependencies into account. Example: Dependencies of role A: B, C Dependencies of role B: D No other role has dependencies. Order in which roles were given: [E, C, A, B, D, G] They will be loaded in the same order: [E, C, A, B, D, G] The order, in which functions verify() and apply() will be executed: [E, C, D, B, A, G].
ImeevMA
force-pushed
the
imeevma/gh-9078-dependencies
branch
from
November 28, 2023 08:15
1b6dcf7
to
5815cdf
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch adds dependencies support for roles.
Part of #9078
@TarantoolBot document
Title: dependencies for roles
Roles can now have dependencies. This means that the verify() and apply() methods will be executed for these roles, taking into account the dependencies. Dependencies should be written in the "dependencies" field of the array type. Note, the roles will be loaded (not applied!) in the same order in which they were specified, i.e. not taking dependencies into account.
Example:
Dependencies of role A: B, C
Dependencies of role B: D
No other role has dependencies.
Order in which roles were given: [E, C, A, B, D, G]
They will be loaded in the same order: [E, C, A, B, D, G]
The order, in which functions verify() and apply() will be executed: [E, C, D, B, A, G].