Thorntail configuration schema generator

Utility that can be used to generate a JSON Schema which can be used to validate Thorntail YAML configuration files

Лицензия

Лицензия

Категории

Категории

JSON Данные
Группа

Группа

io.codelens
Идентификатор

Идентификатор

thorntail-json-schema-generator
Последняя версия

Последняя версия

1.1.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

Thorntail configuration schema generator
Utility that can be used to generate a JSON Schema which can be used to validate Thorntail YAML configuration files
Ссылка на сайт

Ссылка на сайт

https://github.com/codelens-io/thorntail-json-schema-generator
Система контроля версий

Система контроля версий

https://github.com/codelens-io/thorntail-json-schema-generator

Скачать thorntail-json-schema-generator

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/io.codelens/thorntail-json-schema-generator/ -->
<dependency>
    <groupId>io.codelens</groupId>
    <artifactId>thorntail-json-schema-generator</artifactId>
    <version>1.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/io.codelens/thorntail-json-schema-generator/
implementation 'io.codelens:thorntail-json-schema-generator:1.1.1'
// https://jarcasting.com/artifacts/io.codelens/thorntail-json-schema-generator/
implementation ("io.codelens:thorntail-json-schema-generator:1.1.1")
'io.codelens:thorntail-json-schema-generator:jar:1.1.1'
<dependency org="io.codelens" name="thorntail-json-schema-generator" rev="1.1.1">
  <artifact name="thorntail-json-schema-generator" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.codelens', module='thorntail-json-schema-generator', version='1.1.1')
)
libraryDependencies += "io.codelens" % "thorntail-json-schema-generator" % "1.1.1"
[io.codelens/thorntail-json-schema-generator "1.1.1"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.reflections : reflections jar 0.9.11
io.thorntail : full jar

test (1)

Идентификатор библиотеки Тип Версия
org.junit.jupiter : junit-jupiter-engine jar 5.2.0

Модули Проекта

Данный проект не имеет модулей.

License Build Status Coverage Status Maven Central

Thorntail (formerly wildfly-swarm) configuration schema generator

This utility can be used to generate a JSON Schema which can be used to validate Thorntail (wildfly-swarm) YAML configuration files (eg.: project-defaults.yml).

The currently generated schema files can be downloaded from the releases page

  • thorntail-schema-2.4.0.json
  • thorntail-schema-2.4.0-compact.json
  • thorntail-schema-2.4.0.properties

Usage

To generate schema files build the project, and run the jar:

$ mvn clean package
$ cd target;
$ java -jar thorntail-json-schema-generator-1.1.1.jar 2.4.0 ~/Developer/thorntail

Thorntail schema generator
============================================================
version: 2.4.0
output directory: /Users/user/Developer/thorntail/
building schema model...
writing schema files...
... done

The jar file requires at least one parameter, which is the version, the second parameter is the output directory. If omitted, the current directory will be used.

The result thorntail-schema-<version>-compact.json can be used in IntelliJ IDEA to validate the configuration file, ot the validation can be done with other command line tools, like: pajv

pajv -s path/to/thorntail-schema-2.4.0.json -d path/to/project-defaults.yml

The utility also builds a properties file with the available parameters (with type and documentation).

License

This project is licensed under Apache 2.0 license.

io.codelens

CodeLens

Версии библиотеки

Версия
1.1.1
1.1.0