Skip to content

Commit

Permalink
create grenache worker, connection with bitfinex-api-node
Browse files Browse the repository at this point in the history
  • Loading branch information
ZIMkaRU committed May 29, 2018
1 parent d5a6af6 commit 0a5f8fc
Show file tree
Hide file tree
Showing 22 changed files with 1,247 additions and 117 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
.idea/
.vscode/
node_modules/
.DS_Store
npm-debug.log
public/jspm_packages/
public/node_modules/
public/bower/
config/local-production.yaml
config/local-development.yaml
config/local-test.yaml
!config/*.json.example
config/*.json
!config/facs/*.json.example
config/facs/*.json
logs/*
!logs/.gitkeep
4 changes: 4 additions & 0 deletions config/common.json.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"dir_log": "logs",
"debug": 0
}
5 changes: 5 additions & 0 deletions config/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ app:
enable: true
whitelist: null # array

grenacheClient:
query: rest:report:api
grape: http://127.0.0.1:30001
timeout: 10000

logDebug:
prefix: ''
postfix: :app
Expand Down
1 change: 1 addition & 0 deletions config/facs/.gitkeep
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.gitkeep
10 changes: 10 additions & 0 deletions config/facs/grc.config.json.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"p0": {
"grape": "http://127.0.0.1:30001",
"transport": "http"
},
"p1": {
"grape": "http://127.0.0.1:30001",
"transport": "http"
}
}
3 changes: 3 additions & 0 deletions config/local-development.yaml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ app:
cors:
enable: true
whitelist: null # array

grenacheClient:
grape: http://127.0.0.1:30001
3 changes: 3 additions & 0 deletions config/local-production.yaml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ app:
enable: true
whitelist: null # array

grenacheClient:
grape: http://127.0.0.1:30001

log:
label: :app-prod
pathError: logs/error.log
Expand Down
3 changes: 3 additions & 0 deletions config/local-test.yaml.dist
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
app:
port: 3001

grenacheClient:
grape: http://127.0.0.1:30001

logDebug:
postfix: :app-test
enableInfo: false
Expand Down
5 changes: 5 additions & 0 deletions config/service.report.json.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"grcServices": [
"rest:report:api"
]
}
1 change: 1 addition & 0 deletions facilities/.gitkeep
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.gitkeep
Loading

0 comments on commit 0a5f8fc

Please sign in to comment.