mistral/contrib/devstack
Lingxian Kong f2eaea5a12 Support action_execution deletion
With this patch, users can perform operation as following:
DELETE http://127.0.0.1:8989/v2/action_executions/<action_execution_id>

NOTE:
* Added a new config item 'allow_action_execution_deletion', with default
  value 'False'.
* The 'allow_action_execution_deletion' item is set to 'True' for
  functional testing.
* Only ad-hoc action-execution can be deleted.
* Only completed action execution can be deleted.

Implements: blueprint mistral-action-execution-deletion
Closes-Bug: #1488157
Change-Id: I3729636911a42c273c5a7b2d7fbdaae0da398e31
2015-09-07 13:18:41 +00:00
..
extras.d Added Devstack integration 2014-04-29 15:24:23 +04:00
lib Support action_execution deletion 2015-09-07 13:18:41 +00:00
README.rst Improving devstack docs 2015-06-23 12:11:49 +03:00

  1. Follow Devstack documentation to setup a host for Devstack. Then clone Devstack source code:

    $ git clone https://github.com/openstack-dev/devstack
  2. Clone Mistral source code:

    $ git clone https://github.com/openstack/mistral
  3. Copy Mistral integration scripts to Devstack:

    $ cp mistral/contrib/devstack/lib/mistral ${DEVSTACK_DIR}/lib
    $ cp mistral/contrib/devstack/extras.d/70-mistral.sh ${DEVSTACK_DIR}/extras.d/
  4. Create/modify a localrc file as input to devstack:

    $ cd devstack
    $ touch localrc
  5. The Mistral service is not enabled by default, so it must be enabled in localrc before running stack.sh. This example of localrc file shows all of the settings required for Mistral:

    # Enable Mistral
    enable_service mistral
  6. Deploy your OpenStack Cloud with Mistral:

    $ ./stack.sh

Note:

  1. All needed keystone endpoints for Mistral will be automatically created during installation.
  2. Python-mistralclient will be also cloned and installed automatically.