Skip to content

Commit a03649d

Browse files
authored
Merge pull request #366 from serverlessworkflow/1.0.0-alpha1
DSL v1.0.0-alpha1
2 parents 199efd3 + 64e1b58 commit a03649d

File tree

4,159 files changed

+104458
-146438
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,159 files changed

+104458
-146438
lines changed

.editorconfig

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
2+
[*.{cs,vb}]
3+
#### Naming styles ####
4+
5+
# Naming rules
6+
7+
dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
8+
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
9+
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i
10+
11+
dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
12+
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
13+
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case
14+
15+
dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion
16+
dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
17+
dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case
18+
19+
# Symbol specifications
20+
21+
dotnet_naming_symbols.interface.applicable_kinds = interface
22+
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
23+
dotnet_naming_symbols.interface.required_modifiers =
24+
25+
dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
26+
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
27+
dotnet_naming_symbols.types.required_modifiers =
28+
29+
dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
30+
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
31+
dotnet_naming_symbols.non_field_members.required_modifiers =
32+
33+
# Naming styles
34+
35+
dotnet_naming_style.begins_with_i.required_prefix = I
36+
dotnet_naming_style.begins_with_i.required_suffix =
37+
dotnet_naming_style.begins_with_i.word_separator =
38+
dotnet_naming_style.begins_with_i.capitalization = pascal_case
39+
40+
dotnet_naming_style.pascal_case.required_prefix =
41+
dotnet_naming_style.pascal_case.required_suffix =
42+
dotnet_naming_style.pascal_case.word_separator =
43+
dotnet_naming_style.pascal_case.capitalization = pascal_case
44+
45+
dotnet_naming_style.pascal_case.required_prefix =
46+
dotnet_naming_style.pascal_case.required_suffix =
47+
dotnet_naming_style.pascal_case.word_separator =
48+
dotnet_naming_style.pascal_case.capitalization = pascal_case
49+
dotnet_style_operator_placement_when_wrapping = beginning_of_line
50+
tab_width = 4
51+
indent_size = 4
52+
end_of_line = crlf
53+
dotnet_style_coalesce_expression = true:suggestion
54+
dotnet_style_null_propagation = true:suggestion
55+
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
56+
dotnet_style_prefer_auto_properties = true:silent
57+
dotnet_style_object_initializer = true:suggestion
58+
dotnet_style_collection_initializer = true:suggestion
59+
dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
60+
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
61+
dotnet_style_prefer_conditional_expression_over_return = true:silent
62+
dotnet_style_explicit_tuple_names = true:suggestion
63+
dotnet_style_prefer_inferred_tuple_names = true:suggestion
64+
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
65+
dotnet_style_prefer_compound_assignment = true:suggestion
66+
dotnet_style_prefer_simplified_interpolation = true:suggestion
67+
dotnet_style_namespace_match_folder = true:suggestion
68+
dotnet_style_readonly_field = true:suggestion
69+
70+
[*.cs]
71+
csharp_indent_labels = one_less_than_current
72+
csharp_space_around_binary_operators = before_and_after
73+
csharp_using_directive_placement = outside_namespace:silent
74+
csharp_prefer_simple_using_statement = true:suggestion
75+
csharp_prefer_braces = true:silent
76+
csharp_style_namespace_declarations = block_scoped:silent
77+
csharp_style_prefer_method_group_conversion = true:silent
78+
csharp_style_prefer_top_level_statements = true:silent
79+
csharp_style_expression_bodied_methods = false:silent
80+
csharp_style_expression_bodied_constructors = false:silent
81+
csharp_style_expression_bodied_operators = false:silent
82+
csharp_style_expression_bodied_properties = true:silent
83+
csharp_style_expression_bodied_indexers = true:silent
84+
csharp_style_expression_bodied_accessors = true:silent
85+
csharp_style_expression_bodied_lambdas = true:silent
86+
csharp_style_expression_bodied_local_functions = false:silent
87+
csharp_style_throw_expression = true:suggestion
88+
csharp_style_prefer_null_check_over_type_check = true:suggestion
89+
csharp_prefer_simple_default_expression = true:suggestion
90+
csharp_style_prefer_local_over_anonymous_function = true:suggestion
91+
csharp_style_prefer_index_operator = true:suggestion
92+
csharp_style_prefer_range_operator = true:suggestion
93+
csharp_style_implicit_object_creation_when_type_is_apparent = true:suggestion
94+
csharp_style_prefer_tuple_swap = true:suggestion
95+
csharp_style_prefer_utf8_string_literals = true:suggestion
96+
csharp_style_inlined_variable_declaration = true:suggestion
97+
csharp_style_deconstructed_variable_declaration = true:suggestion
98+
csharp_style_unused_value_assignment_preference = discard_variable:suggestion
99+
csharp_style_unused_value_expression_statement_preference = discard_variable:silent
100+
101+
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.

.github/workflows/build-dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
dotnet-version: ['6.0.x' ]
18+
dotnet-version: ['8.0.x' ]
1919

2020
steps:
2121
- name: Checkout

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,4 +354,4 @@ jobs:
354354
with:
355355
files: "synctl*"
356356
env:
357-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
357+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,3 +231,5 @@ _Pvt_Extensions
231231
# FAKE - F# Make
232232
.fake/
233233
/deployment/docker-compose/secrets/basic.json
234+
/src/dashboard/Synapse.Dashboard/wwwroot/lib/bootstrap/node_modules
235+
/src/dashboard/Synapse.Dashboard/wwwroot/lib/bootstrap/package-lock.json

CODE_OF_CONDUCT.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Code of Conduct
2+
3+
This community adheres to the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md).
4+
5+
To report any violations of the Code of Conduct, please contact the [CNCF Code of Conduct Committee](mailto:conduct@cncf.io).

CONTRIBUTING.md

Lines changed: 18 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -1,91 +1,29 @@
1-
# Contributing to Synapse
1+
# Contributing
22

3-
This page contains information about reporting issues, how to suggest changes as
4-
well as the guidelines we follow for how our documents are formatted.
3+
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.
54

6-
## Table of Contents
5+
## How to Contribute
76

8-
- [Reporting an Issue](#reporting-an-issue)
9-
- [Suggesting a Change](#suggesting-a-change)
10-
- [Spec Formatting Conventions](#spec-formatting-conventions)
7+
### Reporting Issues
118

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

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

20-
## Suggesting a Change
15+
### Suggesting Enhancements
2116

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

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

30-
### Assigning and Owning work
22+
### Submitting Pull Requests
3123

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

36-
## Spec Formatting Conventions
37-
38-
Documents in this repository will adhere to the following rules:
39-
40-
- Lines are wrapped at 80 columns (when possible)
41-
- Specifications will use [RFC2119](https://tools.ietf.org/html/rfc2119)
42-
keywords to indicate normative requirements
43-
44-
## Checks
45-
46-
### Markdown style
47-
48-
Markdown files should be properly formatted before a pull request is sent out.
49-
In this repository we follow the
50-
[markdownlint rules](https://github.com/DavidAnson/markdownlint#rules--aliases)
51-
with some customizations. See [markdownlint](.markdownlint.yaml) or
52-
[settings](.vscode/settings.json) for details.
53-
54-
We highly encourage to use line breaks in markdown files at `80` characters
55-
wide. There are tools that can do it for you effectively. Please submit proposal
56-
to include your editor settings required to enable this behavior so the out of
57-
the box settings for this repository will be consistent.
58-
59-
If you are using Visual Studio Code,
60-
you can also use the `fixAll` command of the
61-
[vscode markdownlint extension](https://github.com/DavidAnson/vscode-markdownlint).
62-
63-
To otherwise check for style violations, use
64-
65-
```bash
66-
# Ruby and gem are required for mdl
67-
gem install mdl
68-
mdl -c .mdlrc .
69-
```
70-
71-
To fix style violations, follow the
72-
[instruction](https://github.com/DavidAnson/markdownlint#optionsresultversion)
73-
with the Node version of markdownlint.
74-
75-
### Typos
76-
77-
In addition, please make sure to clean up typos before you submit the change.
78-
79-
To check for typos, you may use
80-
81-
```bash
82-
# Golang is needed for the misspell tool.
83-
make install-misspell
84-
make misspell
85-
```
86-
87-
To quickly fix typos, use
88-
89-
```bash
90-
make misspell-correction
91-
```
26+
1. **Fork the repository**: Create a personal fork of the repository on GitHub.
27+
2. **Clone your fork**: Clone the forked repository to your local machine.
28+
```bash
29+
git clone https://github.com/<your-username>/synapse.git

0 commit comments

Comments
 (0)