Skip to content

Commit 97f484c

Browse files
razvanclaude
andcommitted
refactor(openlineage): rename OpenLineageJob.app_name to job_name and move CRD to lineage.stackable.tech
Rename the embeddable OpenLineageJob field `app_name` to `job_name` (serialized `appName` -> `jobName`) and move the OpenLineageConnection CRD from the `openlineage.stackable.tech` API group to `lineage.stackable.tech`. Regenerated crds/OpenLineageConnection.yaml. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent d81a6b5 commit 97f484c

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

crates/stackable-operator/CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ All notable changes to this project will be documented in this file.
77
### Added
88

99
- Add `crd::openlineage` module with the `OpenLineageConnection` CRD (a reusable connection to an
10-
OpenLineage backend), an `InlineConnectionOrReference` wrapper with `resolve()`, and an embeddable
11-
`OpenLineageJob` type for operators ([#1250]).
10+
OpenLineage backend, in the `lineage.stackable.tech` API group), an `InlineConnectionOrReference`
11+
wrapper with `resolve()`, and an embeddable `OpenLineageJob` type (with a `jobName` field) for
12+
operators ([#1250]).
1213

1314
[#1250]: https://github.com/stackabletech/operator-rs/pull/1250
1415

crates/stackable-operator/crds/OpenLineageConnection.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
5-
name: openlineageconnections.openlineage.stackable.tech
5+
name: openlineageconnections.lineage.stackable.tech
66
spec:
7-
group: openlineage.stackable.tech
7+
group: lineage.stackable.tech
88
names:
99
categories: []
1010
kind: OpenLineageConnection

crates/stackable-operator/src/crd/openlineage/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pub mod versioned {
2727
/// OpenLineage connection definition as a resource.
2828
/// Learn more about [OpenLineage](https://openlineage.io/).
2929
#[versioned(crd(
30-
group = "openlineage.stackable.tech",
30+
group = "lineage.stackable.tech",
3131
kind = "OpenLineageConnection",
3232
plural = "openlineageconnections",
3333
doc = "A reusable definition of a connection to an OpenLineage backend.",
@@ -80,10 +80,10 @@ pub mod versioned {
8080
#[serde(default, skip_serializing_if = "Option::is_none")]
8181
pub namespace: Option<String>,
8282

83-
/// A stable OpenLineage job/application name. Setting this prevents fragmented run history.
83+
/// A stable OpenLineage job name. Setting this prevents fragmented run history.
8484
/// If unset, operators resolve a name from workload-specific configuration.
8585
#[serde(default, skip_serializing_if = "Option::is_none")]
86-
pub app_name: Option<String>,
86+
pub job_name: Option<String>,
8787
}
8888
}
8989

0 commit comments

Comments
 (0)