Commit Graph

71 Commits

Author SHA1 Message Date
1a38c83dee Redefine api structure
Add future methods
Update documentation
2023-07-28 14:54:30 -04:00
52bb8afa13 correct API 2023-07-28 08:26:02 -04:00
ec90dd1e0d Redefine api structure
Add future methods
Update documentation
2023-07-21 16:59:56 -04:00
01281e4b31 Redefine api structure
Add future methods
Update documentation
2023-07-21 11:48:00 -04:00
72b90557ff Redefine api structure
Add future methods
Update documentation
2023-07-21 11:43:52 -04:00
68ae20f85d correct API 2023-07-20 20:15:24 -04:00
d02b1cd838 reintroduce security for reverse lockup 2023-04-13 09:49:10 -04:00
48a7f28404 Bug fix in meb session
Added new reverse method to remove dependency from openstreet maps
2023-04-12 15:26:56 -04:00
5fc9678f14 Correct swagger definition. 2023-03-13 15:01:46 -04:00
aa76eff3ab Refactor:
Correct swagger definition.
MEB uses body, so should be a post method not a get according to REST definition.
active_session now refresh the session also if valid.
partial implementation for meb.
2023-03-13 14:21:43 -04:00
80337a5cc5 Refactor:
Correct swagger definition.
MEB uses body, so should be a post method not a get according to REST definition.
active_session now refresh the session also if valid.
partial implementation for meb.
2023-03-13 11:56:05 -04:00
fff40611d5 small refactor to organize the source code 2023-03-10 12:45:11 -05:00
c68b1a38ca small refactor to organize the source code 2023-03-10 10:18:27 -05:00
fa06b571f8 Small adjustments for meb 2023-03-10 10:15:20 -05:00
KoaCWells
e2cb78842f Work on API call for accessing MEB buildings 2023-03-06 10:56:46 -05:00
KoaCWells
999699c402 Add debug_mode to bootstrap.py and session_helper.py for debug token handling 2023-02-27 17:50:53 -05:00
91fac0c3bd Merge remote-tracking branch 'origin/main' 2023-02-24 17:06:10 -05:00
a54b13e335 Create flasgger example for meb 2023-02-24 17:06:04 -05:00
KoaCWells
54533fe0e3 Add skeleton for getting enriched buildings and Windows path fix 2023-02-24 16:57:51 -05:00
f8ff0d15f5 Rename session_garbage_collector to expired_sessions_collector 2023-02-23 05:04:40 -05:00
febaf1a50d Remove un used class 2023-02-23 04:32:00 -05:00
db443c559d Little cosmetic changes and delete useless information. 2023-02-23 04:18:46 -05:00
KoaCWells
e148ea6b91 Finish session start, end, and keep alive 2023-02-22 23:14:41 -05:00
f56f0b8a17 Small corrections in session start and config 2023-02-21 10:47:17 -05:00
KoaCWells
901fcd461c Update StartSession and begin updating KeepSessionAlive 2023-02-20 22:10:09 -05:00
e17da5b265 Correct the flasgger deffinition 2023-02-14 05:54:51 -05:00
dc60a0b7ca Correct the flasgger deffinition 2023-02-14 05:43:03 -05:00
40bd435c22 Complete the session deffinitions in the yml file. 2023-02-14 05:37:59 -05:00
f39ffedc87 Clean up and define session start message 2023-02-14 04:32:04 -05:00
5f6b7339c4 Rebase into previous commit 2023-02-13 08:09:48 -05:00
1adfe6519f Merge remote-tracking branch 'origin/city_commands' into api_guille
# Conflicts:
#	bootstrap.py
#	hub_api/city_commands.py
#	hub_api/config.py
#	hub_api/construction_catalog.py
#	hub_api/energy_demand.py
#	hub_api/greenery_catalog.py
#	hub_api/uptime.py
#	hub_api/user.py
#	requirements.txt
2023-02-13 07:15:10 -05:00
Koa
347345b343 Add update, delete, search city API calls and other bug fixes/code refactors 2023-02-09 09:45:25 -05:00
Koa
7b6620eca0 Update bootstrap.py 2023-02-02 14:30:06 -05:00
Koa
783731a9ba Merge main into city_commands 2023-02-02 14:27:02 -05:00
01bbc9e746 Merge pull request 'Removed unneeded files' (#7) from api-v2 into main
Reviewed-on: https://nextgenerations-cities.encs.concordia.ca/gitea/p_yefi/gamification_service_v2/pulls/7
2023-02-01 15:59:04 -05:00
Peter Yefi
0aef0c32fc Removed deprecated FLASK_ENV 2023-02-01 15:58:20 -05:00
Peter Yefi
d961241079 Added tests for user 2023-02-01 15:48:14 -05:00
Peter Yefi
4b322148ba Removed unneeded files 2023-01-30 19:45:02 -05:00
86a720dfbe Basic integration of city persistence commands 2023-01-30 05:49:02 -05:00
72c265cd88 Merge remote-tracking branch 'origin/city_commands' into api_guille
# Conflicts:
#	bootstrap.py
2023-01-30 05:24:32 -05:00
bf6a5711ce Small clean up 2023-01-30 05:20:31 -05:00
82be9ee660 Correct the imports to use cerc-hub as a pip package 2023-01-25 04:54:49 -05:00
KoaCWells
cea801a67f Implement AddCity and DeleteCity API calls + comments 2023-01-24 15:21:53 -05:00
01ff8332f9 Playing around with the yml file and typo corrections 2023-01-24 05:50:49 -05:00
48dae8badf Playing around with the yml file 2023-01-24 05:38:45 -05:00
d4e444e3e7 Initial simplification 2023-01-23 12:29:41 -05:00
Koa
d9828f3d57 Starting the implementation of save_city 2023-01-23 10:00:42 -05:00
fda986dc87 Merge pull request 'api-v2' (#6) from api-v2 into main
Reviewed-on: https://nextgenerations-cities.encs.concordia.ca/gitea/p_yefi/gamification_service_v2/pulls/6
2023-01-20 14:02:20 -05:00
Peter Yefi
bc76ac86d1 Added documentation for energy demand 2023-01-20 14:01:40 -05:00
Peter Yefi
fdd4a31ac0 Added openapi specs for construction and construction catalog 2023-01-20 13:41:46 -05:00