eagle-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject incubator-eagle git commit: [EAGLE-403] Fix example apps
Date Wed, 03 Aug 2016 04:43:03 GMT
Repository: incubator-eagle
Updated Branches:
  refs/heads/develop 5b190a5a9 -> f2f07211d


[EAGLE-403] Fix example apps

Author: Hao Chen <hao@apache.org>

Closes #293 from haoch/FixExampleApps.


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

Branch: refs/heads/develop
Commit: f2f07211d3b71e70903e04d6875aab098fc49689
Parents: 5b190a5
Author: Hao Chen <hao@apache.org>
Authored: Wed Aug 3 12:42:57 2016 +0800
Committer: Hao Chen <hao@apache.org>
Committed: Wed Aug 3 12:42:57 2016 +0800

----------------------------------------------------------------------
 .../apache/eagle/app/example/ExampleApplicationProvider2.java  | 2 +-
 .../src/main/webapp/app/apps/example2/index.html               | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/f2f07211/eagle-examples/eagle-app-example/src/main/java/org/apache/eagle/app/example/ExampleApplicationProvider2.java
----------------------------------------------------------------------
diff --git a/eagle-examples/eagle-app-example/src/main/java/org/apache/eagle/app/example/ExampleApplicationProvider2.java
b/eagle-examples/eagle-app-example/src/main/java/org/apache/eagle/app/example/ExampleApplicationProvider2.java
index b11aa37..0713aa0 100644
--- a/eagle-examples/eagle-app-example/src/main/java/org/apache/eagle/app/example/ExampleApplicationProvider2.java
+++ b/eagle-examples/eagle-app-example/src/main/java/org/apache/eagle/app/example/ExampleApplicationProvider2.java
@@ -34,7 +34,7 @@ public class ExampleApplicationProvider2 extends AbstractApplicationProvider<Exa
         setName("Example Monitoring Application 2");
         setVersion("0.5.0-incubating");
         setAppClass(ExampleApplication.class);
-        setViewPath("/apps/example");
+        setViewPath("/apps/example2");
         setAppConfig("ExampleApplicationConf.xml");
         setStreams(Arrays.asList(createSampleStreamDefinition("SAMPLE_STREAM_1"), createSampleStreamDefinition("SAMPLE_STREAM_2")));
     }

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/f2f07211/eagle-examples/eagle-app-example/src/main/webapp/app/apps/example2/index.html
----------------------------------------------------------------------
diff --git a/eagle-examples/eagle-app-example/src/main/webapp/app/apps/example2/index.html
b/eagle-examples/eagle-app-example/src/main/webapp/app/apps/example2/index.html
new file mode 100644
index 0000000..34c89c1
--- /dev/null
+++ b/eagle-examples/eagle-app-example/src/main/webapp/app/apps/example2/index.html
@@ -0,0 +1,6 @@
+<htm>
+    <body>
+        <h1>Example Application 2!</h1>
+        <i><b>url</b>: /apps/example2</i>
+    </body>
+</htm>
\ No newline at end of file


Mime
View raw message