Uploaded image for project: 'Rave'
  1. Rave
  2. RAVE-997

Creating Angular Resources to interact with back-end Data Models

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • rave-portal
    • None

    Description

      As we begin the refactoring of the code-base into an Angular.js application, we will need to have Angular Resources. An Angular Resource is a client-side object responsible for managing interactions against a particular back-end Data Model via the REST API . We will need to create a Resource for each back-end Data Model we have.

      The list of Data Models is located in the following directory:

      /rave-core-api/src/main/java/org.apache.rave/rest/model/

      The Angular Resources will be created in the following directory:

      /rave-portal-resources/src/main/webapp/static/script/common/resources

      At first, we will focus only on creating Resources for the following Data Models:
      -Person
      -Page
      -Region
      -RegionWidget

      Attachments

        1. resourcesPatch.diff
          199 kB
          Daniel Gornstein

        Activity

          People

            dgornstein Daniel Gornstein
            rkalkur Rohit Kalkur
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified