SQLAlchemy storage backend.
-
class
watcher.db.sqlalchemy.api.
Connection
[source]
Bases: watcher.db.api.BaseConnection
SqlAlchemy connection.
-
create_action
(values)[source]
-
create_action_description
(values)[source]
-
create_action_plan
(values)[source]
-
create_audit
(values)[source]
-
create_audit_template
(values)[source]
-
create_efficacy_indicator
(values)[source]
-
create_goal
(values)[source]
-
create_scoring_engine
(values)[source]
-
create_service
(values)[source]
-
create_strategy
(values)[source]
-
destroy_action
(action_id)[source]
-
destroy_action_description
(action_id)[source]
-
destroy_action_plan
(action_plan_id)[source]
-
destroy_audit
(audit_id)[source]
-
destroy_audit_template
(audit_template_id)[source]
-
destroy_efficacy_indicator
(efficacy_indicator_id)[source]
-
destroy_goal
(goal_id)[source]
-
destroy_scoring_engine
(scoring_engine_id)[source]
-
destroy_service
(service_id)[source]
-
destroy_strategy
(strategy_id)[source]
-
get_action_by_id
(context, action_id, eager=False)[source]
-
get_action_by_uuid
(context, action_uuid, eager=False)[source]
-
get_action_description_by_id
(context, action_id, eager=False)[source]
-
get_action_description_by_type
(context, action_type, eager=False)[source]
-
get_action_description_list
(context, filters=None, limit=None, marker=None, sort_key=None, sort_dir=None, eager=False)[source]
-
get_action_list
(context, filters=None, limit=None, marker=None, sort_key=None, sort_dir=None, eager=False)[source]
-
get_action_plan_by_id
(context, action_plan_id, eager=False)[source]
-
get_action_plan_by_uuid
(context, action_plan_uuid, eager=False)[source]
-
get_action_plan_list
(context, filters=None, limit=None, marker=None, sort_key=None, sort_dir=None, eager=False)[source]
-
get_audit_by_id
(context, audit_id, eager=False)[source]
-
get_audit_by_name
(context, audit_name, eager=False)[source]
-
get_audit_by_uuid
(context, audit_uuid, eager=False)[source]
-
get_audit_list
(context, filters=None, limit=None, marker=None, sort_key=None, sort_dir=None, eager=False)[source]
-
get_audit_template_by_id
(context, audit_template_id, eager=False)[source]
-
get_audit_template_by_name
(context, audit_template_name, eager=False)[source]
-
get_audit_template_by_uuid
(context, audit_template_uuid, eager=False)[source]
-
get_audit_template_list
(context, filters=None, limit=None, marker=None, sort_key=None, sort_dir=None, eager=False)[source]
-
get_efficacy_indicator_by_id
(context, efficacy_indicator_id, eager=False)[source]
-
get_efficacy_indicator_by_name
(context, efficacy_indicator_name, eager=False)[source]
-
get_efficacy_indicator_by_uuid
(context, efficacy_indicator_uuid, eager=False)[source]
-
get_efficacy_indicator_list
(context, filters=None, limit=None, marker=None, sort_key=None, sort_dir=None, eager=False)[source]
-
get_goal_by_id
(context, goal_id, eager=False)[source]
-
get_goal_by_name
(context, goal_name, eager=False)[source]
-
get_goal_by_uuid
(context, goal_uuid, eager=False)[source]
-
get_goal_list
(context, filters=None, limit=None, marker=None, sort_key=None, sort_dir=None, eager=False)[source]
-
get_scoring_engine_by_id
(context, scoring_engine_id, eager=False)[source]
-
get_scoring_engine_by_name
(context, scoring_engine_name, eager=False)[source]
-
get_scoring_engine_by_uuid
(context, scoring_engine_uuid, eager=False)[source]
-
get_scoring_engine_list
(context, columns=None, filters=None, limit=None, marker=None, sort_key=None, sort_dir=None, eager=False)[source]
-
get_service_by_id
(context, service_id, eager=False)[source]
-
get_service_by_name
(context, service_name, eager=False)[source]
-
get_service_list
(context, filters=None, limit=None, marker=None, sort_key=None, sort_dir=None, eager=False)[source]
-
get_strategy_by_id
(context, strategy_id, eager=False)[source]
-
get_strategy_by_name
(context, strategy_name, eager=False)[source]
-
get_strategy_by_uuid
(context, strategy_uuid, eager=False)[source]
-
get_strategy_list
(context, filters=None, limit=None, marker=None, sort_key=None, sort_dir=None, eager=True)[source]
-
soft_delete_action
(action_id)[source]
-
soft_delete_action_description
(action_id)[source]
-
soft_delete_action_plan
(action_plan_id)[source]
-
soft_delete_audit
(audit_id)[source]
-
soft_delete_audit_template
(audit_template_id)[source]
-
soft_delete_efficacy_indicator
(efficacy_indicator_id)[source]
-
soft_delete_goal
(goal_id)[source]
-
soft_delete_scoring_engine
(scoring_engine_id)[source]
-
soft_delete_service
(service_id)[source]
-
soft_delete_strategy
(strategy_id)[source]
-
update_action
(action_id, values)[source]
-
update_action_description
(action_id, values)[source]
-
update_action_plan
(action_plan_id, values)[source]
-
update_audit
(audit_id, values)[source]
-
update_audit_template
(audit_template_id, values)[source]
-
update_efficacy_indicator
(efficacy_indicator_id, values)[source]
-
update_goal
(goal_id, values)[source]
-
update_scoring_engine
(scoring_engine_id, values)[source]
-
update_service
(service_id, values)[source]
-
update_strategy
(strategy_id, values)[source]
-
class
watcher.db.sqlalchemy.api.
JoinMap
[source]
Bases: watcher.common.utils.Struct
Mapping for the Join-based queries
-
class
watcher.db.sqlalchemy.api.
NaturalJoinFilter
(join_fieldname, join_model)
Bases: tuple