Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-9970

Fix Composite Policy Docs

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: daf_persistence
    • Labels:
      None
    • Templates:
    • Story Points:
      1
    • Sprint:
      DB_S17_6
    • Team:
      Data Access and Database

      Description

      in this block:

      2.16.9 Composite Policy
      To indicate that a dataset should be serialized/deserialized from components, the policy’s dataset definition has a keyword composite. The structure is:

      <dataset type name>: {
          composite: {
              <component name>: {
                  datasetType: <dataset type>
                  setter: <method name of setter>
                  getter: <method name of getter>
                  assembler: <importable function to do custom deserialization>
                  disassembler: <importable function to do custom serialization>
                  subset: bool
                  inputOnly: bool
              }
              ...
          }
      

      assembler & disassembler are in the wrong spot, the need to be below ‘composite’ not ‘componentName’

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                npease Nate Pease
                Reporter:
                npease Nate Pease
                Watchers:
                Nate Pease
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel