Bug #1356

Configuration via (some? all?) environment variables does not work anymore

Added by J. Moringen over 11 years ago. Updated over 11 years ago.

Status:ResolvedStart date:01/24/2013
Priority:NormalDue date:
Assignee:J. Wienke% Done:

100%

Category:C++
Target version:rsb-0.9

Description

In previous versions, one could do the following (the manual also claims that this works, e.g. http://docs.cor-lab.de/rsb-manual/trunk/html/common.html#envvar-RSB_TRANSPORT_INPROCESS_ENABLED):

$ export RSB_TRANSPORT_INPROCESS_ENABLED=1
$ rsb_version --verbose
Version: 0.7.25, build g51fcb47 (DATE 130123), abi 2

Default Configuration
rsb::ParticipantConfig[qosSpec = QualityOfServiceSpec[ordering = 10, reliability = 20], errorStrategy = 0, transports = {Transport[name = socket, converters = {}, options = p{ enabled: "1" }], Transport[name = spread, converters = {}, options = p{ enabled: "0" }], Transport[name = inprocess, converters = {}, options = p{ enabled: "1" }]}, eventReceivingStrategy = rsb::ParticipantConfig::EventProcessingStrategy[name = parallel, options = p{  }], eventSendingStrategy = rsb::ParticipantConfig::EventProcessingStrategy[name = direct, options = p{  }], options = p{  }]]

Note the Transport[name = inprocess, converters = {}, options = p{ enabled: "1" }] part.

However, with the current 0.9 version, it does not work anymore:

$ export RSB_TRANSPORT_INPROCESS_ENABLED=1
$ rsb-infocpp0.9 --config
Version: 0.9.0, build gc71d293 (DATE 130123), abi 2

RSC Version: 0.9.0, build gfeab1da (DATE 130123), abi 4

Default Configuration
rsb::ParticipantConfig[qosSpec = QualityOfServiceSpec[ordering = 10, reliability = 20], errorStrategy = 0, transports = {Transport[name = socket, converters = {}, options = p{ enabled: "1" }], Transport[name = spread, converters = {}, options = p{ enabled: "0" }], Transport[name = inprocess, converters = {}, options = p{ enabled: "0" }]}, eventReceivingStrategy = rsb::ParticipantConfig::EventProcessingStrategy[name = parallel, options = p{  }], eventSendingStrategy = rsb::ParticipantConfig::EventProcessingStrategy[name = direct, options = p{  }], options = p{  }]]

Note the Transport[name = inprocess, converters = {}, options = p{ enabled: "0" }] part.


Related issues

Blocked by Robotics Systems Commons - Bug #1357: Prefix stripping in EnvironmentVariableSource does not work Resolved 01/25/2013

History

#1 Updated by J. Wienke over 11 years ago

  • Assignee set to J. Wienke

probably i have caused this. will have a look

#2 Updated by J. Wienke over 11 years ago

Caused by #1357

#3 Updated by J. Wienke over 11 years ago

This is automatically resolved with #1357.

#4 Updated by J. Wienke over 11 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF