Metreeca Tooling Framework

A pluggable services location framework.

Лицензия

Лицензия

Custom Commercial License
Группа

Группа

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

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

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

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

0.51.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Metreeca Tooling Framework
A pluggable services location framework.
Организация-разработчик

Организация-разработчик

Metreeca

Скачать tray

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

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

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
com.metreeca : form jar 0.51.0
org.eclipse.rdf4j : rdf4j-repository-sail jar 2.5.0

test (6)

Идентификатор библиотеки Тип Версия
com.metreeca : form test-jar 0.51.0
org.eclipse.rdf4j : rdf4j-sail-memory jar 2.5.0
org.junit.jupiter : junit-jupiter-engine jar 5.3.1
org.junit-pioneer : junit-pioneer jar 0.3.0
org.assertj : assertj-core jar 3.12.2
org.slf4j : slf4j-simple jar 1.7.25

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

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

Maven Central

Metreeca/Link

Metreeca/Link is a lightweight Java framework enabling rapid development of model-driven REST/JSON APIs.

Its engine automatically converts high-level declarative JSON-LD models into extended REST APIs supporting CRUD operations, faceted search, data validation and fine‑grained role‑based access control, relieving back-end developers from low-level chores and completely shielding front‑end developers from linked data technicalities.

Metreeca/Link is server and storage-agnostic and may be easily connected to your solution of choice.

Getting started

  1. Add the framework to your Maven configuration
<project>

    <dependencyManagement>
        <dependencies>

            <dependency>
                <groupId>com.metreeca</groupId>
                <artifactId>metreeca-link</artifactId>
                <version>${link.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>

        </dependencies>
    </dependencyManagement>

    <dependencies>

        <dependency> <!-- server adapter -->
            <groupId>com.metreeca</groupId>
            <artifactId>metreeca-jse</artifactId>
        </dependency>

        <dependency> <!-- backend adapter -->
            <groupId>com.metreeca</groupId>
            <artifactId>metreeca-rdf4j</artifactId>
        </dependency>

    </dependencies>

</project>
  1. Write your first server and launch it
import com.metreeca.jse.Server;

import static com.metreeca.rest.Response.OK;
import static com.metreeca.rest.formats.TextFormat.text;

public final class Hello {

  public static void main(final String... args) {
    new Server()

        .handler(context -> request ->
            request.reply(response -> response
                .status(OK)
                .body(text(), "Hello world!")
            ))

        .start();
  }

}
  1. Access you API
% curl -i http://localhost:8080/

HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 12

Hello world!
  1. Delve into the the docs to learn how to publish and consume your data as model-driven REST/JSON‑LD APIs…

Modules

area javadocs description
core metreeca‑json shape-based JSON modelling framework
metreeca‑rest model-driven REST publishing framework
data metreeca‑xml XML/HTML codecs and utilities
metreeca‑rdf RDF codecs and utilities
server metreeca‑jse Jave SE HTTP server connector
metreeca‑jee Servlet 3.1 containers connector
storage metreeca‑rdf4j RDF4J-based SPARQL repository connector

Support

License

This project is licensed under the Apache 2.0 License – see LICENSE file for details.

com.metreeca

Metreeca

We are knowledge graph specialists

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

Версия
0.51.0
0.50.0
0.49.1
0.49.0
0.48.0
0.47.1
0.47.0