diff --git a/brian_dashboard_manager/inventory_provider/interfaces.py b/brian_dashboard_manager/inventory_provider/interfaces.py index 44951bcba912970d44bc367f94b179354bab7ab9..ea0b023f167b186c3a4492208e6ee94cb6b68883 100644 --- a/brian_dashboard_manager/inventory_provider/interfaces.py +++ b/brian_dashboard_manager/inventory_provider/interfaces.py @@ -436,4 +436,8 @@ def get_nren_regions(host): data = [] jsonschema.validate(data, NREN_REGION_LIST_SCHEMA) + # ugly hack: if a region isn't on the list of recognised regions, prune it from the region list + # TODO: figure out something that isn't this + recognised_regions = ['EAP'] + data = [d for d in data if d['region'] in recognised_regions] return data diff --git a/changelog.md b/changelog.md index a41a06370af488a77e66e1ad0b1a99c8d9d96d26..fc79ef63ddcb61fb7a9d68c6eeb01d1cf9db4ffd 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,9 @@ All notable changes to this project will be documented in this file. +## [0.76] - 2024-12-05 +- POL1-869: Fix issue where if unrecognized regions are used, no services are populated for the NREN. + ## [0.75] - 2024-11-13 - POL1-857: Fix issue with Grafana not properly escaping certain values for the home dashboard. - Fix connection pool thread exhaustion. diff --git a/setup.py b/setup.py index df7c84e74c3eab43f697fe351787ea0a953d2ff1..74ee3916a698ab21d5165bf97edc874b6e475683 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup( name='brian-dashboard-manager', - version="0.75", + version="0.76", author='GEANT', author_email='swd@geant.org', description='',