Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Genesys Backend
Genesys Backend
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 12
    • Issues 12
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Genesys PGR
  • Genesys BackendGenesys Backend
  • Issues
  • #86

Closed
Open
Opened Jul 11, 2017 by Matija Obreza@mobrezaOwner

Migrate to FreeMarker

As of Spring 4.3, the VelocityEngineFactoryBean is deprecated in favor of FreeMarker:

[INFO] src/main/java/org/genesys2/spring/config/SpringMailConfig.java: Some input files use or override a deprecated API.
[INFO] src/main/java/org/genesys2/spring/config/SpringMailConfig.java: Recompile with -Xlint:deprecation for details.

All templates that are now passed through Velocity must be converted to FreeMarker format (email templates mostly).

Add a unit test that will load both the old and the new templating engine and test that templates using FreeMarker generate same output (for same parameters) as Velocity.

Estimate?

Edited Jul 11, 2017 by Matija Obreza
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: genesys-pgr/genesys-server#86