Created
November 12, 2021 21:31
-
-
Save mark-dce/4e349e437b425c2cccfeae53b8778546 to your computer and use it in GitHub Desktop.
New Work Creation Using the Actor Stack (Unabridged)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):037:0> stack = Hyrax::CurationConcern.actor | |
=> #<Hyrax::Actors::OptimisticLockValidator:0x00007f93f0c7c280 @next_actor=#<Hyrax::Actors::CreateWithRemoteFilesActor:0x000... | |
irb(main):038:0> user = User.where(email: 'mark@curationexperts.com').first | |
User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["email", "mark@curationexperts.com"], ["LIMIT", 1]] | |
=> #<User id: 3, email: "mark@curationexperts.com", created_at: "2021-11-10 22:05:32", updated_at: "2021-11-10 22:06:23", gu... | |
irb(main):039:0> attributes = {:title=>["Testing Actor Stack"], :rights_statement=>["http://rightsstatements.org/vocab/UND/1.0/"] | |
, :creator=>["Me"]} | |
=> {:title=>["Testing Actor Stack"], :rights_statement=>["http://rightsstatements.org/vocab/UND/1.0/"], :creator=>["Me"]} | |
irb(main):040:0> env = Hyrax::Actors::Environment.new(curation_concern, user.ability, attributes) | |
Role Load (0.8ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_users" ON "roles"."id" = "roles_users"."role_id" WHERE "roles_users"."user_id" = $1 [["user_id", 3]] | |
Usergroups are ["public", "admin", "registered"] | |
Role Exists (0.9ms) SELECT 1 AS one FROM "roles" INNER JOIN "roles_users" ON "roles"."id" = "roles_users"."role_id" WHERE "roles_users"."user_id" = $1 AND "roles"."name" = $2 LIMIT $3 [["user_id", 3], ["name", "admin"], ["LIMIT", 1]] | |
Role Exists (0.7ms) SELECT 1 AS one FROM "roles" INNER JOIN "roles_users" ON "roles"."id" = "roles_users"."role_id" WHERE "roles_users"."user_id" = $1 AND "roles"."name" = $2 LIMIT $3 [["user_id", 3], ["name", "admin"], ["LIMIT", 1]] | |
Hyrax::Feature Load (0.4ms) SELECT "hyrax_features".* FROM "hyrax_features" WHERE "hyrax_features"."key" = $1 ORDER BY "hyrax_features"."id" ASC LIMIT $2 [["key", "transfer_works"], ["LIMIT", 1]] | |
Hyrax::Feature Load (0.4ms) SELECT "hyrax_features".* FROM "hyrax_features" WHERE "hyrax_features"."key" = $1 ORDER BY "hyrax_features"."id" ASC LIMIT $2 [["key", "proxy_deposit"], ["LIMIT", 1]] | |
=> #<Hyrax::Actors::Environment:0x00007f93e6d425e8 @curation_concern=#<Work id: nil, head: [], tail: [], depositor: nil, tit... | |
irb(main):041:0> stack.create(env) | |
Load LDP (5.9ms) http://localhost:8984/rest/dev/ad/mi/n_/se/admin_set/default Service: 404580 | |
Hyrax::PermissionTemplate Load (0.4ms) SELECT "permission_templates".* FROM "permission_templates" WHERE "permission_templates"."source_id" = $1 LIMIT $2 [["source_id", "admin_set/default"], ["LIMIT", 1]] | |
Hyrax::PermissionTemplate Load (0.2ms) SELECT "permission_templates".* FROM "permission_templates" WHERE "permission_templates"."source_id" = $1 LIMIT $2 [["source_id", "admin_set/default"], ["LIMIT", 1]] | |
Hyrax::PermissionTemplate Load (0.2ms) SELECT "permission_templates".* FROM "permission_templates" WHERE "permission_templates"."source_id" = $1 LIMIT $2 [["source_id", "admin_set/default"], ["LIMIT", 1]] | |
(0.2ms) SELECT "permission_template_accesses"."agent_id" FROM "permission_template_accesses" WHERE "permission_template_accesses"."permission_template_id" = $1 AND "permission_template_accesses"."agent_type" = $2 AND "permission_template_accesses"."access" = $3 [["permission_template_id", 1], ["agent_type", "group"], ["access", "manage"]] | |
(0.6ms) SELECT "permission_template_accesses"."agent_id" FROM "permission_template_accesses" WHERE "permission_template_accesses"."permission_template_id" = $1 AND "permission_template_accesses"."agent_type" = $2 AND "permission_template_accesses"."access" = $3 [["permission_template_id", 1], ["agent_type", "user"], ["access", "manage"]] | |
(0.2ms) SELECT "permission_template_accesses"."agent_id" FROM "permission_template_accesses" WHERE "permission_template_accesses"."permission_template_id" = $1 AND "permission_template_accesses"."agent_type" = $2 AND "permission_template_accesses"."access" = $3 [["permission_template_id", 1], ["agent_type", "group"], ["access", "view"]] | |
(0.2ms) SELECT "permission_template_accesses"."agent_id" FROM "permission_template_accesses" WHERE "permission_template_accesses"."permission_template_id" = $1 AND "permission_template_accesses"."agent_type" = $2 AND "permission_template_accesses"."access" = $3 [["permission_template_id", 1], ["agent_type", "user"], ["access", "view"]] | |
Load LDP (4.2ms) http://localhost:8984/rest/dev/62/5a/98/e9/625a98e9-d5f2-4074-9d9f-19b6a501e6ae Service: 404580 | |
Load LDP (4.2ms) http://localhost:8984/rest/dev/dc/38/64/e6/dc3864e6-dbfb-4afa-a322-c682f9299a30 Service: 404580 | |
Load LDP (4.5ms) http://localhost:8984/rest/dev/87/ba/f7/d8/87baf7d8-2021-4524-a837-1a9e86993dda Service: 404580 | |
(0.5ms) BEGIN | |
MinterState Load (1.4ms) SELECT "minter_states".* FROM "minter_states" WHERE "minter_states"."namespace" = $1 AND "minter_states"."template" = $2 LIMIT $3 FOR UPDATE [["namespace", "default"], ["template", ".reeddeeddk"], ["LIMIT", 1]] | |
MinterState Exists (0.7ms) SELECT 1 AS one FROM "minter_states" WHERE "minter_states"."namespace" = $1 AND "minter_states"."id" != $2 LIMIT $3 [["namespace", "default"], ["id", 1], ["LIMIT", 1]] | |
MinterState Update (1.2ms) UPDATE "minter_states" SET "counters" = $1, "seq" = $2, "rand" = $3, "updated_at" = $4 WHERE "minter_states"."id" = $5 [["counters", "[{\"value\":0,\"max\":24139284},{\"value\":24139284,\"max\":48278568},{\"value\":48278568,\"max\":72417852},{\"value\":72417852,\"max\":96557136},{\"value\":96557136,\"max\":120696420},{\"value\":120696420,\"max\":144835704},{\"value\":144835704,\"max\":168974988},{\"value\":168974988,\"max\":193114272},{\"value\":193114272,\"max\":217253556},{\"value\":217253556,\"max\":241392840},{\"value\":241392840,\"max\":265532124},{\"value\":265532124,\"max\":289671408},{\"value\":289671408,\"max\":313810692},{\"value\":313810692,\"max\":337949976},{\"value\":337949976,\"max\":362089260},{\"value\":362089260,\"max\":386228544},{\"value\":386228544,\"max\":410367828},{\"value\":410367828,\"max\":434507112},{\"value\":434507112,\"max\":458646396},{\"value\":458646396,\"max\":482785680},{\"value\":482785680,\"max\":506924964},{\"value\":506924964,\"max\":531064248},{\"value\":531064248,\"max\":555203532},{\"value\":555203532,\"max\":579342816},{\"value\":579342816,\"max\":603482100},{\"value\":603482100,\"max\":627621384},{\"value\":627621384,\"max\":651760668},{\"value\":651760668,\"max\":675899952},{\"value\":675899952,\"max\":700039236},{\"value\":700039236,\"max\":724178520},{\"value\":724178520,\"max\":748317804},{\"value\":748317804,\"max\":772457088},{\"value\":772457088,\"max\":796596372},{\"value\":796596372,\"max\":820735656},{\"value\":820735656,\"max\":844874940},{\"value\":844874940,\"max\":869014224},{\"value\":869014224,\"max\":893153508},{\"value\":893153508,\"max\":917292792},{\"value\":917292792,\"max\":941432076},{\"value\":941432076,\"max\":965571360},{\"value\":965571360,\"max\":989710644},{\"value\":989710644,\"max\":1013849928},{\"value\":1013849928,\"max\":1037989212},{\"value\":1037989212,\"max\":1062128496},{\"value\":1062128496,\"max\":1086267780},{\"value\":1086267780,\"max\":1110407064},{\"value\":1110407064,\"max\":1134546348},{\"value\":1134546348,\"max\":1158685632},{\"value\":1158685632,\"max\":1182824916},{\"value\":1182824916,\"max\":1206964200},{\"value\":1206964200,\"max\":1231103484},{\"value\":1231103484,\"max\":1255242768},{\"value\":1255242768,\"max\":1279382052},{\"value\":1279382052,\"max\":1303521336},{\"value\":1303521336,\"max\":1327660620},{\"value\":1327660620,\"max\":1351799904},{\"value\":1351799904,\"max\":1375939188},{\"value\":1375939188,\"max\":1400078472},{\"value\":1400078472,\"max\":1424217756},{\"value\":1424217756,\"max\":1448357040},{\"value\":1448357040,\"max\":1472496324},{\"value\":1472496324,\"max\":1496635608},{\"value\":1496635608,\"max\":1520774892},{\"value\":1520774892,\"max\":1544914176},{\"value\":1544914176,\"max\":1569053460},{\"value\":1569053460,\"max\":1593192744},{\"value\":1593192744,\"max\":1617332028},{\"value\":1617332028,\"max\":1641471312},{\"value\":1641471312,\"max\":1665610596},{\"value\":1665610596,\"max\":1689749880},{\"value\":1689749880,\"max\":1713889164},{\"value\":1713889164,\"max\":1738028448},{\"value\":1738028448,\"max\":1762167732},{\"value\":1762167732,\"max\":1786307016},{\"value\":1786307016,\"max\":1810446300},{\"value\":1810446300,\"max\":1834585584},{\"value\":1834585584,\"max\":1858724868},{\"value\":1858724868,\"max\":1882864152},{\"value\":1882864152,\"max\":1907003436},{\"value\":1907003436,\"max\":1931142720},{\"value\":1931142720,\"max\":1955282004},{\"value\":1955282004,\"max\":1979421288},{\"value\":1979421288,\"max\":2003560572},{\"value\":2003560572,\"max\":2027699856},{\"value\":2027699856,\"max\":2051839140},{\"value\":2051839140,\"max\":2075978424},{\"value\":2075978424,\"max\":2100117708},{\"value\":2100117708,\"max\":2124256992},{\"value\":2124256992,\"max\":2148396276},{\"value\":2148396276,\"max\":2172535560},{\"value\":2172535560,\"max\":2196674844},{\"value\":2196674844,\"max\":2220814128},{\"value\":2220814128,\"max\":2244953412},{\"value\":2244953412,\"max\":2269092696},{\"value\":2269092696,\"max\":2293231980},{\"value\":2293231980,\"max\":2317371264},{\"value\":2317371264,\"max\":2341510548},{\"value\":2341510548,\"max\":2365649832},{\"value\":2365649832,\"max\":2389789116},{\"value\":2389789116,\"max\":2413928400},{\"value\":2413928400,\"max\":2438067684},{\"value\":2438067684,\"max\":2462206968},{\"value\":2462206968,\"max\":2486346252},{\"value\":2486346252,\"max\":2510485536},{\"value\":2510485536,\"max\":2534624820},{\"value\":2534624820,\"max\":2558764104},{\"value\":2558764104,\"max\":2582903388},{\"value\":2582903388,\"max\":2607042672},{\"value\":2607042672,\"max\":2631181956},{\"value\":2631181956,\"max\":2655321240},{\"value\":2655321240,\"max\":2679460524},{\"value\":2679460524,\"max\":2703599808},{\"value\":2703599809,\"max\":2727739092},{\"value\":2727739092,\"max\":2751878376},{\"value\":2751878377,\"max\":2776017660},{\"value\":2776017660,\"max\":2800156944},{\"value\":2800156944,\"max\":2824296228},{\"value\":2824296228,\"max\":2848435512},{\"value\":2848435512,\"max\":2872574796},{\"value\":2872574796,\"max\":2896714080},{\"value\":2896714080,\"max\":2920853364},{\"value\":2920853364,\"max\":2944992648},{\"value\":2944992648,\"max\":2969131932},{\"value\":2969131932,\"max\":2993271216},{\"value\":2993271216,\"max\":3017410500},{\"value\":3017410500,\"max\":3041549784},{\"value\":3041549784,\"max\":3065689068},{\"value\":3065689068,\"max\":3089828352},{\"value\":3089828352,\"max\":3113967636},{\"value\":3113967636,\"max\":3138106920},{\"value\":3138106920,\"max\":3162246204},{\"value\":3162246204,\"max\":3186385488},{\"value\":3186385488,\"max\":3210524772},{\"value\":3210524772,\"max\":3234664056},{\"value\":3234664056,\"max\":3258803340},{\"value\":3258803340,\"max\":3282942624},{\"value\":3282942624,\"max\":3307081908},{\"value\":3307081908,\"max\":3331221192},{\"value\":3331221192,\"max\":3355360476},{\"value\":3355360476,\"max\":3379499760},{\"value\":3379499760,\"max\":3403639044},{\"value\":3403639044,\"max\":3427778328},{\"value\":3427778328,\"max\":3451917612},{\"value\":3451917612,\"max\":3476056896},{\"value\":3476056896,\"max\":3500196180},{\"value\":3500196180,\"max\":3524335464},{\"value\":3524335464,\"max\":3548474748},{\"value\":3548474748,\"max\":3572614032},{\"value\":3572614032,\"max\":3596753316},{\"value\":3596753316,\"max\":3620892600},{\"value\":3620892600,\"max\":3645031884},{\"value\":3645031884,\"max\":3669171168},{\"value\":3669171168,\"max\":3693310452},{\"value\":3693310453,\"max\":3717449736},{\"value\":3717449736,\"max\":3741589020},{\"value\":3741589020,\"max\":3765728304},{\"value\":3765728304,\"max\":3789867588},{\"value\":3789867588,\"max\":3814006872},{\"value\":3814006872,\"max\":3838146156},{\"value\":3838146156,\"max\":3862285440},{\"value\":3862285440,\"max\":3886424724},{\"value\":3886424724,\"max\":3910564008},{\"value\":3910564008,\"max\":3934703292},{\"value\":3934703292,\"max\":3958842576},{\"value\":3958842576,\"max\":3982981860},{\"value\":3982981860,\"max\":4007121144},{\"value\":4007121144,\"max\":4031260428},{\"value\":4031260428,\"max\":4055399712},{\"value\":4055399712,\"max\":4079538996},{\"value\":4079538996,\"max\":4103678280},{\"value\":4103678281,\"max\":4127817564},{\"value\":4127817564,\"max\":4151956848},{\"value\":4151956848,\"max\":4176096132},{\"value\":4176096132,\"max\":4200235416},{\"value\":4200235416,\"max\":4224374700},{\"value\":4224374700,\"max\":4248513984},{\"value\":4248513984,\"max\":4272653268},{\"value\":4272653268,\"max\":4296792552},{\"value\":4296792552,\"max\":4320931836},{\"value\":4320931836,\"max\":4345071120},{\"value\":4345071122,\"max\":4369210404},{\"value\":4369210404,\"max\":4393349688},{\"value\":4393349688,\"max\":4417488972},{\"value\":4417488972,\"max\":4441628256},{\"value\":4441628256,\"max\":4465767540},{\"value\":4465767540,\"max\":4489906824},{\"value\":4489906824,\"max\":4514046108},{\"value\":4514046108,\"max\":4538185392},{\"value\":4538185392,\"max\":4562324676},{\"value\":4562324676,\"max\":4586463960},{\"value\":4586463960,\"max\":4610603244},{\"value\":4610603244,\"max\":4634742528},{\"value\":4634742528,\"max\":4658881812},{\"value\":4658881813,\"max\":4683021096},{\"value\":4683021096,\"max\":4707160380},{\"value\":4707160380,\"max\":4731299664},{\"value\":4731299664,\"max\":4755438948},{\"value\":4755438948,\"max\":4779578232},{\"value\":4779578232,\"max\":4803717516},{\"value\":4803717516,\"max\":4827856800},{\"value\":4827856800,\"max\":4851996084},{\"value\":4851996084,\"max\":4876135368},{\"value\":4876135368,\"max\":4900274652},{\"value\":4900274652,\"max\":4924413936},{\"value\":4924413936,\"max\":4948553220},{\"value\":4948553220,\"max\":4972692504},{\"value\":4972692504,\"max\":4996831788},{\"value\":4996831788,\"max\":5020971072},{\"value\":5020971072,\"max\":5045110356},{\"value\":5045110356,\"max\":5069249640},{\"value\":5069249640,\"max\":5093388924},{\"value\":5093388924,\"max\":5117528208},{\"value\":5117528208,\"max\":5141667492},{\"value\":5141667492,\"max\":5165806776},{\"value\":5165806776,\"max\":5189946060},{\"value\":5189946060,\"max\":5214085344},{\"value\":5214085344,\"max\":5238224628},{\"value\":5238224628,\"max\":5262363912},{\"value\":5262363912,\"max\":5286503196},{\"value\":5286503197,\"max\":5310642480},{\"value\":5310642480,\"max\":5334781764},{\"value\":5334781764,\"max\":5358921048},{\"value\":5358921048,\"max\":5383060332},{\"value\":5383060332,\"max\":5407199616},{\"value\":5407199616,\"max\":5431338900},{\"value\":5431338900,\"max\":5455478184},{\"value\":5455478184,\"max\":5479617468},{\"value\":5479617468,\"max\":5503756752},{\"value\":5503756752,\"max\":5527896036},{\"value\":5527896036,\"max\":5552035320},{\"value\":5552035320,\"max\":5576174604},{\"value\":5576174604,\"max\":5600313888},{\"value\":5600313888,\"max\":5624453172},{\"value\":5624453172,\"max\":5648592456},{\"value\":5648592456,\"max\":5672731740},{\"value\":5672731740,\"max\":5696871024},{\"value\":5696871024,\"max\":5721010308},{\"value\":5721010308,\"max\":5745149592},{\"value\":5745149592,\"max\":5769288876},{\"value\":5769288876,\"max\":5793428160},{\"value\":5793428160,\"max\":5817567444},{\"value\":5817567444,\"max\":5841706728},{\"value\":5841706728,\"max\":5865846012},{\"value\":5865846012,\"max\":5889985296},{\"value\":5889985296,\"max\":5914124580},{\"value\":5914124580,\"max\":5938263864},{\"value\":5938263864,\"max\":5962403148},{\"value\":5962403148,\"max\":5986542432},{\"value\":5986542432,\"max\":6010681716},{\"value\":6010681716,\"max\":6034821000},{\"value\":6034821001,\"max\":6058960284},{\"value\":6058960284,\"max\":6083099568},{\"value\":6083099568,\"max\":6107238852},{\"value\":6107238852,\"max\":6131378136},{\"value\":6131378136,\"max\":6155517420},{\"value\":6155517420,\"max\":6179656704},{\"value\":6179656704,\"max\":6203795988},{\"value\":6203795988,\"max\":6227935272},{\"value\":6227935272,\"max\":6252074556},{\"value\":6252074556,\"max\":6276213840},{\"value\":6276213840,\"max\":6300353124},{\"value\":6300353124,\"max\":6324492408},{\"value\":6324492408,\"max\":6348631692},{\"value\":6348631692,\"max\":6372770976},{\"value\":6372770976,\"max\":6396910260},{\"value\":6396910260,\"max\":6421049544},{\"value\":6421049544,\"max\":6445188828},{\"value\":6445188828,\"max\":6469328112},{\"value\":6469328112,\"max\":6493467396},{\"value\":6493467396,\"max\":6517606680},{\"value\":6517606680,\"max\":6541745964},{\"value\":6541745964,\"max\":6565885248},{\"value\":6565885248,\"max\":6590024532},{\"value\":6590024532,\"max\":6614163816},{\"value\":6614163816,\"max\":6638303100},{\"value\":6638303100,\"max\":6662442384},{\"value\":6662442384,\"max\":6686581668},{\"value\":6686581668,\"max\":6710720952},{\"value\":6710720952,\"max\":6734860236},{\"value\":6734860236,\"max\":6758999520},{\"value\":6758999520,\"max\":6783138804},{\"value\":6783138804,\"max\":6807278088},{\"value\":6807278088,\"max\":6831417372},{\"value\":6831417372,\"max\":6855556656},{\"value\":6855556656,\"max\":6879695940},{\"value\":6879695940,\"max\":6903835224},{\"value\":6903835224,\"max\":6927974508},{\"value\":6927974508,\"max\":6952113792},{\"value\":6952113792,\"max\":6976253076},{\"value\":6976253076,\"max\":7000392360},{\"value\":7000392360,\"max\":7024531644},{\"value\":7024531644,\"max\":7048670928},{\"value\":7048670928,\"max\":7072810000}]"], ["seq", 9], ["rand", "<2537 bytes of binary data>"], ["updated_at", "2021-11-12 21:28:37.947405"], ["id", 1]] | |
(0.7ms) COMMIT | |
Load LDP (4.7ms) http://localhost:8984/rest/dev/c2/47/ds/08/c247ds08x Service: 404580 | |
Load LDP (3.2ms) http://localhost:8984/rest/dev/c2/47/ds/08/c247ds08x/list_source Service: 404580 | |
Load LDP (3.8ms) http://localhost:8984/rest/dev/c2/47/ds/08/c247ds08x/list_source Service: 404580 | |
Load LDP (4.4ms) http://localhost:8984/rest/dev/c2/47/ds/08/c247ds08x Service: 404580 | |
Sipity::Entity Load (0.7ms) SELECT "sipity_entities".* FROM "sipity_entities" WHERE "sipity_entities"."proxy_for_global_id" = $1 LIMIT $2 [["proxy_for_global_id", "gid://tenejo/Work/c247ds08x"], ["LIMIT", 1]] | |
Load LDP (4.5ms) http://localhost:8984/rest/dev/ad/mi/n_/se/admin_set/default Service: 404580 | |
Load LDP (9.8ms) http://localhost:8984/rest/dev/62/5a/98/e9/625a98e9-d5f2-4074-9d9f-19b6a501e6ae Service: 404580 | |
Starting nested indexing of ID="c247ds08x" | |
Starting indexing ID="c247ds08x" | |
Load LDP (7.2ms) http://localhost:8984/rest/dev/c2/47/ds/08/c247ds08x Service: 404580 | |
Load LDP (5.7ms) http://localhost:8984/rest/dev/c2/47/ds/08/c247ds08x Service: 404580 | |
Sipity::Entity Load (0.5ms) SELECT "sipity_entities".* FROM "sipity_entities" WHERE "sipity_entities"."proxy_for_global_id" = $1 LIMIT $2 [["proxy_for_global_id", "gid://tenejo/Work/c247ds08x"], ["LIMIT", 1]] | |
Load LDP (6.0ms) http://localhost:8984/rest/dev/ad/mi/n_/se/admin_set/default Service: 404580 | |
Load LDP (4.2ms) http://localhost:8984/rest/dev/dc/38/64/e6/dc3864e6-dbfb-4afa-a322-c682f9299a30 Service: 404580 | |
Load LDP (4.7ms) http://localhost:8984/rest/dev/87/ba/f7/d8/87baf7d8-2021-4524-a837-1a9e86993dda Service: 404580 | |
Ending indexing ID="c247ds08x" | |
Ending nested indexing of ID="c247ds08x" | |
Load LDP (4.7ms) http://localhost:8984/rest/dev/c2/47/ds/08/c247ds08x/list_source Service: 404580 | |
Load LDP (4.9ms) http://localhost:8984/rest/dev/62/5a/98/e9/625a98e9-d5f2-4074-9d9f-19b6a501e6ae/3b/99/f9/ff/3b99f9ff-4b72-4a9b-8022-c6da1e557f3d Service: 404580 | |
Load LDP (5.3ms) http://localhost:8984/rest/dev/c2/47/ds/08/c247ds08x Service: 404580 | |
Sipity::Entity Load (0.4ms) SELECT "sipity_entities".* FROM "sipity_entities" WHERE "sipity_entities"."proxy_for_global_id" = $1 LIMIT $2 [["proxy_for_global_id", "gid://tenejo/Work/c247ds08x"], ["LIMIT", 1]] | |
Load LDP (5.7ms) http://localhost:8984/rest/dev/62/5a/98/e9/625a98e9-d5f2-4074-9d9f-19b6a501e6ae Service: 404580 | |
Starting nested indexing of ID="c247ds08x" | |
Starting indexing ID="c247ds08x" | |
Load LDP (7.5ms) http://localhost:8984/rest/dev/c2/47/ds/08/c247ds08x Service: 404580 | |
Load LDP (7.6ms) http://localhost:8984/rest/dev/c2/47/ds/08/c247ds08x Service: 404580 | |
Sipity::Entity Load (0.3ms) SELECT "sipity_entities".* FROM "sipity_entities" WHERE "sipity_entities"."proxy_for_global_id" = $1 LIMIT $2 [["proxy_for_global_id", "gid://tenejo/Work/c247ds08x"], ["LIMIT", 1]] | |
Load LDP (4.8ms) http://localhost:8984/rest/dev/62/5a/98/e9/625a98e9-d5f2-4074-9d9f-19b6a501e6ae Service: 404580 | |
Load LDP (4.5ms) http://localhost:8984/rest/dev/62/5a/98/e9/625a98e9-d5f2-4074-9d9f-19b6a501e6ae Service: 404580 | |
Load LDP (4.7ms) http://localhost:8984/rest/dev/62/5a/98/e9/625a98e9-d5f2-4074-9d9f-19b6a501e6ae/3b/99/f9/ff/3b99f9ff-4b72-4a9b-8022-c6da1e557f3d Service: 404580 | |
Load LDP (4.0ms) http://localhost:8984/rest/dev/ad/mi/n_/se/admin_set/default Service: 404580 | |
Load LDP (3.9ms) http://localhost:8984/rest/dev/dc/38/64/e6/dc3864e6-dbfb-4afa-a322-c682f9299a30 Service: 404580 | |
Load LDP (6.5ms) http://localhost:8984/rest/dev/87/ba/f7/d8/87baf7d8-2021-4524-a837-1a9e86993dda Service: 404580 | |
Ending indexing ID="c247ds08x" | |
Ending nested indexing of ID="c247ds08x" | |
Load LDP (3.1ms) http://localhost:8984/rest/dev/c2/47/ds/08/c247ds08x/list_source Service: 404580 | |
Enqueued ContentDepositEventJob (Job ID: 9619b4f5-9a4a-4e37-86ff-1caf845a6057) to Sidekiq(default) with arguments: #<GlobalID:0x00007f9413fb5bb8 @uri=#<URI::GID gid://tenejo/Work/c247ds08x>>, #<GlobalID:0x00007f9413fc04a0 @uri=#<URI::GID gid://tenejo/User/3>> | |
Sipity::Workflow Load (0.6ms) SELECT "sipity_workflows".* FROM "sipity_workflows" WHERE "sipity_workflows"."active" = $1 AND "sipity_workflows"."permission_template_id" IN (SELECT "permission_templates"."id" FROM "permission_templates" WHERE "permission_templates"."source_id" = 'admin_set/default') ORDER BY "sipity_workflows"."id" ASC LIMIT $2 [["active", true], ["LIMIT", 1]] | |
(0.3ms) SELECT "sipity_workflow_state_actions"."workflow_action_id" FROM "sipity_workflow_state_actions" | |
Sipity::WorkflowAction Load (0.3ms) SELECT "sipity_workflow_actions".* FROM "sipity_workflow_actions" WHERE "sipity_workflow_actions"."workflow_id" = $1 AND (id NOT IN (2,2,3,4,5,5,5)) ORDER BY "sipity_workflow_actions"."id" ASC LIMIT $2 [["workflow_id", 2], ["LIMIT", 1]] | |
Sipity::Workflow Load (0.4ms) SELECT "sipity_workflows".* FROM "sipity_workflows" WHERE "sipity_workflows"."active" = $1 AND "sipity_workflows"."permission_template_id" IN (SELECT "permission_templates"."id" FROM "permission_templates" WHERE "permission_templates"."source_id" = 'admin_set/default') ORDER BY "sipity_workflows"."id" ASC LIMIT $2 [["active", true], ["LIMIT", 1]] | |
(0.2ms) BEGIN | |
Sipity::Entity Create (0.3ms) INSERT INTO "sipity_entities" ("proxy_for_global_id", "workflow_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["proxy_for_global_id", "gid://tenejo/Work/c247ds08x"], ["workflow_id", 2], ["created_at", "2021-11-12 21:28:38.665774"], ["updated_at", "2021-11-12 21:28:38.665774"]] | |
(0.5ms) COMMIT | |
Sipity::Workflow Load (0.5ms) SELECT "sipity_workflows".* FROM "sipity_workflows" WHERE "sipity_workflows"."active" = $1 AND "sipity_workflows"."permission_template_id" IN (SELECT "permission_templates"."id" FROM "permission_templates" WHERE "permission_templates"."source_id" = 'admin_set/default') ORDER BY "sipity_workflows"."id" ASC LIMIT $2 [["active", true], ["LIMIT", 1]] | |
Sipity::Role Load (0.3ms) SELECT "sipity_roles".* FROM "sipity_roles" WHERE "sipity_roles"."name" = $1 LIMIT $2 [["name", "depositing"], ["LIMIT", 1]] | |
Sipity::Agent Load (0.4ms) SELECT "sipity_agents".* FROM "sipity_agents" WHERE "sipity_agents"."proxy_for_id" = $1 AND "sipity_agents"."proxy_for_type" = $2 LIMIT $3 [["proxy_for_id", "3"], ["proxy_for_type", "User"], ["LIMIT", 1]] | |
Sipity::WorkflowRole Load (0.3ms) SELECT "sipity_workflow_roles".* FROM "sipity_workflow_roles" WHERE "sipity_workflow_roles"."role_id" = $1 AND "sipity_workflow_roles"."workflow_id" = $2 LIMIT $3 [["role_id", 3], ["workflow_id", 2], ["LIMIT", 1]] | |
Sipity::EntitySpecificResponsibility Load (0.4ms) SELECT "sipity_entity_specific_responsibilities".* FROM "sipity_entity_specific_responsibilities" WHERE "sipity_entity_specific_responsibilities"."workflow_role_id" = $1 AND "sipity_entity_specific_responsibilities"."entity_id" = $2 AND "sipity_entity_specific_responsibilities"."agent_id" = $3 LIMIT $4 [["workflow_role_id", 6], ["entity_id", 6], ["agent_id", 3], ["LIMIT", 1]] | |
(0.2ms) BEGIN | |
Sipity::EntitySpecificResponsibility Create (0.3ms) INSERT INTO "sipity_entity_specific_responsibilities" ("workflow_role_id", "entity_id", "agent_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["workflow_role_id", 6], ["entity_id", 6], ["agent_id", 3], ["created_at", "2021-11-12 21:28:38.674335"], ["updated_at", "2021-11-12 21:28:38.674335"]] | |
(0.5ms) COMMIT | |
Sipity::Entity Load (0.2ms) SELECT "sipity_entities".* FROM "sipity_entities" WHERE "sipity_entities"."proxy_for_global_id" = $1 LIMIT $2 [["proxy_for_global_id", "gid://tenejo/Work/c247ds08x"], ["LIMIT", 1]] | |
(0.2ms) BEGIN | |
Sipity::Workflow Load (0.2ms) SELECT "sipity_workflows".* FROM "sipity_workflows" WHERE "sipity_workflows"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] | |
Sipity::Entity Update (0.5ms) UPDATE "sipity_entities" SET "workflow_state_id" = $1, "updated_at" = $2 WHERE "sipity_entities"."id" = $3 [["workflow_state_id", 4], ["updated_at", "2021-11-12 21:28:38.703103"], ["id", 6]] | |
(0.4ms) COMMIT | |
Sipity::NotifiableContext Load (0.3ms) SELECT "sipity_notifiable_contexts".* FROM "sipity_notifiable_contexts" WHERE "sipity_notifiable_contexts"."scope_for_notification_id" = $1 AND "sipity_notifiable_contexts"."scope_for_notification_type" = $2 [["scope_for_notification_id", 6], ["scope_for_notification_type", "Sipity::WorkflowAction"]] | |
Sipity::Method Exists (0.3ms) SELECT 1 AS one FROM "sipity_workflow_methods" WHERE "sipity_workflow_methods"."workflow_action_id" = $1 LIMIT $2 [["workflow_action_id", 6], ["LIMIT", 1]] | |
Sipity::Method Load (0.2ms) SELECT "sipity_workflow_methods".* FROM "sipity_workflow_methods" WHERE "sipity_workflow_methods"."workflow_action_id" = $1 ORDER BY "sipity_workflow_methods"."weight" ASC [["workflow_action_id", 6]] | |
Enqueued Hyrax::GrantEditToMembersJob (Job ID: f4cfb1aa-7a3c-427e-8ade-ae2ef159f669) to Sidekiq(default) with arguments: #<GlobalID:0x00007f93f2fe6e78 @uri=#<URI::GID gid://tenejo/Work/c247ds08x>>, "mark@curationexperts.com" | |
Result of Hyrax::Workflow::GrantEditToDepositor is #<Hyrax::GrantEditToMembersJob:0x00007f93f2fee600> | |
Result of Hyrax::Workflow::ActivateObject is http://fedora.info/definitions/1/0/access/ObjState#active | |
Load LDP (7.0ms) http://localhost:8984/rest/dev/c2/47/ds/08/c247ds08x Service: 404580 | |
Sipity::Entity Load (0.4ms) SELECT "sipity_entities".* FROM "sipity_entities" WHERE "sipity_entities"."proxy_for_global_id" = $1 LIMIT $2 [["proxy_for_global_id", "gid://tenejo/Work/c247ds08x"], ["LIMIT", 1]] | |
Sipity::Role Load (0.5ms) SELECT "sipity_roles".* FROM "sipity_roles" WHERE "sipity_roles"."id" IN (SELECT "sipity_workflow_roles"."role_id" FROM "sipity_workflow_roles" WHERE "sipity_workflow_roles"."workflow_id" = 2) | |
Sipity::Workflow Load (0.3ms) SELECT "sipity_workflows".* FROM "sipity_workflows" WHERE "sipity_workflows"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] | |
Hyrax::PermissionTemplate Load (0.3ms) SELECT "permission_templates".* FROM "permission_templates" WHERE "permission_templates"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] | |
Sipity::WorkflowState Load (0.3ms) SELECT "sipity_workflow_states".* FROM "sipity_workflow_states" WHERE "sipity_workflow_states"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] | |
Load LDP (5.4ms) http://localhost:8984/rest/dev/62/5a/98/e9/625a98e9-d5f2-4074-9d9f-19b6a501e6ae Service: 404580 | |
Load LDP (5.1ms) http://localhost:8984/rest/dev/62/5a/98/e9/625a98e9-d5f2-4074-9d9f-19b6a501e6ae/bb/8e/d3/ba/bb8ed3ba-7f76-4045-9ee0-e9350dc4eaba Service: 404580 | |
Starting nested indexing of ID="c247ds08x" | |
Starting indexing ID="c247ds08x" | |
Load LDP (4.9ms) http://localhost:8984/rest/dev/c2/47/ds/08/c247ds08x Service: 404580 | |
Load LDP (4.7ms) http://localhost:8984/rest/dev/c2/47/ds/08/c247ds08x Service: 404580 | |
Sipity::Entity Load (0.4ms) SELECT "sipity_entities".* FROM "sipity_entities" WHERE "sipity_entities"."proxy_for_global_id" = $1 LIMIT $2 [["proxy_for_global_id", "gid://tenejo/Work/c247ds08x"], ["LIMIT", 1]] | |
Sipity::Role Load (0.5ms) SELECT "sipity_roles".* FROM "sipity_roles" WHERE "sipity_roles"."id" IN (SELECT "sipity_workflow_roles"."role_id" FROM "sipity_workflow_roles" WHERE "sipity_workflow_roles"."workflow_id" = 2) | |
Sipity::Workflow Load (0.2ms) SELECT "sipity_workflows".* FROM "sipity_workflows" WHERE "sipity_workflows"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] | |
Hyrax::PermissionTemplate Load (0.2ms) SELECT "permission_templates".* FROM "permission_templates" WHERE "permission_templates"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] | |
Sipity::WorkflowState Load (0.2ms) SELECT "sipity_workflow_states".* FROM "sipity_workflow_states" WHERE "sipity_workflow_states"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] | |
Load LDP (5.9ms) http://localhost:8984/rest/dev/62/5a/98/e9/625a98e9-d5f2-4074-9d9f-19b6a501e6ae Service: 404580 | |
Load LDP (8.1ms) http://localhost:8984/rest/dev/62/5a/98/e9/625a98e9-d5f2-4074-9d9f-19b6a501e6ae Service: 404580 | |
Load LDP (5.5ms) http://localhost:8984/rest/dev/62/5a/98/e9/625a98e9-d5f2-4074-9d9f-19b6a501e6ae/bb/8e/d3/ba/bb8ed3ba-7f76-4045-9ee0-e9350dc4eaba Service: 404580 | |
Load LDP (4.9ms) http://localhost:8984/rest/dev/62/5a/98/e9/625a98e9-d5f2-4074-9d9f-19b6a501e6ae/3b/99/f9/ff/3b99f9ff-4b72-4a9b-8022-c6da1e557f3d Service: 404580 | |
Load LDP (4.9ms) http://localhost:8984/rest/dev/ad/mi/n_/se/admin_set/default Service: 404580 | |
Load LDP (4.3ms) http://localhost:8984/rest/dev/dc/38/64/e6/dc3864e6-dbfb-4afa-a322-c682f9299a30 Service: 404580 | |
Load LDP (6.3ms) http://localhost:8984/rest/dev/87/ba/f7/d8/87baf7d8-2021-4524-a837-1a9e86993dda Service: 404580 | |
Ending indexing ID="c247ds08x" | |
Ending nested indexing of ID="c247ds08x" | |
Load LDP (2.9ms) http://localhost:8984/rest/dev/c2/47/ds/08/c247ds08x/list_source Service: 404580 | |
Sipity::Entity Load (0.3ms) SELECT "sipity_entities".* FROM "sipity_entities" WHERE "sipity_entities"."proxy_for_global_id" = $1 LIMIT $2 [["proxy_for_global_id", "gid://tenejo/Work/c247ds08x"], ["LIMIT", 1]] | |
Sipity::Role Load (0.5ms) SELECT "sipity_roles".* FROM "sipity_roles" WHERE "sipity_roles"."id" IN (SELECT "sipity_workflow_roles"."role_id" FROM "sipity_workflow_roles" WHERE "sipity_workflow_roles"."workflow_id" = 2) | |
Sipity::Workflow Load (0.3ms) SELECT "sipity_workflows".* FROM "sipity_workflows" WHERE "sipity_workflows"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] | |
Hyrax::PermissionTemplate Load (0.2ms) SELECT "permission_templates".* FROM "permission_templates" WHERE "permission_templates"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] | |
Sipity::WorkflowState Load (0.1ms) SELECT "sipity_workflow_states".* FROM "sipity_workflow_states" WHERE "sipity_workflow_states"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] | |
Starting nested indexing of ID="c247ds08x" | |
Starting indexing ID="c247ds08x" | |
Load LDP (4.8ms) http://localhost:8984/rest/dev/c2/47/ds/08/c247ds08x Service: 404580 | |
Load LDP (5.1ms) http://localhost:8984/rest/dev/c2/47/ds/08/c247ds08x Service: 404580 | |
Sipity::Entity Load (0.4ms) SELECT "sipity_entities".* FROM "sipity_entities" WHERE "sipity_entities"."proxy_for_global_id" = $1 LIMIT $2 [["proxy_for_global_id", "gid://tenejo/Work/c247ds08x"], ["LIMIT", 1]] | |
Sipity::Role Load (0.4ms) SELECT "sipity_roles".* FROM "sipity_roles" WHERE "sipity_roles"."id" IN (SELECT "sipity_workflow_roles"."role_id" FROM "sipity_workflow_roles" WHERE "sipity_workflow_roles"."workflow_id" = 2) | |
Sipity::Workflow Load (0.2ms) SELECT "sipity_workflows".* FROM "sipity_workflows" WHERE "sipity_workflows"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] | |
Hyrax::PermissionTemplate Load (0.2ms) SELECT "permission_templates".* FROM "permission_templates" WHERE "permission_templates"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] | |
Sipity::WorkflowState Load (0.2ms) SELECT "sipity_workflow_states".* FROM "sipity_workflow_states" WHERE "sipity_workflow_states"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] | |
Load LDP (4.4ms) http://localhost:8984/rest/dev/62/5a/98/e9/625a98e9-d5f2-4074-9d9f-19b6a501e6ae Service: 404580 | |
Load LDP (4.9ms) http://localhost:8984/rest/dev/62/5a/98/e9/625a98e9-d5f2-4074-9d9f-19b6a501e6ae Service: 404580 | |
Load LDP (4.2ms) http://localhost:8984/rest/dev/62/5a/98/e9/625a98e9-d5f2-4074-9d9f-19b6a501e6ae/bb/8e/d3/ba/bb8ed3ba-7f76-4045-9ee0-e9350dc4eaba Service: 404580 | |
Load LDP (4.3ms) http://localhost:8984/rest/dev/62/5a/98/e9/625a98e9-d5f2-4074-9d9f-19b6a501e6ae/3b/99/f9/ff/3b99f9ff-4b72-4a9b-8022-c6da1e557f3d Service: 404580 | |
Load LDP (5.9ms) http://localhost:8984/rest/dev/ad/mi/n_/se/admin_set/default Service: 404580 | |
Load LDP (3.8ms) http://localhost:8984/rest/dev/dc/38/64/e6/dc3864e6-dbfb-4afa-a322-c682f9299a30 Service: 404580 | |
Load LDP (4.4ms) http://localhost:8984/rest/dev/87/ba/f7/d8/87baf7d8-2021-4524-a837-1a9e86993dda Service: 404580 | |
Ending indexing ID="c247ds08x" | |
Ending nested indexing of ID="c247ds08x" | |
Starting nested indexing of ID="c247ds08x" | |
Starting indexing ID="c247ds08x" | |
Load LDP (4.9ms) http://localhost:8984/rest/dev/c2/47/ds/08/c247ds08x Service: 404580 | |
Load LDP (5.8ms) http://localhost:8984/rest/dev/c2/47/ds/08/c247ds08x Service: 404580 | |
Sipity::Entity Load (0.5ms) SELECT "sipity_entities".* FROM "sipity_entities" WHERE "sipity_entities"."proxy_for_global_id" = $1 LIMIT $2 [["proxy_for_global_id", "gid://tenejo/Work/c247ds08x"], ["LIMIT", 1]] | |
Sipity::Role Load (0.4ms) SELECT "sipity_roles".* FROM "sipity_roles" WHERE "sipity_roles"."id" IN (SELECT "sipity_workflow_roles"."role_id" FROM "sipity_workflow_roles" WHERE "sipity_workflow_roles"."workflow_id" = 2) | |
Sipity::Workflow Load (0.2ms) SELECT "sipity_workflows".* FROM "sipity_workflows" WHERE "sipity_workflows"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] | |
Hyrax::PermissionTemplate Load (0.1ms) SELECT "permission_templates".* FROM "permission_templates" WHERE "permission_templates"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] | |
Sipity::WorkflowState Load (0.1ms) SELECT "sipity_workflow_states".* FROM "sipity_workflow_states" WHERE "sipity_workflow_states"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] | |
Load LDP (4.1ms) http://localhost:8984/rest/dev/62/5a/98/e9/625a98e9-d5f2-4074-9d9f-19b6a501e6ae Service: 404580 | |
Load LDP (4.4ms) http://localhost:8984/rest/dev/62/5a/98/e9/625a98e9-d5f2-4074-9d9f-19b6a501e6ae Service: 404580 | |
Load LDP (5.1ms) http://localhost:8984/rest/dev/62/5a/98/e9/625a98e9-d5f2-4074-9d9f-19b6a501e6ae/bb/8e/d3/ba/bb8ed3ba-7f76-4045-9ee0-e9350dc4eaba Service: 404580 | |
Load LDP (4.7ms) http://localhost:8984/rest/dev/62/5a/98/e9/625a98e9-d5f2-4074-9d9f-19b6a501e6ae/3b/99/f9/ff/3b99f9ff-4b72-4a9b-8022-c6da1e557f3d Service: 404580 | |
Load LDP (4.0ms) http://localhost:8984/rest/dev/ad/mi/n_/se/admin_set/default Service: 404580 | |
Load LDP (5.3ms) http://localhost:8984/rest/dev/dc/38/64/e6/dc3864e6-dbfb-4afa-a322-c682f9299a30 Service: 404580 | |
Load LDP (3.9ms) http://localhost:8984/rest/dev/87/ba/f7/d8/87baf7d8-2021-4524-a837-1a9e86993dda Service: 404580 | |
Ending indexing ID="c247ds08x" | |
Ending nested indexing of ID="c247ds08x" | |
I, [2021-11-12T15:28:39.578649 #86884] INFO -- : Skipping object reindex because the object Testing Actor Stack was not a Valkyrie::Resource. | |
Enqueued ContentUpdateEventJob (Job ID: 91f19018-b6d6-4425-8806-55c269f2df66) to Sidekiq(default) with arguments: #<GlobalID:0x00007f93e7c83278 @uri=#<URI::GID gid://tenejo/Work/c247ds08x>>, #<GlobalID:0x00007f93e7c81f40 @uri=#<URI::GID gid://tenejo/User/3>> | |
=> true | |
irb(main):042:0> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment