Skip to content

Commit 863e6ba

Browse files
Merge pull request #98 from Genocs/ver_600
Ver 610
2 parents b98629b + 4e1a3ba commit 863e6ba

File tree

135 files changed

+979
-1241
lines changed

Some content is hidden

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

135 files changed

+979
-1241
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# These are supported funding model platforms
22
open_collective: genocs
3-
custom: ['https://www.buymeacoffee.com/genocs']
3+
custom: ["https://www.buymeacoffee.com/genocs"]

.github/workflows/build_and_test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Build test and pack
22

33
on:
44
push:
5-
branches: [ main, develop ]
5+
branches: [main, develop]
66
pull_request:
7-
branches: [ main, develop ]
7+
branches: [main, develop]
88

99
jobs:
1010
build:
@@ -14,20 +14,20 @@ jobs:
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v4
17-
17+
1818
- name: Setup .NET
1919
uses: actions/setup-dotnet@v4
2020
with:
2121
dotnet-version: 8.0.x
22-
22+
2323
- name: Restore dependencies
2424
run: dotnet restore
25-
25+
2626
- name: Build
2727
run: dotnet build -c Debug --no-restore
28-
28+
2929
- name: Test
3030
run: dotnet test -c Debug --no-build --verbosity normal
31-
31+
3232
- name: Pack
3333
run: dotnet pack -c Debug --no-build --verbosity normal

.github/workflows/dockerhub-publish.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,11 @@ on:
1313
description: "Image Version"
1414

1515
# Default value if no value is explicitly provided
16-
default: "6.0.0"
16+
default: "6.1.0"
1717

1818
# Input has to be provided for the workflow to run
1919
required: true
2020

21-
2221
jobs:
2322
build:
2423
name: Publish Docker Image
@@ -27,21 +26,21 @@ jobs:
2726
steps:
2827
- name: Checkout
2928
uses: actions/checkout@v4
30-
29+
3130
- name: Setup .NET
3231
uses: actions/setup-dotnet@v4
3332
with:
3433
dotnet-version: 8.0.x
35-
34+
3635
- name: Restore dependencies
3736
run: dotnet restore
38-
37+
3938
- name: Build
4039
run: dotnet build -c Debug --no-restore
41-
40+
4241
- name: Test
4342
run: dotnet test --no-build --verbosity normal
44-
43+
4544
- name: Pack
4645
run: dotnet pack --no-build --verbosity normal
4746

.github/workflows/nuget-publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,11 @@ on:
1313
description: "Packages Version"
1414

1515
# Default value if no value is explicitly provided
16-
default: "6.0.0"
16+
default: "6.1.0"
1717

1818
# Input has to be provided for the workflow to run
1919
required: true
2020

21-
2221
jobs:
2322
build:
2423
name: Update NuGet packages

CHANGELOG.md

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
1-
# Changelog
1+
### Changelog
22

3-
All notable changes to this project will be documented in this file.
4-
5-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
3+
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
74

85
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
96

10-
## [v6.0.0](https://github.com/Genocs/genocs-library/compare/6.0.0-preview.2.0...v6.0.0) - 2024-07-31
7+
#### [v6.1.0](https://github.com/Genocs/genocs-library/compare/v6.0.0...v6.1.0)
8+
9+
> 11 October 2024
10+
11+
- Refactor interfaces, update Azure Key Vault options, and improve code readability [`485db2c`](https://github.com/Genocs/genocs-library/commit/485db2ca1dd13e87a785a2242248671858fb7e45)
12+
- Refactor: Replace Jaeger with OpenTelemetry [`1eed44b`](https://github.com/Genocs/genocs-library/commit/1eed44bd91c9b187bcc1a2d3983ebe52b20e0664)
13+
- Refactor interfaces and update Azure Key Vault options [`87edca1`](https://github.com/Genocs/genocs-library/commit/87edca186850db3cbe17398229335012308fb814)
1114

12-
### Commits
15+
### [v6.0.0](https://github.com/Genocs/genocs-library/compare/6.0.0-preview.2.0...v6.0.0)
16+
17+
> 31 July 2024
1318
1419
- Refactor and update dependencies and logging level [`63533a2`](https://github.com/Genocs/genocs-library/commit/63533a2ccfb64106dd81e296ca1a1de55c556f48)
1520
- Refactor auth and update docs [`a63d816`](https://github.com/Genocs/genocs-library/commit/a63d816a4b617246ec99b3400d019a1b46ff40b0)
1621
- Update packages, fix typos, and improve code formatting [`d634694`](https://github.com/Genocs/genocs-library/commit/d6346942c88195b831bd66f4ff8a1e039695e0b2)
1722

18-
## [6.0.0-preview.2.0](https://github.com/Genocs/genocs-library/compare/v5.0.0-preview.4.0...6.0.0-preview.2.0) - 2024-07-19
23+
#### [6.0.0-preview.2.0](https://github.com/Genocs/genocs-library/compare/v5.0.0-preview.4.0...6.0.0-preview.2.0)
1924

20-
### Merged
25+
> 19 July 2024
2126
2227
- Bump prometheus-net from 5.0.2 to 8.2.1 [`#54`](https://github.com/Genocs/genocs-library/pull/54)
2328
- Bump System.IdentityModel.Tokens.Jwt from 7.0.3 to 7.1.2 in /src/Genocs.Auth [`#56`](https://github.com/Genocs/genocs-library/pull/56)
@@ -27,41 +32,32 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
2732
- Net8 [`#35`](https://github.com/Genocs/genocs-library/pull/35)
2833
- Bump Serilog.Sinks.Seq from 5.1.0 to 5.2.3 [`#21`](https://github.com/Genocs/genocs-library/pull/21)
2934
- Bump Serilog.Sinks.ElasticSearch from 8.4.1 to 9.0.3 [`#18`](https://github.com/Genocs/genocs-library/pull/18)
30-
31-
### Commits
32-
3335
- Added documentation and more control over types [`3d4c17e`](https://github.com/Genocs/genocs-library/commit/3d4c17e0e501d9174160f01569d2523472085a04)
3436
- Refactor configs and update docs across projects [`504fc40`](https://github.com/Genocs/genocs-library/commit/504fc40ee05a1ed6bc838a5b08195cb285feb8c1)
3537
- Merge issues [`cc6c097`](https://github.com/Genocs/genocs-library/commit/cc6c097d28854b584d3df34f9dc3ea6c4be78db9)
3638

37-
## [v5.0.0-preview.4.0](https://github.com/Genocs/genocs-library/compare/v5.0.0-preview.3.0...v5.0.0-preview.4.0) - 2023-07-15
39+
#### [v5.0.0-preview.4.0](https://github.com/Genocs/genocs-library/compare/v5.0.0-preview.3.0...v5.0.0-preview.4.0)
3840

39-
### Merged
41+
> 15 July 2023
4042
4143
- April 2023 [`#17`](https://github.com/Genocs/genocs-library/pull/17)
4244
- Create ml.yml [`#14`](https://github.com/Genocs/genocs-library/pull/14)
4345
- April 2023 [`#12`](https://github.com/Genocs/genocs-library/pull/12)
4446
- April 2023 [`#11`](https://github.com/Genocs/genocs-library/pull/11)
45-
46-
### Commits
47-
4847
- Preview 4.x [`d619840`](https://github.com/Genocs/genocs-library/commit/d619840033c146a60bdb5fe6f37ea7e6e7ae5de7)
4948
- Start removing legacy MongoDB legacy database [`f4ca960`](https://github.com/Genocs/genocs-library/commit/f4ca9609ef11ad550c789e05dbfd6c0984fa312b)
5049
- Refactory to remove legacy Mongodb [`7accdcb`](https://github.com/Genocs/genocs-library/commit/7accdcba26edb9e38ebf0583966348f80a2d31b1)
5150

52-
## v5.0.0-preview.3.0 - 2023-05-13
51+
#### v5.0.0-preview.3.0
5352

54-
### Merged
53+
> 13 May 2023
5554
5655
- March 2023 [`#9`](https://github.com/Genocs/genocs-library/pull/9)
5756
- Create docker-image.yml [`#6`](https://github.com/Genocs/genocs-library/pull/6)
5857
- Create nuget-deploy.yml [`#5`](https://github.com/Genocs/genocs-library/pull/5)
5958
- Added explicitly build [`#3`](https://github.com/Genocs/genocs-library/pull/3)
6059
- Develop [`#2`](https://github.com/Genocs/genocs-library/pull/2)
6160
- Bump Microsoft.AspNetCore.Authentication.JwtBearer from 5.0.6 to 5.0.9 in /src/Genocs.Core.Demo.WebApi [`#1`](https://github.com/Genocs/genocs-library/pull/1)
62-
63-
### Commits
64-
6561
- Added SignalR service [`8a6faee`](https://github.com/Genocs/genocs-library/commit/8a6faeef4c6c2dec473abb1e86fe55a9e24f87c5)
6662
- Added template [`98884b0`](https://github.com/Genocs/genocs-library/commit/98884b034910bc8d4c912344fe2ce0f54b4e7aaa)
6763
- Upated to net7 [`2cbc3f8`](https://github.com/Genocs/genocs-library/commit/2cbc3f8b6cefb5cfe153b3aba8a28d5f425804dc)

Directory.Build.props

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,19 @@
99
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)dotnet.ruleset</CodeAnalysisRuleSet>
1010
<GenerateDocumentationFile>True</GenerateDocumentationFile>
1111
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
12-
<DocumentationFile>$(OutputPath)$(AssemblyName).xml</DocumentationFile>
12+
<LangVersion>10.0</LangVersion>
13+
<Company>Genocs</Company>
14+
<Copyright>Genocs 2024</Copyright>
15+
<PackageLicenseFile>LICENSE</PackageLicenseFile>
16+
<PackageProjectUrl>https://github.com/Genocs/genocs-library</PackageProjectUrl>
17+
<RepositoryUrl>https://github.com/Genocs/genocs-library.git</RepositoryUrl>
18+
<PackageIcon>icon.png</PackageIcon>
19+
<RepositoryType>git</RepositoryType>
20+
<EnableNETAnalyzers>True</EnableNETAnalyzers>
1321
</PropertyGroup>
1422

1523
<ItemGroup>
16-
<PackageReference Include="Roslynator.Analyzers" Version="4.12.4">
24+
<PackageReference Include="Roslynator.Analyzers" Version="4.12.7">
1725
<PrivateAssets>all</PrivateAssets>
1826
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1927
</PackageReference>

README.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,12 @@ docker compose -f ./infrastructure-security.yml --env-file ./.env --project-name
8282
# Use this file only in case you want to setup sqlserver database (no need if you use postgres)
8383
docker compose -f ./infrastructure-sqlserver.yml --env-file ./.env --project-name genocs up -d
8484

85+
# Use this file only in case you want to setup mySql database (no need if you use postgres)
86+
docker compose -f ./infrastructure-mysql.yml --env-file ./.env --project-name genocs up -d
87+
88+
# Use this file only in case you want to setup oracle database (no need if you use postgres)
89+
docker compose -f ./infrastructure-oracle.yml --env-file ./.env --project-name genocs up -d
90+
8591
# Use this file only in case you want to setup elk stack
8692
docker compose -f ./infrastructure-elk.yml --env-file ./.env --project-name genocs up -d
8793

@@ -233,13 +239,15 @@ Use [**api-workbench**](./api-workbench.rest) inside Visual Studio code with [RE
233239
"tags": {}
234240
},
235241
"jaeger": {
236-
"enabled": false,
237-
"serviceName": "users",
238-
"udpHost": "localhost",
239-
"udpPort": 6831,
240-
"maxPacketSize": 65000,
241-
"sampler": "const",
242-
"excludePaths": [ "/", "/ping", "/metrics" ]
242+
"enabled": true,
243+
"serviceName": "orders",
244+
"endpoint": "http://localhost:4317",
245+
"protocol": "Grpc",
246+
"processorType": "Batch",
247+
"maxQueueSize": 2048,
248+
"scheduledDelayMilliseconds": 5000,
249+
"exporterTimeoutMilliseconds": 30000,
250+
"maxExportBatchSize": 512
243251
},
244252
"jwt": {
245253
"certificate": {
@@ -547,6 +555,3 @@ Become a financial contributor and help me sustain the project. [Support the Pro
547555
## Acknowledgements
548556
- [devmentors](https://github.com/devmentors)
549557
- [abp](https://github.com/abpframework)
550-
551-
552-
- simple changes

containers/infrastructure-monitoring.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ services:
3535
- 9411:9411
3636
- 14268:14268
3737
- 16686:16686
38+
- 4317:4317
3839
# network_mode: host
3940
networks:
4041
- genocs
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
services:
2+
mysqldb:
3+
image: mysql
4+
hostname: mysqldb
5+
container_name: mysqldb
6+
ports:
7+
- 3306:3306
8+
9+
environment:
10+
MYSQL_ROOT_PASSWORD: MySect3tPassw!
11+
volumes:
12+
- mysqlsystem:/var/lib/mysql
13+
networks:
14+
- genocs
15+
16+
networks:
17+
genocs:
18+
name: genocs-network
19+
external: true
20+
21+
volumes:
22+
mysqlsystem:
23+
driver: local
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
services:
2+
oracledb:
3+
image: container-registry.oracle.com/database/express:21.3.0-xe
4+
hostname: oracledb
5+
container_name: oracledb
6+
ports:
7+
- 1521:1521
8+
- 5500:5500
9+
10+
environment:
11+
ORACLE_PWD: MySect3tPassw!
12+
ORACLE_CHARACTERSET: AL32UTF8
13+
ENABLE_ARCHIVELOG: true
14+
ENABLE_FORCE_LOGGING: true
15+
16+
volumes:
17+
- oracle_data:/opt/oracle/oradata
18+
- oracle_startup:/opt/oracle/scripts/startup
19+
- oracle_setup:/opt/oracle/scripts/setup
20+
21+
networks:
22+
- genocs
23+
24+
networks:
25+
genocs:
26+
name: genocs-network
27+
external: true
28+
29+
volumes:
30+
oracle_data:
31+
driver: local
32+
oracle_startup:
33+
driver: local
34+
oracle_setup:
35+
driver: local

0 commit comments

Comments
 (0)