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

Feature/modernize #14

Open
wants to merge 89 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
df49edb
refactor: delete obsolete projects
psyphore Mar 7, 2023
0f49c48
refactor: delete old structures (the whole thing....)
psyphore Mar 7, 2023
abdde18
feat: add new simplified design
psyphore Mar 7, 2023
42fd88d
feat: add setup documentation
psyphore Mar 7, 2023
2c26c01
feat: add github pipeline
psyphore Mar 7, 2023
03c8895
feat: add product mutation handlers
psyphore Mar 7, 2023
9dae52f
refactor: clean up
psyphore Mar 7, 2023
9333840
refactor: confirm to graphql schematics
psyphore Mar 8, 2023
e90462a
refactor: seal product service
psyphore Mar 8, 2023
fc4a4cc
feat: add order aggregate
psyphore Mar 8, 2023
bde77dd
feat: add graphql client
psyphore Mar 8, 2023
ea13fe3
feat: add order aggregate
psyphore Mar 8, 2023
920cd78
feat: add UI
psyphore Mar 8, 2023
11f1812
feat: remove boilerplate code
psyphore Mar 8, 2023
de9bd84
chore: update logging path for API
psyphore Mar 8, 2023
dcb3888
refactor: rename graphql client di method
psyphore Mar 8, 2023
d82b924
refactor: add factory menthods for value objects
psyphore Mar 10, 2023
cee09e0
docs: add cypher documentation
psyphore Mar 10, 2023
a2326a4
refactor: ensure product retreival is fetching and rendering the corr…
psyphore Mar 10, 2023
e15a044
refactor: add a private set contract resolver for deserializing into …
psyphore Mar 10, 2023
30fc9c2
refactor: update graphql client generator config
psyphore Mar 10, 2023
c6f6d44
feat: update product aggregate with JsonContructor attribute for dese…
psyphore Mar 10, 2023
15158e6
refactor: update database driver configuration
psyphore Mar 10, 2023
d47bb3f
feat: add order handlers
psyphore Mar 10, 2023
a3d741d
chore: clean up
psyphore Mar 10, 2023
874b572
docs: add resource
psyphore Mar 10, 2023
5f61e91
refactor: remove dependency
psyphore Mar 10, 2023
0432e6e
refactor: add bootstrap from CDN
psyphore Mar 10, 2023
8e039c9
chore: clean up
psyphore Mar 10, 2023
e4ab145
docs: update how to get started
psyphore Mar 11, 2023
af7066d
refactor: move connection details to user secrets
psyphore Mar 11, 2023
5f4a458
chore: update client schema
psyphore Mar 11, 2023
ca050b8
refactor: configure for web sockets for subscription consumption
psyphore Mar 11, 2023
6fe8588
feat: define the order handlers
psyphore Mar 11, 2023
5da9343
feat: register order handlers to graphql server
psyphore Mar 11, 2023
9e7383b
feat: allow for product subs
psyphore Mar 11, 2023
6e3e580
feaet: add redis for subscriptions
psyphore Mar 11, 2023
f677585
feat: start consuming the generated graphql client
psyphore Mar 11, 2023
b9c6cde
feat: consume graphql product via component
psyphore Mar 11, 2023
455d02b
refactor: fix reference issues
psyphore Mar 11, 2023
45a56b0
feat: add email capability
psyphore Mar 13, 2023
daa2107
refactor: move exceptions to domain
psyphore Mar 13, 2023
aadfbc3
feat: wireup all lead activities with their respective requests and h…
psyphore Mar 13, 2023
4c62068
feat: add shipment aggregate and its events
psyphore Mar 13, 2023
b5778cd
feat: update order aggregate and its events
psyphore Mar 13, 2023
9e42d65
feat: add address value object
psyphore Mar 13, 2023
e9732ac
refactor: internalize behavors
psyphore Mar 13, 2023
e1eee98
feat: add email infrastrusture
psyphore Mar 13, 2023
3645e38
docs: update config example
psyphore Mar 13, 2023
aede375
test: expose internal classes to unit tests
psyphore Mar 13, 2023
d5dd8a4
docs: update documentation on how the cypher mutation works for creat…
psyphore Mar 13, 2023
532a1ca
refactor: handle lead creation command and its handlers and events
psyphore Mar 13, 2023
9db9ec6
refactor: map out order requests and handlers
psyphore Mar 13, 2023
d252ddf
feat: add a serializer for the complex object payload parameters
psyphore Mar 13, 2023
22bf310
refactor: reference the correct execution type when writing to the da…
psyphore Mar 13, 2023
3160d27
refactor: only return the Id of updated lead
psyphore Mar 14, 2023
d9ad75a
refactor: render lead fields
psyphore Mar 14, 2023
e6243c3
refactor: rearrange lead node connections
psyphore Mar 14, 2023
9611888
refactor: update graphql client
psyphore Mar 14, 2023
6fc4425
feat: view lead listing
psyphore Mar 14, 2023
a57e48a
feat: generate client
psyphore Mar 14, 2023
deecdb9
feat: add shipment data management
psyphore Mar 18, 2023
265ac19
refactor: update to new data accessor
psyphore Mar 18, 2023
27414cb
refactor: update product request handlers to pass the aggregrate inst…
psyphore Mar 18, 2023
e24a76f
feat: register cache
psyphore Mar 18, 2023
f5f26f0
chore: update package versions
psyphore Mar 18, 2023
2ab9ed3
test: add unit tests for application
psyphore Mar 21, 2023
950381f
chore: clean up
psyphore Mar 21, 2023
fd45b3c
test: run tests on ci cd pipeline
psyphore Mar 21, 2023
76325da
test: lead aggregate logic
psyphore Mar 21, 2023
a97ba31
chore: bump up versions
psyphore Apr 18, 2023
61c96cd
refactor: start moving towards central package mangement
psyphore Jul 13, 2024
ec9efd8
reset branch
psyphore Jul 14, 2024
1bd7e6c
reset
psyphore Jul 14, 2024
dcc4670
Update .gitignore
psyphore Jul 14, 2024
e6ac69d
Merge branch 'feature/modernize' of https://github.com/psyphore/graph…
psyphore Jul 14, 2024
9e4a5a6
restore to latest work
psyphore Jul 14, 2024
4aef8fa
build: update build pipeline
psyphore Jul 14, 2024
11c1a78
Update dotnet.yml
psyphore Jul 14, 2024
3041a0c
Update dotnet.yml
psyphore Jul 14, 2024
21c363d
build: attempt to fix build stage
psyphore Jul 14, 2024
5528329
build: remove lock flag
psyphore Jul 14, 2024
5ff1db3
build: fix build action
psyphore Jul 14, 2024
a7e0098
chore: update documentation
psyphore Jul 14, 2024
90eb215
Update DependencyInjection.cs
psyphore Jul 14, 2024
d0150c4
Update SearchForProductsQuery.cs
psyphore Jul 14, 2024
a2e2e74
Update usings.cs
psyphore Jul 14, 2024
d54da62
Update SearchForProductsQuery.cs
psyphore Jul 14, 2024
1aa8c1e
Merge branch 'feature/modernize' of https://github.com/psyphore/graph…
psyphore Sep 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
135 changes: 135 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
###############################
# Core EditorConfig Options #
###############################
root = true
# All files
[*]
indent_style = space

# XML project files
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}]
indent_size = 2

# XML config files
[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
indent_size = 2

# Code files
[*.{cs,csx,vb,vbx}]
indent_size =2
insert_final_newline = true
charset = utf-8-bom
###############################
# .NET Coding Conventions #
###############################
[*.{cs,vb}]
# Organize usings
dotnet_sort_system_directives_first = true
# this. preferences
dotnet_style_qualification_for_field = false:silent
dotnet_style_qualification_for_property = false:silent
dotnet_style_qualification_for_method = false:silent
dotnet_style_qualification_for_event = false:silent
# Language keywords vs BCL types preferences
dotnet_style_predefined_type_for_locals_parameters_members = true:silent
dotnet_style_predefined_type_for_member_access = true:silent
# Parentheses preferences
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:silent
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:silent
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:silent
dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent
# Modifier preferences
dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent
dotnet_style_readonly_field = true:suggestion
# Expression-level preferences
dotnet_style_object_initializer = true:suggestion
dotnet_style_collection_initializer = true:suggestion
dotnet_style_explicit_tuple_names = true:suggestion
dotnet_style_null_propagation = true:suggestion
dotnet_style_coalesce_expression = true:suggestion
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:silent
dotnet_style_prefer_inferred_tuple_names = true:suggestion
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
dotnet_style_prefer_auto_properties = true:silent
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
dotnet_style_prefer_conditional_expression_over_return = true:silent
###############################
# Naming Conventions #
###############################
# Style Definitions
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
# Use PascalCase for constant fields
dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
dotnet_naming_symbols.constant_fields.applicable_kinds = field
dotnet_naming_symbols.constant_fields.applicable_accessibilities = *
dotnet_naming_symbols.constant_fields.required_modifiers = const
tab_width=2
###############################
# C# Coding Conventions #
###############################
[*.cs]
# var preferences
csharp_style_var_for_built_in_types = true:silent
csharp_style_var_when_type_is_apparent = true:silent
csharp_style_var_elsewhere = true:silent
# Expression-bodied members
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
# Pattern matching preferences
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
# Null-checking preferences
csharp_style_throw_expression = true:suggestion
csharp_style_conditional_delegate_call = true:suggestion
# Modifier preferences
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:suggestion
# Expression-level preferences
csharp_prefer_braces = true:silent
csharp_style_deconstructed_variable_declaration = true:suggestion
csharp_prefer_simple_default_expression = true:suggestion
csharp_style_pattern_local_over_anonymous_function = true:suggestion
csharp_style_inlined_variable_declaration = true:suggestion
# Namespaces
csharp_style_namespace_declarations = file_scoped:warning
###############################
# C# Formatting Rules #
###############################
# New line preferences
csharp_new_line_before_open_brace = all
csharp_new_line_before_else = true
csharp_new_line_before_catch = true
csharp_new_line_before_finally = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_members_in_anonymous_types = true
csharp_new_line_between_query_expression_clauses = true
# Indentation preferences
csharp_indent_case_contents = true
csharp_indent_switch_labels = true
csharp_indent_labels = flush_left
# Space preferences
csharp_space_after_cast = false
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_between_method_call_parameter_list_parentheses = false
csharp_space_between_method_declaration_parameter_list_parentheses = false
csharp_space_between_parentheses = false
csharp_space_before_colon_in_inheritance_clause = true
csharp_space_after_colon_in_inheritance_clause = true
csharp_space_around_binary_operators = before_and_after
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
csharp_space_between_method_call_name_and_opening_parenthesis = false
csharp_space_between_method_call_empty_parameter_list_parentheses = false
# Wrapping preferences
csharp_preserve_single_line_statements = true
csharp_preserve_single_line_blocks = true
###############################
# VB Coding Conventions #
###############################
[*.vb]
# Modifier preferences
visual_basic_preferred_modifier_order = Partial,Default,Private,Protected,Public,Friend,NotOverridable,Overridable,MustOverride,Overloads,Overrides,MustInherit,NotInheritable,Static,Shared,Shadows,ReadOnly,WriteOnly,Dim,Const,WithEvents,Widening,Narrowing,Custom,Async:suggestion
27 changes: 27 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: ThumbezaTech.Leads dotnet CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x

- name: Restore dependencies
run: dotnet restore
# - name: Test
# run: dotnet test --no-restore -c "Release"
- name: Build
run: dotnet build --no-restore -c "Release"
191 changes: 0 additions & 191 deletions BusinessServiceTests/Building/BuildingServiceTests.cs

This file was deleted.

26 changes: 0 additions & 26 deletions BusinessServiceTests/BusinessServiceTests.csproj

This file was deleted.

Loading
Loading