Verifies the integrety of the projects, as builds are executed immediately after a code change was detected. This plan provides no artifiacts (use a nightly build instead).

Build: #1298 was successful Changes by Dave Cridland <dave@cridland.net>

Build result summary

Details

Completed
Queue duration
< 1 second
Duration
2 minutes
Labels
None
Agent
Default Agent
Revision
e72af6b2bbb86d6d6c194708a65af6d01fd0b7b3
Total tests
199
Successful since
#1153 ()

Tests

Code commits

Author Commit Message Commit date
Dave Cridland <dave@cridland.net> Dave Cridland <dave@cridland.net> e72af6b2bbb86d6d6c194708a65af6d01fd0b7b3 Merge pull request #798 from guusdk/OF-1326_BOSH-context-sharing
OF-1326: Improve sharing of the BOSH context
Guus der Kinderen Guus der Kinderen 2968ce4950ba874d467dd20323d44753d217914a m OF-546 / OF-1326: Made compatible with API changes.
The Openfire plugin developer guide states that 'additinal' files should be in /classes/. Apparently, the old Ant script also included any files in the /src/. The new Maven structure does not.
To work around compatibility issues, code that was in /src/ is now moved to /classes/. This should work with both Ant, as well as Maven.

Additionally, this plugin now makes use of the new HttpBindManager API for registering contexts with the BOSH context. I do wonder if this plugin has any reason to be here though. Can't it just run its own embedded Jetty server?
Guus der Kinderen Guus der Kinderen d2b3b491469cf8c2e5704ef1b16455ae2b576d31 m OF-1326: Made compatible with HttpBind API changes.
Guus der Kinderen Guus der Kinderen a0049776f22ccc4fa0443e6e812cedd0353a62f0 m OF-1326: Improve sharing of the BOSH context
Intead of using a parent context, a collection of Jetty handlers can be used to dynamically add/remove functionality to the BOSH context.

This commit replaces the parent context instance with a ordered list of handlers, which will attempt to process a request by:

1. Checking if this is a BOSH request
2. Checking if this is a request for BOSH metadata
3. Check if an extension was provided that can handle the request
4. Try to serve static content as a last resort.

In step 3, a collection of handlers is used, that can be modified at runtime. This allows plugins to register/remove handlers.

The entire collection of handlers (1 to 4) is maintained with a lifecycle that's different from the embedded Jetty server that uses them. This
allows the collection to survive a server reconfiguration, as well as act independent of the 'enabled' state of the BOSH service.

Jira issues

IssueDescriptionStatus
Unknown Issue TypeOF-546Could not obtain issue details from Jira
Unknown Issue TypeOF-1326Could not obtain issue details from Jira