You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@edgent.apache.org by dl...@apache.org on 2016/12/30 20:53:26 UTC

incubator-edgent git commit: misc minor tweaks

Repository: incubator-edgent
Updated Branches:
  refs/heads/master a6090c844 -> aa3b5c867


misc minor tweaks

- download_edgent_asf.sh: echo check_sig cmds
- SensorAggregates sample: report Console url 

Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-edgent/commit/aa3b5c86
Tree: http://git-wip-us.apache.org/repos/asf/incubator-edgent/tree/aa3b5c86
Diff: http://git-wip-us.apache.org/repos/asf/incubator-edgent/diff/aa3b5c86

Branch: refs/heads/master
Commit: aa3b5c867a22cd549cdbcef2ac0b73826f9ad406
Parents: a6090c8
Author: Dale LaBossiere <dl...@us.ibm.com>
Authored: Fri Dec 30 14:42:29 2016 -0500
Committer: Dale LaBossiere <dl...@us.ibm.com>
Committed: Fri Dec 30 14:42:29 2016 -0500

----------------------------------------------------------------------
 buildTools/download_edgent_asf.sh                                | 4 ++--
 .../org/apache/edgent/samples/topology/SensorsAggregates.java    | 4 ++++
 2 files changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/aa3b5c86/buildTools/download_edgent_asf.sh
----------------------------------------------------------------------
diff --git a/buildTools/download_edgent_asf.sh b/buildTools/download_edgent_asf.sh
index 9342313..24a4251 100755
--- a/buildTools/download_edgent_asf.sh
+++ b/buildTools/download_edgent_asf.sh
@@ -137,8 +137,8 @@ cd ${ABS_BASE_DIR}
 
 echo
 echo "Verifying the source bundle signatures..."
-$BUILDTOOLS_DIR/check_sigs.sh ${DST_VER_DIR}
+(set -x; $BUILDTOOLS_DIR/check_sigs.sh ${DST_VER_DIR})
 
 echo
 echo "Verifying the binary bundle signatures..."
-$BUILDTOOLS_DIR/check_sigs.sh ${DST_VER_DIR}/binaries
+(set -x; $BUILDTOOLS_DIR/check_sigs.sh ${DST_VER_DIR}/binaries)

http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/aa3b5c86/samples/topology/src/main/java/org/apache/edgent/samples/topology/SensorsAggregates.java
----------------------------------------------------------------------
diff --git a/samples/topology/src/main/java/org/apache/edgent/samples/topology/SensorsAggregates.java b/samples/topology/src/main/java/org/apache/edgent/samples/topology/SensorsAggregates.java
index ac04c6e..c260ecf 100644
--- a/samples/topology/src/main/java/org/apache/edgent/samples/topology/SensorsAggregates.java
+++ b/samples/topology/src/main/java/org/apache/edgent/samples/topology/SensorsAggregates.java
@@ -25,6 +25,7 @@ import static org.apache.edgent.analytics.math3.stat.Statistic.MIN;
 import static org.apache.edgent.analytics.math3.stat.Statistic.STDDEV;
 
 import org.apache.edgent.analytics.math3.json.JsonAnalytics;
+import org.apache.edgent.console.server.HttpServer;
 import org.apache.edgent.providers.development.DevelopmentProvider;
 import org.apache.edgent.providers.direct.DirectProvider;
 import org.apache.edgent.samples.utils.sensor.SimulatedSensors;
@@ -77,6 +78,9 @@ public class SensorsAggregates {
         
         sensors.print();
 
+        System.out.println("#### Console URL for the job: "
+            + tp.getServices().getService(HttpServer.class).getConsoleUrl());
+
         tp.submit(topology);
     }