Commit Graph

127 Commits

Author SHA1 Message Date
Maxime Alves LIRMM
8d2be99068 [package] fixed some paths 2020-08-27 09:54:48 +02:00
Maxime Alves LIRMM
2389d67749 [conf] sets the HALFAPI_PROD environment variable 2020-08-26 14:06:53 +02:00
Maxime Alves LIRMM@home
30651ec19b [deps] jwt -> PyJWT 2020-08-07 02:08:22 +02:00
Maxime Alves LIRMM@home
bdc131434b [conf] set SECRET in environ 2020-08-07 01:58:41 +02:00
Maxime Alves LIRMM@home
3849ba4500 [cli][domain] one more thing 2020-08-07 00:30:59 +02:00
Maxime Alves LIRMM@home
05a95d069b [cli][domain] continue to convert code ... 2020-08-07 00:28:46 +02:00
Maxime Alves LIRMM@home
63793a94e5 [cli][domain] forgot to remove argument 2020-08-07 00:26:29 +02:00
Maxime Alves LIRMM@home
51c319de20 [cli][domain] continue -> return 2020-08-07 00:24:58 +02:00
Maxime Alves LIRMM@home
976ba9b808 [cli][domain] update_db is now run with a string as argument 2020-08-07 00:19:10 +02:00
Maxime Alves LIRMM@home
cdcf8d034d [cli][domain] clean debug code 2020-08-07 00:09:57 +02:00
Maxime Alves LIRMM@home
b4302f50e4 [conf] moved "domains" section to .halfapi/config 2020-08-07 00:02:59 +02:00
Maxime Alves LIRMM@home
c4872ec0b3 [cli][tests] Changed the routes names and wrote the tests according to current configuration 2020-08-07 00:00:33 +02:00
Maxime Alves LIRMM@home
ad1304f8d4 [tests][cli] first tests for post-init phase 2020-08-06 23:39:04 +02:00
Maxime Alves LIRMM@home
7c4eafb40c [cli][domain] better output for list_routes 2020-08-05 21:48:29 +02:00
Maxime Alves LIRMM@home
63bd4c8db6 [domain] changed "route" command to "domain", fixed "list_routes" 2020-08-05 21:26:59 +02:00
Maxime Alves LIRMM
914cb149e1 [tests][cli] fixed cli import 2020-08-05 14:28:55 +02:00
Maxime Alves LIRMM
6a65aaeaef [cli][tests] split cli __init__ module, added check for .halfapi/config 2020-08-05 14:01:39 +02:00
Maxime Alves LIRMM
155bab1e8f [cli] split cli/__init__ into multiple files 2020-08-05 14:01:39 +02:00
Maxime Alves LIRMM
60877762c0 [cli] moved run command to its own file 2020-08-05 14:01:39 +02:00
Joël Maïzi
d164ad001a [lib] Add HJSONResponse. 2020-08-05 12:58:05 +02:00
Maxime Alves LIRMM
446db4ee27 [cli] renamed init-project to init 2020-08-05 12:30:11 +02:00
Maxime Alves LIRMM
7ff8d803ee [tests][cli] added tests for domain command 2020-08-05 12:28:37 +02:00
Maxime Alves LIRMM
048d06de37 [tests] moved cli tests to one file with incremental tests (exits if one fails) 2020-08-05 12:28:37 +02:00
Maxime Alves LIRMM
d47f735828 [tests][cli] init_project tests passes 2020-08-05 12:28:37 +02:00
Maxime Alves LIRMM
50314e6656 [tests][cli] rewrite of cli/test_init_project.py 2020-08-05 12:28:37 +02:00
Joël Maïzi
7f0e2d0a07 [cli] Print routes when running application. 2020-08-05 10:34:54 +02:00
Joël Maïzi
ceaf2774bf [cli] .halfapi/domains. 2020-08-05 10:04:20 +02:00
Joël Maïzi
15a63f3713 [cli] create project directory. 2020-08-05 09:40:16 +02:00
Joël Maïzi
d86dab8de1 Add requirements versions. 2020-08-05 09:32:00 +02:00
Joël Maïzi
36f87849ca Remove gitpy2 dependency. 2020-08-05 09:24:02 +02:00
Maxime Alves LIRMM
b34631cdd0 [cli][init-project][tests][wip] creation du projet halfapi 2020-08-05 09:24:02 +02:00
Maxime Alves LIRMM
74c2c4e056 [tests] updated tests for init-project 2020-08-05 09:24:02 +02:00
Joël Maïzi
a3c3d7c816 [cli][WIP] Init API repo directory. 2020-08-05 09:24:02 +02:00
Joël Maïzi
14ab8bd346 [routes] Await route function in decorator. 2020-07-30 11:11:40 +02:00
Joël Maïzi
b8f1d3a35e [routes] Fix func -> fct. 2020-07-30 11:06:36 +02:00
Joël Maïzi
f28e11e051 [deps] Remove cli from extras_require. 2020-07-30 10:03:04 +02:00
Maxime Alves LIRMM@home
4eba987eb9 [cli] simplification of halfapi routes 2020-07-29 22:58:25 +02:00
Maxime Alves LIRMM@home
3a81dfae96 [tests] dbupdate removal 2020-07-29 22:10:15 +02:00
Maxime Alves LIRMM@home
d5fcfa0f24 [doc] Update readme 2020-07-29 22:07:16 +02:00
Maxime Alves LIRMM@home
7ef6e78010 [deps] Updated dependencies and added files for standard packaging.
The halfapi-cli tool needs to be installed using [cli] option :
pip3 install -e .[cli]
2020-07-29 22:07:16 +02:00
Maxime Alves LIRMM@home
4d02cf4acd [cli] Added init-project command and cli tests 2020-07-29 22:07:16 +02:00
Joël Maïzi
527d5c2e93 Replace dbupdate command with routes.
Allows to use --update, --list, ...
2020-07-29 16:40:25 +02:00
Maxime Alves LIRMM@home
e289f6ad6b [cli] handle dbupdate without argument 2020-07-28 16:22:34 +02:00
Joël Maïzi
be1e5ed722 Fix some typos. 2020-07-28 14:40:01 +02:00
Maxime Alves LIRMM@home
cf9b5168b4 [conf] get -> items for list of domains, fix default conf 2020-07-28 11:50:53 +02:00
Joël Maïzi
f5a210a855 Fix #9. Mise en place du chargement des domaines à partir du fichier de conf. 2020-07-28 11:04:21 +02:00
Maxime Alves LIRMM@home
9e4c3506d5 [conf] fix default config 2020-07-28 09:54:29 +02:00
Maxime Alves LIRMM@home
ad3792340c cleaned trailing spaces 2020-07-28 09:46:21 +02:00
Maxime Alves LIRMM
e4d0b6c17e handle "/" routes 2020-07-24 18:27:20 +02:00
Maxime Alves LIRMM
0fffab106f read correct config from halfapiconfig 2020-07-24 18:16:57 +02:00