Commit 279cbfa8 authored by Łukasz Nowak's avatar Łukasz Nowak

Fetch software release url.

parent e3d64112
...@@ -368,7 +368,7 @@ class InstancePublisher(GenericPublisher): ...@@ -368,7 +368,7 @@ class InstancePublisher(GenericPublisher):
d = { d = {
"title": software_instance.getTitle(), "title": software_instance.getTitle(),
"status": software_instance.getSlapState(), "status": software_instance.getSlapState(),
"software_release": "", # not ready yet "software_release": software_instance.getRootSoftwareReleaseUrl(),
"software_type": software_instance.getSourceReference(), "software_type": software_instance.getSourceReference(),
"slave": software_instance.getPortalType() == 'Slave Instance', "slave": software_instance.getPortalType() == 'Slave Instance',
"connection": software_instance.getConnectionXmlAsDict(), "connection": software_instance.getConnectionXmlAsDict(),
...@@ -499,7 +499,6 @@ class ComputerPublisher(GenericPublisher): ...@@ -499,7 +499,6 @@ class ComputerPublisher(GenericPublisher):
self.REQUEST.response.setStatus(204) self.REQUEST.response.setStatus(204)
return self.REQUEST.response return self.REQUEST.response
class VifibRestAPIV1(Implicit): class VifibRestAPIV1(Implicit):
security = ClassSecurityInfo() security = ClassSecurityInfo()
security.declareObjectProtected(Permissions.AccessContentsInformation) security.declareObjectProtected(Permissions.AccessContentsInformation)
......
13 14
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment