lightableMatch / AMF

0 stars 0 forks source link

Add Functionality To Update Map Rotations After Persistence #6

Closed antoniopetrole closed 2 years ago

antoniopetrole commented 2 years ago

Start with WHY?

Why do we need to do work? (Who is requesting this work?) Once the story below has been implemented, any subsequent page loads to the home page will permanently give the user out of date information https://github.com/T1NKY-W1NKY/AMF/issues/5

To mitigate this behavior, we need to rehydrate the map rotations via the apex API once the maps change. I would look into the following possible solutions

  1. (HARDER BUT BETTER) Look into dynamically configuring a spring boot @Scheduled method that will rehydrate the map rotation data based on the end time UNIX EPOCH timestamp.
  2. (EASIER BUT NOT ROBUST) Look into statically configuring a spring boot @Scheduled method that will rehydrate the map rotation based on some fixed interval

What is the issue? What needs to be resolved?

Acceptance Criteria

Any other notes / resources to share?

lightableMatch commented 2 years ago

Did not update issue with commits when working on it. These are the noteworthy commits: