blob: 9f7687c60e4eae73dcf353589b058f9cfafffb97 [file] [log] [blame]
import os
import pdb
import sys
import tempfile
sys.path.append("/opt/tosca")
from translator.toscalib.tosca_template import ToscaTemplate
from core.models import DashboardView, Site, Deployment, SiteDeployment
from xosresource import XOSResource
class XOSDashboardView(XOSResource):
provides = "tosca.nodes.DashboardView"
xos_model = DashboardView
copyin_props = ["url","enabled"]
def get_xos_args(self):
return super(XOSDashboardView, self).get_xos_args()
def can_delete(self, obj):
return super(XOSDashboardView, self).can_delete(obj)