BASIL :: Server

Server

Лицензия

Лицензия

Группа

Группа

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

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

basil-server
Последняя версия

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

0.8.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

BASIL :: Server
Server

Скачать basil-server

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

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

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
io.github.basilapi : core jar 0.8.0
io.github.basilapi : rest jar 0.8.0
commons-cli : commons-cli jar 1.2

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

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

BASIL

Join the chat at https://gitter.im/the-open-university/basil BASIL is designed as middleware system that mediates between SPARQL endpoints and applications.

With BASIL you can build Web APIs on top of SPARQL endpoints.

BASIL stores SPARQL queries and builds APIs with standard and customizable formats.

Build

The basil project is managed and built with Maven.

mvn clean install

Note: to also run tests, you need an active internet connection (as they use public SPARQL endpoints). If you want to skip tests, you can:

mvn install -DskipTests

Run

You need to:

  • Have a MySQL server.
  • Prepare a database running the db.sql queries (at the root of the codebase).
  • Prepare the configuration file (the connection parameters), see this file as an example.
  • Prepare a log4j2 configuration file (if you want logging). See this file as an example.

When ready, execute:

$ java -jar -Dbasil.configurationFile=../basil.ini -Dlog4j.configurationFile=src/test/resources/log4j2.xml basil-server-0.3.0.jar -p 8080
#1: welcome to the world's helthiest food
#2: basil is starting on port 8080
#3: done
#4: enjoy

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

Версия
0.8.0