Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Commit

Permalink
Started adding WorkItems fixtures for integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
diamondap committed Aug 30, 2016
1 parent 859e16a commit 2b3ef70
Showing 1 changed file with 362 additions and 0 deletions.
362 changes: 362 additions & 0 deletions test/fixtures/work_items.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,362 @@
# These fixtures are used in integration tests with the
# APTrust Go services. They're not used for spec tests.

item_1:
created_at: 2016-08-30 15:41:45.054415000 Z
updated_at: 2016-08-30 15:41:45.054415000 Z
name: fake_bag_01.tar
etag: '01010101010101010101'
bucket: aptrust.receiving.institution1.edu
user: system@aptrust.org
note: Item is in receiving bucket
action: Ingest
stage: Receive
status: Pending
outcome: Item is awaiting ingest
bag_date: 2016-08-25 20:04:06.000000000 Z
date: 2016-08-25 20:04:26.000000000 Z
retry: true
pid: 0
institution: inst1

item_2:
created_at: 2016-08-30 15:41:45.062115000 Z
updated_at: 2016-08-30 15:41:45.062115000 Z
name: fake_bag_02.tar
etag: '02020202020202020202'
bucket: aptrust.receiving.institution1.edu
user: system@aptrust.org
note: Item is in receiving bucket
action: Ingest
stage: Receive
status: Pending
outcome: Item is awaiting ingest
bag_date: 2016-08-25 20:04:06.000000000 Z
date: 2016-08-25 20:04:26.000000000 Z
retry: true
pid: 0
institution: inst1

item_3:
created_at: 2016-08-30 15:41:45.067372000 Z
updated_at: 2016-08-30 15:41:45.067372000 Z
name: fake_bag_03.tar
etag: '03030303030303030303'
bucket: aptrust.receiving.institution1.edu
user: system@aptrust.org
note: Item is in receiving bucket
action: Ingest
stage: Receive
status: Pending
outcome: Item is awaiting ingest
bag_date: 2016-08-25 20:04:06.000000000 Z
date: 2016-08-25 20:04:26.000000000 Z
retry: true
pid: 0
institution: inst1

item_4:
created_at: 2016-08-30 15:41:45.073193000 Z
updated_at: 2016-08-30 15:41:45.073193000 Z
name: fake_bag_04.tar
etag: '04040404040404040404'
bucket: aptrust.receiving.institution1.edu
user: system@aptrust.org
note: Item is in receiving bucket
action: Ingest
stage: Receive
status: Pending
outcome: Item is awaiting ingest
bag_date: 2016-08-25 20:04:06.000000000 Z
date: 2016-08-25 20:04:26.000000000 Z
retry: true
pid: 0
institution: inst1

item_5:
created_at: 2016-08-30 15:41:45.078212000 Z
updated_at: 2016-08-30 15:41:45.078212000 Z
name: fake_bag_05.tar
etag: '05050505050505050505'
bucket: aptrust.receiving.institution1.edu
user: system@aptrust.org
note: Item is in receiving bucket
action: Ingest
stage: Receive
status: Pending
outcome: Item is awaiting ingest
bag_date: 2016-08-25 20:04:06.000000000 Z
date: 2016-08-25 20:04:26.000000000 Z
retry: true
pid: 0
institution: inst1

item_6:
created_at: 2016-08-30 15:41:45.083798000 Z
updated_at: 2016-08-30 15:41:45.083798000 Z
name: fake_bag_06.tar
etag: '06060606060606060606'
bucket: aptrust.receiving.institution1.edu
user: system@aptrust.org
note: Item is in receiving bucket
action: Ingest
stage: Receive
status: Pending
outcome: Item is awaiting ingest
bag_date: 2016-08-25 20:04:06.000000000 Z
date: 2016-08-25 20:04:26.000000000 Z
retry: true
pid: 0
institution: inst1

item_7:
created_at: 2016-08-30 15:41:45.089799000 Z
updated_at: 2016-08-30 15:41:45.089799000 Z
name: fake_bag_07.tar
etag: '07070707070707070707'
bucket: aptrust.receiving.institution1.edu
user: system@aptrust.org
note: Item is in receiving bucket
action: Ingest
stage: Receive
status: Pending
outcome: Item is awaiting ingest
bag_date: 2016-08-25 20:04:06.000000000 Z
date: 2016-08-25 20:04:26.000000000 Z
retry: true
pid: 0
institution: inst1

item_8:
created_at: 2016-08-30 15:41:45.095017000 Z
updated_at: 2016-08-30 15:41:45.095017000 Z
name: fake_bag_08.tar
etag: 08080808080808080808
bucket: aptrust.receiving.institution1.edu
user: system@aptrust.org
note: Item is in receiving bucket
action: Ingest
stage: Receive
status: Pending
outcome: Item is awaiting ingest
bag_date: 2016-08-25 20:04:06.000000000 Z
date: 2016-08-25 20:04:26.000000000 Z
retry: true
pid: 0
institution: inst1

item_9:
created_at: 2016-08-30 15:41:45.100735000 Z
updated_at: 2016-08-30 15:41:45.100735000 Z
name: fake_bag_09.tar
etag: 09090909090909090909
bucket: aptrust.receiving.institution1.edu
user: system@aptrust.org
note: Item is in receiving bucket
action: Ingest
stage: Receive
status: Pending
outcome: Item is awaiting ingest
bag_date: 2016-08-25 20:04:06.000000000 Z
date: 2016-08-25 20:04:26.000000000 Z
retry: true
pid: 0
institution: inst1

item_10:
created_at: 2016-08-30 15:41:45.106372000 Z
updated_at: 2016-08-30 15:41:45.106372000 Z
name: fake_bag_10.tar
etag: '10101010101010101010'
bucket: aptrust.receiving.institution1.edu
user: system@aptrust.org
note: Item is in receiving bucket
action: Ingest
stage: Receive
status: Pending
outcome: Item is awaiting ingest
bag_date: 2016-08-25 20:04:06.000000000 Z
date: 2016-08-25 20:04:26.000000000 Z
retry: true
pid: 0
institution: inst1

item_11:
created_at: 2016-08-30 15:41:45.111411000 Z
updated_at: 2016-08-30 15:41:45.111411000 Z
name: fake_bag_11.tar
etag: '11111111111111111111'
bucket: aptrust.receiving.institution2.edu
user: system@aptrust.org
note: Item is in receiving bucket
action: Ingest
stage: Receive
status: Pending
outcome: Item is awaiting ingest
bag_date: 2016-08-25 20:04:06.000000000 Z
date: 2016-08-25 20:04:26.000000000 Z
retry: true
pid: 0
institution: inst2

item_12:
created_at: 2016-08-30 15:41:45.116444000 Z
updated_at: 2016-08-30 15:41:45.116444000 Z
name: fake_bag_12.tar
etag: '12121212121212121212'
bucket: aptrust.receiving.institution2.edu
user: system@aptrust.org
note: Item is in receiving bucket
action: Ingest
stage: Receive
status: Pending
outcome: Item is awaiting ingest
bag_date: 2016-08-25 20:04:06.000000000 Z
date: 2016-08-25 20:04:26.000000000 Z
retry: true
pid: 0
institution: inst2

item_13:
created_at: 2016-08-30 15:41:45.123159000 Z
updated_at: 2016-08-30 15:41:45.123159000 Z
name: fake_bag_13.tar
etag: '13131313131313131313'
bucket: aptrust.receiving.institution2.edu
user: system@aptrust.org
note: Item is in receiving bucket
action: Ingest
stage: Receive
status: Pending
outcome: Item is awaiting ingest
bag_date: 2016-08-25 20:04:06.000000000 Z
date: 2016-08-25 20:04:26.000000000 Z
retry: true
pid: 0
institution: inst2

item_14:
created_at: 2016-08-30 15:41:45.129908000 Z
updated_at: 2016-08-30 15:41:45.129908000 Z
name: fake_bag_14.tar
etag: '14141414141414141414'
bucket: aptrust.receiving.institution2.edu
user: system@aptrust.org
note: Item is in receiving bucket
action: Ingest
stage: Receive
status: Pending
outcome: Item is awaiting ingest
bag_date: 2016-08-25 20:04:06.000000000 Z
date: 2016-08-25 20:04:26.000000000 Z
retry: true
pid: 0
institution: inst2

item_15:
created_at: 2016-08-30 15:41:45.135253000 Z
updated_at: 2016-08-30 15:41:45.135253000 Z
name: fake_bag_15.tar
etag: '15151515151515151515'
bucket: aptrust.receiving.institution2.edu
user: system@aptrust.org
note: Item is in receiving bucket
action: Ingest
stage: Receive
status: Pending
outcome: Item is awaiting ingest
bag_date: 2016-08-25 20:04:06.000000000 Z
date: 2016-08-25 20:04:26.000000000 Z
retry: true
pid: 0
institution: inst2

item_16:
created_at: 2016-08-30 15:41:45.140505000 Z
updated_at: 2016-08-30 15:41:45.140505000 Z
name: fake_bag_16.tar
etag: '16161616161616161616'
bucket: aptrust.receiving.institution2.edu
user: system@aptrust.org
note: Item is in receiving bucket
action: Ingest
stage: Receive
status: Pending
outcome: Item is awaiting ingest
bag_date: 2016-08-25 20:04:06.000000000 Z
date: 2016-08-25 20:04:26.000000000 Z
retry: true
pid: 0
institution: inst2

item_17:
created_at: 2016-08-30 15:41:45.146547000 Z
updated_at: 2016-08-30 15:41:45.146547000 Z
name: fake_bag_17.tar
etag: '17171717171717171717'
bucket: aptrust.receiving.institution2.edu
user: system@aptrust.org
note: Item is in receiving bucket
action: Ingest
stage: Receive
status: Pending
outcome: Item is awaiting ingest
bag_date: 2016-08-25 20:04:06.000000000 Z
date: 2016-08-25 20:04:26.000000000 Z
retry: true
pid: 0
institution: inst2

item_18:
created_at: 2016-08-30 15:41:45.152480000 Z
updated_at: 2016-08-30 15:41:45.152480000 Z
name: fake_bag_18.tar
etag: '18181818181818181818'
bucket: aptrust.receiving.institution2.edu
user: system@aptrust.org
note: Item is in receiving bucket
action: Ingest
stage: Receive
status: Pending
outcome: Item is awaiting ingest
bag_date: 2016-08-25 20:04:06.000000000 Z
date: 2016-08-25 20:04:26.000000000 Z
retry: true
pid: 0
institution: inst2

item_19:
created_at: 2016-08-30 15:41:45.158070000 Z
updated_at: 2016-08-30 15:41:45.158070000 Z
name: fake_bag_19.tar
etag: '19191919191919191919'
bucket: aptrust.receiving.institution2.edu
user: system@aptrust.org
note: Item is in receiving bucket
action: Ingest
stage: Receive
status: Pending
outcome: Item is awaiting ingest
bag_date: 2016-08-25 20:04:06.000000000 Z
date: 2016-08-25 20:04:26.000000000 Z
retry: true
pid: 0
institution: inst2

item_20:
created_at: 2016-08-30 15:41:45.163377000 Z
updated_at: 2016-08-30 15:41:45.163377000 Z
name: fake_bag_20.tar
etag: '20202020202020202020'
bucket: aptrust.receiving.institution2.edu
user: system@aptrust.org
note: Item is in receiving bucket
action: Ingest
stage: Receive
status: Pending
outcome: Item is awaiting ingest
bag_date: 2016-08-25 20:04:06.000000000 Z
date: 2016-08-25 20:04:26.000000000 Z
retry: true
pid: 0
institution: inst2

0 comments on commit 2b3ef70

Please sign in to comment.