Skip to content

Commit b4d828f

Browse files
author
btgoodwin
committed
Moved 'waveforms' listing from the 'applications' target to the domain.
1 parent 34429be commit b4d828f

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

rest/application.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,8 @@ def get(self, domain_name, app_id=None):
5050
}
5151
else:
5252
apps = yield self.redhawk.get_application_list(domain_name)
53-
wfs = yield self.redhawk.get_available_applications(domain_name)
5453

55-
info = {'applications': apps, 'waveforms': wfs}
54+
info = {'applications': apps}
5655

5756
self._render_json(info)
5857
except Exception as e:

rest/domain.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def get(self, domain_name=None, *args):
4141
dom_info = yield self.redhawk.get_domain_info(domain_name)
4242
propertySet = yield self.redhawk.get_domain_properties(domain_name)
4343
apps = yield self.redhawk.get_application_list(domain_name)
44+
wfs = yield self.redhawk.get_available_applications(domain_name)
4445
device_managers = yield self.redhawk.get_device_manager_list(domain_name)
4546
allocations = yield self.redhawk.get_allocation_list(domain_name)
4647
fs = yield self.redhawk.get_path(domain_name, '')
@@ -51,6 +52,7 @@ def get(self, domain_name=None, *args):
5152
'properties': self.format_properties(propertySet, dom_info.query([])),
5253
'eventChannels': event_channels,
5354
'applications': apps,
55+
'waveforms': wfs,
5456
'deviceManagers': device_managers,
5557
'allocations': allocations,
5658
'fs': fs

0 commit comments

Comments
 (0)