This is an automated email from the ASF dual-hosted git repository.
jason810496 pushed a change to branch jason/java-sdk/pack-dag-sources
in repository https://gitbox.apache.org/repos/asf/airflow.git
omit 0ac76fde438 Java SDK: Pack each native Dag's source file into the
bundle JAR
omit 19e6e2942b2 Java SDK: Record the class that declares each Dag and
describe it on request
omit af604c051bc Java SDK: Serialize native Dags to DagSerialization v3 on
parse requests
add 8d92b50fc44 Java SDK: Quote wired task ids as Java string literals
add 2e4bec76b5f Java SDK: Validate the @Builder.Deps class at compile time
add 79e339556d5 Java SDK: Reject task method names that clash with the
wiring view
add 202e9c772c3 Java SDK: Type a wired numeric input by its parameter's
own type
add 37a076564fc Java SDK: Register both the Dag and handlers of a class,
unwrapping builder failures
add 14c180a8278 Java SDK: Reject a raw null wiring argument and test the
recorder's guards
add 4dadc5dc96f Java SDK: Reword the native-Dag docs without em-dashes
add 0dc60cd77a3 Java SDK: Drop Bundle tests that repeat existing coverage
add 03137af3783 Java SDK: Group a native Dag's tasks with task groups
add cc3ed38f4ef Java SDK: Serialize native Dags to DagSerialization v3 on
parse requests
add 30b9e32da6d Test that the conformance check compares Dag params
add 699ea1b32d7 Java SDK: Leave config-backed Dag fields for Airflow to
fill in
add 42c5a5d6e29 Java SDK: Leave out the email flags a Java task cannot act
on
add d4526e3bcc1 Java SDK: Serialize a native Dag's task groups
add b58e27daa65 Java SDK: Write each Dag tag once, as Python does
add 754fb374aa4 Java SDK: Check native Dag serialization against Airflow's
add bddaab05453 Java SDK: Record the class that declares each Dag and
describe it on request
add bd6db1ca808 Java SDK: Pack each native Dag's source file into the
bundle JAR
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (0ac76fde438)
\
N -- N -- N refs/heads/jason/java-sdk/pack-dag-sources
(bd6db1ca808)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
.pre-commit-config.yaml | 17 ++
.../language-sdks/java.rst | 44 ++-
java-sdk/README.md | 2 +-
java-sdk/capabilities.yaml | 3 +-
.../org/apache/airflow/sdk/BuilderProcessor.kt | 185 +++++++++---
.../kotlin/org/apache/airflow/sdk/BuilderTest.kt | 332 ++++++++++++++++++++-
.../ci/prek/check_serialization_conformance.py | 21 +-
java-sdk/sdk/build.gradle.kts | 32 +-
java-sdk/sdk/module.md | 2 +-
.../main/kotlin/org/apache/airflow/sdk/Bundle.kt | 38 ++-
.../main/kotlin/org/apache/airflow/sdk/DagDef.kt | 98 ++++++
.../src/main/kotlin/org/apache/airflow/sdk/Deps.kt | 65 +++-
.../kotlin/org/apache/airflow/sdk/TaskGroupRef.kt | 126 ++++++++
.../org/apache/airflow/sdk/execution/Serde.kt | 79 +++--
.../kotlin/org/apache/airflow/sdk/internal/Refs.kt | 85 +++++-
.../org/apache/airflow/sdk/internal/Registrar.kt | 23 ++
.../kotlin/org/apache/airflow/sdk/BundleTest.kt | 87 +++++-
.../kotlin/org/apache/airflow/sdk/TaskGroupTest.kt | 189 ++++++++++++
.../airflow/sdk/conformance/SerializeJava.kt | 119 ++++++++
.../org/apache/airflow/sdk/execution/SerdeTest.kt | 67 ++++-
.../org/apache/airflow/sdk/internal/RefsTest.kt | 83 ++++++
.../apache/airflow/sdk/internal/RegistrarTest.kt | 22 +-
scripts/ci/lang_sdk_serialization/compare.py | 17 +-
scripts/ci/lang_sdk_serialization/test_dags.yaml | 4 +-
.../ci/lang_sdk_serialization/test_compare.py | 11 +
25 files changed, 1588 insertions(+), 163 deletions(-)
copy {ts-sdk => java-sdk}/scripts/ci/prek/check_serialization_conformance.py
(68%)
create mode 100644
java-sdk/sdk/src/main/kotlin/org/apache/airflow/sdk/TaskGroupRef.kt
create mode 100644
java-sdk/sdk/src/test/kotlin/org/apache/airflow/sdk/TaskGroupTest.kt
create mode 100644
java-sdk/sdk/src/test/kotlin/org/apache/airflow/sdk/conformance/SerializeJava.kt
copy registry/src/_data/utils.js =>
java-sdk/sdk/src/test/kotlin/org/apache/airflow/sdk/internal/RegistrarTest.kt
(66%)