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

DSL v1.0.0-alpha1 #366

Merged
merged 120 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
6430fb8
Initial commit
cdavernas May 23, 2024
6438ee5
fix(Solution): Reorganized solution and renamed Infrastructure project
cdavernas May 27, 2024
769a243
fix(CICD): Fixed build-dotnet and publish workflows
cdavernas May 27, 2024
6658979
fix(Runner): Renamed Runner project and directory
cdavernas May 28, 2024
a0f29de
feat(Dashboard): Setting up dashboard (WIP)
cdavernas May 28, 2024
6cdf503
feat(Runner): Continued development of the Synapse Runner application
cdavernas May 29, 2024
9d7b1ec
feat(Dashboard): Worked on Workflow Instance list and detail view (WIP)
cdavernas May 30, 2024
6da1e74
fix(Solution): Added header to all files
cdavernas May 31, 2024
4b2b316
feat(Runner): Implemented context data inheritance and filtering
cdavernas May 31, 2024
dd2c375
feat(Runner): Implemented the ScriptProcessExecutor (WIP)
cdavernas May 31, 2024
59e1962
feat(Solution): Added the CLI application to the solution (WIP)
cdavernas Jun 1, 2024
a5074d1
fix(CLI): Added new commands
cdavernas Jun 3, 2024
8b27d7e
feat(Solution): Added the Correlator project (WIP)
cdavernas Jun 3, 2024
8dbb1ac
style(Dashboard): integrated new branding
JBBianchi Jun 4, 2024
d4d5420
feat(Correlator): Continue implementation of the correlation handler …
cdavernas Jun 4, 2024
bed3a32
feat(Correlator): Continue development of the Correlator app (WIP)
cdavernas Jun 6, 2024
5141ab2
feat(Correlator): Continued the implementation of the correlator app …
cdavernas Jun 7, 2024
3418d56
fix(Dashboard): Fixed column alignment in the Correlation view
cdavernas Jun 7, 2024
9012627
fix(Correlator): Added handling of correlations outcome, representing…
cdavernas Jun 8, 2024
65c974c
feat(Deployments): Added the docker-compose project
cdavernas Jun 8, 2024
86764c5
fix(Solution): Modified all file headers
cdavernas Jun 11, 2024
292fa13
fix(ApiClient): Fixed the ResourceHttpApiClient by setting the `HttpC…
cdavernas Jun 11, 2024
65480c3
fix(Api): Added missing watch and monitor endpoints to both cluster a…
cdavernas Jun 12, 2024
483f145
fix(Docs): Updated the Readme.md
cdavernas Jun 13, 2024
7d03e9c
feat(Api): Added authentication and authorization
cdavernas Jun 15, 2024
47321d3
fix(Dashboard): Updated Workflows, Workflow Instances and Correlation…
cdavernas Jun 16, 2024
28a209c
feat(Dashboard): Added client-side searches
cdavernas Jun 17, 2024
569337f
feat(Dashboard): Added a per-definition workflow instance selector
cdavernas Jun 17, 2024
d1454b5
feat(Dashboard): Added the WorkflowDiagram component (WIP)
cdavernas Jun 19, 2024
9475cb0
fix(Dashboard): refactored dashboard components improving use of reac…
JBBianchi Jun 19, 2024
043e01f
fix(Solution): Updated Synapse to SW 1.0.0-alpha2
cdavernas Jun 19, 2024
671beee
Merge branch '1.0.0-alpha1' of https://github.com/serverlessworkflow/…
cdavernas Jun 19, 2024
8973d43
fix(CLI): Fixed commands depending on the CLI to check whether or not…
cdavernas Jun 22, 2024
d7d0a34
feat(Dashboard): Added a new page used to create a new workflow
cdavernas Jun 24, 2024
98072c0
fix(Dashboard): refactored bearer view, added persistence
JBBianchi Jun 24, 2024
834fd32
fix(Dashboard): created a component for the workflow instances list
JBBianchi Jun 24, 2024
3edeb3c
feat(Runner): Adds support for service account authentication to Syna…
cdavernas Jun 25, 2024
05ec6b1
feat(Core): Added the ISchemaHandler interface and its default, JsonS…
cdavernas Jun 25, 2024
547111f
fix(Dashboard): refactored and improved workflow details view
JBBianchi Jun 25, 2024
8ea83f1
Merge branch '1.0.0-alpha1' of https://github.com/serverlessworkflow/…
JBBianchi Jun 25, 2024
4835092
fix(Dashboard): fixed "latest" version handling in workflow details view
JBBianchi Jun 25, 2024
ae479aa
fix(Dashboard): refactored workflow creation view
JBBianchi Jun 26, 2024
50274c9
fix(Runner): Fixed the FunctionCallProcessor by passing the input spe…
cdavernas Jun 27, 2024
cddb3c7
Merge branch '1.0.0-alpha1' of https://github.com/serverlessworkflow/…
cdavernas Jun 27, 2024
9b4db3c
feat(Dashboard): added workflow instance details view (wip)
JBBianchi Jun 28, 2024
ce407b4
fix(Dashboard): fixed document request (& misc style)
JBBianchi Jun 29, 2024
4352f17
fix(Dashboard): added create instance/new version in workflow details…
JBBianchi Jun 29, 2024
a485a4c
fix(NativeRuntime): specified runner fullpath in process start info
JBBianchi Jul 1, 2024
8444552
style(Dashboard): added max height to workflow details view
JBBianchi Jul 1, 2024
8ba1c6b
fix(Dashboard): relocated CorrelationContextRow template
JBBianchi Jul 1, 2024
9e54615
fix(Dashboard): fixed warnings
JBBianchi Jul 2, 2024
11cc04b
fix(Global): updated packages to latest version
JBBianchi Jul 2, 2024
a1e40ba
fix(Runner): fixed missing "output" argument when processing export e…
JBBianchi Jul 2, 2024
4d8d096
fix(Dashboard): applied label selectors when receiving resource events
JBBianchi Jul 3, 2024
e383dad
fix(Runner): corrected the supplied task definition for the next task…
JBBianchi Jul 3, 2024
9bb4953
fix(Runner): provided the workflow instance spec instead of the whole…
JBBianchi Jul 3, 2024
2bc5957
feat(Dashboard): added task instance details and improve workflow ins…
JBBianchi Jul 3, 2024
cf99241
fix(Dashboard): added the ability to start a workflow instance
JBBianchi Jul 4, 2024
cf78368
fix(Dashboard): improved time related info display
JBBianchi Jul 4, 2024
abc51fe
fix(Dashboard): fixed active class on workflows navigation dropdown
JBBianchi Jul 8, 2024
fb12f79
fix(Runner): Fixed the WorkflowExecutor to pass the context of the pr…
cdavernas Jul 8, 2024
3340fae
fix(Dashboard): added task "cartouche" in the graph
JBBianchi Jul 8, 2024
21711ed
fix(Dashboard): various improvements on the graph
JBBianchi Jul 10, 2024
747453d
fix(Dashboard): slight improvement on datetime formatting
JBBianchi Jul 25, 2024
7c628de
fix(Dashboard): Refactored edge drawing in the graph
JBBianchi Jul 31, 2024
f879776
fix(Dashboard): represented do task as cluster in the graph
JBBianchi Aug 6, 2024
b90c9ba
fix(Dashboard): fixed routing with URLs that contain dots
JBBianchi Aug 7, 2024
2ae4b15
fix(Dashboard): clusters design (wip)
JBBianchi Aug 8, 2024
f39335b
fix(Solution): Updated all solution packages
cdavernas Aug 8, 2024
61bd4b2
Merged conflicts
cdavernas Aug 8, 2024
b63bea6
fix(Solution): Minor fixes and improvements
cdavernas Aug 9, 2024
9f26cda
fix(DockerCompose): Fixed the docker-compose.yaml to properly mount t…
cdavernas Aug 9, 2024
dc1b1be
fix(Solution): Added and updated the project's documents (following G…
cdavernas Aug 9, 2024
e08d344
fix(Dashboard): handled do task as cluster in the graph
JBBianchi Aug 12, 2024
9eec5a4
fix(Runner): Fixed an issue with the correlation handler, which was n…
cdavernas Aug 12, 2024
ded68cb
Merge branch '1.0.0-alpha1' of https://github.com/serverlessworkflow/…
cdavernas Aug 12, 2024
29b036f
fix(Dashboard): add cluster rendering for for and try tasks (WIP)
JBBianchi Aug 12, 2024
079353e
fix(Dashboard): fixed transition outside of a cluster in the graph
JBBianchi Aug 13, 2024
99ef8ad
feat(Solution): Added Helm charts, used to deploy Synapse in Kubernetes
cdavernas Aug 14, 2024
c1f582e
fix(Solution): Updated solution files
cdavernas Aug 14, 2024
12d8991
fix(Dashboard): fixed try task representation in the graph
JBBianchi Aug 14, 2024
4f02bbd
fix(Operator): Fixed the operator to not duplicate correlations when …
cdavernas Aug 16, 2024
5deff6d
fix(Dashboard): fixed `exit` transition in the graph
JBBianchi Aug 16, 2024
d02b32b
Merge branch '1.0.0-alpha1' of https://github.com/serverlessworkflow/…
cdavernas Aug 16, 2024
872abb1
fix(Dashboard): updated graph node colors
JBBianchi Aug 16, 2024
54da237
feat(Dashboard): added graph legend
JBBianchi Aug 16, 2024
923efd7
feat(Solution): Added (batch) logging support
cdavernas Aug 19, 2024
640f663
fix(Api): Added a new IWorkflowInstanceApiClient interface and defaul…
cdavernas Aug 19, 2024
9808d96
feat(Dashboard): added workflow instance logs
JBBianchi Aug 19, 2024
2b8bb18
fix(Dashboard): removed unused styles
JBBianchi Aug 19, 2024
b7d2505
feat(Dashboard): added activity counters on the graph
JBBianchi Aug 20, 2024
fa584a8
fix(Solution): Updated solution packages
cdavernas Aug 21, 2024
3296e52
fix(Dashboard): nested tasks details
JBBianchi Aug 21, 2024
2adf2b7
fix(Dashboard): added workflow input schema validation
JBBianchi Aug 22, 2024
5afc5dd
fix(Global): updated framework version
JBBianchi Aug 26, 2024
eafa6ef
fix(Dashboard): improved graph legend display
JBBianchi Aug 26, 2024
ff68b6b
fix(Dashboard): removed local project reference
JBBianchi Aug 27, 2024
69f6d36
feat(Dashboard): select code snippet when a graph node is clicked
JBBianchi Aug 27, 2024
18955b7
fix(Solution): Updated solution packages
cdavernas Aug 28, 2024
74089da
Merge
cdavernas Aug 28, 2024
eed78c3
fix(HttpApiClient): Fixed the WorkflowInstanceHttpApiClient to not at…
cdavernas Aug 28, 2024
2aec0cc
fix(Operator): Fixed the WorkflowController to label correlations cre…
cdavernas Aug 28, 2024
47935b4
fix(Dashboard): fixed fork node rendering in the graph
JBBianchi Aug 28, 2024
fafefdf
fix(Dashboard.StateManagement): calling cancel before disposing of th…
JBBianchi Aug 28, 2024
7e6895a
fix(HttpApiClient): Fixed all HttpApiClients to enable Web Assembly s…
cdavernas Aug 28, 2024
c1c0a55
Merge branch '1.0.0-alpha1' of https://github.com/serverlessworkflow/…
cdavernas Aug 28, 2024
b3113c0
Merge branch '1.0.0-alpha1' of https://github.com/serverlessworkflow/…
JBBianchi Aug 28, 2024
aad8c3b
feat(Dashboard): added multi row selection
JBBianchi Aug 28, 2024
595d5ed
feat(Dashboard): added operator filtering in workflows
JBBianchi Aug 28, 2024
8572bde
fix(Dashboard): improved graph interactions hints
JBBianchi Aug 29, 2024
a988330
fix(Dashboard): fixed correlation navigation to their outcome
JBBianchi Aug 30, 2024
957fa6a
fix(Assets): updated logo assets with the lastest font
JBBianchi Aug 30, 2024
2b50bef
fix(Dashboard): added specification schema support
JBBianchi Aug 30, 2024
715c44f
fix(Solution): Updated solution packages
cdavernas Sep 2, 2024
e613231
feat(Api): Added a new EventsController - and related clients -, used…
cdavernas Sep 2, 2024
5370d07
fix(Operator): Fixed the WorkflowScheduler to name correlations after…
cdavernas Sep 2, 2024
1e10955
feat(Api): Replaced IdentityServer developper signing credentials wit…
cdavernas Sep 2, 2024
3a29e75
fix(Solution): Fixed solution project files
cdavernas Sep 2, 2024
04c06e5
fix(Workflows): Fixed the publish CI/CD pipeline
cdavernas Sep 2, 2024
64e1b58
Merge branch 'main' into 1.0.0-alpha1
cdavernas Sep 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
101 changes: 101 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@

[*.{cs,vb}]
#### Naming styles ####

# Naming rules

dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i

dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case

dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case

# Symbol specifications

dotnet_naming_symbols.interface.applicable_kinds = interface
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.interface.required_modifiers =

dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.types.required_modifiers =

dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.non_field_members.required_modifiers =

# Naming styles

dotnet_naming_style.begins_with_i.required_prefix = I
dotnet_naming_style.begins_with_i.required_suffix =
dotnet_naming_style.begins_with_i.word_separator =
dotnet_naming_style.begins_with_i.capitalization = pascal_case

dotnet_naming_style.pascal_case.required_prefix =
dotnet_naming_style.pascal_case.required_suffix =
dotnet_naming_style.pascal_case.word_separator =
dotnet_naming_style.pascal_case.capitalization = pascal_case

dotnet_naming_style.pascal_case.required_prefix =
dotnet_naming_style.pascal_case.required_suffix =
dotnet_naming_style.pascal_case.word_separator =
dotnet_naming_style.pascal_case.capitalization = pascal_case
dotnet_style_operator_placement_when_wrapping = beginning_of_line
tab_width = 4
indent_size = 4
end_of_line = crlf
dotnet_style_coalesce_expression = true:suggestion
dotnet_style_null_propagation = true:suggestion
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
dotnet_style_prefer_auto_properties = true:silent
dotnet_style_object_initializer = true:suggestion
dotnet_style_collection_initializer = true:suggestion
dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
dotnet_style_prefer_conditional_expression_over_return = true:silent
dotnet_style_explicit_tuple_names = true:suggestion
dotnet_style_prefer_inferred_tuple_names = true:suggestion
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
dotnet_style_prefer_compound_assignment = true:suggestion
dotnet_style_prefer_simplified_interpolation = true:suggestion
dotnet_style_namespace_match_folder = true:suggestion
dotnet_style_readonly_field = true:suggestion

[*.cs]
csharp_indent_labels = one_less_than_current
csharp_space_around_binary_operators = before_and_after
csharp_using_directive_placement = outside_namespace:silent
csharp_prefer_simple_using_statement = true:suggestion
csharp_prefer_braces = true:silent
csharp_style_namespace_declarations = block_scoped:silent
csharp_style_prefer_method_group_conversion = true:silent
csharp_style_prefer_top_level_statements = true:silent
csharp_style_expression_bodied_methods = false:silent
csharp_style_expression_bodied_constructors = false:silent
csharp_style_expression_bodied_operators = false:silent
csharp_style_expression_bodied_properties = true:silent
csharp_style_expression_bodied_indexers = true:silent
csharp_style_expression_bodied_accessors = true:silent
csharp_style_expression_bodied_lambdas = true:silent
csharp_style_expression_bodied_local_functions = false:silent
csharp_style_throw_expression = true:suggestion
csharp_style_prefer_null_check_over_type_check = true:suggestion
csharp_prefer_simple_default_expression = true:suggestion
csharp_style_prefer_local_over_anonymous_function = true:suggestion
csharp_style_prefer_index_operator = true:suggestion
csharp_style_prefer_range_operator = true:suggestion
csharp_style_implicit_object_creation_when_type_is_apparent = true:suggestion
csharp_style_prefer_tuple_swap = true:suggestion
csharp_style_prefer_utf8_string_literals = true:suggestion
csharp_style_inlined_variable_declaration = true:suggestion
csharp_style_deconstructed_variable_declaration = true:suggestion
csharp_style_unused_value_assignment_preference = discard_variable:suggestion
csharp_style_unused_value_expression_statement_preference = discard_variable:silent

file_header_template = Copyright © 2024-Present The Synapse Authors\n\nLicensed under the Apache License, Version 2.0 (the "License"),\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.
2 changes: 1 addition & 1 deletion .github/workflows/build-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ['6.0.x' ]
dotnet-version: ['8.0.x' ]

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -354,4 +354,4 @@ jobs:
with:
files: "synctl*"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -231,3 +231,5 @@ _Pvt_Extensions
# FAKE - F# Make
.fake/
/deployment/docker-compose/secrets/basic.json
/src/dashboard/Synapse.Dashboard/wwwroot/lib/bootstrap/node_modules
/src/dashboard/Synapse.Dashboard/wwwroot/lib/bootstrap/package-lock.json
5 changes: 5 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Code of Conduct

This community adheres to the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md).

To report any violations of the Code of Conduct, please contact the [CNCF Code of Conduct Committee](mailto:[email protected]).
98 changes: 18 additions & 80 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,91 +1,29 @@
# Contributing to Synapse
# Contributing

This page contains information about reporting issues, how to suggest changes as
well as the guidelines we follow for how our documents are formatted.
Thank you for considering contributing to the Synapse project! Your contributions help improve the project and are greatly appreciated. Please follow the guidelines below to ensure a smooth and effective contribution process.

## Table of Contents
## How to Contribute

- [Reporting an Issue](#reporting-an-issue)
- [Suggesting a Change](#suggesting-a-change)
- [Spec Formatting Conventions](#spec-formatting-conventions)
### Reporting Issues

## Reporting an Issue
If you encounter any bugs or have suggestions for improvements, please report them using GitHub Issues:

To report an issue, or to suggest an idea for a change that you haven't had time
to write-up yet, open an [issue](https://github.com/serverlessworkflow/synapse/issues). It
is best to check our existing
[issues](https://github.com/serverlessworkflow/synapse/issues) first to see if a similar
one has already been opened and discussed.
1. Go to the [Issues page](https://github.com/serverlessworkflow/synapse/issues) of the repository.
2. Check if the issue has already been reported. If not, click on "New issue".
3. Provide a clear and concise description of the problem or suggestion. Include any relevant details or screenshots.

## Suggesting a Change
### Suggesting Enhancements

To suggest a change to this repository, submit a
[pull request](https://github.com/serverlessworkflow/synapse/pulls) (PR) with the complete
set of changes you'd like to see. See the
[Spec Formatting Conventions](#spec-formatting-conventions) section for the
guidelines we follow for how documents are formatted.
If you have ideas for new features or enhancements:

Each PR must be signed per the following section.
1. Open a new issue on the [Issues page](https://github.com/serverlessworkflow/synapse/issues).
2. Clearly describe the enhancement or feature request and explain why it would be valuable.

### Assigning and Owning work
### Submitting Pull Requests

If you want to own and work on an issue, add a comment or “#dibs” it asking
about ownership. A maintainer will then add the Assigned label and modify the
first comment in the issue to include `Assigned to: @person`
To contribute code changes, please follow these steps:

## Spec Formatting Conventions

Documents in this repository will adhere to the following rules:

- Lines are wrapped at 80 columns (when possible)
- Specifications will use [RFC2119](https://tools.ietf.org/html/rfc2119)
keywords to indicate normative requirements

## Checks

### Markdown style

Markdown files should be properly formatted before a pull request is sent out.
In this repository we follow the
[markdownlint rules](https://github.com/DavidAnson/markdownlint#rules--aliases)
with some customizations. See [markdownlint](.markdownlint.yaml) or
[settings](.vscode/settings.json) for details.

We highly encourage to use line breaks in markdown files at `80` characters
wide. There are tools that can do it for you effectively. Please submit proposal
to include your editor settings required to enable this behavior so the out of
the box settings for this repository will be consistent.

If you are using Visual Studio Code,
you can also use the `fixAll` command of the
[vscode markdownlint extension](https://github.com/DavidAnson/vscode-markdownlint).

To otherwise check for style violations, use

```bash
# Ruby and gem are required for mdl
gem install mdl
mdl -c .mdlrc .
```

To fix style violations, follow the
[instruction](https://github.com/DavidAnson/markdownlint#optionsresultversion)
with the Node version of markdownlint.

### Typos

In addition, please make sure to clean up typos before you submit the change.

To check for typos, you may use

```bash
# Golang is needed for the misspell tool.
make install-misspell
make misspell
```

To quickly fix typos, use

```bash
make misspell-correction
```
1. **Fork the repository**: Create a personal fork of the repository on GitHub.
2. **Clone your fork**: Clone the forked repository to your local machine.
```bash
git clone https://github.com/<your-username>/synapse.git
Loading