StackStorm v0.7 Release Notes
Release Date: 2015-01-16 // over 9 years ago-
➕ Added
* Python runner and all the fabric based runners (``run-local``, ``run-local-script``, ``run-remote``, ``run-remote-script``) now expose the ``timeout`` argument. With this argument users can specify action timeout. Previously, the action timeout was not user-configurable and a system-wide default value was used. * The time when an action execution has finished is now recorded and available via the ``end_timestamp`` attribute on the ``ActionExecution`` model. * 📊 Allow polling sensors to retrieve current poll interval and change it using ``get_poll_interval`` and ``set_poll_interval`` methods respectively. (new-feature) * ➕ Add support for a ``standalone`` mode to the st2auth service. In the standalone mode, authentication is handled inside the st2auth service using the defined backend. (new feature) * ➕ Add new rule criteria comparison operators: ``iequals``, ``contains``, ``icontains``, ``ncontains``, ``incontains``, ``startswith``, ``istartswith``, ``endswith``, ``iendswith``, ``exists``, ``nexists`` (new-feature) * Allow sensors to store temporary data in the datastore using the ``get_value``, ``set_value`` and ``delete_value`` methods exposed by sensor_service. (new-feature) * 👍 Allow user to specify TTL for datastore values by sending ``ttl`` attribute in the body of a ``PUT /keys/<key id>`` request. (new feature) * Add new ``key delete_by_prefix --prefix=<prefix>`` client command. This command allows deletion of all the keys with names starting with the provided prefix. (new-feature) * ➕ Add ability to attach tags to Action, Rule and TriggerType. * ➕ Add ability to query results asynchronously from external services. (new-feature) * ➕ Add ``rule_tester`` tool which allows users to test rules in an offline mode without any services running (new-feature) 🔄 Changed
- 🔨 Refactor local runners so they are more robust, efficient and easier to debug. Previously, local actions were executed through SSH, now they are executed directly without the overhead of SSH.
- 🔨 Timer is not a sensor anymore. It is launched as part of the
rules_engine
process (refactor) - 🔨 Action models now use ContentPackResourceMixin so we can get them by ref. (refactor)
- st2api only requires st2common and dependencies defined in
requirements.txt
to be available on the pythonpath thus making it possible to run st2api standalone. - 🔨 Change default mode for authentication to standalone. (refactor)
🛠 Fixed
* Status code 400 (bad request) is now returned if user doesn't provide a body to API endpoints which require it. Previously 500 internal server error was returned (bug-fix). * 🛠 Fix local runner so it correctly executes a command under the provided system user if ``user`` parameter is provided. (bug-fix) * 🛠 Fix a bug with a Trigger database object in some cases being created twice when registering a rule. (bug-fix) * 🛠 Fix a bug with child processes which run sensor code not being killed when stopping a sensor container service. (bug-fix) * 🛠 Fix a bug and allow user to use non-ascii (unicode) values in the parameter substitution values. (bug-fix) * 🛠 Fix a bug with action registration where actions with invalid schema for parameters get registered. (bug-fix) * 🛠 Fix a bug with ``default`` param values inheritance in runner/actions. (bug-fix) * 🛠 Fix a bug where trigger objects weren't created for triggers with different parameters. (bug-fix)