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

✨ Adding a Scope to the running of the rule engine #723

Conversation

shawn-hurley
Copy link
Contributor

The scope will allow for users to call the engine directly will be able to add information to the condition context. Providers are still responsible for restricting based on that condition context.

Working off of @jmle awesome work to get the file paths respected in providers

@shawn-hurley shawn-hurley force-pushed the feature/add-included-paths-to-running-rules-engine branch 4 times, most recently from f3a216b to cb967a1 Compare November 20, 2024 19:32
Copy link
Contributor Author

@shawn-hurley shawn-hurley left a comment

Choose a reason for hiding this comment

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

Updating based on my review

provider/internal/builtin/service_client.go Outdated Show resolved Hide resolved
provider/internal/builtin/service_client.go Outdated Show resolved Hide resolved
provider/lib.go Outdated Show resolved Hide resolved
provider/lib.go Show resolved Hide resolved
@shawn-hurley shawn-hurley force-pushed the feature/add-included-paths-to-running-rules-engine branch from cb967a1 to 6e806c4 Compare November 20, 2024 20:01
@shawn-hurley shawn-hurley marked this pull request as ready for review November 20, 2024 20:02
@shawn-hurley shawn-hurley force-pushed the feature/add-included-paths-to-running-rules-engine branch 3 times, most recently from 49c5fe4 to 85d9b4e Compare November 20, 2024 20:34
…he running engine and the caller of run rules

add scoped run rules to interface

Signed-off-by: Shawn Hurley <[email protected]>
@shawn-hurley shawn-hurley force-pushed the feature/add-included-paths-to-running-rules-engine branch from 85d9b4e to e25c077 Compare November 20, 2024 21:26
engine/scopes.go Show resolved Hide resolved
Copy link
Contributor

@jmle jmle left a comment

Choose a reason for hiding this comment

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

Just some questions

@jmle jmle self-requested a review November 22, 2024 15:45
@shawn-hurley shawn-hurley merged commit aa82226 into konveyor:main Nov 22, 2024
9 checks passed
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