[CONF] Confluence Changes in the last 24 hours

2013-06-11 Thread confluence
This is a daily summary of all recent changes in Confluence.

-
Updated Spaces:
-


Apache Airavata (https://cwiki.apache.org/confluence/display/AIRAVATA)

Pages
-
Student Research Projects edited by  smarru  (10:46 PM)
https://cwiki.apache.org/confluence/display/AIRAVATA/Student+Research+Projects



Apache Camel (https://cwiki.apache.org/confluence/display/CAMEL)

Pages
-
Splitter edited by  bibryam  (02:56 PM)
https://cwiki.apache.org/confluence/display/CAMEL/Splitter

Exception Clause edited by  muellerc  (02:17 PM)
https://cwiki.apache.org/confluence/display/CAMEL/Exception+Clause

How to avoid sending some or all message headers edited by  muellerc  (10:45 AM)
https://cwiki.apache.org/confluence/display/CAMEL/How+to+avoid+sending+some+or+all+message+headers


Comments
https://cwiki.apache.org/confluence/display/CAMEL/Splitter (1)

Apache Cloudstack (https://cwiki.apache.org/confluence/display/CLOUDSTACK)

Pages
-
Multiple IPs Per Nic Test Execution edited by  swamy  (11:55 PM)
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Multiple+IPs+Per+Nic+Test+Execution

FS - VMSync improvement edited by  kelveny  (09:45 PM)
https://cwiki.apache.org/confluence/display/CLOUDSTACK/FS+-+VMSync+improvement

How To Generate CloudStack API Documentation edited by  jtomechak  (08:45 PM)
https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+To+Generate+CloudStack+API+Documentation

Apache CloudStack Weekly News - 10 June 2013 edited by  jtomechak  (08:19 PM)
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Apache+CloudStack+Weekly+News+-+10+June+2013

Working with CloudStack Code edited by  seizadi  (04:43 PM)
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Working+with+CloudStack+Code

2013-06 Board Report for Apache CloudStack edited by  jzb  (12:18 PM)
https://cwiki.apache.org/confluence/display/CLOUDSTACK/2013-06+Board+Report+for+Apache+CloudStack

FS- Dedicate Guest VLANs per tenant edited by  likitha.she...@citrix.com  
(09:21 AM)
https://cwiki.apache.org/confluence/display/CLOUDSTACK/FS-+Dedicate+Guest+VLANs+per+tenant

external hosted private gateways edited by  dahn  (03:57 AM)
https://cwiki.apache.org/confluence/display/CLOUDSTACK/external+hosted+private+gateways

Using Eclipse With CloudStack edited by  seizadi  (12:28 AM)
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Using+Eclipse+With+CloudStack



Drill Wiki (https://cwiki.apache.org/confluence/display/DRILL)

Pages
-
Q2 In-Progress Report edited by  ellen_friedman  (04:01 AM)
https://cwiki.apache.org/confluence/display/DRILL/Q2+In-Progress+Report



Apache Hive (https://cwiki.apache.org/confluence/display/Hive)

Pages
-
Fix Hive Unit Tests on Hadoop 2 - HIVE-3949 created by bro...@gmail.com (02:54 
PM)
https://cwiki.apache.org/confluence/display/Hive/Fix+Hive+Unit+Tests+on+Hadoop+2+-+HIVE-3949



Apache Labs (https://cwiki.apache.org/confluence/display/labs)

Pages
-
Physical pages created by elecharny (12:17 PM)
https://cwiki.apache.org/confluence/display/labs/Physical+pages

IO operations edited by  elecharny  (12:02 PM)
https://cwiki.apache.org/confluence/display/labs/IO+operations

Data structure edited by  elecharny  (10:30 AM)
https://cwiki.apache.org/confluence/display/labs/Data+structure

Mavibot edited by  elecharny  (10:29 AM)
https://cwiki.apache.org/confluence/display/labs/Mavibot



Apache Mahout (https://cwiki.apache.org/confluence/display/MAHOUT)

Pages
-
lda-commandline edited by  corey.hylles...@gmail.com  (03:23 PM)
https://cwiki.apache.org/confluence/display/MAHOUT/lda-commandline



Apache ActiveMQ NMS (https://cwiki.apache.org/confluence/display/NMS)

Pages
-
NMS API edited by  tabish121  (07:30 PM)
https://cwiki.apache.org/confluence/display/NMS/NMS+API



OODT (https://cwiki.apache.org/confluence/display/OODT)

Pages
-
XMLPS Quick Start Guide edited by  mjoyce  (01:16 PM)
https://cwiki.apache.org/confluence/display/OODT/XMLPS+Quick+Start+Guide



Apache OpenOffice Community 
(https://cwiki.apache.org/confluence/display/OOOUSERS)

Pages
-
Product Logo Use created by robweir (07:33 PM)
https://cwiki.apache.org/confluence/display/OOOUSERS/Product+Logo+Use



Apache Sling (https://cwiki.apache.org/confl

svn commit: r1492077 - in /struts/struts2/trunk/plugins/junit/src/test: java/org/apache/struts2/convention/StrutsJUnit4ConventionTestCaseTest.java resources/struts-convention-configuration.xml resourc

2013-06-11 Thread lukaszlenart
Author: lukaszlenart
Date: Wed Jun 12 06:48:53 2013
New Revision: 1492077

URL: http://svn.apache.org/r1492077
Log:
Simplifies example a bit and uses FreeMarker template to check response

Added:
struts/struts2/trunk/plugins/junit/src/test/resources/view-success.ftl
  - copied, changed from r1490143, 
struts/struts2/trunk/plugins/junit/src/test/resources/view-success.jsp
Removed:
struts/struts2/trunk/plugins/junit/src/test/resources/view-success.jsp
Modified:

struts/struts2/trunk/plugins/junit/src/test/java/org/apache/struts2/convention/StrutsJUnit4ConventionTestCaseTest.java

struts/struts2/trunk/plugins/junit/src/test/resources/struts-convention-configuration.xml

Modified: 
struts/struts2/trunk/plugins/junit/src/test/java/org/apache/struts2/convention/StrutsJUnit4ConventionTestCaseTest.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/junit/src/test/java/org/apache/struts2/convention/StrutsJUnit4ConventionTestCaseTest.java?rev=1492077&r1=1492076&r2=1492077&view=diff
==
--- 
struts/struts2/trunk/plugins/junit/src/test/java/org/apache/struts2/convention/StrutsJUnit4ConventionTestCaseTest.java
 (original)
+++ 
struts/struts2/trunk/plugins/junit/src/test/java/org/apache/struts2/convention/StrutsJUnit4ConventionTestCaseTest.java
 Wed Jun 12 06:48:53 2013
@@ -22,25 +22,34 @@ package org.apache.struts2.convention;
 
 import actions.ViewAction;
 import org.apache.struts2.StrutsJUnit4TestCase;
-import org.junit.Assert;
 import org.junit.Test;
 
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
+
 /**
  * Uses the convention plugin to execute actions
  */
-public class StrutsJUnit4ConventionTestCaseTest extends 
StrutsJUnit4TestCase{
+public class StrutsJUnit4ConventionTestCaseTest extends 
StrutsJUnit4TestCase {
+
 @Test
 public void testConventionUrl() throws Exception {
-// TODO: Currently output is empty
+// Output is filled out only for FreeMarker and Velocity templates
+// If you wanna use JSP check response.getForwardedUrl()
 String output = executeAction("/view.action");
 
+assertTrue(output.contains("This is the view Hello World"));
+
 ViewAction action = this.getAction();
-Assert.assertEquals("Hello World", action.getMessage());
+assertEquals("Hello World", action.getMessage());
 }
 
 @Override
 protected String getConfigPath() {
-return "struts-convention-configuration.xml";
+// struts-plugin.xml will load configuration from the Convention and 
Spring plugin
+// struts-convention-configuration.xml overrides some settings from 
plugin to allow work in limited environment
+return "struts-plugin.xml,struts-convention-configuration.xml";
 }
+
 }
 

Modified: 
struts/struts2/trunk/plugins/junit/src/test/resources/struts-convention-configuration.xml
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/junit/src/test/resources/struts-convention-configuration.xml?rev=1492077&r1=1492076&r2=1492077&view=diff
==
--- 
struts/struts2/trunk/plugins/junit/src/test/resources/struts-convention-configuration.xml
 (original)
+++ 
struts/struts2/trunk/plugins/junit/src/test/resources/struts-convention-configuration.xml
 Wed Jun 12 06:48:53 2013
@@ -23,51 +23,18 @@
 -->
 
 http://struts.apache.org/dtds/struts-2.3.dtd";>
+"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
+"http://struts.apache.org/dtds/struts-2.3.dtd";>
 
 
-  
 
-  
-  
-  
-  
-  
-
-  
-  
-
-  
-  
-  
-  
-  
-
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
+
+
 
-  
+
+
 
-  
+
+
 
-  
-  
 

Copied: struts/struts2/trunk/plugins/junit/src/test/resources/view-success.ftl 
(from r1490143, 
struts/struts2/trunk/plugins/junit/src/test/resources/view-success.jsp)
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/junit/src/test/resources/view-success.ftl?p2=struts/struts2/trunk/plugins/junit/src/test/resources/view-success.ftl&p1=struts/struts2/trunk/plugins/junit/src/test/resources/view-success.jsp&r1=1490143&r2=1492077&rev=1492077&view=diff
==
--- struts/struts2/trunk/plugins/junit/src/test/resources/view-success.jsp 
(original)
+++ struts/struts2/trunk/plugins/junit/src/test/resources/view-success.ftl Wed 
Jun 12 06:48:53 2013
@@ -20,6 +20,6 @@
   --%>
 
 
-This is the view
+This is the view ${message}
 
 
\ No newline at end of file