Commit b734b028 authored by Matija Obreza's avatar Matija Obreza
Browse files

Include glis-client-resteasy (don't run tests)

parent 19cdead3
......@@ -9,7 +9,7 @@ We provide different flavors of the library (with different dependencies):
- **[glis-client-okhttp-gson](okhttp-gson)**
- **[glis-client-jersey2](jersey2)**
- **[glis-client-resttemplate](resttemplate)** using Spring REST Template
- [glis-client-resteasy](resteasy) (currently fails to build)
- [glis-client-resteasy](resteasy) (needs testing)
## Maven users
......@@ -75,7 +75,7 @@ defaultClient.setBasePath("https://glis.planttreaty.org")
... or when creating a new API instance:
```java
ApiClient client =new ApiClient();
ApiClient client = new ApiClient();
client.setBasePath("https://glis.planttreaty.org");
QueryApi api = new QueryApi(client);
```
......@@ -200,4 +200,4 @@ GLIS_DEBUG=true GLIS_USERNAME=your_username GLIS_PASSWORD=your_password mvn test
[Swagger Codegen](http://swagger.io/swagger-codegen/) can generate client SDKs for C#, Android, C++, Haskell, Javascript, Groovy, ObjC, Perl, PHP, Python, etc.
Use our [glis.yml](/src/main/resources/swagger/v1/glis.yml) to generate the API for your preferred language. If decide to make your library publicly accessible, please let us know and we'll link it here!
Use our [glis.yml](/swagger/v1/glis.yml) to generate the API for your preferred language. If decide to make your library publicly accessible, please let us know and we'll link it here!
# GLIS API Client
### Maven users
## Maven users
Add this dependency to your project's POM:
......@@ -13,7 +13,7 @@ Add this dependency to your project's POM:
</dependency>
```
### Gradle users
## Gradle users
Add this dependency to your project's build file:
......
# GLIS API Client
### Maven users
## Maven users
Add this dependency to your project's POM:
......@@ -13,7 +13,7 @@ Add this dependency to your project's POM:
</dependency>
```
### Gradle users
## Gradle users
Add this dependency to your project's build file:
......
......@@ -72,7 +72,29 @@
</execution>
</executions>
</plugin>
<!-- <plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.7</version>
<executions>
<execution>
<id>copy-docs</id>
<phase>compile</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/docs</outputDirectory>
<resources>
<resource>
<directory>${generated-sources-path}/docs</directory>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin> -->
</plugins>
<!-- the following is only necessary if you are using eclipse and m2e -->
......
......@@ -44,8 +44,7 @@
<modules>
<module>okhttp-gson</module>
<module>jersey2</module>
<!-- RESTeasy has trouble with deserializing enums -->
<!-- <module>resteasy</module> -->
<module>resteasy</module>
<module>resttemplate</module>
</modules>
......
# GLIS API Client
### Maven users
**Unit tests fail!**
## Maven users
Add this dependency to your project's POM:
......@@ -13,7 +15,7 @@ Add this dependency to your project's POM:
</dependency>
```
### Gradle users
## Gradle users
Add this dependency to your project's build file:
......
......@@ -19,18 +19,19 @@ package org.genesys.glis.v1.api;
import static org.hamcrest.Matchers.*;
import static org.junit.Assert.*;
import java.util.Arrays;
import java.util.List;
import org.genesys.glis.v1.invoker.ApiException;
import org.genesys.glis.v1.model.PGRFA;
import org.genesys.glis.v1.model.Relationship;
import org.genesys.glis.v1.model.Term;
import org.junit.Ignore;
import org.junit.Test;
/**
* API tests for QueryApi
*/
@Ignore
public class QueryApiTest extends BaseApiTest {
private final QueryApi api = new QueryApi(defaultClient);
......
# GLIS API Client
### Maven users
## Maven users
Add this dependency to your project's POM:
......@@ -13,7 +13,7 @@ Add this dependency to your project's POM:
</dependency>
```
### Gradle users
## Gradle users
Add this dependency to your project's build file:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment