Fixing mistral resources path

* Fixed standard actions and workflows paths.
   If mistral is installed in system, 'resources'
   are not copied to dist-packages/mistral, so
   mistral-db-manage populate command won't work.
   Now resources are included in mistral.

Closes-Bug: #1457842

Change-Id: I3149867e615acd188691b299a051e7458e2eb386
(cherry picked from commit 4e699ce21b)
This commit is contained in:
Nikolay Mahotkin 2015-05-22 13:45:10 +03:00
parent 9697376e2c
commit d70a26508a
5 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ from mistral.utils import inspect_utils as i_utils
LOG = logging.getLogger(__name__)
ACTIONS_PATH = '../resources/actions'
ACTIONS_PATH = 'resources/actions'
_ACTION_CTX_PARAM = 'action_context'

View File

@ -17,7 +17,7 @@ from mistral import utils
from mistral.workbook import parser as spec_parser
STD_WF_PATH = '../resources/workflows'
STD_WF_PATH = 'resources/workflows'
def register_standard_workflows():