Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workflows API to create, get, update and list #2792

Merged
merged 47 commits into from
Jan 15, 2025

Allow JS expressions

fba173e
Select commit
Loading
Failed to load commit list.
Merged

Add workflows API to create, get, update and list #2792

Allow JS expressions
fba173e
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Jan 15, 2025 in 1s

90.37% of diff hit (target 91.37%)

View this Pull Request on Codecov

90.37% of diff hit (target 91.37%)

Annotations

Check warning on line 26 in lib/lightning/policies/workflows.ex

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/lightning/policies/workflows.ex#L26

Added line #L26 was not covered by tests

Check warning on line 88 in lib/lightning/workflows/presence.ex

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/lightning/workflows/presence.ex#L88

Added line #L88 was not covered by tests

Check warning on line 67 in lib/lightning/workorders/graph.ex

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/lightning/workorders/graph.ex#L67

Added line #L67 was not covered by tests

Check warning on line 70 in lib/lightning/workorders/graph.ex

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/lightning/workorders/graph.ex#L70

Added line #L70 was not covered by tests

Check warning on line 42 in lib/lightning_web/channels/worker_channel.ex

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/lightning_web/channels/worker_channel.ex#L42

Added line #L42 was not covered by tests

Check warning on line 25 in lib/lightning_web/controllers/api/workflows_controller.ex

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/lightning_web/controllers/api/workflows_controller.ex#L25

Added line #L25 was not covered by tests

Check warning on line 133 in lib/lightning_web/controllers/api/workflows_controller.ex

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/lightning_web/controllers/api/workflows_controller.ex#L133

Added line #L133 was not covered by tests

Check warning on line 192 in lib/lightning_web/controllers/api/workflows_controller.ex

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/lightning_web/controllers/api/workflows_controller.ex#L192

Added line #L192 was not covered by tests

Check warning on line 198 in lib/lightning_web/controllers/api/workflows_controller.ex

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/lightning_web/controllers/api/workflows_controller.ex#L198

Added line #L198 was not covered by tests

Check warning on line 248 in lib/lightning_web/controllers/api/workflows_controller.ex

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/lightning_web/controllers/api/workflows_controller.ex#L248

Added line #L248 was not covered by tests

Check warning on line 351 in lib/lightning_web/controllers/api/workflows_controller.ex

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/lightning_web/controllers/api/workflows_controller.ex#L351

Added line #L351 was not covered by tests

Check warning on line 379 in lib/lightning_web/controllers/api/workflows_controller.ex

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/lightning_web/controllers/api/workflows_controller.ex#L379

Added line #L379 was not covered by tests

Check warning on line 412 in lib/lightning_web/controllers/api/workflows_controller.ex

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/lightning_web/controllers/api/workflows_controller.ex#L412

Added line #L412 was not covered by tests

Check warning on line 429 in lib/lightning_web/controllers/api/workflows_controller.ex

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/lightning_web/controllers/api/workflows_controller.ex#L429

Added line #L429 was not covered by tests

Check warning on line 16 in lib/lightning_web/controllers/changeset_json.ex

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/lightning_web/controllers/changeset_json.ex#L16

Added line #L16 was not covered by tests

Check warning on line 1278 in lib/lightning_web/live/workflow_live/edit.ex

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/lightning_web/live/workflow_live/edit.ex#L1276-L1278

Added lines #L1276 - L1278 were not covered by tests