-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
414a917
commit bdb0045
Showing
4 changed files
with
49 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
populate: | ||
@uv run python -m commands.populate | ||
|
||
|
||
shutdown: | ||
@uv run python -m commands.shutdown | ||
prepare: | ||
@uv run python -m commands.prepare | ||
|
||
start: | ||
@uv run python -m commands.start | ||
|
||
queue: | ||
@uv run python -m commands.queue | ||
|
||
shutdown: | ||
@uv run python -m commands.shutdown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# About the integration directory | ||
|
||
This directoy is a manual integration tests and is useful to understand how Flowspell can be integrated with other systems. | ||
|
||
## Commands | ||
|
||
There are some commands which should be executed | ||
|
||
### prepare | ||
|
||
This the #1 command to be executed. It will prepare the data creating flows and task definitions | ||
|
||
```bash | ||
make prepare | ||
``` | ||
|
||
### start | ||
|
||
This command will start a flow instance which was previously created by the prepare command | ||
|
||
```bash | ||
make start | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
""" | ||
""" | ||
from utils import client | ||
|
||
|
||
flow_instance_data = { | ||
"input_data": { | ||
"id": 1, | ||
}, | ||
} | ||
|
||
response_flow_instance = client().post(f"/flows/instances/{flow_definition_ref_id}/start", json=flow_instance_data) | ||
assert response_flow_instance.status_code == 201 |