Skip to content

Commit

Permalink
DEBUG Add default.conf test resource
Browse files Browse the repository at this point in the history
  • Loading branch information
olivergrabinski committed Mar 21, 2024
1 parent b33a286 commit c496bce
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions ship/src/test/resources/config/default.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
ship {
base-uri = "http://localhost:8080/v1"

database {
read = ${ship.database.access}
# Access to database for write access
write = ${ship.database.access}
# Access to database for streaming access (indexing / SSEs)
streaming = ${ship.database.access}

# when true it creates the tables on service boot
tables-autocreate = false

cache {
# The max number of tokens in the partition cache
max-size = 1000
# The duration after an entry in the cache expires
expire-after = 10 minutes
}

access {
# the database host
host = 127.0.0.1
# the database port
port = 5432
# the pool size
pool-size = 10
}

name = "postgres"
username = "postgres"
password = "postgres"
}

event-log {
query-config = {
batch-size = 30
refresh-strategy = 3s
}
max-duration = 14 seconds
}

organizations {
values {
# organization example
#obp = "The Open Brain Platform Organization"
}
}

# Service account configuration for internal operations
service-account {
subject: "delta"
realm: "internal"
}
}

0 comments on commit c496bce

Please sign in to comment.