python-mistralclient/mistralclient/osc/__init__.py
Lingxian Kong ccef0817d5 Introduce openstackclient plugin
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
2015-11-23 21:15:35 +08:00

0 lines
Python