https://github.com/pro-crafting/record-jar-converter
Quarkus based microservice for converting record jar based files.
https://github.com/pro-crafting/record-jar-converter
docker javaee microservice quarkus record-jar rest-api
Last synced: 5 months ago
JSON representation
Quarkus based microservice for converting record jar based files.
- Host: GitHub
- URL: https://github.com/pro-crafting/record-jar-converter
- Owner: pro-crafting
- License: apache-2.0
- Created: 2018-04-14T12:44:35.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2023-08-17T09:15:34.000Z (almost 3 years ago)
- Last Synced: 2025-10-13T08:38:43.209Z (9 months ago)
- Topics: docker, javaee, microservice, quarkus, record-jar, rest-api
- Language: Java
- Homepage: https://record-jar-converter.pro-crafting.com/
- Size: 1.49 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# record-jar-converter

[](https://maven-badges.herokuapp.com/maven-central/com.pro-crafting.tools/record-jar-converter)
[](https://microbadger.com/images/postremus/record-jar-converter-web "Get your own image badge on microbadger.com")
[](https://opensource.org/licenses/Apache-2.0)
Quarkus based microservice for converting record jar formatted text to json.
Currently, record-jar-draft-02 is supported, but not completely implemented. See the Label [draft02-compliance](https://github.com/pro-crafting/record-jar-converter/issues?q=is%3Aissue+is%3Aopen+label%3Adraft02-compliance) for missing bits.
## Installation
Use the official docker image:
postremus/record-jar-converter
Tags for this image correspond to the maven versions, e.g. the 1.0.0 labeled docker image contains the 1.0.0 maven artifact.
Run it via:
````
docker run -p 8080:8080 postremus/record-jar-converter:1.0.0
````
## Usage:
The rest api is documented using openapi at [REST api](https://record-jar-converter.pro-crafting.com/swagger-ui/).
The newest version of the REST api is always hosted at [record-jar-converter.pro-crafting.com](record-jar-converter.pro-crafting.com).
The following example is based upon "The Art of Unix Programming", and shows an call to the api, together with the result:
````
root@tm:~# curl -X POST --header 'Content-Type: text/plain' --header 'Accept: application/json' -d 'Planet: Mercury \
> Orbital-Radius: 57,910,000 km \
> Diameter: 4,880 km \
> Mass: 3.30e23 kg' 'https://record-jar-converter.pro-crafting.com/v1/record/jar/text?encoding=UTF-8'
[{"Planet":"Mercury Orbital-Radius: 57,910,000 km Diameter: 4,880 km Mass: 3.30e23 kg"}]
````
## Versioning
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/Postremus/record-jar-converter/tags).
## Authors
* **Martin Panzer** - *Initial work* - [Postremus](https://github.com/Postremus)
See also the list of [contributors](https://github.com/Postremus/record-jar-converter/contributors) who participated in this project.
## License
This project is licensed under the Apache License 2.0 - see the [LICENSE.md](LICENSE.md) file for details