-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[Prism] Enable Java validatesRunner tests on Prism #31075
[Prism] Enable Java validatesRunner tests on Prism #31075
Conversation
Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment |
runners/prism/build.gradle
Outdated
def jobPortFlag = "job_port" | ||
|
||
// cmdDir is directory conventionally containing Go executables. | ||
def cmdDir = goRootDir.resolve("cmd") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it strictly necessary to resolve each directory one step at a time?
That is, instead of just looking for modDir.resolve("go/cmd/prism")
directly? Same for the buildTarget chain.
If that doesn't work, a comment explaining why we need to go one step at a time (eg. Gradle makes us do it this way), is more useful than adding comments about what each individual directory is.
Metaphorically: Documenting the forest is important when there are this many trees.
runners/prism/build.gradle
Outdated
def goRootDir = modDir.resolve("go") | ||
|
||
// jobPortFlag is Prism service's job management service port flag name. | ||
def jobPortFlag = "job_port" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider moving this either above or below the directory resolutions, likely just below def jobPort
@lostluck This is ready. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks!
This PR addresses #28187 by creating a new new gradle project
:runners:prism
to allow non-Go developers to execute the Prism server. It also modifies the existingrunners/portability/java/build.gradle
by adding ajobEndpoint
project property to set when invoking:After this test merges, I will update Beam Wiki for Java with a new section on how to run a pipeline using Prism and a new page on our Beam website: https://beam.apache.org/documentation/runners/prism/
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
addresses #123
), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, commentfixes #<ISSUE NUMBER>
instead.CHANGES.md
with noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.