Switch to v2 mistral api
Mistral v1 api is not supported since april 2015 Change-Id: Icfc7d511b5bb6ea1f36356e52dc6880ef8599951 Partially implements blueprint mistral-enrich-dashboardchanges/51/197851/4
parent
9aa1019c83
commit
c9375086d5
1
AUTHORS
1
AUTHORS
|
@ -3,3 +3,4 @@ Christian Berendt <berendt@b1-systems.de>
|
|||
Kirill Izotov <enykeev@stackstorm.com>
|
||||
Nikolay Mahotkin <nmakhotkin@mirantis.com>
|
||||
Renat Akhmerov <rakhmerov@mirantis.com>
|
||||
Zhenguo Niu <niuzhenguo@huawei.com>
|
||||
|
|
|
@ -31,14 +31,6 @@ Also, make sure you have changed OPENSTACK_HOST to point to your Keystone
|
|||
server and check all endpoints are accessible. You may want to change
|
||||
OPENSTACK_ENDPOINT_TYPE to "publicURL" if some of them are not.
|
||||
|
||||
Register Mistral service and Mistral endpoints on Keystone (required if Mistral
|
||||
and Horizon dashboard run on a different boxes)::
|
||||
|
||||
$ MISTRAL_URL="http://[host]:[port]/v1"
|
||||
$ keystone service-create --name mistral --type workflow
|
||||
$ keystone endpoint-create --service_id mistral --publicurl $MISTRAL_URL \
|
||||
--adminurl $MISTRAL_URL --internalurl $MISTRAL_URL
|
||||
|
||||
When you're ready, you would need to either restart your apache::
|
||||
|
||||
$ sudo service apache2 restart
|
||||
|
|
|
@ -18,7 +18,7 @@ from django.conf import settings
|
|||
|
||||
from mistralclient.api import client as mistral_client
|
||||
|
||||
SERVICE_TYPE = 'workflow'
|
||||
SERVICE_TYPE = 'workflowv2'
|
||||
|
||||
|
||||
def mistralclient(request):
|
||||
|
|
Loading…
Reference in New Issue