Remove Mistral references
Remove all Mistral references that was left behind when the project was created. Change-Id: I6860e4a7f47600651456b66c4fbe301feef04676
This commit is contained in:
parent
aa765e2ae9
commit
83611f4508
|
@ -44,14 +44,14 @@ def enforce(action, context, target=None, do_raise=True,
|
||||||
:param action: String, representing the action to be checked.
|
:param action: String, representing the action to be checked.
|
||||||
This should be colon separated for clarity.
|
This should be colon separated for clarity.
|
||||||
i.e. ``workflows:create``
|
i.e. ``workflows:create``
|
||||||
:param context: Mistral context.
|
:param context: Qinling context.
|
||||||
:param target: Dictionary, representing the object of the action.
|
:param target: Dictionary, representing the object of the action.
|
||||||
For object creation, this should be a dictionary
|
For object creation, this should be a dictionary
|
||||||
representing the location of the object.
|
representing the location of the object.
|
||||||
e.g. ``{'project_id': context.project_id}``
|
e.g. ``{'project_id': context.project_id}``
|
||||||
:param do_raise: if True (the default), raises specified exception.
|
:param do_raise: if True (the default), raises specified exception.
|
||||||
:param exc: Exception to be raised if not authorized. Default is
|
:param exc: Exception to be raised if not authorized. Default is
|
||||||
mistral.exceptions.NotAllowedException.
|
qinling.exceptions.NotAllowedException.
|
||||||
|
|
||||||
:return: returns True if authorized and False if not authorized and
|
:return: returns True if authorized and False if not authorized and
|
||||||
do_raise is False.
|
do_raise is False.
|
||||||
|
|
|
@ -25,7 +25,7 @@ LOG = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
class WSGIService(service.ServiceBase):
|
class WSGIService(service.ServiceBase):
|
||||||
"""Provides ability to launch Mistral API from wsgi app."""
|
"""Provides ability to launch Qinling API from wsgi app."""
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.app = app.setup_app()
|
self.app = app.setup_app()
|
||||||
|
|
|
@ -23,7 +23,7 @@ from oslo_config import cfg
|
||||||
from oslo_utils import importutils
|
from oslo_utils import importutils
|
||||||
import six
|
import six
|
||||||
|
|
||||||
# We need to import mistral.api.app to
|
# We need to import qinling.api.app to
|
||||||
# make sure we register all needed options.
|
# make sure we register all needed options.
|
||||||
importutils.try_import('qinling.api.app')
|
importutils.try_import('qinling.api.app')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue