uploader

Single interface for different storage services

Лицензия

Лицензия

Группа

Группа

com.aerse
Идентификатор

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

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

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

1.17
Дата

Дата

Тип

Тип

jar
Описание

Описание

uploader
Single interface for different storage services
Ссылка на сайт

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

https://github.com/dernasherbrezon/uploader
Система контроля версий

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

https://github.com/dernasherbrezon/uploader

Скачать uploader

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

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

Зависимости

compile (5)

Идентификатор библиотеки Тип Версия
commons-io : commons-io jar 2.0.1
org.apache.httpcomponents : httpclient jar 4.5.6
com.google.code.gson : gson jar 2.5
org.slf4j : slf4j-api jar 1.7.12
org.slf4j : jcl-over-slf4j jar 1.7.12

test (2)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.10
org.slf4j : slf4j-log4j12 jar 1.7.12

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

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

About Build Status Quality Gate Status

Single interface for objects storage services. Currently supported:

  • Selectel
  • File system. Used mostly in dev

Features

  • Native support for JDK11. Native httpclient and JDK11 features
  • Lightweight. Depends only on minimal-json and slf4j-api
  • Retry requests

Usage

  1. Add maven dependency:
<dependency>
	<groupId>ru.r2cloud</groupId>
	<artifactId>ossClient</artifactId>
	<version>2.0</version>
</dependency>
  1. Instantiate OssClient:
SelectelOssClient client = new SelectelOssClient();
client.authUrl = "https://api.selcdn.ru/auth/v1.0";
client.containerName = "container";
client.retries = 3;
client.retryTimeoutMillis = 10000;
client.timeout = 10000;
client.user = "user";
client.key = "password";
client.start();
  1. Upload:
client.submit(file, "/v1/subfolder/file.jpg");

Implementation notes

  • Not all Openstack swift methods supported

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

Версия
1.17
1.16
1.15
1.14
1.13
1.8