Rename components in system

revealjs
Marcin Kulik 7 years ago
parent 858210391c
commit eb429b84df

@ -1,9 +1,9 @@
{:components
{:exp-set #var asciinema.component.mem-expiring-set/mem-expiring-set}
{:mem-expiring-set #var asciinema.component.mem-expiring-set/mem-expiring-set}
:config
{:http
{:port 4000}
:db
{:uri "jdbc:postgresql://localhost:15432/asciinema_development?user=vagrant"}
:png-gen
:a2png
{:bin-path "a2png/a2png.sh"}}}

@ -2,16 +2,20 @@
{:http #var asciinema.component.yada-listener/yada-listener
:db #var asciinema.component.db/hikaricp
:ragtime #var duct.component.ragtime/ragtime
:file-store #var asciinema.component.auto-file-store/auto-file-store
:exp-set #var asciinema.component.redis-client/redis-client
:png-gen #var asciinema.component.a2png/a2png
:executor #var asciinema.component.fixed-thread-executor/fixed-thread-executor}
:auto-file-store #var asciinema.component.auto-file-store/auto-file-store
:redis-client #var asciinema.component.redis-client/redis-client
:a2png #var asciinema.component.a2png/a2png
:fixed-thread-executor #var asciinema.component.fixed-thread-executor/fixed-thread-executor}
:endpoints
{:asciicasts #var asciinema.endpoint.asciicasts/asciicasts-endpoint}
:dependencies
{:http {:app :asciicasts}
:ragtime [:db]
:asciicasts [:db :file-store :exp-set :executor :png-gen]}
:asciicasts {:db :db
:file-store :auto-file-store
:exp-set :redis-client
:executor :fixed-thread-executor
:png-gen :a2png}}
:config
{:http
{:port http-port}
@ -19,15 +23,15 @@
{:uri db-uri}
:ragtime
{:resource-path "asciinema/migrations"}
:file-store
:auto-file-store
{:path "uploads/"
:s3-bucket s3-bucket
:s3-cred {:access-key s3-access-key
:secret-key s3-secret-key}}
:exp-set
:redis-client
{:uri redis-url}
:png-gen
:a2png
{:bin-path a2png-bin-path}
:executor
:fixed-thread-executor
{:threads 2
:queue-length 16}}}

Loading…
Cancel
Save