Skip to content

Commit ebee845

Browse files
authoredOct 24, 2024
Tenants and users (BIG PR) (#36)
BIG BIG PR security api and tenant management remove authorization via roles from keycloack change containers images implement Yarp as a proxy and authorization manager (call the security api and forward request to backend apis, authorization via policy requierments for each route) remove masstransit for request/response, keep it only for events (pub/sub) review and simplify the test parts (complete review) => only integration tests for the moment. No real backend functions to unit test. Blazor app now calls the Yarp proxy
1 parent 67bf620 commit ebee845

File tree

396 files changed

+18356
-9520
lines changed

Some content is hidden

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

396 files changed

+18356
-9520
lines changed
 

‎.dockerignore

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
**/.classpath
2+
**/.dockerignore
3+
**/.env
4+
**/.git
5+
**/.gitignore
6+
**/.project
7+
**/.settings
8+
**/.toolstarget
9+
**/.vs
10+
**/.vscode
11+
**/*.*proj.user
12+
**/*.dbmdl
13+
**/*.jfm
14+
**/azds.yaml
15+
**/bin
16+
**/charts
17+
**/docker-compose*
18+
**/Dockerfile*
19+
**/node_modules
20+
**/npm-debug.log
21+
**/obj
22+
**/secrets.dev.yaml
23+
**/values.dev.yaml
24+
LICENSE
25+
README.md
26+
!**/.gitignore
27+
!.git/HEAD
28+
!.git/config
29+
!.git/packed-refs
30+
!.git/refs/heads/**

‎.github/workflows/build_and_test.yml

+21-5
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,36 @@ on:
1111

1212
jobs:
1313
build:
14-
1514
runs-on: ubuntu-latest
1615
defaults:
1716
run:
18-
working-directory: ./src/
17+
working-directory: ./
1918
steps:
20-
- uses: actions/checkout@v4
19+
- name: Checkout repo
20+
uses: actions/checkout@v4
21+
22+
- name: Run docker compose
23+
run: docker compose -f docker-compose.yml -f docker-integration-tests.yml up --build -d
24+
working-directory: ./
25+
2126
- name: Setup .NET
22-
uses: actions/setup-dotnet@v3
27+
uses: actions/setup-dotnet@v4
2328
with:
2429
dotnet-version: 8.0.x
30+
2531
- name: Restore dependencies
2632
run: dotnet restore
33+
working-directory: ./src/
34+
2735
- name: Build
28-
run: dotnet build -c Debug
36+
run: dotnet build -c Debug --no-restore
37+
working-directory: ./src/
38+
2939
- name: Test
40+
if: ${{ success() }}
3041
run: dotnet test -c Debug --no-build --no-restore
42+
working-directory: ./src/
43+
44+
- name: Run docker compose down
45+
run: docker compose -f docker-compose.yml -f docker-integration-tests.yml down
46+
working-directory: ./

0 commit comments

Comments
 (0)