init commit

This commit is contained in:
2026-04-16 14:20:58 -05:00
commit cc973cc11c
51 changed files with 2447 additions and 0 deletions

24
config/test.exs Normal file
View File

@@ -0,0 +1,24 @@
import Config
config :workload_service, WorkloadService.Repo,
username: "postgres",
password: "postgres",
hostname: "localhost",
database: "workload_service_test#{System.get_env("MIX_TEST_PARTITION")}",
pool: Ecto.Adapters.SQL.Sandbox,
pool_size: System.schedulers_online() * 2
config :workload_service, WorkloadServiceWeb.Endpoint,
http: [ip: {127, 0, 0, 1}, port: 4002],
secret_key_base: "workload_test_secret_key_base_at_least_64_bytes_long_for_testing",
server: false
config :logger, level: :warning
config :phoenix, :plug_init_mode, :runtime
config :workload_service, WorkloadService.Application,
event_store: [
adapter: Commanded.EventStore.Adapters.InMemory,
serializer: Commanded.Serialization.JsonSerializer
]