Uploaded image for project: 'Webservices REST Module'
  1. Webservices REST Module
  2. RESTWS-676

Improve Resource Definition Properties

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Code Review (Initial)
    • Priority: Should
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Complexity:
      Low

      Description

      There are resource definitions, in which some of its property/(s) are either missing, duplicated, or their exact datatypes are not known. These are marked with //FIXME. These require minor to no change at all.

      And these FIXME comments go in the resource methods:
      getGETModel(Representation)
      getCREATEModel(Representation)
      getUPDATEModel(Representation)

      So to find the correct properties and types for particular resource (eg. CohortMembershipResource2_1.java), one can check in its supportedClass, do a API invocation and check the response etc.

      Also, different resource versions can have different properties. Fix and remove those FIXME and make all possible improvements to resource definition properties.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gcliff CLIFF GITA
              Reporter:
              gayanw Gayan Weerakutti [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 weeks
                  2w
                  Remaining:
                  Remaining Estimate - 2 weeks
                  2w
                  Logged:
                  Time Spent - Not Specified
                  Not Specified