All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Changes are grouped as follows:
Added
for new features.Changed
for changes in existing functionality.Deprecated
for soon-to-be removed features.Improved
for transparent changes, e.g. better performance.Removed
for now removed features.Fixed
for any bug fixes.Security
in case of vulnerabilities.
No changes to templates.
- The
inrobot
module no longer raises aResourceUpdateError/ResourceCreateError
when runningcdf deploy
.
No changes to templates.
No changes to templates.
- Renamed non-toolkit Function config files for
bootcamp
module.
No changes to templates.
No changes to templates.
No changes to templates.
No changes to templates.
No changes to templates.
No changes to templates.
- The user group in the
QuickStart
package now has capabilities to inspect the RAW tables and extraction pipelines. - Missing table
diagramParsing
in theQuickStart
is now created. - Bug in the SQL transformation of the
cdf_sharepoint
modules.
- Bug in the
QuickStart
packages causing the P&ID contextualization to fail.
No changes to templates.
No changes to templates.
- The modules
cdf_idm_extension
andcdf_idm_extension_full
are renamed tocdf_process_industry_extension
andcdf_process_industry_extension_full
respectively. - The Source System data pipelines now requires
cdf_process_industry_extension
and writes to the extension model instead of the Core model. - The modules in Source System, Contextualization, and Industrial Tool packages now use shared resources
in
cdf_common
.
- Added new modules
cdf_entity_matching
in thecontextualization
package. This contains a pipeline for doing entity matching based on the Cognite Core model.
- Bug in extension models in the
models
package. Thethrough
field was not correctly set. In addition, simplified theCogniteCore
andCogniteProcessIndustries
minimum extension models further. Finally, all containers were duplicated. This has been fixed. - Bug in
cdf_sap_assets
causing the asset transformation to fail to a READ access error.
No changes to templates.
No changes to templates.
No changes to templates.
- The
sourcesystem
modules now has example data.
- Ensure uniqueness of joins in the transformations of the
cdf_connection_sql
module.
No changes to templates.
- The
modules init
wizard provides an option for an empty, custom module scaffolding.
- Module Bootcamp removed schedules and file from ice_cream_api
- Module Bootcamp removed function definitions from ice_cream_api
- Removed unused variables from default InRobot configuration.
- Added missing transformation
asset to asset
incdf_sap_asset
module. - Module Bootcamp OEE function now correctly calculates current OEE time series
- Added new module
cdf_sharepoint
to thesourcesystem
package. - Added new package
industrial_tool
for data exploration and analytics with modulescdf_search
for setting up location filters
- Added new package
contextualization
with modulescdf_p_and_id_parser
cdf_timeseries_equipment_sql
- Added new package
sourcesystem
with modulessap_asset
sap_events
pi
- Added new modules for extension of
CogniteProcessIndustries
model. Full and minimum extension templates inquickstart
andexample
packages.
- The
cdf_location_filter_example
has been split into two separate modules:cdf_location_asset_centric
, andcdf_location_datamodel_based
. This is to better demonstrate the different ways to filter locations in CDF.
- Module
bootcamp
data_sets and raw modules removed fromice_cream_api
andoee
- Module
bootcamp
default config removed fromice_cream_api
- Added missing default variable
scheduleHourly
toInField
modulecdf_infield_common
. - The property
featureConfiguration
is in theAPM_Config
is now correctly a blob and not a list of blobs. This impacted the InRobot and InField options incdf modules init
andcdf modules add
. - Module
bootcamp
error in calculation of site names forooe_timeseries
- Module
bootcamp
comment foricapi_extractors_source_id
incorrect. - Added missing dataset
ds_asset_oid
tocdf_data_pipeline_3d_valhall
example. - Added missing RAW table
asset_oid_workmate
tocdf_data_pipeline_asset_valhall
example. - Added missing RAW table
files_oid_fileshare
and datasetds_asset_oid
tocdf_data_pipeline_files_valhall
example. - Added missing dataset
ds_asset_oid
tocdf_data_pipeline_timeseries_valhall
example.
- Added missing views, containers, and spaces to the
cdf_apm_base
module.
No changes to templates.
- CogniteCore full and minimum extension templates in
quickstart
andexample
packages.
No changes to templates.
- Module
bootcamp
error in calculation ofquality
andperformance
in theoee_timeseries
function.
No changes to templates.
No changes to templates.
No changes to templates.
No changes to templates.
Added bootcamp
modules ice_cream_api
and oee
.
No changes to templates.
No changes to templates.
No changes to templates.
No changes to templates.
No changes to templates.
- Added missing
common_function_code
to thecognite_modules/inrobot/cdf_inrobot_common
module.
No changes to templates.
- New modules
cognite_modules/inrobot
.
- In the module
cdf_apm_simple_data_model
. The version of the view6.WorkOrder.view
was incorrect.
No changes to templates.
No changes to templates.
- Module
cognite_modules/example/cdf_data_pipeline_3d_valhall
3D contextualization example pipeline. Reading 3D nodes and matching to asset hierarchy
No changes to templates.
No changes to templates.
No changes to templates.
No changes to templates.
No changes to templates.
No changes to templates.
- Added missing dependency to
requirements.txt
incognite_modules/examples/cdf_functions_dummy
.
No changes to templates.
No changes to templates.
No changes to templates.
No changes to templates.
No changes to templates.
No changes to templates.
No changes to templates.
No changes to templates.
- Extended
cognite_modules/examples/my_example_module
with aTransformationNotification
case.
- Extended
cognite_modules/examples/my_example_module
with aLabel
case.
No changes to templates.
- Removed illegal characters from
DatapointSubscriptoin
description incognite_modules/examples/my_example_module
.
- Function used to schedule & trigger workflow
- Extended
cognite_modules/examples/my_example_module
with aSecurityCategory
case. - Extended
cognite_modules/examples/my_example_module
with aDatapointSubscription
case.
- The parameter
fileId
is removed from allfunction
configurations (cdf_functions_dummy
,cdf_data_pipeline_files_valhall
,cdf_data_pipeline_timeseries_valhall
, andmy_example_module
) as it is no longer required. - In all modules with an
extraction_pipelines
resource, removeddataSetExternalId
andname
from all ExtractionPipelineConfigs as this is not used and thus only causes confusion. - In all modules with a
function
, renamedexternalIdDataSet
todataSetExternalId
to be consistent with the naming convention used in the Cognite API. - In module
my_example_module
, removedinterval
andisPaused
from the Transformation as these are not used. These parameters should only be present in a TransformationSchedule.
- Removed schedule from annotation function
context:files:oid:fileshare:annotation
- Add use of
map_concat
in transformationfiles_oid_fileshare_file_metadata
to keep existing files metadata. - Switched to using
file.uploaded_time
instead offile.last_updated_time
since update time potentially is updated every time the transformation runs, and don't require a reannotation.
- Workflow with a Function and a Transformation to the cdf_data_pipeline_files_valhall example
- The
cdf_functions_dummy
module now includes codes from the formercommon_function_code
directory.
- In
example_pump_data_model
, in thePump.view.yaml
the propertysource
usedexternal_id
instead ofexternalId
.
- Align tag name in asset hierarchy between the 2 example transformations
- Added default root asset ID to documents for initial annotation
- Aligned use of asset external ID across contextualization functions
- Annotation logic with local time stamp for when to reprocess P&ID files
- Input to P&ID annotation based on list of synonyms for tag
- Updated module
apm_simple_data_model
forcognite-sdk>=7.37
, i.e., container properties of typedirect
have nowlist: false
explicitly set.
- Added Transformation for WorkOrder and WorkItems to OID testdata template
- Added Workflow with a Function and a Transformation to the custom module example
No changes to templates.
- Added functionality for wildcard detection of tags in P&ID
- Added functionality for multiple overlapping annotation to same tag - related to wildcards
No changes to templates.
No changes to templates.
- Module
cognite_modules/example/cdf_data_pipeline_timeseries_valhall
opcua / time series extractor pipeline, CDF function running contextualization of time series to assets.
- In the
infield
section, theinfield_apm_app_config.node.yaml
was moved fromcdf_infield_location
tocdf_infield_common
module. In addition, the modulecdf_infield_second_location
was added to theinfield
section. This is to demonstrate how multiple locations in Infield should be handled. - In the
cdf_data_pipeline_files_valhall
example, the Cognite Functionfu_context_files_oid_fileshare_annotation
has been renamed tofn_context_files_oid_fileshare_annotation
. It has also been split into several files, to be easier to understand. It has also been changed to usingprint
s (overlogging
), as that is unfortunately a hard requirement from the API.
- In the
cdf_data_pipeline_files_valhall
example, theREADME.md
file has been updated with instructions on how to run and test Cognite Functions locally.
- In cdf_oid_example_data, the filename prefixes have been removed from the filenames and instead the new name template functionality is used to prefix the filenames as part of the build step.
- Replaced
shared: True
toisPublic: True
andaction: upsert
toconflictMode: upsert
in all transformation configurations to match the CDF API specification.
- Added a new module
cognite_modules/example/cdf_data_pipeline_files_valhall
file extractor pipeline, transformation and CDF function running annotation on P&ID documents.
- Added missing cognite-sdk dependency to the common_functions_code.
- Added a new module
cognite_modules/example/cdf_functions_dummy
that shows how to create functions and deploy them. - Added common function code examples in
common_function_code/
directory as well as an example of how to use the common code in thecognite_modules/example/cdf_functions_dummy/fn_test2
andfn_example_repeater
functions.
- In module
cognite_modules/example/example_pump_asset_hierarchy
, in the transformationpump_asset_hierarchy_load-collections_pump.sql
the valuepump_assets
was hardcoded instead of using the variable{{raw_db}}
. This has been fixed.
No changes to templates.
No changes to templates.
No changes to templates.
No changes to templates.
- In the package
example_pump
ensure all transformations are prefixed withtr_
.
- Explicitly define model
space
inexperimental/cdf_asset_source_model/
andexperimental/example_pump_model/
. - The module
my_example_module
has been added to thecustom_modules
folder. - Added globally defined schedule variables that can be used across all modules.
- A complete example of an Asset data pipeline in
examples/cdf_asset_data_pipeline/
shows how to configure an Extractor, monitor the status of the Extraction Pipeline, and load the data into the asset hierarchy using Transformations. - DataSet to all example modules:
cdf_apm_simple_data_model
,cdf_asset_source_model
,cdf_oid_example_data
,example_pump_data_model
,example_pump_asset_hierarchy
.
- BREAKING All externalIds and names have been changed to follow the naming conventions for resources
in
examples/cdf_oid_example_data
,examples/cdf_apm_simple_data_model
,modules/cdf_apm_base
,modules/cdf_infield_common
, andmodules/cdf_infield_location
. - BREAKING Transformation Schedules broken out into separate files, following naming convention
<transformation_name>.schedule.yaml
. - All cognite templates have been moved into
cognite_templates
folder, whilelocal_templates
is renamed tocustom_templates
. - Move cdf_apm_base into separate folder.
- The file
local.yaml
has been renamedenvironments.yaml
to better reflect its purpose. - Removed demo
sourceId
fromcdf_infield_location
module. - Changed the isPaused flag to use a module-level variable instead of hardcoded in
cdf_apm_simple_data_model
. - Combined the child and parent transformations
sync_assets_from_hierarchy_to_apm
incdf_infield_location
. This has the benefit of not having to wait for the parent transformation to finish before starting the child transformation, thus no longer a dependency between the two transformations.
- Removed transformation identity provider variables from modules and reused the global cicd_ prefixed ones.
- Ensure all transformations in
cognite_modules
are prefixed withtr_
and all spaces are prefixed withsp_
.
- Remove unused template_version variable from groups and use of group metadata.
- Split up cdf_oid_example_data into data sets and RAW databases per source system.
- Add space yaml files for existing data models when explicit space definition was introduced.
- Fix use of integer value in version for data models.
- Fix wrong reference to
apm_simple
inexamples/cdf_apm_simple_data_model
andmodules/cdf_infield_location
. - Exemplify use of a single config yaml file for multiple file resources in
examples/cdf_oid_example_data/files/files.yaml
.
- Changed format of infield external_ids to be more readable, moving
_dataset
(ds) and_space
to the beginning of the external_id. examples/cdf_apm_simple/raw
andexamples/example_dump_asst_hierarchy/raw
now explicitly defines database and table name in.yaml
files for each table.- Added
data_set
toexamples/example_dump_asst_hierarchy/
, which was implicitly defined in before.
- cdf_infield_common module and the auth applications-configuration.yaml did not load group source id correctly due to source_id being used instead of sourceId. This is now fixed.
Initial release