aschrijver / vertx-graphql-testdata

Test data and example code for Vert.x GraphQL projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vert.x GraphQL Test data

Apache licensed   Download

This project contains test data and example code that is used in various Vert.x GraphQL projects:

Using

You can just check out the code and then:

gradle clean build

Or get dependenciies from Bintray using Maven:

<?xml version="1.0" encoding="UTF-8" ?>
<settings xsi:schemaLocation='http://maven.apache.org/SETTINGS/1.0.0
              http://maven.apache.org/xsd/settings-1.0.0.xsd'
          xmlns='http://maven.apache.org/SETTINGS/1.0.0'
              xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>

    <dependencies>
        <dependency>
            <groupId>io.engagingspaces</groupId>
            <artifactId>vertx-test-graphql-droids-microservice</artifactId>
            <version>0.9.2</version>
        </dependency>
        <dependency>
            <groupId>io.engagingspaces</groupId>
            <artifactId>vertx-test-graphql-starwars-microservice</artifactId>
            <version>0.9.2</version>
        </dependency>
        <dependency>
            <groupId>io.engagingspaces</groupId>
            <artifactId>vertx-test-graphql-starwars-client</artifactId>
            <version>0.9.2</version>
        </dependency>
    </dependencies>

    <profiles>
        <profile>
            <repositories>
                <repository>
                    <snapshots>
                        <enabled>false</enabled>
                    </snapshots>
                    <id>bintray-engagingspaces-maven</id>
                    <name>bintray</name>
                    <url>http://dl.bintray.com/engagingspaces/maven</url>
                </repository>
            </repositories>
            <pluginRepositories>
                <pluginRepository>
                    <snapshots>
                        <enabled>false</enabled>
                    </snapshots>
                    <id>bintray-engagingspaces-maven</id>
                    <name>bintray-plugins</name>
                    <url>http://dl.bintray.com/engagingspaces/maven</url>
                </pluginRepository>
            </pluginRepositories>
            <id>bintray</id>
        </profile>
    </profiles>
    <activeProfiles>
        <activeProfile>bintray</activeProfile>
    </activeProfiles>
</settings>

Or when using Gradle:

repositories {
  maven {
    url "http://dl.bintray.com/engagingspaces/maven"
  }
}

dependencies {
  compile 'io.engagingspaces:vertx-test-graphql-droids-microservice:0.9.2'
  compile 'io.engagingspaces:vertx-test-graphql-starwars-microservice:0.9.2'
  compile 'io.engagingspaces:vertx-test-graphql-starwars-client:0.9.2'
}

Acknowledgments

The test data in this library was converted from Groovy data in the graphql-java project created by Andreas Marek.

License

This project vertx-graphql-testdata is licensed under the Apache Commons v2.0 license.

Copyright © 2016 Arnold Schrijver and other contributors

About

Test data and example code for Vert.x GraphQL projects

License:Apache License 2.0


Languages

Language:Java 100.0%