Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support For Mapping of Annotations #174

Open
bbrandt opened this issue Apr 13, 2022 · 3 comments
Open

Add Support For Mapping of Annotations #174

bbrandt opened this issue Apr 13, 2022 · 3 comments

Comments

@bbrandt
Copy link

bbrandt commented Apr 13, 2022

Annotations are stored in Cognite as events of type cognite_annotation. There are sometimes id values in metadata fields CDF_ANNOTATION_resource_id and CDF_ANNOTATION_file_id that we have seen. We depend on these id's being correct to show the list of files applicable to an asset or other entities. When these events are being replicated to the target project, the id's are not being updated with the target id.

Please add support for contextualization annotations in the replicator. Thanks!

@bbrandt
Copy link
Author

bbrandt commented Sep 21, 2022

I believe there is a new version of the annotations API that should likely be supported rather than the old specification I documented earlier.

@torbjornopheim
Copy link
Contributor

Hi, @bbrandt :)

As you might know we have run best effort migration scripts that migrate event annotations to the annotations API.

As I understand it, the problem still stands that you want the replicated annotations to point to the replicated files.

One way to potentially solve this would be to create a mapping table during file replication and refer to that when replicating annotations afterwards.

Have I understood correctly?

@bbrandt
Copy link
Author

bbrandt commented Mar 7, 2023

Yes. That was it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants