You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2ca00dc
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CLAUDE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ Online and on-site use the same numbering: Part C is CI/CD (exercise 7), Part D
16
16
17
17
## Versions (keep in sync everywhere)
18
18
19
-
- datacontract-cli `1.2.3`, dataproduct-cli `0.2.0`, entropy-data `0.3.13`: pinned in `scripts/install.sh`, `install.ps1`, `install.bat`, and in `solutions/exercise7/datacontract.yml`.
19
+
- datacontract-cli `1.2.3`, dataproduct-cli `0.3.1`, entropy-data `0.3.13`: pinned in `scripts/install.sh`, `install.ps1`, `install.bat`, and in `solutions/exercise7/datacontract.yml`.
20
20
- ODCS `v3.2.0` and ODPS `v1.1.0` in all solutions, examples, and `schemas/` (mapped in `.vscode/settings.json`).
21
21
- GitHub Actions: `actions/checkout@v7`, `astral-sh/setup-uv@v10.2.0` (setup-uv has no floating major tags).
22
22
- When bumping a CLI, re-capture the terminal outputs in the tutorial and re-record the affected videos.
@@ -81,7 +81,7 @@ Builds on Parts A and B only. You need a [GitHub](https://github.com) account.
81
81
done
82
82
```
83
83
84
-
Linting checks that every file is valid ODCS or ODPS. No database needed.
84
+
Linting checks that every file is valid ODCS or ODPS. `dataproduct lint` also checks that the data contracts linked in the ports exist in the repository. No database needed.
85
85
86
86
7. Commit, push, and watch the run in the **Actions** tab. It should turn green.
❌ Check that data product is valid against ODPS v1.1.0: kind: 'DataProdukt' is not one of
141
-
['DataProduct']
146
+
❌ Check that data product is valid against ODPS v1.1.0: kind: 'DataProdukt' is
147
+
not one of ['DataProduct']
148
+
✅ Data contract 'orders_v1' linked by outputPorts[orders_v1] is resolvable:
149
+
Found at orders_v1.odcs.yaml
150
+
✅ Data contract 'orders_v2' linked by outputPorts[orders_v2] is resolvable:
151
+
Found at orders_v2.odcs.yaml
152
+
✅ Data contract 'orders_v1' passes datacontract lint: orders_v1.odcs.yaml
153
+
✅ Data contract 'orders_v2' passes datacontract lint: orders_v2.odcs.yaml
142
154
🔴 Data product is invalid.
143
155
```
144
156
@@ -154,7 +166,7 @@ Die CLI nennt das falsche Feld und endet mit Exit-Code `1`. Mach es danach rück
154
166
</Step>
155
167
156
168
<Callout type="note" title="Lint vs. Test">
157
-
`dataproduct lint`prüft, ob die Datei laut Standard *wohlgeformt* ist. Es verbindet sich mit keiner Datenbank.
169
+
`dataproduct lint`prüft, ob die Datei laut Standard *wohlgeformt* ist und ob die verlinkten Datenkontrakte existieren. Es verbindet sich mit keiner Datenbank.
158
170
Ob die Daten hinter einem Output-Port ihr Versprechen halten, prüft `datacontract test` am Kontrakt.
0 commit comments