ccef0817d5
Adds the code necessary for mistralclient to work as a plugin for openstackclient. Steps to test: - Make sure Keystone service is installed and Mistral service is registered in Keystone, please refer to Mistral documentation here[1]. The reason we need Keystone is because OpenStackClient always needs it for commands authentication. - Install python-mistralclient. - Install python-openstackclient, it will load Mistral commands via plugin mechanism. - Config environment variables (something like OS_AUTH_URL, etc.). - Run Mistral commands as you want, e.g. `openstack workflow list`. TODO: - update python-openstackclient documentation to let other projects know what objects our mistral project is using, to avoid potential conflicts in future. [1]: http://docs.openstack.org/developer/mistral/guides/configuration_guide.html Implements: blueprint mistral-osc-plugin Change-Id: Ic099aaec88377a76a17700c33fed944e52ec5633
0 lines
Python
0 lines
Python