In this changeset, I add the Strategy model as well as the DB functionalities we need to manipulate strategies. This changeset implies a DB schema update. Partially Implements: blueprint get-goal-from-strategy Change-Id: I438a8788844fbc514edfe1e9e3136f46ba5a82f2
32 lines
1.0 KiB
Python
32 lines
1.0 KiB
Python
# -*- encoding: utf-8 -*-
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
# implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
from watcher.objects import action
|
|
from watcher.objects import action_plan
|
|
from watcher.objects import audit
|
|
from watcher.objects import audit_template
|
|
from watcher.objects import goal
|
|
from watcher.objects import strategy
|
|
|
|
Audit = audit.Audit
|
|
AuditTemplate = audit_template.AuditTemplate
|
|
Action = action.Action
|
|
ActionPlan = action_plan.ActionPlan
|
|
Goal = goal.Goal
|
|
Strategy = strategy.Strategy
|
|
|
|
__all__ = ("Audit", "AuditTemplate", "Action",
|
|
"ActionPlan", "Goal", "Strategy")
|