-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
Perfect, this worked. Here is one schema:
|
@i-walker here is your API: https://app.tum.de/Api/openingtimes |
@kordianbruck Nice!
/** @param loc = User.aroundUser() would be called by the client if no location is specified
* @param time = now() is also called from client // we may change that I am not sure which is faster right now
/
fun locationIsOpen(loc:Location, time:TIME= now()): Boolean
fun IsOpen(time:Time= now()): Collection<Location>()
// I don't even care if we use a HashMap :)
if you're familiar with Higher Kinded Types we can use a Kinds<Container, Location>
I am open for suggestions. |
@jacqueline8711 On the Server:
locally on the device:
local DB and offline capabilities
Updating the API and offline DB/ Cache// I am pretty open which strategy we choose, but as far as I am concerned @kordianbruck doesn't // want a local DB. Therefore a simple Cache on the device should be sufficient. The idea would be to specify for each information resource a crawling strategy. missing information & crawling methods
|
@i-walker we already have a local DB. The API calls are also cached. Please just add the API as is now. We can refactor it further down the line by creating individual issues for each of your suggestions. I just would like to get the new data loaded from the above API that I've linked as quick as possible in the first step. Excellent ideas, please open separate issues that further describe those plans. Ideally the User Story in the Android App would describe the benefit for the users. |
I will add the sql file with the updated data in the 2. commit.