Skip to content

Conversation

@dkinzer
Copy link
Member

@dkinzer dkinzer commented Mar 21, 2022

Also refactors determine_most_recent_date helper method to work with boundwith.

@dkinzer dkinzer requested review from ebtoner and sensei100 March 21, 2022 19:48
Also refactors determine_most_recent_date helper method to work with boundwith.
@dkinzer dkinzer force-pushed the BL-1633-add-a-move-bw-files-to-s-3-dag branch from 0607481 to 2d5bae2 Compare March 21, 2022 19:50
@sensei100 sensei100 changed the title BL-1633: Add dag to move bowundwith files. BL-1633: Add dag to move boundwith files. Mar 21, 2022
}

DAG = airflow.DAG(
"catalog_move_alma_sftp_bw_to_s3",
Copy link
Contributor

Choose a reason for hiding this comment

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

@dkinzer @ebtoner Any thoughts on making the name of this dag a little shorter? I feel like the name is too similar to the one for the alam files. Maybe something like catalog_move_boundwith_to_s3? I'm fine with either decision, just an idea.

Copy link
Contributor

@ebtoner ebtoner Mar 23, 2022

Choose a reason for hiding this comment

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

@dkinzer @sensei100 I'm fine with simplifying the names. Alternatively we could do "boundwith_move_alma_sftp_to_s3"? I think having a different prefix helps in distinguishing it more easily from "catalog_move_alma_sftp_to_s3"?

Copy link
Contributor

@sensei100 sensei100 left a comment

Choose a reason for hiding this comment

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

@dkinzer Will this require the current tasks related to bound with to be updated? I think right now they are looking for this file:
prefix=ALMASFTP_S3_PREFIX + "/alma_bibs__boundwith"

@dkinzer
Copy link
Member Author

dkinzer commented Mar 21, 2022

@sensei100 there is another subtask to refactor the full reindex to work with new boundwith files in an s3 (https://tulibdev.atlassian.net/browse/BL-1634)

@dkinzer dkinzer force-pushed the BL-1633-add-a-move-bw-files-to-s-3-dag branch from d33424f to 0d936ea Compare March 28, 2022 15:08
@dkinzer
Copy link
Member Author

dkinzer commented Mar 28, 2022

@ebtoner I updated the name of the dag per your suggestion. Thanks!

@ebtoner ebtoner merged commit fd392db into main Mar 28, 2022
@ebtoner ebtoner deleted the BL-1633-add-a-move-bw-files-to-s-3-dag branch March 28, 2022 16:01
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

Successfully merging this pull request may close these issues.

4 participants