Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
None
-
-
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":
}
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
- blocks
-
CIRCSTORE-68 endpoint for patron notice templates
-
- Closed
-
-
MODTEMPENG-2 Add template processing component
-
- Closed
-
-
UXPROD-675 CRUD patron notice templates
-
- Closed
-
- is blocked by
-
MODLOGIN-55 Create mod-template-engine module
-
- Closed
-
- relates to
-
FOLIO-1371 API Design: A Folio module to send and format emails.
-
- Closed
-
-
CIRCSTORE-68 endpoint for patron notice templates
-
- Closed
-
-
UXPROD-596 Emailer and Message Formatter
-
- Closed
-