From 8a5d9f36cd65dfb39b7cc556c9c20d6f24cc74d7 Mon Sep 17 00:00:00 2001 From: Santiago Lamora Date: Mon, 17 Feb 2020 12:41:30 +0100 Subject: [PATCH] Remove old TODOs and comment mock data. --- musician/api.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/musician/api.py b/musician/api.py index 7a93081..7bb6ee0 100644 --- a/musician/api.py +++ b/musician/api.py @@ -180,16 +180,12 @@ class Orchestra(object): # retrieve websites (as they cannot be filtered by domain on the API we should do it here) domain_json['websites'] = self.filter_websites_by_domain(websites, domain_json['id']) - # TODO(@slamora): databases and sass are not related to a domain, so cannot be filtered - # domain_json['databases'] = self.retrieve_service_list(DatabaseService.api_name, querystring) - # domain_json['saas'] = self.retrieve_service_list(SaasService.api_name, querystring) - # TODO(@slamora): update when backend provides resource disk usage data domain_json['usage'] = { - 'usage': 300, - 'total': 650, - 'unit': 'MB', - 'percent': 50, + # 'usage': 300, + # 'total': 650, + # 'unit': 'MB', + # 'percent': 50, } # append to list a Domain object