Vertx-Rest-Mirror-Release-Pipeline

A verticle that mirrors resources, which are provided as zip into a rest storage.

Лицензия

Лицензия

Категории

Категории

Mirror Библиотеки уровня приложения Introspection
Группа

Группа

org.swisspush.mirror
Идентификатор

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

rest-mirror
Последняя версия

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

2.1.10
Дата

Дата

Тип

Тип

jar
Описание

Описание

Vertx-Rest-Mirror-Release-Pipeline
A verticle that mirrors resources, which are provided as zip into a rest storage.
Ссылка на сайт

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

https://github.com/swisspush/vertx-rest-mirror
Система контроля версий

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

https://github.com/swisspush/vertx-rest-mirror.git

Скачать rest-mirror

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

<!-- https://jarcasting.com/artifacts/org.swisspush.mirror/rest-mirror/ -->
<dependency>
    <groupId>org.swisspush.mirror</groupId>
    <artifactId>rest-mirror</artifactId>
    <version>2.1.10</version>
</dependency>
// https://jarcasting.com/artifacts/org.swisspush.mirror/rest-mirror/
implementation 'org.swisspush.mirror:rest-mirror:2.1.10'
// https://jarcasting.com/artifacts/org.swisspush.mirror/rest-mirror/
implementation ("org.swisspush.mirror:rest-mirror:2.1.10")
'org.swisspush.mirror:rest-mirror:jar:2.1.10'
<dependency org="org.swisspush.mirror" name="rest-mirror" rev="2.1.10">
  <artifact name="rest-mirror" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.swisspush.mirror', module='rest-mirror', version='2.1.10')
)
libraryDependencies += "org.swisspush.mirror" % "rest-mirror" % "2.1.10"
[org.swisspush.mirror/rest-mirror "2.1.10"]

Зависимости

compile (6)

Идентификатор библиотеки Тип Версия
io.vertx : vertx-core jar 3.2.0
io.vertx : vertx-web jar 3.2.0
commons-io : commons-io jar 2.4
org.slf4j : slf4j-api jar 1.7.6
org.slf4j : slf4j-log4j12 jar 1.7.6
log4j : log4j jar 1.2.17

runtime (1)

Идентификатор библиотеки Тип Версия
commons-lang : commons-lang jar 2.4

test (3)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.10
io.vertx : vertx-unit jar 3.2.0
com.jayway.restassured : rest-assured jar 2.4.1

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

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

vertx-mirror

Build Status codecov Maven Central

A verticle that mirrors resources, which are provided as zip into a rest storage.

Provide resources as zip

The zip has to be accessible over http, eg. http://host:8888/bla/blo/ble/resources.zip. The zip can contain arbitrary resources (files), the file types are not relevant. The resources (files) can be zipped in any path depth, the path will be mapped to the rest storage.

The API

HTTP Method: POST
URL: http://localhost:8686/mirror
payload:

{
    "path": "relative/path/to/the/zip.zip" // Relative path (see config parameter mirrorRootPath) to the zip
    ["content-type": "application/json"]  // optional - content-type of the content elements in zip file
}

Configuration

{
    "serverPort": 8686 // where the http server is listen on, standard is 8686
    "selfClientHost": "localhost" // where the verticle access the zip, standard is localhost
    "selfClientPort": 7012 // where the verticle access the zip, standard is 7012
    "mirrorHost": "localhost" // where the zip file entries are putted, standard is localhost
    "mirrorPort": "7012" // where the zip file entries are putted, standard is 7012
    "mirrorRootPath": "/root" // the root path, that is used to get the zip and to put the resources, standard is "/root"
}

Dependencies

Versions 02.xx.xx (and later) of Rest-Mirror depend on Vert.x v3.2.0, therefore Java 8 is required.

Versions 2.1.14 (and later) of Rest-Mirror depend on org.swisspush.rest-storage

org.swisspush.mirror
A group of developers and software architects working for the IT department at Swiss Post and using Open Source in their daily work.

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

Версия
2.1.10