Skip to content

Commit d57c736

Browse files
Merge pull request #120 from Genocs/ver_700
Ver 700
2 parents 9ed74d5 + 766bec0 commit d57c736

File tree

70 files changed

+595
-318
lines changed

Some content is hidden

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

70 files changed

+595
-318
lines changed

.github/workflows/build_and_test.yml

Lines changed: 3 additions & 3 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: [master, develop]
66
pull_request:
7-
branches: [main, develop]
7+
branches: [master, develop]
88

99
jobs:
1010
build:
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup .NET
1919
uses: actions/setup-dotnet@v4
2020
with:
21-
dotnet-version: 8.0.x
21+
dotnet-version: 9.0.x
2222

2323
- name: Restore dependencies
2424
run: dotnet restore

.github/workflows/dockerhub-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Setup .NET
3131
uses: actions/setup-dotnet@v4
3232
with:
33-
dotnet-version: 8.0.x
33+
dotnet-version: 9.0.x
3434

3535
- name: Restore dependencies
3636
run: dotnet restore

.github/workflows/nuget-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
description: "Packages Version"
1414

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

1818
# Input has to be provided for the workflow to run
1919
required: true
@@ -30,7 +30,7 @@ jobs:
3030
- name: Setup .NET
3131
uses: actions/setup-dotnet@v4
3232
with:
33-
dotnet-version: 8.0.x
33+
dotnet-version: 9.0.x
3434

3535
- name: Restore dependencies
3636
run: dotnet restore

.gitignore

Lines changed: 4 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@
1010
*.userosscache
1111
*.sln.docstates
1212

13-
# User-specific files (MonoDevelop/Xamarin Studio)
14-
*.userprefs
15-
16-
# Mono auto generated files
17-
mono_crash.*
1813

1914
# Build results
2015
[Dd]ebug/
@@ -255,8 +250,6 @@ orleans.codegen.cs
255250
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
256251
#bower_components/
257252

258-
# RIA/Silverlight projects
259-
Generated_Code/
260253

261254
# Backup & report files from converting an old project file
262255
# to a newer Visual Studio version. Backup files are not needed,
@@ -301,13 +294,6 @@ node_modules/
301294
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
302295
*.vbw
303296

304-
# Visual Studio LightSwitch build output
305-
**/*.HTMLClient/GeneratedArtifacts
306-
**/*.DesktopClient/GeneratedArtifacts
307-
**/*.DesktopClient/ModelManifest.xml
308-
**/*.Server/GeneratedArtifacts
309-
**/*.Server/ModelManifest.xml
310-
_Pvt_Extensions
311297

312298
# Paket dependency manager
313299
.paket/paket.exe
@@ -316,15 +302,6 @@ paket-files/
316302
# FAKE - F# Make
317303
.fake/
318304

319-
# JetBrains Rider
320-
.idea/
321-
*.sln.iml
322-
323-
# CodeRush
324-
.cr/
325-
326-
# CodeRush personal settings
327-
.cr/personal
328305

329306
# Python Tools for Visual Studio (PTVS)
330307
__pycache__/
@@ -337,14 +314,9 @@ __pycache__/
337314
# Tabs Studio
338315
*.tss
339316

340-
# Telerik's JustMock configuration file
341-
*.jmconfig
342317

343-
# BizTalk build output
344-
*.btp.cs
345-
*.btm.cs
346-
*.odx.cs
347-
*.xsd.cs
318+
319+
348320

349321
# OpenCover UI analysis results
350322
OpenCover/
@@ -358,8 +330,6 @@ ASALocalRun/
358330
# NVidia Nsight GPU debugger configuration file
359331
*.nvuser
360332

361-
# MFractors (Xamarin productivity tool) working folder
362-
.mfractor/
363333

364334
logs/
365335

@@ -466,3 +436,5 @@ $RECYCLE.BIN/
466436
!.vscode/tasks.json
467437
!.vscode/launch.json
468438
!.vscode/extensions.json
439+
440+
## *.env

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<GenerateDocumentationFile>True</GenerateDocumentationFile>
1515
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
1616
<Version>6.3.0</Version>
17-
<LangVersion>10.0</LangVersion>
17+
<LangVersion>13.0</LangVersion>
1818
<Company>Genocs</Company>
1919
<Copyright>Genocs 2024</Copyright>
2020
<PackageLicenseFile>LICENSE</PackageLicenseFile>

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
# Genocs .NET library
4747

48-
This repo contains a set of libraries to build LOB (Line Of Business) applications. The library is open source and built to be PRODUCTION READY. The library is built on top of .NET8, it is designed and maintained by Genocs.
48+
This repo contains a set of libraries to build LOB (Line Of Business) applications. The library is open source and built to be PRODUCTION READY. The library is built on top of .NET9, it is designed and maintained by Genocs.
4949

5050
Packages are available on [NuGet Genocs](https://www.nuget.org/profiles/gioema_nocco).
5151

@@ -74,9 +74,18 @@ You can use **Docker compose** to setup the infrastructure components just by ru
7474
``` bash
7575
cd ./containers
7676
# Setup the infrastructure
77-
docker compose -f ./infrastructure-bare.yml --env-file ./.env --project-name genocs up -d
77+
docker compose -f ./infrastructure.yml --env-file ./.env --project-name genocs up -d
78+
79+
# Use this file only in case you want to setup Redis and Postgres db (no need if you use mongo)
80+
docker compose -f ./infrastructure-db.yml --env-file ./.env --project-name genocs up -d
81+
82+
# Use this file only in case you want to setup monitoring infrastructure components (Prometheus, Grafana, InfluxDB, Jaeger, Seq)
7883
docker compose -f ./infrastructure-monitoring.yml --env-file ./.env --project-name genocs up -d
84+
85+
# Use this file only in case you want to setup scaling infrastructure components (Fabio, Consul)
7986
docker compose -f ./infrastructure-scaling.yml --env-file ./.env --project-name genocs up -d
87+
88+
# Use this file only in case you want to setup security infrastructure components (Vault)
8089
docker compose -f ./infrastructure-security.yml --env-file ./.env --project-name genocs up -d
8190

8291
# Use this file only in case you want to setup sqlserver database (no need if you use postgres)

containers/.env

Whitespace-only changes.

containers/infrastructure-db.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
services:
2+
3+
redis:
4+
image: redis
5+
hostname: redis
6+
container_name: redis
7+
ports:
8+
- 6379:6379
9+
networks:
10+
- genocs
11+
# network_mode: host
12+
volumes:
13+
- redis:/data
14+
15+
postgres:
16+
image: postgres
17+
hostname: postgres
18+
container_name: postgres
19+
environment:
20+
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
21+
ports:
22+
- 5432:5432
23+
networks:
24+
- genocs
25+
# network_mode: host
26+
volumes:
27+
- postgres:/var/lib/postgresql/data
28+
29+
networks:
30+
genocs:
31+
name: genocs-network
32+
driver: bridge
33+
external: true
34+
35+
volumes:
36+
redis:
37+
driver: local
38+
postgres:
39+
driver: local

containers/infrastructure-bare.yml renamed to containers/infrastructure.yml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -25,32 +25,6 @@ services:
2525
volumes:
2626
- mongodb:/data/db
2727

28-
redis:
29-
image: redis
30-
hostname: redis
31-
container_name: redis
32-
ports:
33-
- 6379:6379
34-
networks:
35-
- genocs
36-
# network_mode: host
37-
volumes:
38-
- redis:/data
39-
40-
postgres:
41-
image: postgres
42-
hostname: postgres
43-
container_name: postgres
44-
environment:
45-
- POSTGRES_PASSWORD=mysecretpassword
46-
ports:
47-
- 5432:5432
48-
networks:
49-
- genocs
50-
# network_mode: host
51-
volumes:
52-
- postgres:/var/lib/postgresql/data
53-
5428
networks:
5529
genocs:
5630
name: genocs-network
@@ -61,7 +35,3 @@ volumes:
6135
driver: local
6236
rabbitmq:
6337
driver: local
64-
redis:
65-
driver: local
66-
postgres:
67-
driver: local

containers/local.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# This file is a template for the .env file that is used by the docker-compose.yml file.
2+
POSTGRES_PASSWORD=<<POSTGRES_PASSWORD>>

0 commit comments

Comments
 (0)