Commit Graph

685 Commits

Author SHA1 Message Date
Joakim Erdfelt c0f8a46c35
Merge branch 'jetty-9.4.x' into jetty-10.0.x
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>

# Conflicts:
#	jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyRunDistro.java
2019-12-02 15:29:30 -06:00
Mat Booth c9a65c4676 Allow building against newest version of maven-artifact-transfer (#4381)
In later versions of maven-artifact-transfer the package names have
been refactored, this change accomodates for that.

Signed-off-by: Mat Booth <mat.booth@redhat.com>
2019-12-03 07:08:01 +10:00
Jan Bartel 02bb5affd9 Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-11-27 15:32:04 +11:00
Jan Bartel c440a3f972
Issue #4363 Restore contextXml config for jetty maven plugin (#4367)
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-11-27 14:56:59 +11:00
Joakim Erdfelt 0f7a3b2d91 Updating to version 9.4.25-SNAPSHOT 2019-11-20 16:08:38 -06:00
Joakim Erdfelt 363d5f2df3 Updating to version 9.4.24.v20191120 2019-11-20 15:25:01 -06:00
Joakim Erdfelt 453d41940b Updating to version 9.4.24-SNAPSHOT 2019-11-18 13:52:51 -06:00
Joakim Erdfelt abbccc65d6 Updating to version 9.4.23.v20191118 2019-11-18 13:09:44 -06:00
Jan Bartel 3b891ba137 Issue #1743 Fix merge of PR4242
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-11-18 10:34:39 +11:00
Jan Bartel f2c0d86de5 Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-10.0.x-1743-refactor-maven-plugin-redux 2019-11-18 10:05:50 +11:00
Jan Bartel 4523c8e7fa Issue #1743 Checkstyle warning
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-11-18 09:35:29 +11:00
Greg Wilkins 46a3368f3b
Issue #2578 - Listener behavior cleanup (Jetty 10.0.x) (#3966)
* Avoid creating listener list for rarely used requestAttributeListener

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #3964

Keep a list of EventListeners in the AbstractConnector to make it
more efficient to add and iterate over them.

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #2578 EventListener

Use addEventListener rather than bespoke listener methods.
Support getEventListenerBeans at Container level for fast lookup
improve javadoc

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #2578 EventListener

fixed test
more javadoc

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #2578 EventListener

fixed tests

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #3964

Don't use null for empty lists of listeners

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* fix merge

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #2578 EventListener

Resolve differences between eventListeners added as beans and beans
added as EventListeners.   The behaviour should now be the same
regardless of how they listener is added and all listeners are now
beans.

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #2578 EventListener

Add only SelectorManager listeners to manager from connector

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #2578 EventListener

Fixed javadoc

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #2578 EventListener

removed old TODO

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #2578 EventListener

connector cannot be null

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #2578 EventListener

javadoc

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #3964

AbstractConnector keeps a specific list of HttpChannel.Listeners
to avoid Connection.Listeners and MBean listeners being added to
the HttpChannel listener list.

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #2578 EventListener

fixed merge

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* fixed javadoc

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #2578 EventListener

removed the ability to set/clear context listeners
Instead just remove non-durable ones.

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #3964 Listeners

Simplified listener handling by avoiding null connector, previously
only needed for testing.

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* fixed bad merge

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #3964 Listeners

Fixed test that assumed HttpChannel listeners were not cleared by a recycle

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #3964 Listeners

Separated out durable vs cyclic HttpChannel.Listeners, so as to
simplify handling.

Deprecated cyclic HttpChannel.Listeners, as I'm not sure the channel is
the right place for them.

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* removed deprecated cyclic HttpChannel listeners

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* removed deprecated cyclic HttpChannel listeners - import

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #4003 Cleanup quickstart

* Fixed tests that scan for "Started" on console

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* updates from review

Signed-off-by: Greg Wilkins <gregw@webtide.com>
2019-11-13 11:04:38 +11:00
Simone Bordet b1d231b9e7 Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'. 2019-11-11 16:45:12 +01:00
Jan Bartel 04bc4c786e Issue #1743 Rename JettyWebAppContext to MavenWebAppContext
Checkstyle fixes

Signed-off-by: Jan Bartel <janb@webtide.com>
2019-11-11 17:21:04 +11:00
Jan Bartel c50cc856a8 Issue #1743 Remove dup call of configureUnassembledWebApp
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-11-11 16:44:12 +11:00
Jan Bartel 084345fb9a Issue #1743 Update doco.
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-11-11 15:46:42 +11:00
Lachlan c336616c96
Issue #2709 - reduce default headerCacheSize to 1024 (#4292)
make headerCacheSize on HttpReceiverOverHTTP configurable

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2019-11-08 21:57:49 +11:00
Jan Bartel 79c2b819c7 Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-10.0.x-1743-refactor-maven-plugin-redux
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-11-06 16:49:35 +11:00
Jan Bartel f55fbdb7eb Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x 2019-11-06 16:09:02 +11:00
Jan Bartel aefbdfca58
Issue #2266 Rework Scanner and use it for Jetty Maven Plugin (#4239)
* Issue #2266 Rework Scanner and use it for Jetty Maven Plugin

Signed-off-by: Jan Bartel <janb@webtide.com>
2019-11-06 15:55:20 +11:00
Jan Bartel 9f0cb2e30b Issue #1743 Refactor to avoid always calling configureUnassembledWebApp
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-11-06 15:40:03 +11:00
Jan Bartel 335f07f71e Issue #1743 Refactor to make unassembled webapp params clearer.
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-11-06 12:23:00 +11:00
Jan Bartel ee7f860a2e Issue #1743 Field and method names; remove scanTargets
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-11-06 11:30:47 +11:00
Jan Bartel d3153f3277 Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-10.0.x-1743-refactor-maven-plugin-redux
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-10-29 13:51:05 +11:00
Jan Bartel 7cb238db25 Issue #1743 Extra tests and code cleanups
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-10-24 08:41:57 +11:00
Joakim Erdfelt 1ed13b6b30 Updating to version 9.4.23-SNAPSHOT 2019-10-22 09:19:41 -05:00
Joakim Erdfelt b1e6b55512 Updating to version 9.4.22.v20191022 2019-10-22 08:20:50 -05:00
Jan Bartel e9847f6a1a Issue #1743 javadoc fixes
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-10-16 11:56:52 +11:00
Joakim Erdfelt d7a189fa18 Updating to version 10.0.0-SNAPSHOT 2019-10-03 12:05:26 -05:00
Joakim Erdfelt fd6a2cb9f6 Updating to version 10.0.0.alpha1 2019-10-03 11:25:06 -05:00
Jan Bartel c040614849 Issue #1743 add another unit test
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-10-02 18:05:23 +10:00
Jan Bartel 262759f899 Issue #1743 More refactoring and code tidying
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-10-02 17:16:18 +10:00
Jan Bartel 91631fd44b Issue #1743 Refactor some methods and classes
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-10-02 11:45:12 +10:00
Jan Bartel 2ef7160418 Issue #1743 Ensure tests stop jetty
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-10-01 11:29:00 +10:00
Jan Bartel 655fa24bfc Issue #1743 add tests; checkstyle 2019-09-30 18:33:37 +10:00
Jan Bartel c50c70ac02 Issue #1743 Support both unit and integration tests
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-09-30 11:52:44 +10:00
Joakim Erdfelt 7807eafad9 Updating to version 9.4.22-SNAPSHOT 2019-09-26 10:46:28 -05:00
Joakim Erdfelt 72970db61a Updating to version 9.4.21.v20190926 2019-09-26 09:59:15 -05:00
Jan Bartel 747315d3dc Issue #1743 WIP add unit test; stopOnShutdown
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-09-25 12:43:51 +10:00
Jan Bartel 557cd83713 Issue #1743 Rename mojos.
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-09-24 17:07:03 +10:00
Jan Bartel e865cc3fd8 Issue #1743 WIP system properties; remove old code
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-09-24 16:37:48 +10:00
Jan Bartel 08790a45a4 Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-10.0.x-1743-refactor-maven-plugin-redux
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-09-24 14:21:36 +10:00
Jan Bartel ba74af34c9 Issue #1743 WIP tests
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-09-19 16:30:19 +10:00
Jan Bartel a600a58f1c Issue #1743 WIP tests
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-09-19 10:31:46 +10:00
Jan Bartel 456e467bcb Issue #1743 WIP tests
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-09-19 10:30:20 +10:00
Jan Bartel 881f17c6be Issue #1743 WIP tests
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-09-19 09:00:03 +10:00
Jan Bartel d029ae4dab Issue #1743 WIP tests
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-09-19 08:20:57 +10:00
Jan Bartel be066959e3 Issue #1743 WIP tests
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-09-19 08:14:40 +10:00
Jan Bartel 733118687c Issue #1743 WIP tests
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-09-19 07:43:33 +10:00
Jan Bartel 61af550a56 Issue #1743 WIP tests
Signed-off-by: Jan Bartel <janb@webtide.com>
2019-09-19 07:35:39 +10:00