This change intends to add the following policies:
- actions:publicize
- workflows:publicize
A refactor of the policy tests is included to increase the coverage.
Change-Id: I8bd637f7de63f02c63f3c304cb6f5198fc0c5f42
Closes-Bug: 1779293
Add missing Tacker actions to Mistral that includes vnf forwarding
graph (vnffg), vnffg descriptor, network service (ns) and ns
descriptor actions
Change-Id: I0b0f214ad3f3990fa0af98923d34efebf6e2f8f3
The mysql-python library does not support Python 3, so to be able to
run the functional tests under Python 3 we need a new library. The
oslo.db package uses and supports PyMySQL.
In addition to changing the dependency, change the database connection
string used.
Change-Id: Ide944f8df051bb5e011af1c881387a166d041b7c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Co-Authored-By: Vitalii Solodilov <mcdkr@yandex.ru>
When execution id is not sent by the client, the api
will generate source execution id
Change-Id: Iae1ff327b5cb1af857d53ca53782d9fb30eefc27
Closes-Bug: #1774164
Last update on cron triggers left this test flaky. Adding a 1 second
sleep forces it to find a next cron trigger needing to be executed
Closes-Bug: #1778736
Change-Id: Icc98d322b3db683f8f842303b9f4b555f3b1046d
1.Add event-engine and notifier for running by shell.
2.Add service manage by systemd
Change-Id: I156f7d4da91ca30f42275961f8238edadd6720ca
Signed-off-by: pengdake <19921207pq@gmail.com>
Co-Authored-By: Vitalii Solodilov <mcdkr@yandex.ru>
* When Mistral starts a new workflow based on an existing workflow
execution object it needs to save the information about the source
execution into the "description" field".
Closes-Bug: #1762470
Change-Id: I0ae154b008b6c8fb7e51bf6cc669ad6ca9a2a900
Currently if the API is stopped for a length and restarted the crontrigger
jobs will have their next execution in the past and will do a catchup
running a lot of times. That happens because the next execution is
calculated based on the first time it was executed. This change makes it be
the next execution time be the max of the calculated time and utcnow so
that if the server is lagging we keep uptodate with the calculated next
execution times.
Change-Id: I05b35261b1adbe17a1b0316eee95da12634c3978
Closes-bug: 1719882
If an executor dies while running an action execution, then the
execution will remain in RUNNING state (because the dead executor
can't signal the error).
Implements blueprint: action-execution-reporting
Change-Id: I51b4db6aa321d0e53bbb85a74f8ebaea0376d22e
Updated the default Docker configuration so it works with
the default sqlite condfiguration. Also updated the README
file.
Updated .gitignore and .dockerignore to ignore .coverage.* files
Change-Id: I698f8d0c97e2c5dc202af714470b6e055c74eea2
See Ida361a53ffdb5426a39d276d567391d25261fb7f for a similar fix.
Closes-Bug: #1772897
Depends-On: Ifac7617decc2990ff87b76d39bf0f72a61ff2b99
Change-Id: I06304e83e3bc2fd53110daf5c829824d3614b02e
Icf00c66f57d20d2cef724c233160d3b1e0d52102 introduced a new option to
keystoneauth1.loading. This adds that option to make Mistral happy.
Also adds split_loggers.
Change-Id: Ifac7617decc2990ff87b76d39bf0f72a61ff2b99
Closes-Bug: #1775140
Moved common logic in mistral/exceptions from
MistralError and MistralExceptions to MistralFailureBase
Change-Id: I79dc7b91c00a296a2c6d9c3b589ea3fa4fc7db48
When the TC merged I2637dd714cbb6d38ef8b8dc1083e359207118284 we're
supposed to invoke stestr rather than testr so lets do that
Change-Id: Icd303c37d2371d44726d55c947bbc8b9e99f2a1c
Add test for mistral/actions/openstack/actions
that tests that if we import module
that raises exception,
other modules won't fail
Change-Id: I7959de37e3ad63695379f03061c022d13b5fa541