cerc
7be95d7cc5
try to fix db connection
2023-04-03 14:51:21 -04:00
cerc
e7c49e7e25
specific changes for the servert
2023-03-30 12:45:46 -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
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
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
Peter Yefi
c462d75e08
Renamed export factory
2023-01-17 20:13:54 -05:00
Peter Yefi
582c18ef0c
included db import reference to config
2023-01-17 20:10:20 -05:00
Koa
4628686d40
Update skeleton
2023-01-17 19:17:18 -05:00
Koa
a9e740d034
Add skeleton for city commands and add API routes
2023-01-17 19:15:18 -05:00
Peter Yefi
f893959c78
Removed city attachment to session. City is read from the DB
2023-01-17 19:00:22 -05:00
Peter Yefi
025fe02f71
Read energy demand as an array of floats
2023-01-17 18:59:59 -05:00
Peter Yefi
ab4492aebb
Removed unused imports and code
2023-01-16 16:08:02 -05:00
Peter Yefi
31867370d8
Added user endpoints with swagger documentation including authorization token and appid
2023-01-16 15:31:02 -05:00