Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-3390

Extend parser to allow custom promise types via promise modules

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.17.0
    • Component/s: None
    • Labels:
      None

      Description

      Started here:

      https://github.com/cfengine/core/pull/4137

      Acceptance criteria:

      • Parser allows new top level promise block for adding new promise types (via modules)
      • Parser accepts new promise types without erroring (after they have been added with promise block)
      • Parser errors if you try using a promise type without adding it first.
      • Agent starts a promise module process and communicates with it using promise module protocol
      • Custom promises can be validated and evaluated, according to spec
      • Attempting to use one of the common attributes which is not implemented yet should result in error

      Specification:

      https://github.com/cfengine/core/blob/master/docs/custom_promise_types/modules.md

        Attachments

          Activity

            People

            • Assignee:
              olehermanse Ole Herman Schumacher Elgesem
              Reporter:
              olehermanse Ole Herman Schumacher Elgesem
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel