congress/congress
Eric K 7c6d7c5ad2 Use only strings in paste.deploy.loadapp global_conf
1. encode the flags as json
2. pass node_id, bus_id rather than DseNode instance.
   Create DseNode in harness not eventlet_server.

Rationale: global_conf not meant to take non-strings.
Somehow got away with it in python2, but fails in python3.

When dict (and DseNode) passed through global_conf,
paste.deploy.loadapp adds them to configparser defaults,
causing errors when configparser calls string methods on them.

File "/usr/lib/python3.4/configparser.py",
    line 390, in _interpolate_some
    p = rest.find("%")
AttributeError:
    Error in file congress/tests/etc/api-paste.ini:
    'dict' object has no attribute 'find'

Change-Id: I549b9281e72512bb804a7d6f07bf6482e9485ae4
2016-09-15 18:00:11 +00:00
..
api Restore the DSE opt group 2016-09-01 08:36:41 -07:00
common Use only strings in paste.deploy.loadapp global_conf 2016-09-15 18:00:11 +00:00
datalog Add __ne__ built-in function 2016-09-01 02:04:22 +00:00
datasources Merge "Fix alarms_translator fails to pull data" 2016-09-10 00:19:47 +00:00
db Instantiating datasource service by synchronizer 2016-09-01 22:47:53 +00:00
dse Start and Stop DatasourceDriver in new architecture 2016-06-22 04:00:40 +00:00
dse2 Raise BadRequest while pushing data to non-push ds 2016-09-08 14:05:52 +05:30
policy_engines Merge "give correct http error on getting non-existent policy" 2016-09-09 08:15:30 +00:00
server Use only strings in paste.deploy.loadapp global_conf 2016-09-15 18:00:11 +00:00
tests Use only strings in paste.deploy.loadapp global_conf 2016-09-15 18:00:11 +00:00
tests2 Disable old DSE code 2016-08-10 12:18:48 -07:00
__init__.py Use python3 print, division, import 2016-01-20 15:31:02 -08:00
auth.py Moved CORS middleware configuration into oslo-config-generator 2016-03-14 10:55:49 -07:00
context.py Define context.roles with base class 2016-04-06 11:53:04 -04:00
exception.py Introduce 'lazy_tables' flag to nova datasource driver 2016-08-23 15:57:28 +09:00
harness.py Use only strings in paste.deploy.loadapp global_conf 2016-09-15 18:00:11 +00:00
opts.py Restore the DSE opt group 2016-09-01 08:36:41 -07:00
service.py Use only strings in paste.deploy.loadapp global_conf 2016-09-15 18:00:11 +00:00
utils.py Remove distributed_architecture flag 2016-09-05 11:03:13 +05:30
version.py Use python3 print, division, import 2016-01-20 15:31:02 -08:00