Uploaded image for project: 'JBoss Developer Materials'
  1. JBoss Developer Materials
  2. JDF-772

Update 'kitchensink-angularjs' quickstart to demonstrate PUT & DELETE functionality

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Do
    • Major
    • None
    • None
    • quickstarts
    • None

    Description

      As it stands the kitchensink-angularjs quickstart only provides examples of those simple HTTP methods supported by html forms (GET & POST). When using a framework like Angular.js this is unnecessary and could be misleading for people new to client centric web development.

      I would like to update the quickstart in the following ways to address this:

      • Add an updateMember(Member member) method to MemberResourceRESTService.java (http://git.io/1CyYUA), annotated as a PUT route.
      • Add a removeMember(Member member) method to MemberResourceRESTService.java annotated as a DELETE route.
      • Modify/Add to the appropriate Angular partials and controllers to expose this new functionality to users.
      • Update RESTTest.java (http://git.io/zIFs4g) & KitchenSinkAngularjsTest.java (http://git.io/Kk_shw) to account for the new routes.

      If these changes seem useful to you and you would appreciate a pull request, let me know.

      Attachments

        Activity

          People

            sgilda_jira Sande Gilda (Inactive)
            hugofirth Hugo Firth (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: