Maxime Alves LIRMM
f7879c6388
[release] 0.6.10
...
- Add "x-out" field in HTTP headers when "out" parameters are specified for a
route
- Add "out" kwarg for not-async functions that specify it
- Hide data fields in args_check logs
- Fix testing lib for domains (add default secret and debug option)
- Domains now need to include the following variables in their __init__.py
- __name__ (str, optional)
- __id__ (str, optional)
- halfapi domain
- Mounts domain routers with their ACLs as decorator
- Configuration example files for systemd and a system-wide halfapi install
- Runs projects
- Handles JWT authentication middleware
2022-03-08 19:24:24 +01:00
Maxime Alves LIRMM
84179743a6
[release] 0.6.9
2022-03-02 16:46:32 +01:00
Maxime Alves LIRMM
adf7f872b6
changelog
2022-02-28 10:21:01 +01:00
Maxime Alves LIRMM
b96f4908c6
[release] 0.6.8
2022-02-28 10:10:06 +01:00
Maxime Alves LIRMM
a388faf1d8
[testing] add "secret" and "production" variable to test_domain configuration
2022-02-28 09:58:47 +01:00
Maxime Alves LIRMM
4d6e935813
[ci/cd] fix kaniko executor
2022-02-10 16:31:26 +01:00
Maxime Alves LIRMM
4e080f805f
[fix] odsresponse
2022-02-10 16:30:08 +01:00
Maxime Alves LIRMM
91dd4cbaa8
[ci/cd] check tag and not branch master
2022-02-10 16:01:38 +01:00
Maxime Alves LIRMM
209c6ef40a
[ci/cd] add rules to execute build stage
2022-02-10 14:31:30 +00:00
Maxime Alves LIRMM
a1c1bf04df
[ci/cd] stages
2022-02-10 15:15:08 +01:00
Maxime Alves LIRMM
90203b2edf
[ci] add ./tests to pytest command
2022-02-10 12:38:54 +01:00
Maxime Alves LIRMM
a69d2b7639
[tests] async router renamed to async_router
2022-02-10 12:30:49 +01:00
Maxime Alves LIRMM
c3153921f7
[tests] test_domain import dummy_domain inside test class
2022-02-10 11:59:40 +01:00
Maxime Alves LIRMM
97fee8ca96
[ci] execute pytest on tests folder
2022-02-10 11:56:35 +01:00
Maxime Alves LIRMM
d33c82e348
[0.6.7] fix ODSResponse
2022-02-10 10:30:19 +01:00
Maxime Alves LIRMM@home
058121d985
[release] 0.6.6
2022-01-21 14:39:46 +01:00
Maxime Alves LIRMM@home
2e5680d29a
[auth] dont activate authenticationMiddleware if secret is missing. NO SECRET ONLY IN FULLY PUBLIC DOMAINS!!!
2022-01-21 14:39:34 +01:00
Maxime Alves LIRMM@home
979007f287
[fix][log] active domains list logging
2022-01-21 14:38:28 +01:00
Maxime Alves LIRMM@home
df555c7d26
[fix] when running one-domain mode we should set the configuration as if the domain was activated
2022-01-21 14:37:54 +01:00
Maxime Alves LIRMM@home
be312d4b7a
[fix][run] wont pop keys if we dont operate on a copy
2022-01-21 14:32:55 +01:00
Maxime Alves LIRMM
f02a97fbf8
[testing] set starlette client in setUp
2021-12-15 12:37:49 +01:00
Maxime Alves LIRMM@home
e9ffb553c8
[release] 0.6.4
2021-12-14 09:05:50 +01:00
Maxime Alves LIRMM@home
776cc8c85e
[testing] fix check_routes of test_domain
2021-12-14 09:04:06 +01:00
Maxime Alves LIRMM@home
5d5ffdfb7c
[tests] re-enable dummy_project route testing
2021-12-14 09:03:45 +01:00
Maxime Alves LIRMM@home
7c0f5717f4
[half_route] error handling
2021-12-14 09:01:38 +01:00
Maxime Alves LIRMM
7fb5e25411
[release] 0.6.3
2021-12-13 14:47:21 +01:00
Maxime Alves LIRMM
a0dbbca04d
[fix] forgot __init__.py in testing
2021-12-13 14:45:00 +01:00
Maxime Alves LIRMM
95fb267e81
[release] 0.6.2
2021-12-13 13:50:52 +01:00
Maxime Alves LIRMM
e9bf94a607
[cli/domain] now instantiate HalfAPI and manually add the domain before calling schema function
2021-12-13 13:49:58 +01:00
Maxime Alves LIRMM
f82cd5552b
[half_domain] remove "config" argument, now uses "config" attribute from HalfAPI instance, add version and halfapi_versrion attributes, update DomainMiddleware init arguments
2021-12-13 12:45:10 +01:00
Maxime Alves LIRMM
bdbad9e296
[halfapi] now inherits from Starlette class. Uses a dict to store HalfDomain instances
2021-12-13 12:43:26 +01:00
Maxime Alves LIRMM
76e942ab91
[tests] add test file for lib/domain_middleware
2021-12-13 12:42:12 +01:00
Maxime Alves LIRMM
8fff1f5372
[tests] fix tests and add "mix_stderr=False" to CliRunner instance
2021-12-13 12:41:33 +01:00
Maxime Alves LIRMM
048c9f1bab
[tests] fix for schema lists
2021-12-08 16:45:00 +01:00
Maxime Alves LIRMM
d5f39a7929
[schemas] always give a list of schemas
2021-12-08 16:42:12 +01:00
Maxime Alves LIRMM
648841d90f
[dummy_domain] set an id to dummy_domain
2021-12-08 15:34:00 +01:00
Maxime Alves LIRMM
c658815eb5
[cli] fix halfapi domain --read
2021-12-08 13:08:08 +01:00
Maxime Alves LIRMM
46e62575ae
[half_domain] fix test_dummy_project
2021-12-08 12:23:47 +01:00
Maxime Alves LIRMM
7001cec86e
[wip] refactor half_domain
2021-12-07 11:42:02 +01:00
Maxime Alves LIRMM@home
b4157c4a7d
[wip][testfail] multiple-domains app
2021-12-07 07:53:36 +01:00
Maxime Alves LIRMM@home
96f78e76c5
[tests][testfail] add default routes testing, /halfapi/acls fail
2021-12-04 09:56:14 +01:00
Maxime Alves LIRMM@home
d54dcd641d
[conf] fix secret tempfile creation
2021-12-04 00:28:30 +01:00
Maxime Alves LIRMM
7060d201ec
[deps] optional requirements for ODSResponse
2021-12-03 17:26:14 +01:00
Maxime Alves LIRMM
dbca2f28fb
[conf] use of toml for halfapi configs. re-enable possibility of multiple domains
2021-12-03 17:25:57 +01:00
Maxime Alves LIRMM@home
d06857bf49
[config][wip][nf] removal of "domains" and "domain" section
2021-12-03 09:49:30 +01:00
Maxime Alves LIRMM@home
3dc951c81e
[tests] tidy cli tests
2021-12-03 09:20:40 +01:00
Maxime Alves LIRMM@home
a8e5cfc0ff
[wip][responses] allow to change return format with "format" route argument, add ODSResponse
2021-12-01 21:16:19 +01:00
Maxime Alves LIRMM@home
20cada4fa0
[halfapi] fix domain importlib
2021-12-01 21:14:17 +01:00
Maxime Alves LIRMM@home
c1bb637be7
[lib.router] forbid extra-keys in routes dict (no more FQTN at same level of methods)
2021-12-01 21:13:35 +01:00
Maxime Alves LIRMM@home
a37c2356d6
[lib.domain] error log when missing docstring
2021-12-01 21:12:19 +01:00