예제 #1
0
 def get_all(cls, context):
     return OperationList(sql.model_query(context, Operation))
예제 #2
0
 def get_all(cls, context):
     return ExtensionList(sql.model_query(context, Extension))
예제 #3
0
파일: sensor.py 프로젝트: julienvey/solum
 def get_all(cls, context):
     return SensorList(sql.model_query(context, Sensor))
예제 #4
0
 def get_all(cls, context):
     return PipelineList(sql.model_query(context, Pipeline))
예제 #5
0
파일: image.py 프로젝트: maniacs-ops/solum
 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'))
예제 #6
0
파일: plan.py 프로젝트: prayalankar2/solum
 def get_all(cls, context):
     return PlanList(sql.model_query(context, Plan))
예제 #7
0
 def get_all(cls, context):
     return UserlogList(sql.model_query(context, Userlog))
예제 #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)
예제 #9
0
 def get_all(cls, context):
     list_obj = ApplicationList()
     list_obj.objects = list(sql.model_query(context, Application))
     return list_obj
예제 #10
0
 def get_all(cls, context):
     return InfrastructureStackList(sql.model_query(context,
                                                    InfrastructureStack))
예제 #11
0
 def get_all(cls, context):
     list_obj = ApplicationList()
     list_obj.objects = list(sql.model_query(context, Application))
     return list_obj
예제 #12
0
 def get_all(cls, context):
     return LanguagePackList(sql.model_query(context, LanguagePack))
예제 #13
0
 def get_all(cls, context):
     return LanguagePackList(sql.model_query(context, LanguagePack))
예제 #14
0
파일: operation.py 프로젝트: alex/solum
 def get_all(cls, context):
     return OperationList(sql.model_query(context, Operation))
예제 #15
0
 def get_all(cls, context):
     return InfrastructureStackList(
         sql.model_query(context, InfrastructureStack))
예제 #16
0
파일: image.py 프로젝트: dp1310/solum
 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'))
예제 #17
0
 def get_all(cls, context):
     return AssemblyList(sql.model_query(context, Assembly))
예제 #18
0
파일: image.py 프로젝트: maniacs-ops/solum
 def get_all(cls, context):
     """Return all images."""
     return ImageList(sql.model_query(context, Image))
예제 #19
0
파일: image.py 프로젝트: paulczar/solum
 def get_all(cls, context):
     return ImageList(sql.model_query(context, Image))
예제 #20
0
파일: plan.py 프로젝트: mnegi/solum
 def get_all(cls, context):
     return PlanList(sql.model_query(context, Plan))
예제 #21
0
파일: app.py 프로젝트: aneeshep/solum
 def get_all(cls, context):
     return AppList(sql.model_query(context, App))
예제 #22
0
파일: service.py 프로젝트: alex/solum
 def get_all(cls, context):
     return ServiceList(sql.model_query(context, Service))
예제 #23
0
파일: assembly.py 프로젝트: julienvey/solum
 def get_all(cls, context):
     return AssemblyList(sql.model_query(context, Assembly))
예제 #24
0
 def get_all(cls, context):
     return AppList(sql.model_query(context, App))
예제 #25
0
 def get_all(cls, context):
     return ComponentList(sql.model_query(context, Component))
예제 #26
0
 def get_all(cls, context):
     return ComponentList(sql.model_query(context, Component))
예제 #27
0
파일: assembly.py 프로젝트: aneeshep/solum
 def get_all(cls, context):
     mq = sql.model_query(context, Assembly).order_by(
         'updated_at desc', 'created_at desc')
     return AssemblyList(mq)
예제 #28
0
파일: userlog.py 프로젝트: BeenzSyed/solum
 def get_all(cls, context):
     return UserlogList(sql.model_query(context, Userlog))
예제 #29
0
파일: image.py 프로젝트: dp1310/solum
 def get_all(cls, context):
     """Return all images."""
     return ImageList(sql.model_query(context, Image))
예제 #30
0
 def get_all(cls, context):
     return ServiceList(sql.model_query(context, Service))
예제 #31
0
 def get_all(cls, context):
     return ParameterList(sql.model_query(context, Parameter))