Add data-model-migration commands for semantic entity push - #403
Draft
Philipp Hoch (hochphil) wants to merge 3 commits into
Draft
Add data-model-migration commands for semantic entity push#403Philipp Hoch (hochphil) wants to merge 3 commits into
Philipp Hoch (hochphil) wants to merge 3 commits into
Conversation
Introduce a new content-cli module that exports a Data Integration data model via the cloud-data-integration transport API, converts tables, process configurations, and classic foreign keys into pig semantic entities, and pushes them into a target pig-sl-ontology package. Includes converter unit tests, API/service tests, command wiring tests, and user guide documentation. Includes-AI-Code: true Co-authored-by: Cursor <cursoragent@cursor.com>
Includes-AI-Code: true Co-authored-by: Cursor <cursoragent@cursor.com>
Aligns the migration flow with the platform CLI path (config nodes create) by posting SaveNodeTransport payloads to the package-manager API, reusing existing OAuth scopes and the standard validate/version workflow. Includes-AI-Code: true Co-authored-by: Cursor <cursoragent@cursor.com>
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.




Summary
data-model-migrationcontent-cli module that exports a Data Integration data model viaGET /integration/api/pools/{poolId}/data-models/{dataModelId}/transport?includeColumns=truesignal-links); only classicforeignKeys[]from the transport payload are convertedCommands
content-cli export data-model --poolId <id> --dataModelId <id> [--outputToJsonFile]content-cli push semantic-model --poolId <id> --dataModelId <id> --package <packageKey> [--schema <schema>] [--namespace <ns>] [--fromFile <json>] [--dryRun]Test plan
yarn test tests/commands/data-model-migration tests/integration/commands/data-model-migration.spec.tsyarn buildcontent-cli push semantic-model --poolId ... --dataModelId ... --package ... --dryRunMade with Cursor