From 85efb14cca5ef88c8330345cd57a61db1d9c6279 Mon Sep 17 00:00:00 2001 From: Kai Schwarz Date: Mon, 18 Jun 2018 17:49:50 +0200 Subject: [PATCH] initial release update --- .project | 2 +- .sts4-cache/classpath-data.json | 2 +- .vscode/launch.json | 6 +++--- .vscode/launch.test.json | 12 +++++------ CHANGELOG.md | 4 ++-- README.md | 8 ++++---- pom.xml | 20 +++++++++---------- .../apiconnector/Client.java | 4 ++-- .../apiconnector/DefaultResponse.java | 2 +- .../apiconnector/HashResponse.java | 2 +- .../apiconnector/ListResponse.java | 2 +- .../apiconnector/ClientTest.java | 2 +- .../apiconnector/DefaultResponseTest.java | 2 +- .../apiconnector/HashResponseTest.java | 2 +- .../apiconnector/ListResponseTest.java | 2 +- 15 files changed, 36 insertions(+), 36 deletions(-) rename src/main/java/net/{ispapi => hexonet}/apiconnector/Client.java (99%) rename src/main/java/net/{ispapi => hexonet}/apiconnector/DefaultResponse.java (99%) rename src/main/java/net/{ispapi => hexonet}/apiconnector/HashResponse.java (99%) rename src/main/java/net/{ispapi => hexonet}/apiconnector/ListResponse.java (98%) rename src/test/java/net/{ispapi => hexonet}/apiconnector/ClientTest.java (99%) rename src/test/java/net/{ispapi => hexonet}/apiconnector/DefaultResponseTest.java (98%) rename src/test/java/net/{ispapi => hexonet}/apiconnector/HashResponseTest.java (99%) rename src/test/java/net/{ispapi => hexonet}/apiconnector/ListResponseTest.java (98%) diff --git a/.project b/.project index 16146d85..1fab6ad3 100644 --- a/.project +++ b/.project @@ -1,6 +1,6 @@ - ispapi-lib-java + java-sdk diff --git a/.sts4-cache/classpath-data.json b/.sts4-cache/classpath-data.json index cf8ba8cb..fd13088c 100644 --- a/.sts4-cache/classpath-data.json +++ b/.sts4-cache/classpath-data.json @@ -1 +1 @@ -{"classpathEntries":["/home/kai/.m2/repository/junit/junit/4.11/junit-4.11.jar","/home/kai/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar","/home/kai/git/ispapi-lib-java/ispapi-lib-java/target/classes","/home/kai/git/ispapi-lib-java/ispapi-lib-java/target/test-classes"],"name":"ispapi-lib-java","classpathResources":[],"outputFolder":"/home/kai/git/ispapi-lib-java/ispapi-lib-java/target/classes"} \ No newline at end of file +{"classpathEntries":["/home/kai/.m2/repository/junit/junit/4.11/junit-4.11.jar","/home/kai/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar","/home/kai/git/java-sdk/target/classes","/home/kai/git/java-sdk/target/test-classes"],"name":"java-sdk","classpathResources":[],"outputFolder":"/home/kai/git/java-sdk/target/classes"} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json index b0baf4f4..6a476dea 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -6,13 +6,13 @@ "configurations": [ { "type": "java", - "name": "Debug (Launch)-Client", + "name": "Debug (Launch)-Client", "request": "launch", "cwd": "${workspaceFolder}", "console": "internalConsole", "stopOnEntry": false, - "mainClass": "net.ispapi.apiconnector.Client", - "projectName": "ispapi-lib-java", + "mainClass": "net.hexonet.apiconnector.Client", + "projectName": "java-sdk", "args": "" }, { diff --git a/.vscode/launch.test.json b/.vscode/launch.test.json index b1b8400c..8475d482 100644 --- a/.vscode/launch.test.json +++ b/.vscode/launch.test.json @@ -3,9 +3,9 @@ "default": "", "items": [ { - "name": "ispapi-lib-java", - "projectName": "ispapi-lib-java", - "workingDirectory": "/home/kai/git/ispapi-lib-java", + "name": "java-sdk", + "projectName": "java-sdk", + "workingDirectory": "/home/kai/git/java-sdk", "args": [], "vmargs": [], "preLaunchTask": "" @@ -16,9 +16,9 @@ "default": "", "items": [ { - "name": "ispapi-lib-java", - "projectName": "ispapi-lib-java", - "workingDirectory": "/home/kai/git/ispapi-lib-java", + "name": "java-sdk", + "projectName": "java-sdk", + "workingDirectory": "/home/kai/git/java-sdk", "args": [], "vmargs": [], "preLaunchTask": "" diff --git a/CHANGELOG.md b/CHANGELOG.md index f08a6a65..ccf0b25f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Change Log ## 1.3.12-SNAPSHOT + * HM-265 fix README [07c5be4](null/commit/07c5be4e2d1388149fe3825011e38df428693734) * HM-265 reviewed README [a63d5c3](null/commit/a63d5c38770c7dbd9dd56637bad22f9880885de4) * HM-265 fixed issue in constructor [5c290e0](null/commit/5c290e02efe3047e0d70b76d7ed2e9c42fcfc248) @@ -26,5 +27,4 @@ * HM-265 minor cleanup; packaging try out [28d9a96](null/commit/28d9a96dd0cce92170a2f8bada02701676db718f) * HM-265 set socketcfg to null after logout [13ac504](null/commit/13ac504ac75f5913d7fd6bb5d68b694776f3f25d) * HM-265 updated launch file [15ab70f](null/commit/15ab70fc562640b0c07a320f83ce4bf4334e69bc) -* HM-265 RC1 of java SDK [cfb7d33](null/commit/cfb7d33fda92efcc5fd0afdd422374effaa6b567) - +* HM-265 RC1 of java SDK [cfb7d33](null/commit/cfb7d33fda92efcc5fd0afdd422374effaa6b567) \ No newline at end of file diff --git a/README.md b/README.md index e24c37fa..8ccf48dc 100644 --- a/README.md +++ b/README.md @@ -44,13 +44,13 @@ If this runs still in an error, well rollback and set a new version manually by Sounds weird, but issues only happened while we were setting up the pom.xml accordingly, we shouldn't have to get in contact with further issues from now on. -Packages can be found in the appropriate version subfolder in "/tmp/net/ispapi/apiconnector/" or in project's subfolder "target". +Packages can be found in the appropriate version subfolder in "/tmp/net/hexonet/apiconnector/" or in project's subfolder "target". This includes JAR and md5/sha1 files for compiled files, source files, javadoc in the tmp folder. ### Snapshot Release Nothing special. Use `mvn deploy` to get a development / snapshot version build. -Packages can be found in the appropriate version subfolder in "/tmp/net/ispapi/apiconnector/" or in project's subfolder "target". +Packages can be found in the appropriate version subfolder in "/tmp/net/hexonet/apiconnector/" or in project's subfolder "target". This includes JAR and md5/sha1 files for compiled files, source files, javadoc in the tmp folder. ## Built With @@ -81,7 +81,7 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file ### Session based API Communication ```java - import net.ispapi.apiconnector.*; + import net.hexonet.apiconnector.*; // perform an api login and create an api session Map cfg = new HashMap(); @@ -124,7 +124,7 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file ### Sessionless API Communication ```java - import net.ispapi.apiconnector.*; + import net.hexonet.apiconnector.*; // perform an api login and create an api session Map cfg = new HashMap(); diff --git a/pom.xml b/pom.xml index c64a4593..cbe25879 100644 --- a/pom.xml +++ b/pom.xml @@ -3,15 +3,15 @@ 4.0.0 - net.ispapi.apiconnector - ispapi-lib-java + net.hexonet.apiconnector + java-sdk 1.3.12-SNAPSHOT - ispapi-lib-java - http://1api.de + java-sdk + http://hexonet.net - scm:git:ssh://git@gitlab.hexonet.net:44447/hexonet-middleware/ispapi-lib-java.git - scm:git:ssh://git@gitlab.hexonet.net:44447/hexonet-middleware/ispapi-lib-java.git + scm:git:https://github.com/hexonet/java-sdk + scm:git:https://github.com/hexonet/java-sdk v1.1 @@ -31,15 +31,15 @@ false - ispapi-lib-java-releases - ispapi-lib-java releases + java-sdk-releases + java-sdk releases file:///tmp default true - ispapi-lib-java-snapshots - ispapi-lib-java snapshots + java-sdk-snapshots + java-sdk snapshots file:///tmp default diff --git a/src/main/java/net/ispapi/apiconnector/Client.java b/src/main/java/net/hexonet/apiconnector/Client.java similarity index 99% rename from src/main/java/net/ispapi/apiconnector/Client.java rename to src/main/java/net/hexonet/apiconnector/Client.java index 26a0cb33..846d069d 100644 --- a/src/main/java/net/ispapi/apiconnector/Client.java +++ b/src/main/java/net/hexonet/apiconnector/Client.java @@ -1,4 +1,4 @@ -package net.ispapi.apiconnector; +package net.hexonet.apiconnector; import java.util.Map; import java.util.HashMap; @@ -12,7 +12,7 @@ /** * Client is the entry point class for communicating with the - * insanely fast 1API backend api. + * insanely fast HEXONET backend api. * It allows two ways of communication: *
    *
  • session based communication
  • diff --git a/src/main/java/net/ispapi/apiconnector/DefaultResponse.java b/src/main/java/net/hexonet/apiconnector/DefaultResponse.java similarity index 99% rename from src/main/java/net/ispapi/apiconnector/DefaultResponse.java rename to src/main/java/net/hexonet/apiconnector/DefaultResponse.java index 684ce235..8d90338b 100644 --- a/src/main/java/net/ispapi/apiconnector/DefaultResponse.java +++ b/src/main/java/net/hexonet/apiconnector/DefaultResponse.java @@ -1,4 +1,4 @@ -package net.ispapi.apiconnector; +package net.hexonet.apiconnector; import java.util.HashMap; import java.util.Map; diff --git a/src/main/java/net/ispapi/apiconnector/HashResponse.java b/src/main/java/net/hexonet/apiconnector/HashResponse.java similarity index 99% rename from src/main/java/net/ispapi/apiconnector/HashResponse.java rename to src/main/java/net/hexonet/apiconnector/HashResponse.java index 3b931975..d1cc52bf 100644 --- a/src/main/java/net/ispapi/apiconnector/HashResponse.java +++ b/src/main/java/net/hexonet/apiconnector/HashResponse.java @@ -1,4 +1,4 @@ -package net.ispapi.apiconnector; +package net.hexonet.apiconnector; import java.util.Map; import java.util.HashMap; diff --git a/src/main/java/net/ispapi/apiconnector/ListResponse.java b/src/main/java/net/hexonet/apiconnector/ListResponse.java similarity index 98% rename from src/main/java/net/ispapi/apiconnector/ListResponse.java rename to src/main/java/net/hexonet/apiconnector/ListResponse.java index 31df0d3f..815ff469 100644 --- a/src/main/java/net/ispapi/apiconnector/ListResponse.java +++ b/src/main/java/net/hexonet/apiconnector/ListResponse.java @@ -1,4 +1,4 @@ -package net.ispapi.apiconnector; +package net.hexonet.apiconnector; import java.util.ArrayList; import java.util.HashMap; diff --git a/src/test/java/net/ispapi/apiconnector/ClientTest.java b/src/test/java/net/hexonet/apiconnector/ClientTest.java similarity index 99% rename from src/test/java/net/ispapi/apiconnector/ClientTest.java rename to src/test/java/net/hexonet/apiconnector/ClientTest.java index a7daa058..f2d2b748 100644 --- a/src/test/java/net/ispapi/apiconnector/ClientTest.java +++ b/src/test/java/net/hexonet/apiconnector/ClientTest.java @@ -1,4 +1,4 @@ -package net.ispapi.apiconnector; +package net.hexonet.apiconnector; import java.util.Map; import java.util.HashMap; diff --git a/src/test/java/net/ispapi/apiconnector/DefaultResponseTest.java b/src/test/java/net/hexonet/apiconnector/DefaultResponseTest.java similarity index 98% rename from src/test/java/net/ispapi/apiconnector/DefaultResponseTest.java rename to src/test/java/net/hexonet/apiconnector/DefaultResponseTest.java index eef314c3..5d1f4c98 100644 --- a/src/test/java/net/ispapi/apiconnector/DefaultResponseTest.java +++ b/src/test/java/net/hexonet/apiconnector/DefaultResponseTest.java @@ -1,4 +1,4 @@ -package net.ispapi.apiconnector; +package net.hexonet.apiconnector; import java.util.Map; import static org.junit.Assert.assertEquals; diff --git a/src/test/java/net/ispapi/apiconnector/HashResponseTest.java b/src/test/java/net/hexonet/apiconnector/HashResponseTest.java similarity index 99% rename from src/test/java/net/ispapi/apiconnector/HashResponseTest.java rename to src/test/java/net/hexonet/apiconnector/HashResponseTest.java index 544b199c..0e1a03f5 100644 --- a/src/test/java/net/ispapi/apiconnector/HashResponseTest.java +++ b/src/test/java/net/hexonet/apiconnector/HashResponseTest.java @@ -1,4 +1,4 @@ -package net.ispapi.apiconnector; +package net.hexonet.apiconnector; import java.util.ArrayList; import java.util.Map; diff --git a/src/test/java/net/ispapi/apiconnector/ListResponseTest.java b/src/test/java/net/hexonet/apiconnector/ListResponseTest.java similarity index 98% rename from src/test/java/net/ispapi/apiconnector/ListResponseTest.java rename to src/test/java/net/hexonet/apiconnector/ListResponseTest.java index 79cfef0b..3d4d9a7d 100644 --- a/src/test/java/net/ispapi/apiconnector/ListResponseTest.java +++ b/src/test/java/net/hexonet/apiconnector/ListResponseTest.java @@ -1,4 +1,4 @@ -package net.ispapi.apiconnector; +package net.hexonet.apiconnector; import java.util.ArrayList; import static org.junit.Assert.assertEquals;