[FOLIO-1234] Need Better Bootstrap Data for Loans Created: 27/Apr/18  Updated: 17/Jul/20  Resolved: 17/Jul/20

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Task Priority: P3
Reporter: Cate Boerema (Inactive) Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: ci
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Relates
relates to FOLIO-1313 Convert folio-ansible to use module-s... Closed
Sprint:
Development Team: Prokopovych

 Description   

Purpose: I need some better bootstrap data for testing and demos.

Acceptance criteria:
For 5 users:

  • Each user should have 5 open loans and 3 closed loans
  • All loans should be for items with realistic-looking call numbers (call numbers are specified at the holding)
  • Loans should have loan dates in the past (this is super important) and, ideally, they wouldn't all be the same past date
  • Loans should be initiated by users other than diku_admin (so the "Source" showing for the checkout action on Loan details should be users other than diku_admin)
  • 1 of the open loans should have been renewed already twice (renewals should also have "Source" other than diku_admin)
  • 1 of the open loans should have requests on it (renewals should also have "Source" other than diku_admin)


 Comments   
Comment by Cate Boerema (Inactive) [ 27/Apr/18 ]

Wayne Schneider, Jakub Skoczen I am trying to prep for a demo of RA features which Andrea Loigman will be giving at WOLFcon and I really need some better bootstrap data. Is this something we could do fairly easily? It would be very helpful for testing, as well. Thanks!

Comment by Marc Johnson [ 05/Sep/18 ]

Cate Boerema This came up in conversation during the DevOps and Testing meeting today.

Is this intended to be included in the 2018 Q3 release?

My interpretation of the need expressed is that these users and loans are intended to be used for testing of new circulation related features. Does that fit with your understanding?

If that is the case, we may need to adapt the way in which we generate these sample loans to mimic the way in which the reference UI performs these tasks (e.g. using the Check Out API) in order for them to preserve the correctness of the starting position of the testing.

(This process will likely need to also change when we need a service point in order to perform a check out in the API)

Copying in Wayne Schneider and Jakub Skoczen who had to listen to my incessant rambling during the call.

Comment by Cate Boerema (Inactive) [ 06/Sep/18 ]

Hi Marc Johnson, Wayne Schneider and Jakub Skoczen. This is a an old issue at this point. It was created back when we were prepping demos for WOLFcon. There were two main objectives here:

  1. To provide some good looking demo data so that you don't always need to recreate this data anytime you are doing a demo (since the environments all update nightly, this can be a pain)
  2. To enable testing of certain loan functionality that requires the passage of time. I don't have the story links handy right now, but there are some things that we can't really test unless we have loans that have a create date in the past. For example, you can't renew a loan right after it is created because it won't change the due date (at least one day has to have passed before renewal is allowed).

This isn't a must-have for the Q3 release, but I think it's still something we'd like. If it makes more sense to hold off until we have a better handle on what data we want to capture and display for service point, I am okay with that.

It's probably also a good idea to loop in Emma Boettcher and Adam Shire to see if they have any additional thoughts on what bootstrap data would be good to include

Comment by Marc Johnson [ 15/Jul/20 ]

Cate Boerema Is this still needed?

Comment by Cate Boerema (Inactive) [ 17/Jul/20 ]

Marc Johnson I don't think we need this anymore now that we have longer lived test environments (bugfest and scratch)

Generated at Thu Feb 08 23:11:49 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.