Skip to content

Conversation

@Steinertech9
Copy link
Contributor

@Steinertech9 Steinertech9 commented Mar 13, 2025

…instead of a local file. resolves #247

@Steinertech9 Steinertech9 added feature New feature or request github_actions Pull requests that update Github_actions code javascript Pull requests that update Javascript code labels Mar 13, 2025
@Steinertech9 Steinertech9 requested a review from frytg March 13, 2025 18:06
@Steinertech9 Steinertech9 self-assigned this Mar 13, 2025
@Steinertech9 Steinertech9 linked an issue Mar 13, 2025 that may be closed by this pull request
@Steinertech9 Steinertech9 force-pushed the dev/247-migrate-from-static-core-data-export-to-ard-core-data-using-fgs branch 3 times, most recently from 950c387 to b0dc958 Compare March 20, 2025 12:49
@Steinertech9 Steinertech9 force-pushed the dev/247-migrate-from-static-core-data-export-to-ard-core-data-using-fgs branch from b0dc958 to f5733c0 Compare March 25, 2025 13:10
Copy link
Member

@frytg frytg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall it looks great, but the current setup would slow down every processed event, since getPublisher gets called for every service of every element. We should either include the full download in the docker container (like in ard-vox), or only load it once upon container boot?

const publisher = await core.getPublisher(service.publisherId)

@Steinertech9
Copy link
Contributor Author

changed it now to retrieve it at the start and just read the file

@Steinertech9 Steinertech9 requested a review from frytg April 11, 2025 12:35
Copy link
Member

@frytg frytg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we shouldn't use console.log in production (use winston/ logger.log({ ... }) instead)

@Steinertech9 Steinertech9 merged commit 4bb86c6 into main May 28, 2025
6 checks passed
@Steinertech9 Steinertech9 deleted the dev/247-migrate-from-static-core-data-export-to-ard-core-data-using-fgs branch May 28, 2025 06:57
@github-actions
Copy link

Docker container is ready!

VERSION:

1.10.2-g702

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request github_actions Pull requests that update Github_actions code javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate from static core data export to ARD Core data (using FGS)

3 participants