fix resource show and list

just a mock for now

Change-Id: I24ae06a3c79a878326ad5c3464f9c155448aff55
This commit is contained in:
Eyal 2016-02-14 15:13:48 +02:00
parent 5ef520b28d
commit 5030a4111d

View File

@ -45,7 +45,8 @@ class ResourcesController(rest.RestController):
@staticmethod
def get_resources(resource_type):
return dict()
# todo(eyalb1) need a mock for this
return [{'None': None}]
class ResourceController(rest.RestController):
@ -67,4 +68,5 @@ class ResourceController(rest.RestController):
@staticmethod
def get_resource(id_):
return dict()
# todo(eyalb1) need a mock for this
return {'None': None}