Skip to content

Commit 5ec51fb

Browse files
committed
new version
1 parent 6136a92 commit 5ec51fb

File tree

239 files changed

+45445
-3566
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

239 files changed

+45445
-3566
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44

55
# Package Files #
6-
*.jar
76
*.war
87
*.ear
98

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22

33
[![Join the chat at https://gitter.im/cloudboost/help](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/cloudboost/help?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Build Status](http://cbjenkins.cloudapp.net:8080/buildStatus/icon?job=DataServicesPushProduction)](http://cbjenkins.cloudapp.net:8080/job/DataServicesPushProduction)
44

5-
This is the Java SDK for CloudBoost. It is available as a JAR. If you want to have a look into documentation, you can check them out here : [https://tutorials.cloudboost.io](https://tutorials.cloudboost.io) and API reference is available here : [https://docs.cloudboost.io](https://docs.cloudboost.io)
5+
This is the Java SDK for CloudBoost. It is available as a [JAR on Git](https://github.com/CloudBoost/JavaSDK/blob/master/target/JavaSDK-1.0.2.jar) and as a [maven dependency](http://mvnrepository.com/artifact/io.cloudboost/JavaSDK). If you want to have a look into documentation, you can check them out here : [https://tutorials.cloudboost.io](https://tutorials.cloudboost.io) and API reference is available here : [https://docs.cloudboost.io](https://docs.cloudboost.io)
66

77
### JAR Usage
88

99
``` java
1010
//Add cloudboost java sdk jar file in your project
11-
//get jar: https://github.com/CloudBoost/JavaSDK/blob/master/target/JavaSDK-1.0-SNAPSHOT.jar
1211
import io.cloudboost.*;
1312
```
1413

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>io.cloudboost</groupId>
55
<artifactId>JavaSDK</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.0.1</version>
7+
<version>1.0.2</version>
88
<name>JavaSDK</name>
99
<description>An open source Java SDK for CloudBoost developing apps</description>
1010
<url>https://docs.cloudboost.io/java.html</url>

src/test/java/io/cloudboost/CloudAppTest.java

+19-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,25 @@ public void cloudAppTest(){
1313
Assert.assertEquals("sample123", CloudApp.getAppId());
1414
Assert.assertEquals("9SPxp6D3OPWvxj0asw5ryA==", CloudApp.getAppKey());
1515
}
16-
void initialize() {
17-
CloudApp.init("bengi123",
18-
"MjFWX9D3JqTa76tcEHt9GL2ITB8Gzsp68S1+3oq7CBE=");
16+
@Test(timeout=50000)
17+
public void initialize() throws CloudException {
18+
//master=MjFWX9D3JqTa76tcEHt9GL2ITB8Gzsp68S1+3oq7CBE=
19+
//client=mLiJB380x9fhPRCjCGmGRg==
20+
// CloudApp.init("bengi",
21+
// "ailFnQf+q102UpB86ZZBKg==");
22+
// CloudObject ob=new CloudObject("visitors");
23+
// System.out.println("gonna save");
24+
// ob.save(new CloudObjectCallback() {
25+
//
26+
// @Override
27+
// public void done(CloudObject x, CloudException t) throws CloudException {
28+
// if(t!=null)
29+
// System.out.println("error="+t.getMessage());
30+
// else if(x!=null)
31+
// System.out.println("clear");
32+
// }
33+
// });
34+
Assert.assertTrue(true);
1935
}
2036

2137

target/JavaSDK-1.0.2-javadoc.jar

351 KB
Binary file not shown.

target/JavaSDK-1.0.2-javadoc.jar.asc

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
-----BEGIN PGP SIGNATURE-----
2+
Version: GnuPG v2
3+
4+
iQEcBAABCAAGBQJWrbuvAAoJELdrrRKW2lZrkFUH/1FctmWaXv+PuBi/Ev3YZPmo
5+
s/sw3iLblFi0Jdt7TbY26DtLhFQ2xqczHdM8X4OnjTyRFK4iqG/ShFGZXTD5iR2I
6+
mVBRNMswKe/giniojIXa51Y1Tf5d7nxr4P6mzG+7CVBM+Q6bOj6lNLtXpjJ04i5v
7+
UpcspfNUL51z+4tt2qBE7PeqU31/BAQMM0achs2UJbZeA9ZpFd0LWgBa93zeEcCl
8+
vBBcv9abSRGas5AmBstIjEy8lrOibJSGwK50OlrGlFyEeG/1q2Bxzk1OQ0Yl8hgC
9+
vatuOTjaUQkQ1kASpV+jFEq922fi+wkLEPcPh4rh6YYJ3d5OKeXCdtIfyDm3/oM=
10+
=3RqO
11+
-----END PGP SIGNATURE-----

target/JavaSDK-1.0.2-sources.jar

94.2 KB
Binary file not shown.

target/JavaSDK-1.0.2-sources.jar.asc

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
-----BEGIN PGP SIGNATURE-----
2+
Version: GnuPG v2
3+
4+
iQEcBAABCAAGBQJWrbuvAAoJELdrrRKW2lZrpq0H/RK1/SuBa9wmCeI3ASqmQOZe
5+
iGsX4qXe7wocVF0pca+0P4UDkzFYxodFknDpb/ajwCwVq0zk6sIyGK45+dnO7csH
6+
YFXJAAoslpbUaCWL4mSRROkzUgpwXvci15YwLXrkllum6s2ufB8nC3mWmJfd9btq
7+
F+Kke0x4WJRz1zvk9Gom7tGqzR1wXkew+oTOFq3Podf7H0QQWotC+CDqNMu6QKKK
8+
IdxGM1QYcBXV3VZiOKESSc91pyhkc4SdC1X4wtpGYjfwugvfgkB8xIiPeZm7AdnD
9+
WCcNZiEBka9MUcT3WjueV3epGZJ/VbgO8B/dEbzj/rdBieTwIl/wFekfgwi/b40=
10+
=Nqgi
11+
-----END PGP SIGNATURE-----

target/JavaSDK-1.0.2.jar

136 KB
Binary file not shown.

target/JavaSDK-1.0.2.jar.asc

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
-----BEGIN PGP SIGNATURE-----
2+
Version: GnuPG v2
3+
4+
iQEcBAABCAAGBQJWrbuuAAoJELdrrRKW2lZrkAQIAKUbp3uXJGvRBubZy1kEDkOH
5+
iG6dkobSOzaWw4lbInB08YUxeNw8sq5sYpJl3yALw1IkOrbtuXgugvXG/e3kW+zf
6+
G27Vk60ervBjETQkF9yhHoT4mD1aCJmOnKNaWAyf8bs9U/HuFIC4i22sP2MJXozT
7+
yObafWTuhOQF7Y78BUGtPxg3oyPpXpO96F2jYeVg0Ul8DBTi46kWc7pDRUyWFXel
8+
7IwJ8D/pPVFRotpoqPFQihffCirsn2p7hODQRSTuXdatpg06YyxYP68e2W06Wtk+
9+
5vEnPqoh+G2X9INoQHIcGC6700KpDbvbqZ1H7opYI5/Eykkg9L1oHugpvbi2Af0=
10+
=RQ6C
11+
-----END PGP SIGNATURE-----

target/JavaSDK-1.0.2.pom

+136
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>io.cloudboost</groupId>
5+
<artifactId>JavaSDK</artifactId>
6+
<packaging>jar</packaging>
7+
<version>1.0.2</version>
8+
<name>JavaSDK</name>
9+
<description>An open source Java SDK for CloudBoost developing apps</description>
10+
<url>https://docs.cloudboost.io/java.html</url>
11+
<licenses>
12+
<license>
13+
<name>LGPL license, Version 3.0</name>
14+
<url>https://www.gnu.org/licenses/lgpl.txt</url>
15+
</license>
16+
</licenses>
17+
<developers>
18+
<developer>
19+
<name>CloudBoost</name>
20+
<email>[email protected]</email>
21+
<organization>CloudBoost</organization>
22+
<organizationUrl>http://www.cloudboost.io</organizationUrl>
23+
</developer>
24+
</developers>
25+
<distributionManagement>
26+
<snapshotRepository>
27+
<id>ossrh</id>
28+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
29+
</snapshotRepository>
30+
</distributionManagement>
31+
<build>
32+
<plugins>
33+
<plugin>
34+
<groupId>org.apache.maven.plugins</groupId>
35+
<artifactId>maven-compiler-plugin</artifactId>
36+
<version>3.3</version>
37+
<configuration>
38+
<source>7</source>
39+
<target>7</target>
40+
</configuration>
41+
</plugin>
42+
<plugin>
43+
<groupId>org.apache.maven.plugins</groupId>
44+
<artifactId>maven-gpg-plugin</artifactId>
45+
<version>1.5</version>
46+
<executions>
47+
<execution>
48+
<id>sign-artifacts</id>
49+
<phase>verify</phase>
50+
<goals>
51+
<goal>sign</goal>
52+
</goals>
53+
</execution>
54+
</executions>
55+
</plugin>
56+
57+
<plugin>
58+
<groupId>org.sonatype.plugins</groupId>
59+
<artifactId>nexus-staging-maven-plugin</artifactId>
60+
<version>1.6.3</version>
61+
<extensions>true</extensions>
62+
<configuration>
63+
<serverId>ossrh</serverId>
64+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
65+
<!-- <stagingProfileId>19375019933d12</stagingProfileId>-->
66+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
67+
</configuration>
68+
</plugin>
69+
70+
<plugin>
71+
<groupId>org.apache.maven.plugins</groupId>
72+
<artifactId>maven-source-plugin</artifactId>
73+
<version>2.2.1</version>
74+
<executions>
75+
<execution>
76+
<id>attach-sources</id>
77+
<goals>
78+
<goal>jar-no-fork</goal>
79+
</goals>
80+
</execution>
81+
</executions>
82+
</plugin>
83+
84+
<plugin>
85+
<groupId>org.apache.maven.plugins</groupId>
86+
<artifactId>maven-javadoc-plugin</artifactId>
87+
<version>2.9.1</version>
88+
<executions>
89+
<execution>
90+
<id>attach-javadocs</id>
91+
<goals>
92+
<goal>jar</goal>
93+
</goals>
94+
<configuration>
95+
<additionalparam>-Xdoclint:none</additionalparam>
96+
</configuration>
97+
</execution>
98+
</executions>
99+
</plugin>
100+
</plugins>
101+
</build>
102+
<scm>
103+
<connection>scm:git:https://github.com/CloudBoost/JavaSDK.git</connection>
104+
<developerConnection>scm:git:https://github.com/CloudBoost/JavaSDK.git</developerConnection>
105+
<tag>HEAD</tag>
106+
<url>https://github.com/CloudBoost/JavaSDK</url>
107+
</scm>
108+
<dependencies>
109+
<dependency>
110+
<groupId>junit</groupId>
111+
<artifactId>junit</artifactId>
112+
<version>4.8.2</version>
113+
<scope>test</scope>
114+
</dependency>
115+
<!-- <dependency>
116+
<groupId>org.xerial</groupId>
117+
<artifactId>sqlite-jdbc</artifactId>
118+
<version>3.8.11.1</version>
119+
</dependency>
120+
<dependency>
121+
<groupId>com.ning</groupId>
122+
<artifactId>async-http-client</artifactId>
123+
<version>1.9.31</version>
124+
</dependency>-->
125+
<dependency>
126+
<groupId>org.json</groupId>
127+
<artifactId>json</artifactId>
128+
<version>20140107</version>
129+
</dependency>
130+
<dependency>
131+
<groupId>io.socket</groupId>
132+
<artifactId>socket.io-client</artifactId>
133+
<version>0.6.1</version>
134+
</dependency>
135+
</dependencies>
136+
</project>

target/JavaSDK-1.0.2.pom.asc

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
-----BEGIN PGP SIGNATURE-----
2+
Version: GnuPG v2
3+
4+
iQEcBAABCAAGBQJWrbuuAAoJELdrrRKW2lZrpY4IANnfIs8z6Xazbt6Q1FtHhFCm
5+
1LkbEcwUZswYSvIPXSoJG3q1pXCF3ioJsF9v76WnbRDJaAqR8cko9ZB6oIuNjRUr
6+
meI+VIFFlBvjURASCczeYb2wXSUVpNwn42jAM/TdHwctOxdouLWTj672Gm6al8X0
7+
w92u9kqe3YbIZrElkzol2TPWSQlKl5EnJzMZe+YxyDLknKlokIHPF3rZBXFJfxBt
8+
wrgwTM9R5JyXNANalNJIG/XA8EMMsfRp8j6uo7CY4wG4bHPK+tBwcGpr/9+gMpSg
9+
GW1fV8GarNczqEjRu/rVNtrR6TU6dycQ6zksVtOJ4g+uayKP3/SaZwwMN6nMrYc=
10+
=JMqQ
11+
-----END PGP SIGNATURE-----

target/apidocs/allclasses-frame.html

+73
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2+
<!-- NewPage -->
3+
<html lang="en">
4+
<head>
5+
<!-- Generated by javadoc (1.8.0_05) on Sun Jan 31 10:45:50 EAT 2016 -->
6+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7+
<title>All Classes (JavaSDK 1.0.2 API)</title>
8+
<meta name="date" content="2016-01-31">
9+
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
10+
<script type="text/javascript" src="script.js"></script>
11+
</head>
12+
<body>
13+
<h1 class="bar">All&nbsp;Classes</h1>
14+
<div class="indexContainer">
15+
<ul>
16+
<li><a href="io/cloudboost/util/CBParser.html" title="class in io.cloudboost.util" target="classFrame">CBParser</a></li>
17+
<li><a href="io/cloudboost/beans/CBResponse.html" title="class in io.cloudboost.beans" target="classFrame">CBResponse</a></li>
18+
<li><a href="io/cloudboost/json/CDL.html" title="class in io.cloudboost.json" target="classFrame">CDL</a></li>
19+
<li><a href="io/cloudboost/CloudApp.html" title="class in io.cloudboost" target="classFrame">CloudApp</a></li>
20+
<li><a href="io/cloudboost/CloudCache.html" title="class in io.cloudboost" target="classFrame">CloudCache</a></li>
21+
<li><a href="io/cloudboost/CloudException.html" title="class in io.cloudboost" target="classFrame">CloudException</a></li>
22+
<li><a href="io/cloudboost/CloudFile.html" title="class in io.cloudboost" target="classFrame">CloudFile</a></li>
23+
<li><a href="io/cloudboost/CloudFileArrayCallback.html" title="interface in io.cloudboost" target="classFrame"><span class="interfaceName">CloudFileArrayCallback</span></a></li>
24+
<li><a href="io/cloudboost/CloudFileCallback.html" title="interface in io.cloudboost" target="classFrame"><span class="interfaceName">CloudFileCallback</span></a></li>
25+
<li><a href="io/cloudboost/CloudGeoPoint.html" title="class in io.cloudboost" target="classFrame">CloudGeoPoint</a></li>
26+
<li><a href="io/cloudboost/CloudIntegerCallback.html" title="interface in io.cloudboost" target="classFrame"><span class="interfaceName">CloudIntegerCallback</span></a></li>
27+
<li><a href="io/cloudboost/CloudNotification.html" title="class in io.cloudboost" target="classFrame">CloudNotification</a></li>
28+
<li><a href="io/cloudboost/CloudNotificationCallback.html" title="interface in io.cloudboost" target="classFrame"><span class="interfaceName">CloudNotificationCallback</span></a></li>
29+
<li><a href="io/cloudboost/CloudObject.html" title="class in io.cloudboost" target="classFrame">CloudObject</a></li>
30+
<li><a href="io/cloudboost/CloudObjectArrayCallback.html" title="interface in io.cloudboost" target="classFrame"><span class="interfaceName">CloudObjectArrayCallback</span></a></li>
31+
<li><a href="io/cloudboost/CloudObjectCallback.html" title="interface in io.cloudboost" target="classFrame"><span class="interfaceName">CloudObjectCallback</span></a></li>
32+
<li><a href="io/cloudboost/CloudQuery.html" title="class in io.cloudboost" target="classFrame">CloudQuery</a></li>
33+
<li><a href="io/cloudboost/CloudQueue.html" title="class in io.cloudboost" target="classFrame">CloudQueue</a></li>
34+
<li><a href="io/cloudboost/CloudQueueArrayCallback.html" title="interface in io.cloudboost" target="classFrame"><span class="interfaceName">CloudQueueArrayCallback</span></a></li>
35+
<li><a href="io/cloudboost/CloudQueueCallback.html" title="interface in io.cloudboost" target="classFrame"><span class="interfaceName">CloudQueueCallback</span></a></li>
36+
<li><a href="io/cloudboost/CloudQueueMessageCallback.html" title="interface in io.cloudboost" target="classFrame"><span class="interfaceName">CloudQueueMessageCallback</span></a></li>
37+
<li><a href="io/cloudboost/CloudRole.html" title="class in io.cloudboost" target="classFrame">CloudRole</a></li>
38+
<li><a href="io/cloudboost/CloudRoleCallback.html" title="interface in io.cloudboost" target="classFrame"><span class="interfaceName">CloudRoleCallback</span></a></li>
39+
<li><a href="io/cloudboost/CloudSearch.html" title="class in io.cloudboost" target="classFrame">CloudSearch</a></li>
40+
<li><a href="io/cloudboost/util/CloudSocket.html" title="class in io.cloudboost.util" target="classFrame">CloudSocket</a></li>
41+
<li><a href="io/cloudboost/CloudStringCallback.html" title="interface in io.cloudboost" target="classFrame"><span class="interfaceName">CloudStringCallback</span></a></li>
42+
<li><a href="io/cloudboost/CloudTable.html" title="class in io.cloudboost" target="classFrame">CloudTable</a></li>
43+
<li><a href="io/cloudboost/CloudTableArrayCallback.html" title="interface in io.cloudboost" target="classFrame"><span class="interfaceName">CloudTableArrayCallback</span></a></li>
44+
<li><a href="io/cloudboost/CloudTableCallback.html" title="interface in io.cloudboost" target="classFrame"><span class="interfaceName">CloudTableCallback</span></a></li>
45+
<li><a href="io/cloudboost/CloudUser.html" title="class in io.cloudboost" target="classFrame">CloudUser</a></li>
46+
<li><a href="io/cloudboost/CloudUserCallback.html" title="interface in io.cloudboost" target="classFrame"><span class="interfaceName">CloudUserCallback</span></a></li>
47+
<li><a href="io/cloudboost/Column.html" title="class in io.cloudboost" target="classFrame">Column</a></li>
48+
<li><a href="io/cloudboost/Column.DataType.html" title="enum in io.cloudboost" target="classFrame">Column.DataType</a></li>
49+
<li><a href="io/cloudboost/json/Cookie.html" title="class in io.cloudboost.json" target="classFrame">Cookie</a></li>
50+
<li><a href="io/cloudboost/json/CookieList.html" title="class in io.cloudboost.json" target="classFrame">CookieList</a></li>
51+
<li><a href="io/cloudboost/json/HTTP.html" title="class in io.cloudboost.json" target="classFrame">HTTP</a></li>
52+
<li><a href="io/cloudboost/json/HTTPTokener.html" title="class in io.cloudboost.json" target="classFrame">HTTPTokener</a></li>
53+
<li><a href="io/cloudboost/json/JSONArray.html" title="class in io.cloudboost.json" target="classFrame">JSONArray</a></li>
54+
<li><a href="io/cloudboost/json/JSONException.html" title="class in io.cloudboost.json" target="classFrame">JSONException</a></li>
55+
<li><a href="io/cloudboost/json/JSONML.html" title="class in io.cloudboost.json" target="classFrame">JSONML</a></li>
56+
<li><a href="io/cloudboost/json/JSONObject.html" title="class in io.cloudboost.json" target="classFrame">JSONObject</a></li>
57+
<li><a href="io/cloudboost/json/JSONString.html" title="interface in io.cloudboost.json" target="classFrame"><span class="interfaceName">JSONString</span></a></li>
58+
<li><a href="io/cloudboost/json/JSONStringer.html" title="class in io.cloudboost.json" target="classFrame">JSONStringer</a></li>
59+
<li><a href="io/cloudboost/json/JSONTokener.html" title="class in io.cloudboost.json" target="classFrame">JSONTokener</a></li>
60+
<li><a href="io/cloudboost/json/JSONWriter.html" title="class in io.cloudboost.json" target="classFrame">JSONWriter</a></li>
61+
<li><a href="io/cloudboost/ObjectCallback.html" title="interface in io.cloudboost" target="classFrame"><span class="interfaceName">ObjectCallback</span></a></li>
62+
<li><a href="io/cloudboost/PrivateMethod.html" title="class in io.cloudboost" target="classFrame">PrivateMethod</a></li>
63+
<li><a href="io/cloudboost/json/Property.html" title="class in io.cloudboost.json" target="classFrame">Property</a></li>
64+
<li><a href="io/cloudboost/QueueMessage.html" title="class in io.cloudboost" target="classFrame">QueueMessage</a></li>
65+
<li><a href="io/cloudboost/SearchFilter.html" title="class in io.cloudboost" target="classFrame">SearchFilter</a></li>
66+
<li><a href="io/cloudboost/SearchQuery.html" title="class in io.cloudboost" target="classFrame">SearchQuery</a></li>
67+
<li><a href="io/cloudboost/util/UUID.html" title="class in io.cloudboost.util" target="classFrame">UUID</a></li>
68+
<li><a href="io/cloudboost/json/XML.html" title="class in io.cloudboost.json" target="classFrame">XML</a></li>
69+
<li><a href="io/cloudboost/json/XMLTokener.html" title="class in io.cloudboost.json" target="classFrame">XMLTokener</a></li>
70+
</ul>
71+
</div>
72+
</body>
73+
</html>

0 commit comments

Comments
 (0)