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

Support token representing iteration identifier within config file parameters and filenames #441

Closed
banerjek opened this issue Nov 28, 2022 · 1 comment

Comments

@banerjek
Copy link
Member

banerjek commented Nov 28, 2022

Object files created by the tools contain the iteration identifier. Since different iterations change the name of the output files, it would be helpful to simply reference the identifier within parameter/file values rather than having all input files be string literals.

For example, instead of
"iterationIdentifier": "current"

{ "name": "bibs_poster", "migrationTaskType": "BatchPoster", "objectType": "Instances", "batchSize": 500, "files": [ { "file_name": "folio_instances_current_bibs.json" } ] }

the syntax
{ "name": "bibs_poster", "migrationTaskType": "BatchPoster", "objectType": "Instances", "batchSize": 500, "files": [ { "file_name": "folio_instances_{iterationIdentifier}_bibs.json" } ] }
could be used. As number and type of files increase, this will simplify config and save time

@banerjek banerjek closed this as completed Dec 7, 2022
@banerjek
Copy link
Member Author

banerjek commented Dec 7, 2022

Not needed

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

1 participant