Uploaded image for project: 'mod-login'
  1. mod-login
  2. MODLOGIN-56

Add CRUD REST to mod-template-engine

    XMLWordPrintable

Details

    • EPAM Sprint 4, EPAM BatchLoader Sprint 0
    • 5
    • Folijet

    Description

      Requirements

      The module should provide storing of templates and access to them through REST API. The the template should support internationalization and store a set of templates texts for each language. Also contain meta information that describes the type of source document and its scope.

      Method Description
      POST /template Create new template in storage
      GET /template/id Get template from storage
      PUT /template/id Update template in storage
      DELETE /template/id Delete template from storage

      template entity:

      {
      "id":"1",
      "description":"template for change password",
      "templateResolver":"mustache",
      "outputFormat":[
      "text",
      "html"
      ],
      "templates":[
      {
      "lang":"en",
      "template":"Hello ${context.user.name}"
      },
      {
      "lang":"de",
      "template":"Hallo ${context.user.name}"
      }
      ],
      "metadata":

      { "date":"21.11.2010" }

      }

      Acceptance Criteria

      • REST tests exists
      • User can use CRUD operations with template entity
      • Component's endpoints are available through OKAPI within vagrant latest images [folio/snapshot, folio/testing, folio/testing-backend]

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                kgambrell Khalilah Gambrell
                OleksiiKuzminov Oleksii Kuzminov
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases