culturecreates / footlight-aggregator

A tool to inject entities from Artsdata to footlight
0 stars 0 forks source link

Artsdata minting 'Axion 50 Plus' - Datadog logs #139

Open troughc opened 2 weeks ago

troughc commented 2 weeks ago

@saumier I just minted a. new place - Axion 50 Plus: https://kg.artsdata.ca/entity.html?uri=http%3A%2F%2Fkg.artsdata.ca%2Fresource%2FK5-1023 I saw that a place already existed; however it is a ROOM inside the building - Axion 50 Plus local 118: https://kg.artsdata.ca/entity.html?uri=http%3A%2F%2Fkg.artsdata.ca%2Fresource%2FK5-350

Therefore I decided to create the new entity above for the building (K5-1023).

I then saw that k5-350 (the room) appears twice in the cms with 2 different names when you search. In a place search dropdown, under the Artsdata section you see:

saumier commented 2 weeks ago

@troughc I made 2 changes in Artsdata. I added K5-1023 containedInPlace K5-350. And I changed the link from Axion 50 Plus (646e1884cac2d700645a9ea7) from sameAs K5-350 to instead be sameAs K5-1023.

Please take a look to confirm that I understood the problem.

troughc commented 2 weeks ago

@saumier this looks good, confirmed.

@sahalali @saumier I have a question: I minted the place in Artsdata that is in the Signe Laval data feed yesterday: Image

Should I expect it to be updated in the CMS the next day (today in this specific case), or does it take longer? Image

How long does it take for an artsdata link to appear in the CMS - how often / when do we synchronize?

saumier commented 2 weeks ago

@troughc This is the workflow in Footlight Aggregator that runs daily to add missing Artsdata IDs to CMS. https://github.com/culturecreates/footlight-aggregator/actions/workflows/add-missing-artsdata-ids-to-cms-entities.yml

@sahalali Can you trace the workflow because the CMS place Axion 50 Plus in Signé Laval should be displaying a link from https://cms.footlight.io/dashboard/63457978637093005071a053/places/646e1884cac2d700645a9ea7 to this place http://kg.artsdata.ca/resource/K5-1023

troughc commented 1 week ago

FYI: I noticed that the workflow ran (successfully) 14 hours ago; however, the CMS place Axion 50 Plus in Signé Laval still isn't linked.

sahalali commented 1 week ago

The workflow was running fine however, the entities were not getting updated currently since we changed the entity URI for entities coming from CMS to artsdata. We failed to identify this dependency. The logs are modified to see which all entities got updated.

sahalali commented 1 week ago

Should we add the script to log messages to datadog?

troughc commented 1 week ago

@saumier this wasn't in the Footlight project board so I moved it as I thought that was what you intended to do? If not, please feel free to move it back to the Artsdata project board... cc @sahalali

troughc commented 1 week ago

Should we add the script to log messages to datadog?

Yes please.

saumier commented 4 days ago

@sahalali I'm assigning back to you so you can add the log messages to datadog.