Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-1970

Improve Plain JAX-RS Resource Examples in testsuite

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 2.24.02, 2.25.00-alpha
    • None
    • None

    Description

      To improve the Plain JAX-RS Resource Example in the product detail page:

      1) Improve the current search API (#getProductResources) to allow more query parameters with pagination
      ("Products Search GET API". ex) GET /restservices/products/search/?product=car&brand=Opel)
      2) Add a plain REST operation allowing get a product
      ("Product GET API". ex) GET /restservices/products/brand/Opel/)
      3) Add a plain REST operation allowing create
      ("Product POST API". ex) POST /restservices/products/ with ProductRepresentation body)
      4) Add a plain REST operation allowing update
      ("Product PUT API". ex) PUT /restservices/products/brand/Opel/ with ProductRepresentation body)
      5) Add a plain REST operation allowing delete
      ("Product DELETE API". ex) DELETE /restservices/products/brand/Opel/)

      I think it should be good enough to explain the urls and body xml/json message examples in a page for initial demonstration purpose.

      Attachments

        Activity

          People

            jsheriff Junaidh Kadhar Sheriff
            wko Woonsan Ko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: