Add Connection from Chargers to Attributes through ConnManager

This commit is contained in:
TeoV
2019-12-05 14:31:02 +02:00
parent e0fc97c99a
commit 46bd095b1e
71 changed files with 154 additions and 281 deletions

View File

@@ -76,9 +76,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},

View File

@@ -76,9 +76,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},

View File

@@ -71,9 +71,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},
"apier": {

View File

@@ -78,9 +78,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},

View File

@@ -62,9 +62,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"},
],
"attributes_conns": ["*internal"],
},
"apier": {

View File

@@ -63,9 +63,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"},
],
"attributes_conns": ["*internal"],
},
"apier": {

View File

@@ -63,9 +63,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"},
],
"attributes_conns": ["*internal"],
},
"apier": {

View File

@@ -63,9 +63,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"},
],
"attributes_conns": ["*internal"],
},
"apier": {

View File

@@ -63,9 +63,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"},
],
"attributes_conns": ["*internal"],
},
"apier": {

View File

@@ -63,9 +63,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},
"apier": {

View File

@@ -39,9 +39,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"},
],
"attributes_conns": ["*internal"],
},
"thresholds": {

View File

@@ -39,9 +39,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"},
],
"attributes_conns": ["*internal"],
},
"thresholds": {

View File

@@ -34,9 +34,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},

View File

@@ -33,9 +33,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},

View File

@@ -33,9 +33,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},

View File

@@ -33,9 +33,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},

View File

@@ -33,9 +33,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},

View File

@@ -33,9 +33,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},

View File

@@ -48,9 +48,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},

View File

@@ -48,9 +48,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},

View File

@@ -59,9 +59,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},
"sessions": {

View File

@@ -59,9 +59,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},
"sessions": {

View File

@@ -72,9 +72,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},

View File

@@ -115,9 +115,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"},
],
"attributes_conns": ["*internal"],
},

View File

@@ -45,9 +45,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},

View File

@@ -44,9 +44,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},

View File

@@ -35,9 +35,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},
"sessions": {

View File

@@ -35,9 +35,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},
"sessions": {

View File

@@ -50,9 +50,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},
"sessions": {

View File

@@ -29,9 +29,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},
"sessions": {

View File

@@ -50,9 +50,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},
"sessions": {

View File

@@ -40,9 +40,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},

View File

@@ -35,9 +35,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},
"sessions": {

View File

@@ -35,9 +35,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},
"sessions": {

View File

@@ -35,9 +35,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},
"sessions": {

View File

@@ -35,9 +35,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},
"sessions": {

View File

@@ -101,9 +101,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},
}

View File

@@ -101,9 +101,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},
}

View File

@@ -58,9 +58,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"},
],
"attributes_conns": ["*internal"],
},

View File

@@ -73,9 +73,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},

View File

@@ -134,9 +134,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "127.0.0.1:2012", "transport":"*json"}
],
"attributes_conns": ["*localhost"],
"string_indexed_fields": ["Account"]
},

View File

@@ -8,6 +8,13 @@
"log_level": 7
},
"rpc_conns": {
"conn1": {
"strategy": "first",
"conns": [{{"address": "127.0.0.1:2013", "transport":"*gob"},}],
},
},
"listen": {
"rpc_json": ":2012",
@@ -134,9 +141,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "127.0.0.1:2013", "transport":"*gob"}
],
"attributes_conns": ["conn1"],
"string_indexed_fields": ["Account"]
},

View File

@@ -73,9 +73,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},

View File

@@ -72,9 +72,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},

View File

@@ -78,9 +78,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"},
],
"attributes_conns": ["*internal"],
},

View File

@@ -99,9 +99,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "127.0.0.1:2012", "transport":"*json"}
],
"attributes_conns": ["*localhost"],
"string_indexed_fields": ["Account"]
},

View File

@@ -9,6 +9,14 @@
},
"rpc_conns": {
"conn1": {
"strategy": "first",
"conns": [{{"address": "127.0.0.1:2013", "transport":"*gob"},}],
},
},
"listen": {
"rpc_json": ":2012",
"rpc_gob": ":2013",
@@ -99,9 +107,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "127.0.0.1:2013", "transport":"*gob"}
],
"attributes_conns": ["conn1"],
"string_indexed_fields": ["Account"]
},

View File

@@ -197,9 +197,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"},
],
"attributes_conns": ["*internal"],
},

View File

@@ -86,9 +86,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},

View File

@@ -52,9 +52,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},

View File

@@ -51,9 +51,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},

View File

@@ -49,9 +49,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},

View File

@@ -50,9 +50,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},

View File

@@ -52,9 +52,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},

View File

@@ -51,9 +51,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},

View File

@@ -49,9 +49,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},

View File

@@ -50,9 +50,7 @@
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"}
],
"attributes_conns": ["*internal"],
},