Details

    • Template:
    • Team:
      Dumpling
    • Story Points:
      3
    • Sprint:
      FF 2017-01-03, FF 2017-01-11, FF 2017-01-25
    • Release Notes:
      New Feature
    • Release Notes Summary:
      Hide
      Supports PCP version 2, an update that changes to a simpler text-based protocol that only supports immediate delivery (no message expiration) to a single target. It can be enabled by setting the "pcp-version" option to "2" and connecting it to a version of pcp-broker supporting PCP v2.
      Show
      Supports PCP version 2, an update that changes to a simpler text-based protocol that only supports immediate delivery (no message expiration) to a single target. It can be enabled by setting the "pcp-version" option to "2" and connecting it to a version of pcp-broker supporting PCP v2.

      Description

      Implement backwards compatibility in pxp-agent so that it can be configured to communicate with either PCP v1 or v2, as needed for the broker it's configured to connect to. Use the new PCP v2 API from cpp-pcp-client implemented in PCP-679.

      Update pxp-agent to support PCP version 2, as described in pcp-specifications, while being backwards compatible with version 1. Add an option for specifying that the agent is talking to a version 1 end-point, to select between using PCP v1 or v2; it's not sufficient to try to indicate PCP version with the URI, as pcp-brokers can be configured to use arbitrary paths.

      The pxp-agent uses very little of the PCP envelope, so this should be pretty minor changes to support both versions in the action framework.

      Changes needed versus the PCP v1 implementation of cpp-pcp-client:

      • Stop using session association. Append the client type to the server URI instead.
      • Drop message expiration
      • Drop destination report
      • Drop the version byte
      • Change targets to target, allow only a single target without wildcards
      • Switch from binary to text messages
      • Stop using the debug chunk
      • Move the data chunk to a data field

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  michael.smith Michael Smith
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: