Commit graph

  • 1512c29881 possibility for weather-query of multiple sensors + fix wrong flux-query main Joel Schmid 2021-11-26 18:03:51 +01:00
  • 5c33c5ff14 modified config+authorization Joel Schmid 2021-11-26 15:57:40 +01:00
  • 261cfb96c4 weatherSourceBase as composition to mqtt-source and rest-api Joel Schmid 2021-11-26 13:46:57 +01:00
  • f623f76c1a improved sensor-handling Joel Schmid 2021-11-26 13:11:11 +01:00
  • a230cfd30e set current timestamp if add weatherdata-request is without timestamp Joel Schmid 2021-11-26 11:51:22 +01:00
  • ff2bbb543e decode userId from jwt token Joel Schmid 2021-08-22 19:52:34 +02:00
  • 7543dae153 add userId to sensor Joel Schmid 2021-08-22 17:09:41 +02:00
  • fafcf180e4 upgrade dependencies Joel Schmid 2021-08-22 14:38:45 +02:00
  • 5539156092 removed self-token-validation -> validate token in another service Joel Schmid 2021-08-22 14:35:26 +02:00
  • 2611b8c579 exist sensor check in update sensor Joel Schmid 2021-08-22 13:42:48 +02:00
  • f3ec170102 add request-collection for thunder client (VS-Code Extension) Joel Schmid 2021-08-22 13:42:16 +02:00
  • 5f58565a53 remove error of new weather data callback Joel Schmid 2021-08-22 13:05:03 +02:00
  • 36462b4748
    Update docker-ci.yml Joel Schmid 2021-06-05 19:48:04 +02:00
  • ed1be312f4
    Create docker-ci.yml Joel Schmid 2021-06-05 19:38:34 +02:00
  • fb4805ba49
    add git workflow badge Joel Schmid 2021-06-05 19:18:52 +02:00
  • 1938c4afe4
    Create go.yml Joel Schmid 2021-06-05 19:14:10 +02:00
  • 4e3fe0ce0b fix jwt token authorization Joel Schmid 2021-06-05 19:06:45 +02:00
  • 858421b9d8 jwt token authorization Joel Schmid 2021-05-20 19:01:40 +02:00
  • b8e8ce035c query max amount of datapoints Joel Schmid 2021-05-07 22:25:44 +02:00
  • 2466111488 fix time format (iso) for json serialization Joel Schmid 2021-05-03 20:44:26 +02:00
  • 084af78841 imporved mqtt message handling Joel Schmid 2021-04-30 19:33:58 +02:00
  • 059340a058 optimized influx query builder and execution Joel Schmid 2021-04-29 18:08:38 +02:00
  • 169fd062ba fix mongodb no available sensors Joel Schmid 2021-04-27 21:12:20 +02:00
  • 5d60e0f53e fix random weather Joel Schmid 2021-04-27 20:16:57 +02:00
  • 39c44cec1e Merge branch 'main' of https://github.com/swablab/weather-api into main Joel Schmid 2021-04-27 19:59:27 +02:00
  • ecd51bd017 add optional cors header Joel Schmid 2021-04-27 19:59:10 +02:00
  • f94b6a1ee1
    license Joel Schmid 2021-04-26 20:18:55 +02:00
  • 87583d136c improvements rest api & mongodb Joel Schmid 2021-04-26 20:14:33 +02:00
  • de11211de1 optimized mongodb Joel Schmid 2021-04-25 00:31:27 +02:00
  • 442f205a2b update & delete sensor inmemory Joel Schmid 2021-04-24 23:59:10 +02:00
  • 6391b39c8e improved rest api - CRUD weather sensor + db Joel Schmid 2021-04-24 23:38:58 +02:00
  • e483794ce1 query unknown fieldtypes in db Joel Schmid 2021-04-09 23:29:02 +02:00
  • 5aed4560e9 refactoring Joel Schmid 2021-04-05 11:39:55 +02:00
  • 3983a91475 rest api uses map[string]interface for adding weather data Joel Schmid 2021-04-05 10:14:29 +02:00
  • 641c05afc6 refactoring & generic weatherdata Joel Schmid 2021-04-03 23:32:37 +02:00
  • 7fb0ebff20 optimize Dockerfile using scratch image Joel Schmid 2021-04-03 13:29:39 +02:00
  • 346ad3b990 update readme Joel Schmid 2021-04-03 12:21:08 +02:00
  • 987dcf1664 Update Readme Joel Schmid 2021-04-03 00:05:56 +02:00
  • db762bb95e
    Merge pull request from swablab/add-license-1 Joel Schmid 2021-04-02 23:39:32 +02:00
  • 847fe89832
    Create LICENSE Joel Schmid 2021-04-02 23:38:51 +02:00
  • ff28e70c31 add more logging Joel Schmid 2021-04-02 22:46:24 +02:00
  • 791518f3be possible ignore case for rest-routes Joel Schmid 2021-04-02 21:01:22 +02:00
  • 26204b4ed7 improved logs & errorhandling Joel Schmid 2021-04-02 20:18:49 +02:00
  • 69f8c4e9dc refactoring of config Joel Schmid 2021-04-02 20:00:47 +02:00
  • 5bb48d6ddc add mongodb authentication Joel Schmid 2021-04-02 12:41:22 +02:00
  • 73a57482c8 mongodb support for sensor registry Joel Schmid 2021-04-01 23:48:54 +02:00
  • f4b5e519fa fix typo Joel Schmid 2021-04-01 22:31:48 +02:00
  • c1412dffb2 mqtt authentication Joel Schmid 2021-03-31 20:57:30 +02:00
  • a53d1eabe5 optimize regex Joel Schmid 2021-03-20 22:32:17 +01:00
  • ce22efcb96 create flux query Joel Schmid 2021-03-20 21:31:20 +01:00
  • 3d261df142 fix flux query Joel Schmid 2021-03-20 21:24:55 +01:00
  • 877a46b9bf query data over rest api Joel Schmid 2021-03-20 21:10:58 +01:00
  • 4f501344d5 new internal publish strategy for mqtt Joel Schmid 2021-03-20 18:01:11 +01:00
  • 395e4530af resolve sensor Joel Schmid 2021-03-20 16:23:17 +01:00
  • 4b6d8e6c6b remove errors dependency Joel Schmid 2021-03-20 16:14:10 +01:00
  • 15db885db8 check allow unregistered sensors in handleNewData Joel Schmid 2021-03-20 16:11:30 +01:00
  • c0d315a409 allow unregistered sensors in config Joel Schmid 2021-03-20 15:31:23 +01:00
  • 9cc656e937 add sensor registration (inmemory) Joel Schmid 2021-03-20 15:18:12 +01:00
  • 356e502ed8 simplified mqtt topic regex Joel Schmid 2021-03-20 11:31:19 +01:00
  • 6eb9898778 support for multiple weathersensors Joel Schmid 2021-03-20 11:20:27 +01:00
  • df322b5291 close weather api Joel Schmid 2021-03-19 23:48:26 +01:00
  • 145da94899 add weather sensor registration Joel Schmid 2021-03-19 23:39:27 +01:00
  • 69369c210b add co2level support Joel Schmid 2021-03-18 17:57:08 +01:00
  • 1436c9df32 add environment variable configuration Joel Schmid 2021-03-17 20:43:20 +01:00
  • c4c38f0dc9 add docker support Joel Schmid 2021-03-17 19:14:27 +01:00
  • ea41163296 query weatherdata in influx Joel Schmid 2021-03-16 20:43:15 +01:00
  • 0540519d68 fix typo Joel Schmid 2021-03-09 18:41:52 +01:00
  • 3f9734598b only allow POST-method for addDataHandler Joel Schmid 2021-03-05 23:40:20 +01:00
  • dcefbdecad initial weather-api Joel Schmid 2021-03-05 23:20:47 +01:00
  • 87891b840f
    Initial commit Joel Schmid 2021-03-05 23:17:34 +01:00