Пример #1
0
def contributed_object_views():
  from . import models
  from ggrc.views.registry import object_view
  return [
      object_view(models.Risk),
      object_view(models.Threat),
  ]
Пример #2
0
def contributed_object_views():
    from . import models
    from ggrc.views.registry import object_view
    return [
        object_view(models.Risk),
        object_view(models.Threat),
    ]
Пример #3
0
def contributed_object_views():
    """Contributed object views"""
    from ggrc.views.registry import object_view

    return [
        object_view(models.Workflow),
    ]
Пример #4
0
def contributed_object_views():
  """Contributed object views"""
  from ggrc.views.registry import object_view

  return [
      object_view(models.Workflow),
  ]
Пример #5
0
def contributed_object_views():
  """Contributed object views"""
  contributed_objects = [
      models.AccessGroup,
      models.AccountBalance,
      models.Assessment,
      models.AssessmentTemplate,
      models.Audit,
      models.Contract,
      models.Control,
      models.DataAsset,
      models.Document,
      models.Evidence,
      models.Facility,
      models.Issue,
      models.Market,
      models.Objective,
      models.OrgGroup,
      models.Person,
      models.Policy,
      models.Process,
      models.Product,
      models.Program,
      models.Project,
      models.Regulation,
      models.Requirement,
      models.Risk,
      models.Snapshot,
      models.Standard,
      models.System,
      models.TechnologyEnvironment,
      models.Threat,
      models.Vendor,
      models.Metric,
      models.ProductGroup,
      models.KeyReport,
  ]
  return [registry.object_view(obj) for obj in contributed_objects]
Пример #6
0
def contributed_object_views():
    """Contributed object views"""
    contributed_objects = [
        models.AccessGroup,
        models.AccountBalance,
        models.Assessment,
        models.AssessmentTemplate,
        models.Audit,
        models.Contract,
        models.Control,
        models.DataAsset,
        models.Document,
        models.Evidence,
        models.Facility,
        models.Issue,
        models.Market,
        models.Objective,
        models.OrgGroup,
        models.Person,
        models.Policy,
        models.Process,
        models.Product,
        models.Program,
        models.Project,
        models.Regulation,
        models.Requirement,
        models.Risk,
        models.Snapshot,
        models.Standard,
        models.System,
        models.TechnologyEnvironment,
        models.Threat,
        models.Vendor,
        models.Metric,
        models.ProductGroup,
        models.KeyReport,
    ]
    return [registry.object_view(obj) for obj in contributed_objects]
Пример #7
0
def contributed_object_views():
  """Contributed object views"""

  return [
      object_view(models.BackgroundTask),
      object_view(models.Program),
      object_view(models.Audit),
      object_view(models.Directive, RedirectedPolymorphView),
      object_view(models.Contract),
      object_view(models.Policy),
      object_view(models.Regulation),
      object_view(models.Standard),
      object_view(models.Clause),
      object_view(models.Section),
      object_view(models.Control),
      object_view(models.Assessment),
      object_view(models.AssessmentTemplate),
      object_view(models.Objective),
      object_view(models.System),
      object_view(models.Process),
      object_view(models.Product),
      object_view(models.OrgGroup),
      object_view(models.Facility),
      object_view(models.Market),
      object_view(models.Project),
      object_view(models.DataAsset),
      object_view(models.AccessGroup),
      object_view(models.Person),
      object_view(models.Vendor),
      object_view(models.Issue),
      object_view(models.Snapshot),
  ]
Пример #8
0
def contributed_object_views():
    """Contributed object views"""

    return [
        object_view(models.AccessGroup),
        object_view(models.Assessment),
        object_view(models.AssessmentTemplate),
        object_view(models.Audit),
        object_view(models.Clause),
        object_view(models.Contract),
        object_view(models.Control),
        object_view(models.DataAsset),
        object_view(models.Document),
        object_view(models.Facility),
        object_view(models.Issue),
        object_view(models.Market),
        object_view(models.Objective),
        object_view(models.OrgGroup),
        object_view(models.Person),
        object_view(models.Policy),
        object_view(models.Process),
        object_view(models.Product),
        object_view(models.Program),
        object_view(models.Project),
        object_view(models.Regulation),
        object_view(models.Section),
        object_view(models.Snapshot),
        object_view(models.Standard),
        object_view(models.System),
        object_view(models.Vendor),
    ]
Пример #9
0
def contributed_object_views():
  from ggrc.views.registry import object_view
  return [
      object_view(Role)
  ]
Пример #10
0
def contributed_object_views():
  """Contributed object views"""
  return [registry.object_view(obj) for obj in CONTRIBUTED_OBJECTS]
Пример #11
0
def contributed_object_views():
    """Contributed object views"""

    return [
        object_view(models.BackgroundTask),
        object_view(models.Program),
        object_view(models.Audit),
        object_view(models.Directive, RedirectedPolymorphView),
        object_view(models.Contract),
        object_view(models.Policy),
        object_view(models.Regulation),
        object_view(models.Standard),
        object_view(models.Clause),
        object_view(models.Section),
        object_view(models.Control),
        object_view(models.Assessment),
        object_view(models.AssessmentTemplate),
        object_view(models.Objective),
        object_view(models.System),
        object_view(models.Process),
        object_view(models.Product),
        object_view(models.Request),
        object_view(models.OrgGroup),
        object_view(models.Facility),
        object_view(models.Market),
        object_view(models.Project),
        object_view(models.DataAsset),
        object_view(models.AccessGroup),
        object_view(models.Person),
        object_view(models.Vendor),
        object_view(models.Issue),
    ]
Пример #12
0
def contributed_object_views():
  from ggrc.views.registry import object_view
  return [
      object_view(Role)
  ]
Пример #13
0
def contributed_object_views():
    """Contributed object views"""

    return [
        object_view(models.AccessGroup),
        object_view(models.Assessment),
        object_view(models.AssessmentTemplate),
        object_view(models.Audit),
        object_view(models.Contract),
        object_view(models.Control),
        object_view(models.DataAsset),
        object_view(models.Document),
        object_view(models.Evidence),
        object_view(models.Facility),
        object_view(models.Issue),
        object_view(models.Market),
        object_view(models.Objective),
        object_view(models.OrgGroup),
        object_view(models.Person),
        object_view(models.Policy),
        object_view(models.Process),
        object_view(models.Product),
        object_view(models.Program),
        object_view(models.Project),
        object_view(models.Regulation),
        object_view(models.Requirement),
        object_view(models.Risk),
        object_view(models.Snapshot),
        object_view(models.Standard),
        object_view(models.System),
        object_view(models.TechnologyEnvironment),
        object_view(models.Threat),
        object_view(models.Vendor),
        object_view(models.Metric),
        object_view(models.ProductGroup),
    ]
Пример #14
0
def contributed_object_views():
  """Contributed object views"""

  return [
      object_view(models.AccessGroup),
      object_view(models.Assessment),
      object_view(models.AssessmentTemplate),
      object_view(models.Audit),
      object_view(models.Clause),
      object_view(models.Contract),
      object_view(models.Control),
      object_view(models.DataAsset),
      object_view(models.Document),
      object_view(models.Evidence),
      object_view(models.Facility),
      object_view(models.Issue),
      object_view(models.Market),
      object_view(models.Objective),
      object_view(models.OrgGroup),
      object_view(models.Person),
      object_view(models.Policy),
      object_view(models.Process),
      object_view(models.Product),
      object_view(models.Program),
      object_view(models.Project),
      object_view(models.Regulation),
      object_view(models.Requirement),
      object_view(models.Snapshot),
      object_view(models.Standard),
      object_view(models.System),
      object_view(models.TechnologyEnvironment),
      object_view(models.Vendor),
      object_view(models.Metric),
      object_view(models.ProductGroup),
  ]