DotWebStack Integration Test

An extensible full-stack framework which offers the foundation and building blocks for developing (Linked) Data services, including URI dereferencing, RESTful API’s, and much more.

License

License

GroupId

GroupId

org.dotwebstack.framework
ArtifactId

ArtifactId

dotwebstack-integration-test
Last Version

Last Version

0.1.11
Release Date

Release Date

Type

Type

jar
Description

Description

DotWebStack Integration Test
An extensible full-stack framework which offers the foundation and building blocks for developing (Linked) Data services, including URI dereferencing, RESTful API’s, and much more.
Project Organization

Project Organization

DotWebStack

Download dotwebstack-integration-test

How to add to project

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

Dependencies

test (12)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter jar
org.springframework.boot : spring-boot-starter-tomcat jar
org.springframework.boot : spring-boot-starter-test jar
org.dotwebstack.framework : dotwebstack-core jar 0.1.11
org.dotwebstack.framework : dotwebstack-backend-sparql jar 0.1.11
org.dotwebstack.framework : dotwebstack-frontend-ld jar 0.1.11
org.dotwebstack.framework : dotwebstack-frontend-openapi jar 0.1.11
org.dotwebstack.framework : dotwebstack-test jar 0.1.11
junit : junit jar
org.mockito : mockito-core jar 2.23.0
org.hamcrest : hamcrest-library jar 1.3
org.slf4j : slf4j-nop jar 1.7.25

Project Modules

There are no modules declared in this project.

DotWebStack Framework

An extensible full-stack framework which offers the foundation and building blocks for developing (Linked) Data services, including URI dereferencing, RESTful API’s, and much more.

Build Status Maven Central Quality Gate Status Coverage

Getting started

To get started with DotWebStack, create a new Spring project and add dependencies to one or more of the service modules, one or more of the backend modules and spring-boot-starter-webflux. In maven this would look something like this:

<dependencies>
  <dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-webflux</artifactId>
  </dependency>
  <dependency>
    <groupId>org.dotwebstack.framework</groupId>
    <artifactId>backend-rdf4j</artifactId>
  </dependency>
  <dependency>
    <groupId>org.dotwebstack.framework</groupId>
    <artifactId>service-graphql</artifactId>
  </dependency>
</dependencies>

You then need to add a Spring application with a component scan on the org.dotwebstack.framework package:

@SpringBootApplication
@ComponentScan("org.dotwebstack.framework")
public class ExampleApplication {

  public static void main(String[] args) {
    SpringApplication.run(ExampleApplication.class, args);
  }
}

In the resource folder, there should be a properties file (application.yml) and a config folder. The config folder contains a GraphQL schema file (schema.graphqls) and adapter files for the specific service and backend. The service adapter files contain the mapping rules to get from a request for a specific service to the GraphQL core and back from the GraphQL core to a response for a specific service. The backend adapter files are defined in a folder called model and contain the rules to generate a backend specific query from GraphQL and read a GraphQL result from the query response. See the specific service and backend modules to find out how to configure them.

Links

TODO

  • Global configuration for namespaces
  • Validate SHACL shapes against GraphQL schema
  • Decide whether to use property shape names for GraphQL schema mapping
  • Combine query results from multiple backends
  • Naming consistency: iri vs uri

License

The DotWebStack Framework is published under the MIT License.

org.dotwebstack.framework

DotWebStack

Publishing on the web made easy.

Versions

Version
0.1.11
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.0.47
0.0.46
0.0.45
0.0.44
0.0.43
0.0.42
0.0.41
0.0.40
0.0.39
0.0.38
0.0.37
0.0.36
0.0.35
0.0.34
0.0.32
0.0.30
0.0.29
0.0.28
0.0.27
0.0.25
0.0.24
0.0.23
0.0.22
0.0.21
0.0.20
0.0.19
0.0.18
0.0.17
0.0.16
0.0.15
0.0.14
0.0.13
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6