40 Commits

Author SHA1 Message Date
Martin Schett
47335e1aa4 Fixed error on status call when image is not available in services 2021-01-19 18:05:25 +01:00
Martin Schett
059a5a7be5 Implemented status request 2021-01-18 21:06:47 +01:00
Marco Zeisler
d770f1e092 add api stub for https://hyde.infosys.tuwien.ac.at/aic20/g4t2/-/issues/16; 2021-01-18 20:55:17 +01:00
Tobias Eidelpes
d500518d8f Fix bug where old image was not saved on AWS 2021-01-18 17:26:24 +01:00
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
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
cd707226f6 Set version and previous in metadata 2021-01-09 17:33:00 +01:00
Tobias Eidelpes
8c64333e27 Rewrite update function consisting of move + create 2021-01-08 19:10:23 +01:00
Tobias Eidelpes
7c8e2a9f23 Add update endpoint for API 2021-01-08 11:20:01 +01:00
Martin Schett
b98976a016 Added first draft of recovery logic 2020-12-28 18:41:34 +01:00
Martin Schett
96b94f5c89 Rewrote storage services to implement new interface 2020-12-28 17:29:14 +01:00
Manuel Hude
f75a42c703 getimage in iot change 2020-12-09 17:26:59 +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
2e3e9f9fad Fixed error where missing image in fetch request caused error in client 2020-12-06 19:41:45 +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
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
6a64eb305b added hashservice.py;
implemented create_sha512();
store image hash to mongoDB;
compare stored with actual dropbox hash;
2020-11-30 19:16:36 +01:00
Marco Zeisler
19bb2c01fb add image sha512 hash to mongo on post; 2020-11-30 18:51:46 +01:00
Manuel Hude
d7e2bf651b delete functionality for metadata 2020-11-30 14:23:32 +01:00
Manuel Hude
2e58c64ced new identifier and added creation folder logic 2020-11-30 12:47:32 +01:00
Manuel Hude
e1a1cb25fc added GEODATA functionality 2020-11-30 12:16:52 +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
Manuel Hude
461a42edcd added single get search with url parsing 2020-11-29 14:02:01 +01:00
Manuel Hude
39f0beb87e implement mongodb post and getall todo: get single 2020-11-28 20:30:13 +01:00
Martin Schett
e4b40133eb IoT Client und Changes vom Herzeigen 2020-11-26 19:15:46 +01:00
Martin Schett
31899ebd64 Added first set of api calls including dropbox upload 2020-11-22 22:08:23 +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