43 Commits

Author SHA1 Message Date
Marco Zeisler
7207080b66 fix update of images; 2021-01-16 19:24:07 +01:00
Marco Zeisler
95180bb8e7 remove try catch, it is catched a step above to keep the exception information;
added additional parse try with:
-payload = request.data.dict()
-payload['metadata'] = json.loads(payload['metadata']);
update metadata on update;
prohibit . in filename;
2021-01-15 23:41:35 +01:00
Marco Zeisler
63f7d733dc implement image post, put, delete; 2021-01-11 21:45:14 +01:00
Marco Zeisler
f0174aadc7 fix image_api_get_all api call; 2021-01-11 18:53:40 +01:00
Martin Schett
1ed0627853 Updated recovery logic to fall back on older version if no image-hash is valid 2021-01-09 21:47:03 +01:00
Tobias Eidelpes
37bfc8ae59 Fix bug where identifier was incremented 2021-01-09 17:30:58 +01:00
Tobias Eidelpes
89ee1fa408 Use delete + create instead of copy 2021-01-09 17:29:27 +01:00
Tobias Eidelpes
9744bdcf3b Fix filename extension 2021-01-09 17:29:06 +01:00
Tobias Eidelpes
2eb8f39f67 Add version and previous fields to create function 2021-01-08 20:41:59 +01:00
Tobias Eidelpes
3f087c5d83 Remove unneeded update function in storages 2021-01-08 19:11:18 +01:00
Tobias Eidelpes
e50e027ea9 Rewrite update function for MongoDBService 2021-01-08 19:09:38 +01:00
Tobias Eidelpes
f05571a81d Add move/rename function for storages 2021-01-08 19:09:01 +01:00
Tobias Eidelpes
27b4f50f69 Return None on 404 2021-01-08 13:13:01 +01:00
Tobias Eidelpes
6ad99561e7 Fix log messages 2021-01-08 13:12:34 +01:00
Tobias Eidelpes
9a6e2d3ca8 Add log messages in MongoDBService 2021-01-08 12:20:58 +01:00
Tobias Eidelpes
75299189b6 Add log messages in MinioService 2021-01-08 12:20:40 +01:00
Tobias Eidelpes
94ffac4984 Add log messages in DropboxService 2021-01-08 12:20:25 +01:00
Tobias Eidelpes
36226186a0 Fix bug where filename is used instead of identifier 2021-01-08 12:09:49 +01:00
Tobias Eidelpes
8371aba88b Add update function for MinioService 2021-01-08 11:19:18 +01:00
Tobias Eidelpes
bc82e3675d Add update function for MongoDB 2021-01-07 18:01:17 +01:00
Tobias Eidelpes
79985f1139 Add update function for Dropbox 2021-01-07 18:00:50 +01:00
Martin Schett
96b94f5c89 Rewrote storage services to implement new interface 2020-12-28 17:29:14 +01:00
Martin Schett
5d70201516 removed unnecessary print in wrapper 2020-12-09 19:07:01 +01:00
Martin Schett
ffa2954d1f Fixes for Presentation 1 2020-12-09 19:04:25 +01:00
Manuel Hude
d093dbb5b9 added return and failsafe 2020-12-09 17:12:46 +01:00
Martin Weick
d6d9daabf0 #3 add delete all 2020-12-07 12:41:32 +01:00
Martin Weick
8a50493b18 #3 add delete function 2020-12-07 10:15:07 +01:00
Martin Schett
c440b66894 Added update (pre minio delete) 2020-12-06 19:36:30 +01:00
Martin Schett
08b30bb9cd Added health check feature to find faulty components 2020-12-06 18:53:29 +01:00
Martin Schett
ddf0cbf2d7 Added delete all in dropbox service and iot client help command 2020-12-06 18:24:07 +01:00
Marco Zeisler
ce34ce8562 Merge branch 'master' of https://hyde.infosys.tuwien.ac.at/aic20/g4t2 2020-12-06 16:48:58 +01:00
Marco Zeisler
776c144f3f added create / compare hashes and notify on miss-match for MinIO backups; 2020-12-06 16:48:50 +01:00
Manuel Hude
325f083448 added delete all 2020-12-06 16:14:51 +01:00
Manuel Hude
7eb728968a added return 2020-12-06 15:00:17 +01:00
Manuel Hude
bd5247f21e added Service Class for MongoDB 2020-12-06 14:57:57 +01:00
Manuel Hude
e6f54951e6 Merge branch 'master' into 4-mongodb_api
# Conflicts:
#	middleware/app_be/views/rest_api.py
2020-12-06 14:24:01 +01:00
Manuel Hude
8b170b61a6 added Service Class for MongoDB 2020-12-06 14:21:08 +01:00
Martin Weick
5dc0ccbde4 Merge branch 'master' into '3-minio_api'
# Conflicts:
#   middleware/app_be/views/rest_api.py
2020-12-02 10:30:44 +01:00
Martin Weick
37b089881b #3 add pots and get for minio 2020-12-02 10:16:59 +01:00
Marco Zeisler
dc9912f90c added hashservice.py; 2020-11-30 19:15:43 +01:00
Marco Zeisler
3ea437c670 remove redundant utf-8; 2020-11-30 18:52:04 +01:00
Martin Schett
63175ce112 Added dropbox api support as service and cleaned up get single call 2020-11-29 21:48:21 +01:00
Marco Zeisler
ff4b3508d8 move template to ./template;
setup django middleware;
setup angular frontend;
wire django and angular together;
2020-11-17 19:34:25 +01:00