update project
This commit is contained in:
17
README.md
17
README.md
@@ -4,12 +4,17 @@ In realms of connectedness, where devices roam free, A nexus of management, harm
|
||||
|
||||
## Properties for deployment
|
||||
|
||||
| name | required | info |
|
||||
|------------------------|:--------:|-------------------------|
|
||||
| spring.profiles.active | ✓ | Spring Boot environment |
|
||||
| jwt.public-key | ✓ | JWT public key file |
|
||||
| account-registry.url | ✓ | Account Register URL |
|
||||
| device-registry.url | ✓ | Device Register URL |
|
||||
| name | required | info |
|
||||
|----------------------------|:--------:|-------------------------|
|
||||
| spring.profiles.active | ✓ | Spring Boot environment |
|
||||
| spring.cache.type | | Cache type (redis) |
|
||||
| spring.data.redis.host | ✓ | Redis host |
|
||||
| spring.data.redis.port | | Redis port |
|
||||
| spring.data.redis.database | ✓ | Redis database |
|
||||
| spring.data.redis.password | ✗ | Redis password |
|
||||
| jwt.public-key | ✓ | JWT public key file |
|
||||
| account-registry.url | ✓ | Account Register URL |
|
||||
| device-registry.url | ✓ | Device Register URL |
|
||||
|
||||
*Required: ✓ can be stored as text, and ✗ need to be stored as secret.*
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
plugins {
|
||||
alias(hlaeja.plugins.kotlin.jvm)
|
||||
alias(hlaeja.plugins.kotlin.spring)
|
||||
alias(hlaeja.plugins.ltd.hlaeja.plugin.certificate)
|
||||
alias(hlaeja.plugins.ltd.hlaeja.plugin.service)
|
||||
alias(hlaeja.plugins.spring.boot)
|
||||
alias(hlaeja.plugins.spring.dependency.management)
|
||||
alias(hlaeja.plugins.springframework.boot)
|
||||
alias(hlaeja.plugins.certificate)
|
||||
alias(hlaeja.plugins.service)
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@@ -36,8 +36,6 @@ dependencies {
|
||||
|
||||
group = "ltd.lulz"
|
||||
|
||||
tasks {
|
||||
named("processResources") {
|
||||
dependsOn("copyCertificates")
|
||||
}
|
||||
tasks.named("processResources") {
|
||||
dependsOn("copyCertificates")
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
kotlin.code.style=official
|
||||
version=0.3.0-SNAPSHOT
|
||||
catalog=0.10.0
|
||||
catalog=0.11.0-SNAPSHOT
|
||||
container.port.host=9060
|
||||
|
||||
@@ -11,7 +11,6 @@ spring:
|
||||
version: "%APP_BUILD_OS_VERSION%"
|
||||
session:
|
||||
timeout: 60m
|
||||
|
||||
redis:
|
||||
namespace: "spring:session:management"
|
||||
data:
|
||||
@@ -20,16 +19,17 @@ spring:
|
||||
|
||||
management:
|
||||
endpoints:
|
||||
enabled-by-default: false
|
||||
access:
|
||||
default: none
|
||||
web:
|
||||
exposure:
|
||||
include: "health,info"
|
||||
endpoint:
|
||||
health:
|
||||
enabled: true
|
||||
show-details: always
|
||||
access: read_only
|
||||
info:
|
||||
enabled: true
|
||||
access: read_only
|
||||
|
||||
jwt:
|
||||
public-key: cert/public_key.pem
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
<configuration>
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
<root level="INFO">
|
||||
<appender-ref ref="STDOUT"/>
|
||||
</root>
|
||||
<logger level="DEBUG" name="ltd.hlaeja"/>
|
||||
</configuration>
|
||||
Reference in New Issue
Block a user