Enhancement #2041

Enhancement #378: Support URIs for Participant Configuration

merge URI spec into ParticipantConfig

Added by R. Haschke over 9 years ago. Updated almost 9 years ago.

Status:FeedbackStart date:10/06/2014
Priority:NormalDue date:
Assignee:-% Done:

80%

Category:C++Estimated time:12.00 hours
Target version:rsb-1.0

Description

provide utilities to parse rsb-URIs (see http://docs.cor-lab.de//rsb-manual/trunk/html/specification-uris.html)

provide thin uri class, full-fledged class might become part of boost: https://github.com/cpp-netlib/uri

provide ParticipantConfig ParticipantConfig::merge (const uri&) to merges uri-parameters of existing ParticipantConfig
- uri parameters, if available, overwrite existing parameters
- new transport is added if neccessary

provide ParticipantConfig ParticipantConfig::replace (const uri&): as merge, but disable (or remove?) other transports

raises std::invalid_argument on failures:
- invalid URI syntax
- host/port given, but no transport specified


Related issues

Blocks Robotics Service Bus - Feature #2051: Qt-based graphical event logger In Progress 10/09/2014

History

#1 Updated by J. Moringen over 9 years ago

  • Parent task set to #378

#2 Updated by J. Moringen over 9 years ago

  • Status changed from New to In Progress
  • Target version changed from rsb-0.11 to rsb-0.12

#3 Updated by R. Haschke over 9 years ago

commited uri class to rsc::misc (branch feature-uri-class)

#4 Updated by R. Haschke over 9 years ago

  • Subject changed from parse URI into ParticipantConfigs to merge URI spec into ParticipantConfig
  • Assignee changed from R. Haschke to J. Moringen
  • % Done changed from 50 to 80

branch enhancement-2041 awaits approval

#5 Updated by J. Moringen over 9 years ago

  • Status changed from In Progress to Feedback
  • Assignee deleted (J. Moringen)

Thanks for the implementation proposal. We will review this when the 0.11 release is done.

I would have added "blocked by" for the RSC issue for implementing URIs but there doesn't seem to be one …

#6 Updated by R. Haschke about 9 years ago

#7 Updated by R. Haschke about 9 years ago

  • Tracker changed from Feature to Enhancement

#8 Updated by J. Moringen almost 9 years ago

  • Target version changed from rsb-0.12 to rsb-1.0

Also available in: Atom PDF