You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2017/02/15 18:57:25 UTC

[02/10] brooklyn-server git commit: remove default value for JSON_PATH

remove default value for JSON_PATH

- some http calls may not require to parse the output


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/3d318e4e
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/3d318e4e
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/3d318e4e

Branch: refs/heads/master
Commit: 3d318e4e78085519233bcc763e22320ca40403df
Parents: 119ba5a
Author: Andrea Turli <an...@gmail.com>
Authored: Mon Jan 23 17:24:31 2017 +0100
Committer: Andrea Turli <an...@gmail.com>
Committed: Mon Feb 13 15:09:31 2017 +0100

----------------------------------------------------------------------
 .../apache/brooklyn/core/effector/http/HttpCommandEffector.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/3d318e4e/core/src/main/java/org/apache/brooklyn/core/effector/http/HttpCommandEffector.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/brooklyn/core/effector/http/HttpCommandEffector.java b/core/src/main/java/org/apache/brooklyn/core/effector/http/HttpCommandEffector.java
index 7ef2126..d2130dd 100644
--- a/core/src/main/java/org/apache/brooklyn/core/effector/http/HttpCommandEffector.java
+++ b/core/src/main/java/org/apache/brooklyn/core/effector/http/HttpCommandEffector.java
@@ -57,7 +57,7 @@ public final class HttpCommandEffector extends AddEffector {
     public static final ConfigKey<String> EFFECTOR_HTTP_PASSWORD = ConfigKeys.newStringConfigKey("httpPassword");
     public static final ConfigKey<Map<String, String>> EFFECTOR_HTTP_HEADERS = new MapConfigKey(String.class, "headers");
     public static final ConfigKey<Map<String, Object>> EFFECTOR_HTTP_PAYLOAD = new MapConfigKey(String.class, "httpPayload");
-    public static final ConfigKey<String> JSON_PATH = ConfigKeys.newStringConfigKey("jsonPath", "JSON path to select in HTTP response; default $", "$");
+    public static final ConfigKey<String> JSON_PATH = ConfigKeys.newStringConfigKey("jsonPath", "JSON path to select in HTTP response");
     public static final ConfigKey<String> PUBLISH_SENSOR = ConfigKeys.newStringConfigKey("publishSensor", "Sensor name where to store json path extracted value");
 
     public HttpCommandEffector(ConfigBag params) {