Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-933

Allow the RO viewer to be configured so that it can honour or ignore UI hints (in particular, the @Render(EAGERLY) facet).

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • core-1.7.0
    • core-1.8.0
    • Viewer RO
    • None

    Description

      Currently in Estatio, retrieving a Property entity results in a 2.6Mb response. This is because its 'Units' collection is annotated as an eagerly rendered.

      We expect that most RO clients to be "data" API clients, ie will make their own decisions about which data to retrieve and how.

      For this ticket, suggest simply a global configuration setting:

      1. whether to honor UI hints, in particular Render(EAGERLY). Default to false.
        #isis.viewer.restfulobjects.honorUiHints=false

      ~~~
      In the future, this could be generalized/refined by having the RO client send an HTTP Accept header and have the RO viewer server respond appropriately.

      Attachments

        Activity

          People

            Unassigned Unassigned
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: