Repository navigation
Parse native Java Dags and show their source #74036
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
Merged
+2,115
−58
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
9c6cd0e
Read JAR manifests per the JAR specification
jason810496 1f361c2
Build the JVM command that parses a Dag JAR
jason810496 c1a0bd2
Parse native Java Dags with their coordinator
jason810496 f6b87a7
Treat an unreadable JAR like one without a manifest
jason810496 bb23794
Test the Java Dag source placeholder for a JAR without a manifest
jason810496 1e85316
Name the JAR manifest attributes the Java coordinator reads
jason810496 a28bdee
Document native Java Dag parsing
jason810496 45761df
Run a task on its run's version when dag_bundle_name names its bundle
jason810496 801e5a1
Pass the task's Dag file to the coordinator's command builder
jason810496 4c9eaf9
Report why a Java Dag JAR cannot be read
jason810496 e6933d8
Run the JAR a native Java Dag was parsed from
jason810496 1e5f033
Reject a Java Dag JAR whose SDK cannot answer a parse
jason810496 cb7ff03
Stop promising that Java dependency JARs are not parsed
jason810496 2f3c1b7
Keep the Java parse_dag test from changing the pytest worker
jason810496 f950fb8
Hand out the Java Dag importer through get_dag_importer
jason810496 3cd507c
Read Java Dag sources from the bundle's sources.json index
jason810496 e63ffc3
Let the Java Dag importer find its coordinator
jason810496 d1ffa7d
Fail a task cleanly when its runtime cannot be launched
jason810496 03ac851
Run a native Dag's task from its own Dag file
jason810496 b5f144d
Fail a native task cleanly when its file or coordinator class cannot …
jason810496 7a243c1
Say tasks list runs a native Java Dag's main class
jason810496 3b6a9d0
Say a JRE parses native Java Dags, and keep main's bundle test mocks
jason810496 37759fb
Put the JAR a Dag was parsed from first on its classpath
jason810496 9f08bce
Keep a JAR whose manifest cannot be read, not only for OSError and Ba…
jason810496 8ecee9e
Let the first executable JAR's Main-Class win, not the last one found
jason810496 bce7efc
Say the native Java ignore bullet applies with one coordinator too
jason810496 87236e5
Assert execute_task never asks for the parsing coordinator
jason810496 705c315
Autospec the bundles this test class mocks
jason810496 d243b2b
Move a deferred secrets_masker import to the top of the module
jason810496 cab56f4
Show both .airflowignore cases and syntaxes for the task-handler JAR
jason810496 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.