-
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.
Merge pull request #133 from ownmfa/bconway_update_app_event_identity…
…_dao_rw_ro Update app, event, and identity DAO for RW and RO database connections
- Loading branch information
Showing
47 changed files
with
442 additions
and
126 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
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
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 |
---|---|---|
|
@@ -11,7 +11,8 @@ type Config struct { | |
LogLevel string | ||
StatsDAddr string | ||
|
||
PgURI string | ||
PgRwURI string | ||
PgRoURI string | ||
RedisHost string | ||
|
||
NSQPubAddr string | ||
|
@@ -32,7 +33,9 @@ func New() *Config { | |
LogLevel: config.String(pref+"LOG_LEVEL", "DEBUG"), | ||
StatsDAddr: config.String(pref+"STATSD_ADDR", ""), | ||
|
||
PgURI: config.String(pref+"PG_URI", | ||
PgRwURI: config.String(pref+"PG_RW_URI", | ||
"postgres://postgres:[email protected]/hermes_test"), | ||
PgRoURI: config.String(pref+"PG_RO_URI", | ||
"postgres://postgres:[email protected]/hermes_test"), | ||
RedisHost: config.String(pref+"REDIS_HOST", "127.0.0.1"), | ||
|
||
|
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 |
---|---|---|
|
@@ -12,7 +12,8 @@ type Config struct { | |
StatsDAddr string | ||
Concurrency int | ||
|
||
PgURI string | ||
PgRwURI string | ||
PgRoURI string | ||
RedisHost string | ||
|
||
IdentityKey []byte | ||
|
@@ -38,7 +39,9 @@ func New() *Config { | |
StatsDAddr: config.String(pref+"STATSD_ADDR", ""), | ||
Concurrency: config.Int(pref+"CONCURRENCY", 5), | ||
|
||
PgURI: config.String(pref+"PG_URI", | ||
PgRwURI: config.String(pref+"PG_RW_URI", | ||
"postgres://postgres:[email protected]/hermes_test"), | ||
PgRoURI: config.String(pref+"PG_RO_URI", | ||
"postgres://postgres:[email protected]/hermes_test"), | ||
RedisHost: config.String(pref+"REDIS_HOST", "127.0.0.1"), | ||
|
||
|
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
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
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
Oops, something went wrong.