-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Description Please describe the change you have made. ## Checklist - [ ] Tests added/updated. - [ ] Run Demo Job Locally. - [ ] Documentation updated. - [ ] Changelogs updated in [CHANGELOG.cdf-tk.md](https://github.com/cognitedata/toolkit/blob/main/CHANGELOG.cdf-tk.md). - [ ] Template changelogs updated in [CHANGELOG.templates.md](https://github.com/cognitedata/toolkit/blob/main/CHANGELOG.templates.md). - [ ] Version bumped. [_version.py](https://github.com/cognitedata/toolkit/blob/main/cognite/cognite_toolkit/_version.py) and [pyproject.toml](https://github.com/cognitedata/toolkit/blob/main/pyproject.toml) per [semantic versioning](https://semver.org/).
- Loading branch information
Showing
316 changed files
with
2,337 additions
and
2,099 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
cognite_toolkit/_builtin_modules/cdf_common/data_sets/demo.DataSet.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
name: 'Ingestion' | ||
externalId: {{ dataset }} | ||
description: This dataset contains Transformations, Functions, and Workflows for ingesting data into Cognite Data Fusion. |
8 changes: 8 additions & 0 deletions
8
cognite_toolkit/_builtin_modules/cdf_common/default.config.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
dataset: ingestion | ||
instanceSpace: springfield_instances | ||
directRelationJob: ctx_files_direct_relation_write | ||
rawSourceDatabase: ingestion | ||
rawStateDatabase: contextualizationState | ||
rawStateTable: diagramParsing | ||
schemaSpace: cdf_cdm | ||
annotationSpace: springfield_instances |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions
7
cognite_toolkit/_builtin_modules/cdf_common/functions/write.Function.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: Annotation to Direct Relations Writer | ||
externalId: contextualization_connection_writer | ||
owner: 'Anonymous' | ||
description: Writes all approved Annotations as direct relations connections. | ||
functionPath: 'handler.py' | ||
# Data set id for the zip file with the code that is uploaded. | ||
dataSetExternalId: {{ dataset }} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[module] | ||
title = "cdf_common" | ||
is_selected_by_default = false | ||
|
||
[packages] | ||
tags = [ | ||
] |
1 change: 0 additions & 1 deletion
1
.../cdf_p_and_id_parser/raw/state.Table.yaml → ...raw/contextualization_state.DataBase.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
dbName: {{ rawStateDatabase }} | ||
tableName: {{ rawStateTable }} |
1 change: 1 addition & 0 deletions
1
cognite_toolkit/_builtin_modules/cdf_common/raw/source.DataBase.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dbName: {{ rawSourceDatabase }} |
108 changes: 108 additions & 0 deletions
108
cognite_toolkit/_builtin_modules/cdf_ingestion/auth/user.Group.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
name: gp_user_{{ workflow }} | ||
members: | ||
{{ runWorkflowUserIds }} | ||
metadata: | ||
origin: cognite-toolkit | ||
capabilities: | ||
# minimum runtime capabilities | ||
- projectsAcl: | ||
actions: | ||
- READ | ||
- LIST | ||
scope: | ||
all: {} | ||
- groupsAcl: | ||
actions: | ||
- LIST | ||
scope: | ||
all: {} | ||
- sessionsAcl: | ||
actions: | ||
- CREATE | ||
scope: | ||
all: {} | ||
# query-specific capabilities | ||
- transformationsAcl: | ||
actions: | ||
- READ | ||
- WRITE | ||
scope: | ||
datasetScope: | ||
ids: | ||
- {{ dataset }} | ||
- functionsAcl: | ||
actions: | ||
- READ | ||
- WRITE | ||
scope: | ||
all: {} | ||
- rawAcl: | ||
actions: | ||
- READ | ||
scope: | ||
tableScope: | ||
dbsToTables: | ||
{{ rawSourceDatabase }}: {} | ||
{{ rawStateDatabase }}: {} | ||
- dataModelInstancesAcl: | ||
actions: | ||
- READ | ||
- WRITE | ||
- WRITE_PROPERTIES | ||
scope: | ||
spaceIdScope: | ||
spaceIds: | ||
{{ instanceSpaces }} | ||
- dataModelsAcl: | ||
actions: | ||
- READ | ||
scope: | ||
spaceIdScope: | ||
spaceIds: | ||
- {{ schemaSpace }} | ||
- {{ schemaSpace2 }} | ||
- {{ schemaSpace3 }} | ||
- cdf_cdm_units | ||
# Needed to write CogniteAsset.parent | ||
- dataModelInstancesAcl: | ||
actions: | ||
- READ | ||
scope: | ||
spaceIdScope: | ||
spaceIds: | ||
- cdf_cdm | ||
- annotationsAcl: | ||
actions: | ||
- READ | ||
- WRITE | ||
- SUGGEST | ||
- REVIEW | ||
scope: | ||
all: {} | ||
- entitymatchingAcl: | ||
actions: | ||
- READ | ||
- WRITE | ||
scope: | ||
all: {} | ||
- extractionConfigsAcl: | ||
actions: | ||
- READ | ||
scope: | ||
datasetScope: | ||
ids: | ||
- {{ dataset }} | ||
- extractionRunsAcl: | ||
actions: | ||
- READ | ||
- WRITE | ||
scope: | ||
datasetScope: | ||
ids: | ||
- {{ dataset }} | ||
# Bug in /context/diagram/detect/ endpoint that requires this | ||
- assetsAcl: | ||
actions: | ||
- READ | ||
scope: | ||
all: {} |
This file contains 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
3 changes: 0 additions & 3 deletions
3
cognite_toolkit/_builtin_modules/cdf_ingestion/data_sets/workflow.DataSet.yaml
This file was deleted.
Oops, something went wrong.
This file contains 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
3 changes: 0 additions & 3 deletions
3
...uiltin_modules/contextualization/cdf_connection_sql/data_sets/transformation.DataSet.yaml
This file was deleted.
Oops, something went wrong.
This file contains 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
3 changes: 0 additions & 3 deletions
3
.../_builtin_modules/contextualization/cdf_entity_matching/data_models/annotation.Space.yaml
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...in_modules/contextualization/cdf_entity_matching/data_sets/contextualization.DataSet.yaml
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
...tion/cdf_entity_matching/extraction_pipelines/ctx_files_direct_relation_write.config.yaml
This file was deleted.
Oops, something went wrong.
This file contains 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 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
3 changes: 0 additions & 3 deletions
3
.../_builtin_modules/contextualization/cdf_p_and_id_parser/data_models/annotation.Space.yaml
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...in_modules/contextualization/cdf_p_and_id_parser/data_sets/contextualization.DataSet.yaml
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
cognite_toolkit/_builtin_modules/contextualization/cdf_p_and_id_parser/default.config.yaml
This file contains 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.