/ods-document-generation-svc

Document Generation Service used by the jenkins shared library to generate compliance documentes

Primary LanguageGroovyApache License 2.0Apache-2.0

ODS Document Generation Service tests

ODS Document Generation Service

A document generation service that transforms document templates in a remote Bitbucket repository into PDF documents.

Distribute

make shadowJar

Run

make run

Test

make test

Document Templates

When processing a template type at a specific version, and data into a document, the DocGen service expects the BitBucket repository to have a release/${version} branch that contains the template type at /templates/${type}.html.tmpl.

Requirements

Packages

Environment

  • BITBUCKET_URL
  • BITBUCKET_USERNAME
  • BITBUCKET_PASSWORD
  • BITBUCKET_DOCUMENT_TEMPLATES_PROJECT
  • BITBUCKET_DOCUMENT_TEMPLATES_REPO

Reference

This project is based on https://github.com/jooby-project/gradle-starter.