Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/package include data flow #30

Open
wants to merge 36 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
3bc461d
add netty client.
Jan 2, 2016
1125345
set netty and jersey dependencies as optional (as one will probably c…
Jan 3, 2016
c7555dc
Merge remote-tracking branch 'upstream/master' into feature/netty_sup…
Jan 3, 2016
6eb99d3
fix merge conflicts
Jan 3, 2016
7d92520
add new entities
Jan 3, 2016
cf7c76e
add new entities
Jan 4, 2016
d6d1441
refactor endpoint genration
Jan 4, 2016
aaa1da4
add tests
Jan 5, 2016
aa4c879
reanme builder
Jan 5, 2016
26b2d7a
Merge branch 'feature/netty_support' into feature/addApiv2_resources
Jan 5, 2016
8715d23
Merge branch 'feature/addApiv2_resources' into feature/user_methods
Jan 5, 2016
443794b
add support for web hook methods
Jan 5, 2016
5b400ee
remove console output
Jan 5, 2016
189c458
Merge branch 'feature/netty_support' into feature/addApiv2_resources
Jan 5, 2016
268a94b
Merge branch 'feature/addApiv2_resources' into feature/user_methods
Jan 5, 2016
d0c264b
Merge branch 'feature/user_methods' into feature/web_hook_methods
Jan 5, 2016
5a84590
add tests
Jan 5, 2016
1c8e3d7
add normal console logger
Jan 5, 2016
6317471
add conditions
Jan 5, 2016
271ef06
improve request structure
Jan 6, 2016
821f1ed
add public key methods
Jan 6, 2016
c1fec7d
add tests
Jan 7, 2016
2829432
add member methods
Jan 7, 2016
434c9eb
add account methods
Jan 7, 2016
388291d
add connection methods
Jan 8, 2016
02d6323
make job changes to support V2
Jan 8, 2016
85f7dcc
add support for miscellaneous list methods
Jan 9, 2016
651438c
add cluster APIv2 support(new fields and methods)
Jan 9, 2016
41701de
add and renew tests
Jan 10, 2016
c83ceb4
add payment and subscription methods
Jan 10, 2016
de10e9f
changed package entity according to APIv2
Jan 10, 2016
c103aeb
add tests
Jan 11, 2016
164f503
add product updates methods
Jan 11, 2016
fc8abdb
add cluster and package object inclusion possibility
Jan 11, 2016
a5fc803
add cluster and package object inclusion possibility to job list
Jan 12, 2016
80a35d9
add package info and list flags to return json data flow
Jan 12, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ String api_key = "V4eyfgNqYcSasXGhzNxS";
XplentyAPI xplentyAPI = new XplentyAPI(account_id , api_key);
```

If you want to supply custom values for the version, protocol or host that the XplentyAPI object will use,
If you want to supply custom values for the version, protocol, host, timeout, logging or client implementation that the XplentyAPI object will use,
you can use XplentyAPI builder methods to customize these properties.

```java
Expand All @@ -24,10 +24,9 @@ String api_key = "V4eyfgNqYcSasXGhzNxS";
Xplenty.Version version = Xplenty.Version.V1;
String host = 'myHost';
Http.Protocol proto = Http.Protocol.Https;
XplentyAPI xplentyAPI = new XplentyAPI(account_id , api_key)
.withVersion(version)
.withHost(host)
.withProtocol(proto);
HttpClientBuilder builder = new HttpClientBuilder().withAccount(account_id).withApiKey(api_key).
withHost(host).withLogHttpCommunication(true).withClientImpl(Http.HttpClientImpl.SyncNetty);
XplentyAPI xplentyAPI = new XplentyAPI(builder);
```
### List the Cluster Plans

Expand Down
10 changes: 10 additions & 0 deletions xplenty.jar-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,21 @@
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-client</artifactId>
<version>1.9.1</version>
<optional>true</optional>
</dependency>

<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-core</artifactId>
<version>1.9.1</version>
<optional>true</optional>
</dependency>

<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-json</artifactId>
<version>1.9.1</version>
<optional>true</optional>
</dependency>

<dependency>
Expand All @@ -55,6 +58,13 @@
<artifactId>jackson-annotations</artifactId>
<version>2.1.1</version>
</dependency>

<dependency>
<groupId>io.netty</groupId>
<artifactId>netty</artifactId>
<version>3.10.5.Final</version>
<optional>true</optional>
</dependency>

<dependency>
<groupId>junit</groupId>
Expand Down
Loading