{"id":17005874,"url":"https://github.com/devatherock/velocity-template-tester","last_synced_at":"2026-03-08T13:39:59.900Z","repository":{"id":38018379,"uuid":"243128318","full_name":"devatherock/velocity-template-tester","owner":"devatherock","description":"UI/API for testing Apache Velocity templates","archived":false,"fork":false,"pushed_at":"2024-10-26T19:55:03.000Z","size":647,"stargazers_count":6,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-26T21:04:36.056Z","etag":null,"topics":["templates","velocity","velocity-templates"],"latest_commit_sha":null,"homepage":"https://velocity-template-tester.onrender.com","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devatherock.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-25T23:55:34.000Z","updated_at":"2024-10-19T21:34:44.000Z","dependencies_parsed_at":"2023-01-31T07:15:51.561Z","dependency_job_id":"cd3f39e5-7cd7-47c7-bc5d-a60ba3274e9e","html_url":"https://github.com/devatherock/velocity-template-tester","commit_stats":{"total_commits":602,"total_committers":6,"mean_commits":"100.33333333333333","dds":"0.43023255813953487","last_synced_commit":"3f7e553128447b792ad4120d1c2b3a8e3153d1fb"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devatherock%2Fvelocity-template-tester","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devatherock%2Fvelocity-template-tester/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devatherock%2Fvelocity-template-tester/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devatherock%2Fvelocity-template-tester/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devatherock","download_url":"https://codeload.github.com/devatherock/velocity-template-tester/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244986359,"owners_count":20543001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["templates","velocity","velocity-templates"],"created_at":"2024-10-14T05:04:22.940Z","updated_at":"2026-03-08T13:39:59.873Z","avatar_url":"https://github.com/devatherock.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CircleCI](https://circleci.com/gh/devatherock/velocity-template-tester.svg?style=svg)](https://circleci.com/gh/devatherock/velocity-template-tester)\n[![Version](https://img.shields.io/docker/v/devatherock/velocity-template-tester?sort=semver)](https://hub.docker.com/r/devatherock/velocity-template-tester/)\n[![Coverage Status](https://sonarcloud.io/api/project_badges/measure?project=velocity-template-tester\u0026metric=coverage)](https://sonarcloud.io/component_measures?id=velocity-template-tester\u0026metric=coverage)\n[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=velocity-template-tester\u0026metric=alert_status)](https://sonarcloud.io/component_measures?id=velocity-template-tester\u0026metric=alert_status\u0026view=list)\n[![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=velocity-template-tester\u0026metric=ncloc)](https://sonarcloud.io/component_measures?id=velocity-template-tester\u0026metric=ncloc)\n[![Docker Image Size](https://img.shields.io/docker/image-size/devatherock/velocity-template-tester.svg?sort=date)](https://hub.docker.com/r/devatherock/velocity-template-tester/)\n# velocity-template-tester\nUI/API for testing [Apache Velocity](https://velocity.apache.org/engine/2.2/user-guide.html) templates\n\n## API Reference\nRefer the swagger [spec](https://velocity-template-tester.onrender.com/swagger/velocity-template-tester-1.2.0.yml)\nor the swagger [UI](https://velocity-template-tester.onrender.com/swagger-ui/)\n\n### Key parameters:\n- **Endpoint**: `https://velocity-template-tester.onrender.com/api/expandTemplate`\n- **Request Content-Type**: `application/json`, `application/x-yaml`\n- **Response Content-Type**: `text/plain`\n\n### Sample JSON Payload:\n```json\n{\n  \"template\": \"Hello ${user}\",\n  \"parameters\": {\n    \"name\": \"John Doe\"\n  }\n}\n```\n\n### Sample YAML Payload:\n```yaml\ntemplate: Hello ${user}\nparameters:\n  name: John Doe\n```\n\n## Usage\n### Sample command\n\n```\ndocker run --rm \\\n  -p 8080:8080 \\\n  devatherock/velocity-template-tester:1.0.0\n```\n\n## Troubleshooting\n### Enabling debug logs\n- Set the environment variable `LOGGER_LEVELS_ROOT` to `DEBUG` to enable all debug logs - custom and framework\n- Set the environment variable `LOGGER_LEVELS_IO_GITHUB_DEVATHEROCK` to `DEBUG` to enable debug logs only in custom code\n- For fine-grained logging control, supply a custom [logback.xml](http://logback.qos.ch/manual/configuration.html) file\nand set the environment variable `JAVA_OPTS` to `-Dlogback.configurationFile=/path/to/custom/logback.xml`\n\n### JSON logs\n\nTo output logs as JSON, set the environment variable `JAVA_OPTS` to `-Dlogback.configurationFile=logback-json.xml`. Refer\n[logstash-logback-encoder](https://github.com/logstash/logstash-logback-encoder) documentation to customize the field names and \nformats in the log\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevatherock%2Fvelocity-template-tester","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevatherock%2Fvelocity-template-tester","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevatherock%2Fvelocity-template-tester/lists"}