You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by tb...@apache.org on 2017/10/18 08:30:50 UTC
[1/2] brooklyn-client git commit: Delete old deprecated code
Repository: brooklyn-client
Updated Branches:
refs/heads/master 66b01f2b8 -> d20d912e9
Delete old deprecated code
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-client/commit/a889bce5
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-client/tree/a889bce5
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-client/diff/a889bce5
Branch: refs/heads/master
Commit: a889bce59039d548453e9b0c79d8726e8e1781fa
Parents: 66b01f2
Author: Aled Sage <al...@gmail.com>
Authored: Tue Oct 10 09:08:19 2017 +0100
Committer: Aled Sage <al...@gmail.com>
Committed: Tue Oct 10 09:08:19 2017 +0100
----------------------------------------------------------------------
.../brooklyn/rest/client/BrooklynApi.java | 58 +-------------------
1 file changed, 1 insertion(+), 57 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/brooklyn-client/blob/a889bce5/java/src/main/java/org/apache/brooklyn/rest/client/BrooklynApi.java
----------------------------------------------------------------------
diff --git a/java/src/main/java/org/apache/brooklyn/rest/client/BrooklynApi.java b/java/src/main/java/org/apache/brooklyn/rest/client/BrooklynApi.java
index 0b127d6..11482af 100644
--- a/java/src/main/java/org/apache/brooklyn/rest/client/BrooklynApi.java
+++ b/java/src/main/java/org/apache/brooklyn/rest/client/BrooklynApi.java
@@ -89,54 +89,7 @@ public class BrooklynApi {
private final int timeOutInMillis;
private static final Logger LOG = LoggerFactory.getLogger(BrooklynApi.class);
- /**
- * @deprecated since 0.9.0. Use {@link BrooklynApi#newInstance(String)} instead
- */
- @Deprecated
- public BrooklynApi(URL endpoint) {
- this(checkNotNull(endpoint, "endpoint").toString());
- }
-
- /**
- * @deprecated since 0.9.0. Use {@link BrooklynApi#newInstance(String)} instead
- */
- @Deprecated
- public BrooklynApi(String endpoint) {
- // username/password cannot be null, but credentials can
- this(endpoint, null);
- }
-
- /**
- * @deprecated since 0.9.0. Use {@link BrooklynApi#newInstance(String, String, String)} instead
- */
- @Deprecated
- public BrooklynApi(URL endpoint, String username, String password) {
- this(endpoint.toString(), new UsernamePasswordCredentials(username, password));
- }
-
- /**
- * @deprecated since 0.9.0. Use {@link BrooklynApi#newInstance(String, String, String)} instead
- */
- @Deprecated
- public BrooklynApi(String endpoint, String username, String password) {
- this(endpoint, new UsernamePasswordCredentials(username, password));
- }
-
- /**
- * @deprecated since 0.9.0. Use {@link BrooklynApi#newInstance(String, String, String)} instead
- */
- @Deprecated
- public BrooklynApi(URL endpoint, @Nullable Credentials credentials) {
- this(endpoint.toString(), credentials);
- }
-
- /**
- * Creates a BrooklynApi using an HTTP connection pool
- *
- * @deprecated since 0.9.0. Use {@link BrooklynApi#newInstance(String, String, String)} instead
- */
- @Deprecated
- public BrooklynApi(String endpoint, @Nullable Credentials credentials) {
+ protected BrooklynApi(String endpoint, @Nullable Credentials credentials) {
this(endpoint, credentials, 20, 5000);
}
@@ -482,13 +435,4 @@ public class BrooklynApi {
failSomeErrors(response, type.getRawType(), false);
return getEntity(response, type);
}
-
- /**
- * @deprecated since 0.8.0-incubating. Use {@link #getEntity(Response, GenericType)} instead.
- */
- @Deprecated
- public static <T> T getEntityGeneric(Response response, GenericType<T> type) {
- return getEntity(response, type);
- }
-
}
[2/2] brooklyn-client git commit: This closes #61
Posted by tb...@apache.org.
This closes #61
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-client/commit/d20d912e
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-client/tree/d20d912e
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-client/diff/d20d912e
Branch: refs/heads/master
Commit: d20d912e9a432ac5d04e93cb4f321f3d588e8d0a
Parents: 66b01f2 a889bce
Author: Thomas Bouron <th...@cloudsoftcorp.com>
Authored: Wed Oct 18 09:30:28 2017 +0100
Committer: Thomas Bouron <th...@cloudsoftcorp.com>
Committed: Wed Oct 18 09:30:28 2017 +0100
----------------------------------------------------------------------
.../brooklyn/rest/client/BrooklynApi.java | 58 +-------------------
1 file changed, 1 insertion(+), 57 deletions(-)
----------------------------------------------------------------------