Auto-assign hub and rider #374

Closed
opened 2020-04-06 01:34:04 +00:00 by korina.cordero · 25 comments
korina.cordero commented 2020-04-06 01:34:04 +00:00 (Migrated from gitlab.com)

once we get a request:

  1. get the top 10 hubs that are open and near the target location (like how it is now)

  2. check inventory for each hub via api call (they will give this to us today)

  3. tag each hub with true or false if they have the inventory

  4. check rider availability in each of the hubs aka if there is a rider who can service it now

  5. choose the first hub with inventory + rider availability and assign

feel free to do it on controller level first, so it's not confusing

then we move it to a service

copy paste one of the incoming JO screens

and put it there

since the code can easily be copy pasted to a service

we need to be able to visualize and show the result

call it "Autoassign Test" under Job Order

once we get a request: 1. get the top 10 hubs that are open and near the target location (like how it is now) 2. check inventory for each hub via api call (they will give this to us today) 3. tag each hub with true or false if they have the inventory 4. check rider availability in each of the hubs aka if there is a rider who can service it now 5. choose the first hub with inventory + rider availability and assign feel free to do it on controller level first, so it's not confusing then we move it to a service copy paste one of the incoming JO screens and put it there since the code can easily be copy pasted to a service we need to be able to visualize and show the result call it "Autoassign Test" under Job Order
korina.cordero commented 2020-04-06 01:43:27 +00:00 (Migrated from gitlab.com)

mentioned in merge request !420

mentioned in merge request !420
korina.cordero commented 2020-04-06 01:43:27 +00:00 (Migrated from gitlab.com)

created merge request !420 to address this issue

created merge request !420 to address this issue
korina.cordero commented 2020-04-06 09:47:07 +00:00 (Migrated from gitlab.com)

mentioned in commit 9a661763a0

mentioned in commit 9a661763a00dc7045554b059d52aace6ddd9c7cc
korina.cordero commented 2020-04-07 03:27:50 +00:00 (Migrated from gitlab.com)

mentioned in commit c62775c990

mentioned in commit c62775c9909cbd75f618d2484e2e601ec346ac21
korina.cordero commented 2020-04-07 10:10:55 +00:00 (Migrated from gitlab.com)

mentioned in commit eb5710b846

mentioned in commit eb5710b84686233d157a181ddd8a5055ef897eb0
korina.cordero commented 2020-04-08 02:32:27 +00:00 (Migrated from gitlab.com)

mentioned in commit 6c02c30370

mentioned in commit 6c02c303706049480119d5110d774c420be4e71e
korina.cordero commented 2020-04-08 07:34:40 +00:00 (Migrated from gitlab.com)

mentioned in commit ab6ed4a185

mentioned in commit ab6ed4a185ded47ed677fb65775b6291d3c92b83
korina.cordero commented 2020-04-08 09:31:39 +00:00 (Migrated from gitlab.com)

mentioned in commit 917459f228

mentioned in commit 917459f228ce80ec8e49eb5bc90b357784751ddd
korina.cordero commented 2020-04-08 09:39:53 +00:00 (Migrated from gitlab.com)

mentioned in commit 8619c49397

mentioned in commit 8619c493978dbaf71c9de36a9021859d21996d33
korina.cordero commented 2020-04-08 10:11:51 +00:00 (Migrated from gitlab.com)

mentioned in commit e1b27dea9a

mentioned in commit e1b27dea9a75f0df0cd740010e55b88406041220
jankstudio commented 2020-04-10 12:19:20 +00:00 (Migrated from gitlab.com)

mentioned in commit 1e23f0cd55

mentioned in commit 1e23f0cd55b111bec9b8ab1c01d8114becb3d978
jankstudio commented 2020-04-10 13:15:14 +00:00 (Migrated from gitlab.com)

mentioned in commit 63bb887370

mentioned in commit 63bb887370d4ffbb474bcde20445e46fbc5e6556
jankstudio commented 2020-04-10 13:17:55 +00:00 (Migrated from gitlab.com)

mentioned in commit 3cc20c7410

mentioned in commit 3cc20c74103ca2bd69e3b3ce124ee37f61e02f21
jankstudio commented 2020-04-11 03:45:26 +00:00 (Migrated from gitlab.com)

mentioned in commit 9c0f86e588

mentioned in commit 9c0f86e588b39e6f2464b7a5760a523648422d68
jankstudio commented 2020-04-11 10:38:02 +00:00 (Migrated from gitlab.com)

mentioned in commit 1ee744eba0

mentioned in commit 1ee744eba0df66f11f5f025099f1206e46fecadd
jankstudio commented 2020-04-11 11:01:29 +00:00 (Migrated from gitlab.com)

mentioned in commit 51ad36b272

mentioned in commit 51ad36b2721482141e325356a350594d46163cf7
korina.cordero commented 2020-04-13 02:50:35 +00:00 (Migrated from gitlab.com)

mentioned in commit 64b533b2df

mentioned in commit 64b533b2df7ef69eea31c5d726d6215269ef7fb1
jankstudio commented 2020-04-13 12:57:15 +00:00 (Migrated from gitlab.com)

mentioned in commit 46f46436fe

mentioned in commit 46f46436fe86cce7def80c5ff91cf8d3ef491e14
jankstudio commented 2020-04-13 13:10:56 +00:00 (Migrated from gitlab.com)

mentioned in commit 32b4c8546d

mentioned in commit 32b4c8546d11d9caf506cd6db59026bc3fe8f58a
korina.cordero commented 2020-04-14 02:25:03 +00:00 (Migrated from gitlab.com)

mentioned in commit 48e95ee581

mentioned in commit 48e95ee581d128394c9a92b566e4ad42cf29802b
korina.cordero commented 2020-04-14 02:49:07 +00:00 (Migrated from gitlab.com)

mentioned in commit 06d0e21b1d

mentioned in commit 06d0e21b1d29bdcdb56eca5bc36889d00bb9c4dc
korina.cordero commented 2020-04-14 02:57:50 +00:00 (Migrated from gitlab.com)

mentioned in commit a738aac7e7

mentioned in commit a738aac7e7628fb344af6e4039f277a40d975b62
jankstudio commented 2020-04-14 04:11:16 +00:00 (Migrated from gitlab.com)

mentioned in commit cdbf817db8

mentioned in commit cdbf817db88535c48e50fad7cd8f8e91b1aa185e
jankstudio commented 2020-04-15 03:34:58 +00:00 (Migrated from gitlab.com)

closed via merge request !420

closed via merge request !420
jankstudio commented 2020-04-15 03:34:58 +00:00 (Migrated from gitlab.com)

mentioned in commit e26f2dc7f8

mentioned in commit e26f2dc7f83a4a476bafd4e1362a85ee4fb2a5e4
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: rgutierrez/resq#374
No description provided.