Commit 4e95fed5 authored by David Foucher's avatar David Foucher

Pre-release 0.8.0

parent 0431f46c
Pipeline #2787 passed with stage
in 2 minutes and 5 seconds
# Changelog
## 0.8.0
- new explorer in VueJS with iso fonctionalty with old one
- new explorer: possibility to modifiy rules
- api: new authentification endpoint, be authentify to process rules modification
- api: new remuneration endpoint /remuneration
- api: new source code endpoint, possibility to interact with gitlab to modifiy rules
- api: new certifinfo endpoint, to get label of one or more certifinfo
- api: new healthcheck endpoint
- change repo from framagit to gitlab PE
## 0.7.0
- switch to LBF json catalog instead of Intercarif XML
......
......@@ -19,31 +19,31 @@ server {
rewrite ^/$ /0.7/explorer last;
}
location /0.7 {
location /0.8 {
root /srv/trefle/backoffice;
error_log /var/log/nginx/error.log;
access_log /var/log/nginx/access.log;
location /0.7/explorer {
location /0.8/explorer {
alias /srv/trefle/backoffice;
index index.html;
try_files $uri /0.7/explorer/index.html;
try_files $uri /0.8/explorer/index.html;
}
rewrite /0.7/(.*) /$1 break;
rewrite /0.8/(.*) /$1 break;
try_files $uri @gunicorn-master;
}
location /api-moteur/0.7 {
rewrite /api-moteur/0.7/(.*) /$1 break;
location /api-moteur/0.8 {
rewrite /api-moteur/0.8/(.*) /$1 break;
try_files $uri @gunicorn-master;
}
location ^~ {
rewrite ^/(.*)$ /0.7/$1 last;
rewrite ^/(.*)$ /0.8/$1 last;
}
#previous API version
......@@ -54,25 +54,25 @@ server {
proxy_set_header Host $host;
}
location /0.6 {
location /0.7 {
root /srv/trefle-old/trefle;
error_log /var/log/nginx/error.log;
access_log /var/log/nginx/access.log;
location /0.6/explorer {
location /0.7/explorer {
alias /srv/trefle-old/trefle/explorer;
index index.html;
}
rewrite /0.6/(.*) /$1 break;
rewrite /0.7/(.*) /$1 break;
try_files $uri @gunicorn-old;
}
location /api-moteur/0.6 {
rewrite /api-moteur/0.6/(.*) /$1 break;
location /api-moteur/0.7 {
rewrite /api-moteur/0.7/(.*) /$1 break;
try_files $uri @gunicorn-old;
}
......
......@@ -9,7 +9,7 @@ def is_pkg(line):
with Path("requirements.txt").open() as reqs:
install_requires = [l for l in reqs.read().split("\n") if is_pkg(l)]
VERSION = (0, 7, 16)
VERSION = (0, 8, 0)
__author__ = "Yohan Boniface"
__contact__ = "yohan.boniface@data.gouv.fr"
......
......@@ -129,37 +129,6 @@ async def remuneration_(request, response):
# k: v for k, v in context.items()
# if k in SCHEMA and "label" in SCHEMA[k]}
response.json = body
"""
try:
await simulate(context, financements)
except DataError as err:
error = {err.key: err.error}
log_simulate(context, errors=error)
raise HttpError(HTTPStatus.UNPROCESSABLE_ENTITY, error)