Hlæja concept v0.4.0

This commit is contained in:
2025-01-02 07:32:55 +01:00
parent 4052404120
commit e2b0c475fc
4 changed files with 81 additions and 16 deletions

View File

@@ -33,7 +33,7 @@ graph TD
HDA --> HDC
HDA --> HDD
HRA --> HDR
HRA -.-> HAR
HRA --> HAR
HM -.-> HDC
HM -.-> HDR
HM -.-> HAR
@@ -52,48 +52,65 @@ graph RL
PCo[Plugin Common]
PCoD[Plugin Common Detekt]
PCoK[Plugin Common Ktlint]
PCe[Plugin Certificate]
PS[Plugin Service]
PSC[Plugin Service Container]
PSIT[Plugin Service Integration Test]
PSPR[Plugin Service Process Resource]
PCe[Plugin Certificate]
end
PCo --> PL
PLM --> PL
PLP --> PL
CP --> PCo
PCo ---> PL
PCoD --> PCo
CP ---> PCo
PCoK --> PCo
PCo --> PS
PCo ---> PS
PSC --> PS
PSIT --> PS
PSPR --> PS
CML[Common Messages Library]
PL --> CML
JWT[JWT Library]
PL --> JWT
DRS[Device Registry Service]
CML --> DRS
PS --> DRS
PCe --> DRS
CML --> DRS
JWT --> DRS
DDS[Device Data Service]
CML --> DDS
PS --> DDS
CML --> DDS
DCS[Device Configuration Service]
CML --> DCS
PS --> DCS
CML --> DCS
DAS[Device API Service]
CML --> DAS
JWT --> DAS
PS --> DAS
PCe --> DAS
RAS[Registry API Service]
CML --> RAS
JWT --> RAS
PS --> RAS
PCe --> RAS
AS[Account Service]
CML -.-> AS
PS -.-> AS
PCe -.-> AS
CML --> AS
JWT --> AS
PS --> AS
PCe --> AS
MUS[Management UI Service]
CML -.-> MUS
JWT -.-> MUS
PS -.-> MUS
PCe -.-> MUS
```

View File

@@ -67,9 +67,34 @@ SPRING_PROFILES_ACTIVE: docker
### Volume
Mount a local public key into the container. Read [rsa_key.md](./rsa_key.md) for how to generate.
Mount a local keystore into the container. Read [keystore.md](./keystore.md) for how to generate.
```text
volumes:
- ./cert/account_public_key.pem:/app/resources/cert/public_key.pem
- ./cert/registry_api_keystore.p12:/app/resources/cert/keystore.p12
```
## Account Registry
### Environment
```text
SPRING_R2DBC_URL: r2dbc:postgresql://localhost:5432/account_registry
SPRING_R2DBC_USERBAME: services
SPRING_R2DBC_PASSWORD: password
JWT_PRIVATE_KEY: cert/private_key.pem
```
### Volume
Mount a local private key into the container. Read [`rsa_key.md`](./rsa_key.md) for how to generate.
```text
volumes:
- ./cert/account_private_key.pem:/app/resources/cert/private_key.pem
```