コード例 #1
0
ファイル: operation.py プロジェクト: BeenzSyed/solum
 def get_all(cls, context):
     return OperationList(sql.model_query(context, Operation))
コード例 #2
0
ファイル: extension.py プロジェクト: prayalankar2/solum
 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
ファイル: pipeline.py プロジェクト: maniacs-ops/solum
 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
ファイル: userlog.py プロジェクト: prayalankar2/solum
 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
ファイル: application.py プロジェクト: smarterclayton/solum
 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
ファイル: application.py プロジェクト: smarterclayton/solum
 def get_all(cls, context):
     list_obj = ApplicationList()
     list_obj.objects = list(sql.model_query(context, Application))
     return list_obj
コード例 #12
0
ファイル: language_pack.py プロジェクト: julienvey/solum
 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
ファイル: assembly.py プロジェクト: alex-docker/solum
 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
ファイル: component.py プロジェクト: julienvey/solum
 def get_all(cls, context):
     return ComponentList(sql.model_query(context, Component))
コード例 #26
0
ファイル: component.py プロジェクト: julienvey/solum
 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
ファイル: service.py プロジェクト: vinodpanicker/solum
 def get_all(cls, context):
     return ServiceList(sql.model_query(context, Service))
コード例 #31
0
ファイル: parameter.py プロジェクト: prayalankar2/solum
 def get_all(cls, context):
     return ParameterList(sql.model_query(context, Parameter))