Skip to content
Snippets Groups Projects
Commit d312cd8a authored by Release Webservice's avatar Release Webservice
Browse files

Finished release 0.25.

parents f8e0f8f5 38f5c5f6
No related branches found
Tags 0.25
No related merge requests found
......@@ -84,7 +84,7 @@ def delete_expired_api_tokens(request: AdminRequest, org_id: int) -> bool:
tokens = request.get('api/auth/keys', params={'includeExpired': True})
now = datetime.now()
now = datetime.utcnow()
def is_expired(token):
date = datetime.strptime(token['expiration'], '%Y-%m-%dT%H:%M:%SZ')
......
......@@ -279,6 +279,13 @@ def _provision_interfaces(config, org_config, ds_name, token):
# loop over interfaces and add them to the dashboard_name
# -> folder mapping structure `dashboards` above, for convenience.
for dash in DASHBOARDS:
DASHBOARDS[dash]['interfaces'] = []
for dash in AGG_DASHBOARDS:
AGG_DASHBOARDS[dash]['interfaces'] = []
for iface in relevant_interfaces:
for dash_name in iface['dashboards']:
......@@ -589,7 +596,7 @@ def provision(config):
for uid in all_original_dashboard_uids - managed_dashboard_uids:
logger.info(f'Deleting stale dashboard with UID {uid}')
delete_dashboard(token, {'uid': uid})
delete_dashboard(token_request, {'uid': uid})
_delete_unknown_folders(config, token_request)
......
......@@ -2,6 +2,12 @@
All notable changes to this project will be documented in this file.
## [0.24] - 2021-10-12
- POL1-463: bugfixes
## [0.24] - 2021-10-11
- POL1-463: EUMETSAT multicast dashboards
## [0.23] - 2021-09-28
- Remove exclusion of GWS (In-)direct for relevant organizations
......
......@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup(
name='brian-dashboard-manager',
version="0.24",
version="0.25",
author='GEANT',
author_email='swd@geant.org',
description='',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment