From 5dc1e91ce2ca884618c1c56469857ce863c49ae2 Mon Sep 17 00:00:00 2001 From: Swordsteel Date: Fri, 20 Dec 2024 00:56:52 +0100 Subject: [PATCH] add RegistryApi --- STRUCTURE.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ compose.yml | 14 ++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 STRUCTURE.md diff --git a/STRUCTURE.md b/STRUCTURE.md new file mode 100644 index 0000000..b42894b --- /dev/null +++ b/STRUCTURE.md @@ -0,0 +1,48 @@ +# Hlæja structure +```mermaid +graph RL; + CP[Core Plugin] + subgraph SCP [Common Plugin] + PL[Plugin Library] + PLM[Plugin Library Manifest] + PLP[Plugin Library Publish] + PCo[Plugin Common] + PCoD[Plugin Common Detekt] + PCoK[Plugin Common Ktlint] + 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 + PCoD --> PCo + PCoK --> PCo + PCo --> PS + PSC --> PS + PSIT --> PS + PSPR --> PS + CML[Common Messages Library] + PL --> CML + DRS[Device Registry Service] + CML --> DRS + PS --> DRS + PCe --> DRS + DDS[Device Data Service] + CML --> DDS + PS --> DDS + DCS[Device Configuration Service] + CML --> DCS + PS --> DCS + DAS[Device API Service] + CML --> DAS + PS --> DAS + PCe --> DAS + RAS[Registry API Service] + CML --> RAS + PS --> RAS + PCe --> RAS +``` diff --git a/compose.yml b/compose.yml index d9b33c5..21e57aa 100644 --- a/compose.yml +++ b/compose.yml @@ -64,6 +64,20 @@ services: ports: - "9030:8080" + registry-api: + image: hlaeja-registry-api:0.1.0-SNAPSHOT + container_name: RegistryApi + restart: unless-stopped + environment: + SPRING_PROFILES_ACTIVE: docker + networks: + - develop + ports: + - "9040:8443" + # mount a local `identity_public_key.pem` into the container. + volumes: + - ./cert/registry_api_keystore.p12:/app/resources/cert/keystore.p12 + influxdb: image: influxdb:2.7.10-alpine container_name: InfluxDB