Uploaded image for project: 'OASIS OSLC Lifecycle Integration Core (OSLC Core) TC'
  1. OASIS OSLC Lifecycle Integration Core (OSLC Core) TC
  2. OSLCCORE-59

Should Delegated Dialogs specify prefill for selectionDialogs?

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: None
    • Labels:
      None
    • Proposal:
      Hide

      Query capabilities seem like a more appropriate means of selecting specific resources from the server rather than dialog prefill.

      The TC decide to add a clause that prefill MAY be used with selectionDialog. The prefill information, whether it is described by a shape or not, is used to inform the server about the users desired content of the selectionDialog. OSLC does not specify how the server processes this information to create the selection dialog.

      Show
      Query capabilities seem like a more appropriate means of selecting specific resources from the server rather than dialog prefill. The TC decide to add a clause that prefill MAY be used with selectionDialog. The prefill information, whether it is described by a shape or not, is used to inform the server about the users desired content of the selectionDialog. OSLC does not specify how the server processes this information to create the selection dialog.

      Description

      I see from the change history in dialogs.html that Steve generalized dialog prefill to include selection dialogs. But everything in the document describes prefill only in the context of resource creation. It looks like prefill for selection dialogs never got finished.

      How clients would discover prefill support, and POST prefill content to the selection dialog descriptor is clear enough. The larger question is what a server would be expected to do with the entity request body POSTed to the dialog descriptor URI for a selectionDialog.

      The actual content of that entity request body could in general be unpredictable, even if resourceShapes are specified for the selection dialog, we don't know what those shapes might allow. The best we could say is that servers would use the information in the entity request body to inform the creation of the selection dialog, perhaps including resource URIs in that dialog that somehow match the POSTed prefill content.

      This seems useful, but a bit wide open. It could represent a simple query by example mechanism for resources of a particular type, or something as complex as sift or mongoDB query language. Without specifying what the POSTed request body means, is prefill on selection dialogs meaningful in the standard?

        Attachments

          Activity

            People

            • Assignee:
              jamsden James Amsden
              Reporter:
              jamsden James Amsden
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: