-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split aero and integrant into two separate parts. (#34)
Drop all ig/ref stuff in an aero config
- Loading branch information
1 parent
9de3d43
commit 742fd8f
Showing
7 changed files
with
77 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,13 @@ | ||
{:system/env | ||
#profile {:dev :dev | ||
:prod :prod} | ||
{:system/env #profile {:dev :dev | ||
:prod :prod} | ||
|
||
:server/http | ||
{:port #long #or [#env AGENT_PORT 8080] | ||
:host #or [#env AGENT_HOST "0.0.0.0"] | ||
:handler #ig/ref :handler/ring} | ||
:http/server | ||
{:port #long #or [#env VENN_AGENT_PORT 8080] | ||
:host #or [#env VENN_AGENT_HOST "0.0.0.0"] | ||
:handler #ref :handler/ring} | ||
|
||
:handler/ring | ||
{:router #ig/ref :router/core} | ||
{:router #ref :router/ring} | ||
|
||
:agent.routes/internal | ||
{:base-path "/internal"} | ||
|
||
:agent.routes/api | ||
{:base-path "/v1"} | ||
|
||
:router/routes | ||
{:routes #ig/refset :agent/routes} | ||
|
||
:router/core | ||
{:routes #ig/ref :router/routes}} | ||
:router/ring | ||
{:base-path "/v1"}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{:system/env | ||
#profile {:dev :dev | ||
:prod :prod}} | ||
{:system/env :dev} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
(ns com.vennbilling.system.interface | ||
(:require | ||
[com.vennbilling.system.core :as core] | ||
[com.vennbilling.system.lifecycle :as lifecycle])) | ||
|
||
|
||
(defn start | ||
[banner config-file opts] | ||
(lifecycle/start banner config-file opts)) | ||
([banner settings] | ||
(lifecycle/start banner settings))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters