chore: initialize tech log backend
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
# ----------------------------------------------------------------------------
|
||||
|
||||
# ----- App identity -----
|
||||
APP_NAME=ca-skeleton
|
||||
APP_NAME=tech-log-backend
|
||||
SPRING_PROFILES_ACTIVE=local
|
||||
|
||||
# ----- Runtime safety (StartupSafetyValidator, D8) -----
|
||||
@@ -51,7 +51,7 @@ APP_LOG_LEVEL_SQL=WARN
|
||||
|
||||
# ----- Logging: file output + rolling -----
|
||||
APP_LOG_FILE_ENABLED=false
|
||||
APP_LOG_FILE_PATH=logs/ca-skeleton.json
|
||||
APP_LOG_FILE_PATH=logs/tech-log-backend.json
|
||||
APP_LOG_FILE_MAX_SIZE=100MB
|
||||
APP_LOG_FILE_MAX_HISTORY=14
|
||||
APP_LOG_FILE_TOTAL_SIZE_CAP=3GB
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@
|
||||
# feature-container-runtime-contract — multi-stage image build
|
||||
#
|
||||
# Build requirements:
|
||||
# docker build -f src/Dockerfile src/ -t caskeleton:local \
|
||||
# docker build -f src/Dockerfile src/ -t tech-log-backend:local \
|
||||
# --build-arg RELEASE_VERSION=1.2.3 \
|
||||
# --build-arg BUILD_VERSION=1.2.3+a1b2c3d4e5f6 \
|
||||
# --build-arg GIT_SHA=a1b2c3d4e5f6 \
|
||||
@@ -64,7 +64,7 @@ ARG GIT_SHA
|
||||
ARG SOURCE_URL
|
||||
|
||||
# OCI image labels (build-arg placeholders — supply at docker build time).
|
||||
LABEL org.opencontainers.image.title="caskeleton" \
|
||||
LABEL org.opencontainers.image.title="tech-log-backend" \
|
||||
org.opencontainers.image.source="${SOURCE_URL}" \
|
||||
org.opencontainers.image.revision="${GIT_SHA}" \
|
||||
org.opencontainers.image.version="${BUILD_VERSION}"
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: ca-skeleton
|
||||
name: tech-log-backend
|
||||
web:
|
||||
error:
|
||||
include-stacktrace: never
|
||||
@@ -125,7 +125,7 @@ ca-skeleton:
|
||||
# rows and timeout guards differ per vendor even though the ports do not.
|
||||
vendor: h2
|
||||
bootstrap:
|
||||
app-name: ca-skeleton
|
||||
app-name: tech-log-backend
|
||||
presentation:
|
||||
# Pinned even though application.yml has an inline default, because the default is /v1 and
|
||||
# src/.env says /api. Everything that names a URL in this repository — SECURITY_PUBLIC_PATHS,
|
||||
@@ -156,7 +156,7 @@ ca-skeleton:
|
||||
# Console only. A local run should not quietly grow a logs/ directory in the working
|
||||
# directory, which differs between a Gradle run and an IDE run.
|
||||
enabled: false
|
||||
path: logs/ca-skeleton.json
|
||||
path: logs/tech-log-backend.json
|
||||
max-size: 100MB
|
||||
max-history: 14
|
||||
total-size-cap: 3GB
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
|
||||
<!-- Early logging initializes before dotenv-backed application.yml placeholders are reliable. -->
|
||||
<springProperty scope="context" name="APP_NAME"
|
||||
source="APP_NAME" defaultValue="ca-skeleton"/>
|
||||
source="APP_NAME" defaultValue="tech-log-backend"/>
|
||||
<springProperty scope="context" name="APP_PROFILE"
|
||||
source="SPRING_PROFILES_ACTIVE" defaultValue="local"/>
|
||||
|
||||
<springProperty scope="context" name="FILE_ENABLED"
|
||||
source="APP_LOG_FILE_ENABLED" defaultValue="false"/>
|
||||
<springProperty scope="context" name="FILE_PATH"
|
||||
source="APP_LOG_FILE_PATH" defaultValue="logs/ca-skeleton.json"/>
|
||||
source="APP_LOG_FILE_PATH" defaultValue="logs/tech-log-backend.json"/>
|
||||
<springProperty scope="context" name="FILE_MAX_SIZE"
|
||||
source="APP_LOG_FILE_MAX_SIZE" defaultValue="100MB"/>
|
||||
<springProperty scope="context" name="FILE_MAX_HISTORY"
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ plugins {
|
||||
id 'org.gradle.toolchains.foojay-resolver-convention' version '1.0.0'
|
||||
}
|
||||
|
||||
rootProject.name = 'ca-skeleton'
|
||||
rootProject.name = 'tech-log-backend'
|
||||
|
||||
File repositoryRoot = settingsDir.parentFile.canonicalFile
|
||||
File moduleRegistryFile = new File(settingsDir, 'config/architecture/modules.json')
|
||||
|
||||
Reference in New Issue
Block a user