Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-13602

Set association DB location at run time, not config time

    XMLWordPrintable

    Details

      Description

      Currently, the location of the association database is specified by AssociationDBSqliteConfig. This makes it difficult to call AssociationTask as a subtask of, e.g., ApPipeTask: the desired behavior is for the database file to be found in the output repository, even if it's not recognized by the Butler, but the repository is specified separately from the task configuration (in particular, it cannot be defaulted).

      It would be helpful if AssociationTask or AssociationDBSqliteTask allowed the database file to be provided as an input argument, so that parent tasks can set it in response to their input arguments.

      This issue will be made obsolete by completion of DM-11767.

        Attachments

          Issue Links

            Activity

            Hide
            krzys Krzysztof Findeisen added a comment - - edited

            Given DM-13672, it may be better to pass the DB information to run instead of the constructor (though, in isolation, the latter approach makes much more sense). [See discussion on DM-13672 about idiomatic task APIs].

            Show
            krzys Krzysztof Findeisen added a comment - - edited Given DM-13672 , it may be better to pass the DB information to run instead of the constructor (though, in isolation, the latter approach makes much more sense). [See discussion on DM-13672 about idiomatic task APIs].
            Hide
            krzys Krzysztof Findeisen added a comment -

            Given DM-15588, is this issue still valid?

            Show
            krzys Krzysztof Findeisen added a comment - Given DM-15588 , is this issue still valid?

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              krzys Krzysztof Findeisen
              Watchers:
              Krzysztof Findeisen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Jenkins

                  No builds found.