Commit Graph

263 Commits

Author SHA1 Message Date
Guntis Smaukstelis c5b84727a6 Add granularity for aggregation, group by hour/day/month/year 2023-07-03 23:17:43 +03:00
Guntis Smaukstelis 4d93fe68dc Refactor select fields 2023-06-22 19:39:49 +03:00
Guntis Smaukstelis bb817e5171 Select all cities and order results 2023-06-22 19:20:21 +03:00
Guntis Smaukstelis 6ce4d139a8 Use IO.blocking to run on separate thread 2023-06-22 14:20:03 +03:00
Guntis Smaukstelis 3e1635d494 Refactor save return type without Either 2023-06-22 13:59:44 +03:00
Guntis Smaukstelis 1abb12d92a Moved to app/Main, scheduler helper methods moved to unfinished test 2023-05-25 13:51:45 +03:00
Guntis Smaukstelis d651e3f3bd Refactor main files to test files 2023-05-25 13:06:39 +03:00
Guntis Smaukstelis be037a311d Remove StatefulFetchService as we have already DataService with lst 24h state 2023-05-25 11:53:32 +03:00
Guntis Smaukstelis f5e4826b88 DataService to save last 24h of data 2023-05-25 01:46:50 +03:00
Guntis Smaukstelis d40aa9ec9b StatefulFetchService to save last 24h of data 2023-05-25 00:06:20 +03:00
Guntis Smaukstelis 77026a9cb0 Small fixes and cleanup 2023-05-24 16:01:48 +03:00
Guntis Smaukstelis c1625e75fa Improve FileFetchSchedulerSpec test 2023-05-24 14:14:04 +03:00
Guntis Smaukstelis eded85b089 Test for FileFetchScheduler 2023-05-23 22:02:56 +03:00
Guntis Smaukstelis 0581260073 Tests for FileNameService 2023-05-23 20:15:25 +03:00
Guntis Smaukstelis bd302618d3 Refactor FileFetchScheduler 2023-05-23 19:16:57 +03:00
Guntis Smaukstelis 6f005c56d7 Charts for list data 2023-05-23 00:46:07 +03:00
Guntis Smaukstelis f60ddd27af Fix compiler warning about match order 2023-05-22 22:31:28 +03:00
Guntis Smaukstelis 18f6424397 Implicit for rounding double values to first decimal 2023-05-22 22:24:12 +03:00
Guntis Smaukstelis 760ef4e719 Dependency inject logger and replace println 2023-05-21 22:37:33 +03:00
Guntis Smaukstelis 00dd4a4f4a Fix web title for production 2023-05-21 13:37:03 +03:00
Guntis Smaukstelis 8b3f97bb96 Fix duplications of data, sort query list, visual improvements 2023-05-21 13:26:17 +03:00
Guntis Smaukstelis 040672d6e0 Prettify CSV display 2023-05-21 00:22:08 +03:00
Guntis Smaukstelis 5744f5c214 FetchSingleFile with Either 2023-05-20 23:05:30 +03:00
Guntis Smaukstelis b4955e2619 Implement FileFetchScheduler and refactor Main class 2023-05-20 21:53:03 +03:00
Guntis Smaukstelis bbdfaa06d8 DBService object to class with logger injection 2023-05-20 20:20:14 +03:00
Guntis Smaukstelis 9241277b7f Return of list of time double list instead of just doubles 2023-05-20 19:19:38 +03:00
Guntis Smaukstelis 54cedb2818 Indicate in web title that working in dev environment 2023-05-18 16:39:14 +03:00
Guntis Smaukstelis 32212da1ff Implicits for list json values 2023-05-18 16:27:03 +03:00
Guntis Smaukstelis 4f7f6820b0 Round aggregator time range 2023-05-17 23:56:57 +03:00
Guntis Smaukstelis db3e2d4e0f Implement calendar for csv viewing 2023-05-17 20:41:53 +03:00
Guntis Smaukstelis ff3efdfb58 Fetch csv files from date range input and use setTimeout 2023-05-17 16:28:56 +03:00
Guntis Smaukstelis affc2e0d93 Migrate from Blaze to Ember 2023-05-17 01:20:01 +03:00
Guntis Smaukstelis 590757183a Use pureconfig instead of typesafe config 2023-05-16 14:54:02 +03:00
Guntis Smaukstelis 236946b20a Add final to case classes 2023-05-16 14:22:48 +03:00
Guntis Smaukstelis 7c004ac41c Back to https for fly.io 2023-05-16 14:20:36 +03:00
Guntis Smaukstelis ff45876377 Implement aggregation frontend, also http on prod 2023-05-15 20:50:53 +03:00
Guntis Smaukstelis db900d6a33 File manager frontend 2023-05-15 16:37:03 +03:00
Guntis Smaukstelis 851229ce9b Set up cors and env variables 2023-05-14 23:01:36 +03:00
Guntis Smaukstelis 16c9714f8a Initial version for solidjs and vite as build tool 2023-05-14 22:07:16 +03:00
Guntis Smaukstelis bbf1eb0c01 Blaze serves also static index.html and bundle.js 2023-05-14 21:27:57 +03:00
Guntis Smaukstelis 3e41326f91 Shell script for assembly and deploy 2023-05-14 16:18:25 +03:00
Guntis Smaukstelis bdfc9df0e2 Log scheduler started with initial delay 2023-05-14 16:08:44 +03:00
Guntis Smaukstelis 6ca1f4a13a Scheduler and also Main file to call server and scheduler 2023-05-14 15:48:52 +03:00
Guntis Smaukstelis ea19ae27f8 Fly.io with one instance and one volume with auto_stop false 2023-05-13 21:09:49 +03:00
Guntis Smaukstelis 7cb6349ac7 Configure fly.io and docker 2023-05-12 23:57:04 +03:00
Guntis Smaukstelis c07604512c Added main file server.Server and assembly for flat jars 2023-05-12 21:32:14 +03:00
Guntis Smaukstelis 77bb4f40c6 Use relative path for csv files instead of absolute 2023-05-03 23:07:34 +03:00
Guntis Smaukstelis 0227ac3b43 Improve help json response 2023-05-03 22:37:05 +03:00
Guntis Smaukstelis 9fbc6f9f37 Changed data structure for weather params and aggregating 2023-05-03 00:02:59 +03:00
Guntis Smaukstelis 7e3d58bec0 Add conf into IO and handle IO throwable 2023-05-01 16:43:21 +03:00