This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git.
from 845ab41 Add tests for java configuration
add 1c0976a WW-4874 Introduces Servlet3 plugin by adding support for
async action methods
add eaed709 WW-4874 Refactors technology name, servlet3, to asset name,
async
add 4ac287a WW-4874 Adds unit tests
add e65d77b WW-4874 Updates parent version
add fb8f139 WW-4874 Renames local variable inv to invocation
add bffa47a define constant for timeout result
add 8251dd8 decrease log level for timeout
add b0270eb add async plugin to dependency management
add aee171c add showcase for async plugin
add dc645be Merge branch 'master' into WW-4874
new c41a016 Merge pull request #179 from yasserzamani/WW-4874
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
apps/showcase/pom.xml | 5 +
.../apache/struts2/showcase/async/AsyncFilter.java | 53 ++++++++
.../struts2/showcase/async/ChatRoomAction.java | 68 ++++++++++
.../{struts-tiles.xml => struts-async.xml} | 33 +++--
apps/showcase/src/main/resources/struts.xml | 2 +
.../src/main/webapp/WEB-INF/decorators/main.jsp | 1 +
apps/showcase/src/main/webapp/WEB-INF/web.xml | 25 +++-
apps/showcase/src/main/webapp/async/index.html | 119 ++++++++++++++++
.../{ActionTagExampleTest.java => AsyncTest.java} | 15 ++-
.../com/opensymphony/xwork2/AsyncManager.java} | 25 ++--
.../xwork2/DefaultActionInvocation.java | 91 ++++++++-----
.../org/apache/struts2/dispatcher/Dispatcher.java | 12 +-
.../struts2/dispatcher/PrepareOperations.java | 9 +-
.../xwork2/DefaultActionInvocationTest.java | 90 +++++++++++++
.../apache/struts2/dispatcher/DispatcherTest.java | 30 +++++
.../struts2/dispatcher/PrepareOperationsTest.java | 35 +++--
plugins/{bean-validation => async}/pom.xml | 34 +++--
.../java/org/apache/struts2/async/AsyncAction.java | 71 ++++++++++
.../apache/struts2/async/DefaultAsyncManager.java | 149 +++++++++++++++++++++
.../async/src/main/resources/struts-plugin.xml | 10 +-
.../struts2/async/DefaultAsyncManagerTest.java | 113 ++++++++++++++++
plugins/pom.xml | 1 +
pom.xml | 5 +
23 files changed, 870 insertions(+), 126 deletions(-)
create mode 100644
apps/showcase/src/main/java/org/apache/struts2/showcase/async/AsyncFilter.java
create mode 100644
apps/showcase/src/main/java/org/apache/struts2/showcase/async/ChatRoomAction.java
copy apps/showcase/src/main/resources/{struts-tiles.xml => struts-async.xml}
(56%)
create mode 100644 apps/showcase/src/main/webapp/async/index.html
copy
apps/showcase/src/test/java/it/org/apache/struts2/showcase/{ActionTagExampleTest.java
=> AsyncTest.java} (75%)
copy core/src/{test/java/com/opensymphony/xwork2/SimpleFooAction.java =>
main/java/com/opensymphony/xwork2/AsyncManager.java} (66%)
copy
plugins/javatemplates/src/main/java/org/apache/struts2/views/java/simple/HeadHandler.java
=> core/src/test/java/org/apache/struts2/dispatcher/PrepareOperationsTest.java
(52%)
copy plugins/{bean-validation => async}/pom.xml (73%)
create mode 100644
plugins/async/src/main/java/org/apache/struts2/async/AsyncAction.java
create mode 100644
plugins/async/src/main/java/org/apache/struts2/async/DefaultAsyncManager.java
copy core/src/test/resources/struts-object-factory-result-builder.xml =>
plugins/async/src/main/resources/struts-plugin.xml (78%)
create mode 100644
plugins/async/src/test/java/org/apache/struts2/async/DefaultAsyncManagerTest.java
--
To stop receiving notification emails like this one, please contact
[email protected].