Beispiel #1
0
 def get_all(cls, context):
     return OperationList(sql.model_query(context, Operation))
Beispiel #2
0
 def get_all(cls, context):
     return ExtensionList(sql.model_query(context, Extension))
Beispiel #3
0
 def get_all(cls, context):
     return SensorList(sql.model_query(context, Sensor))
Beispiel #4
0
 def get_all(cls, context):
     return PipelineList(sql.model_query(context, Pipeline))
Beispiel #5
0
 def get_all_languagepacks(cls, context):
     """Return all images that are languagepacks."""
     return ImageList(
         sql.model_query(context,
                         Image).filter_by(artifact_type='language_pack'))
Beispiel #6
0
 def get_all(cls, context):
     return PlanList(sql.model_query(context, Plan))
Beispiel #7
0
 def get_all(cls, context):
     return UserlogList(sql.model_query(context, Userlog))
Beispiel #8
0
 def get_all(cls, context, app_id=None):
     wfs = sql.model_query(context, Workflow)
     if app_id is not None:
         wfs = wfs.filter_by(app_id=app_id)
     return WorkflowList(wfs)
Beispiel #9
0
 def get_all(cls, context):
     list_obj = ApplicationList()
     list_obj.objects = list(sql.model_query(context, Application))
     return list_obj
Beispiel #10
0
 def get_all(cls, context):
     return InfrastructureStackList(sql.model_query(context,
                                                    InfrastructureStack))
Beispiel #11
0
 def get_all(cls, context):
     list_obj = ApplicationList()
     list_obj.objects = list(sql.model_query(context, Application))
     return list_obj
Beispiel #12
0
 def get_all(cls, context):
     return LanguagePackList(sql.model_query(context, LanguagePack))
Beispiel #13
0
 def get_all(cls, context):
     return LanguagePackList(sql.model_query(context, LanguagePack))
Beispiel #14
0
 def get_all(cls, context):
     return OperationList(sql.model_query(context, Operation))
Beispiel #15
0
 def get_all(cls, context):
     return InfrastructureStackList(
         sql.model_query(context, InfrastructureStack))
Beispiel #16
0
 def get_all_languagepacks(cls, context):
     """Return all images that are languagepacks."""
     return ImageList(sql.model_query(
         context, Image).filter_by(artifact_type='language_pack'))
Beispiel #17
0
 def get_all(cls, context):
     return AssemblyList(sql.model_query(context, Assembly))
Beispiel #18
0
 def get_all(cls, context):
     """Return all images."""
     return ImageList(sql.model_query(context, Image))
Beispiel #19
0
 def get_all(cls, context):
     return ImageList(sql.model_query(context, Image))
Beispiel #20
0
 def get_all(cls, context):
     return PlanList(sql.model_query(context, Plan))
Beispiel #21
0
 def get_all(cls, context):
     return AppList(sql.model_query(context, App))
Beispiel #22
0
 def get_all(cls, context):
     return ServiceList(sql.model_query(context, Service))
Beispiel #23
0
 def get_all(cls, context):
     return AssemblyList(sql.model_query(context, Assembly))
Beispiel #24
0
 def get_all(cls, context):
     return AppList(sql.model_query(context, App))
Beispiel #25
0
 def get_all(cls, context):
     return ComponentList(sql.model_query(context, Component))
Beispiel #26
0
 def get_all(cls, context):
     return ComponentList(sql.model_query(context, Component))
Beispiel #27
0
 def get_all(cls, context):
     mq = sql.model_query(context, Assembly).order_by(
         'updated_at desc', 'created_at desc')
     return AssemblyList(mq)
Beispiel #28
0
 def get_all(cls, context):
     return UserlogList(sql.model_query(context, Userlog))
Beispiel #29
0
 def get_all(cls, context):
     """Return all images."""
     return ImageList(sql.model_query(context, Image))
Beispiel #30
0
 def get_all(cls, context):
     return ServiceList(sql.model_query(context, Service))
Beispiel #31
0
 def get_all(cls, context):
     return ParameterList(sql.model_query(context, Parameter))