Commit Graph

21585 Commits

Author SHA1 Message Date
Joakim Erdfelt 3dbedd8347
Issue #5264 - Fixing OSGi symbolic name references
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-23 18:52:37 -05:00
Joakim Erdfelt 73fe2ecfe8
Issue #5264 - Fixing demo-async-rest module reference
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-23 18:52:04 -05:00
Joakim Erdfelt 32875aa564
Issue #5264 - Fixing OSGi tests
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-23 17:56:58 -05:00
Joakim Erdfelt b56733915b
Issue #5264 - identifying optional deps in jetty-home
+ Done to ease dependency / exclusions listing requirements
   elsewhere in the reactor.
   (Prevents accidental discovered components from
    triggering actions during use of jetty-home
    as a dependency)

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-23 17:50:50 -05:00
Joakim Erdfelt 0f3c41c3ee
Issue #5264 - making embedded examples more reliable
+ Discovering ${jetty.version} better
+ Creating ${jetty.base}/logs/ on JettyDemoBase usage

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-23 17:43:36 -05:00
Joakim Erdfelt 5d73b42fb3
Issue #5264 -Fixing name
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-23 17:42:34 -05:00
Joakim Erdfelt 23b6eca489
Issue #5264 - More javadoc skippedModules
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-23 17:04:04 -05:00
Joakim Erdfelt 9a2d6cd597
Issue #5264 - Adding HostHeaderCustomizer to H2/H2C Transport tests
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-23 17:03:44 -05:00
Joakim Erdfelt 413eb4ccfe
Issue #5264 - Javadoc processing excludes for demos
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-23 16:44:34 -05:00
Joakim Erdfelt c9be742d70
Issue #5264 - Fixing test-integration references to demos
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-23 16:44:17 -05:00
Joakim Erdfelt 09d159d038
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-10.0.x-5264-demo-modules 2020-09-23 15:38:49 -05:00
Joakim Erdfelt ad805d4756
Issue #5264 - More post move to /demos/ updates
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-23 15:38:34 -05:00
Joakim Erdfelt f7cf41109b
Issue #5264 - Fixing jetty-maven-plugin exclusions for demos
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-23 15:29:25 -05:00
Joakim Erdfelt d4556e476f
Issue #5264 - Work around junit-vintage flappy test error
+ ApacheDS has old school testing lib which doesn't
  play nice with surefire.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-23 15:06:35 -05:00
Joakim Erdfelt bdf30ba437
Issue #5264 - Adding demo.mod support to embedded examples tests
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-23 14:56:53 -05:00
Greg Wilkins c26eef418c handle erroneous and jakartaee coordinates for web-app_4_0.xsd
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2020-09-23 21:53:22 +02:00
Joakim Erdfelt 1feb60bb2c
Issue #5264 - Updating Configure DTD to 10_0 for Demos
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-23 13:52:30 -05:00
Joakim Erdfelt 934a95b8ef
Issue #5264 - Updating embedded JettyDistro to JettyHome
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-23 13:38:38 -05:00
Joakim Erdfelt faf6d80390
Issue #5264 - Moving demo webapps to /demos/ tree
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-23 13:35:19 -05:00
Chris Walker 70c8822eef
Updated module descriptions for consistency. Resolves #5313 2020-09-23 13:10:47 -05:00
Greg Wilkins 5654437cc9 demo-jaas does not depend on demo-jndi
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2020-09-23 19:31:24 +02:00
Chris Walker ba0655806f
Updated Architecture with existing information 2020-09-23 12:19:58 -05:00
Greg Wilkins 5332f3f685 demo-jaas depends on jaas
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2020-09-23 19:10:42 +02:00
Greg Wilkins 55f1046c81 Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-10.0.x-5264-demo-modules 2020-09-23 18:48:17 +02:00
Joakim Erdfelt ccec28e7d4
Issue #5317 - Remove jetty-all from Jetty 10
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-23 10:35:50 -05:00
Simone Bordet 7fe9fe5dea Fixes #5316 - Review <Map> element in Jetty XML.
Added class attribute and element to Map.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-09-23 17:01:06 +02:00
Jan Bartel 90e61eb07f Merge branch 'jetty-10.0.x' of github.com:eclipse/jetty.project into jetty-10.0.x 2020-09-23 16:20:21 +02:00
Jan Bartel 317d001803 Update session programming docs
Signed-off-by: Jan Bartel <janb@webtide.com>
2020-09-23 16:20:09 +02:00
Greg Wilkins eedcac314b Merge branch 'jetty-10.0.x' into jetty-10.0.x-5264-demo-modules 2020-09-23 15:27:56 +02:00
Greg Wilkins 0ac34ff2b8
Issue #5304 HTTP2 HostHeader (#5307)
* Issue #5304 HTTP2 HostHeader

Updated HostHeaderCustomizer to actually add the Host header, either from values passed in the custructor or from the getServerName and getServerPort methods.

The HttpURI is no longer updated.

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

* Issue #5304 HTTP2 HostHeader

 + Found and fixed bug in HttpFields
 + Added port normalization support to HttpScheme
 + added test

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

* blank line

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

* Issue #5304 HTTP2 HostHeader

 + refixed bug in HttpFields

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

* Issue #5304 HTTP2 HostHeader

 + still fixing HttpFields bug

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

* Issue #5304 HTTP2 Host Header

updates from review
2020-09-23 15:05:52 +02:00
Joakim Erdfelt 797b267e36
Issue #5264 - Removing unused variable
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-23 07:02:52 -05:00
Joakim Erdfelt 9d432599b6
Issue #5264 - Removing 12 hour expired test (too time of day sensitive)
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-23 07:01:16 -05:00
Simone Bordet 5a00eba2dd Improvements to the Jetty documentation.
Moved the session documentation from old_docs/.
Fixed xrefs and links.
Fixed heading levels to match the new structure.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-09-23 11:45:06 +02:00
olivier lamy 6c2a44ed54 Merge branch 'jetty-9.4.x' into jetty-10.0.x 2020-09-23 17:25:40 +10:00
olivier lamy 730a442499 use last jacoco plugin version
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-09-23 17:20:12 +10:00
olivier lamy a2cd9b3a50 fix maven plugin starting distribution as jetty home has different name, configure invoker plugin to be faster when running locally
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-09-23 17:18:22 +10:00
Joakim Erdfelt c16b8f3a61
Fixing ResourceCollection exists() and getInputStream()
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-22 14:10:49 -05:00
Simone Bordet 35305b6a5c Improvements to the Jetty documentation.
Reworked the start documentation.

Started skeleton of the operations guide.
Removed old_docs/deploying/hot-deployment.adoc and
old_docs/gettingstarted/getting-started/jetty-deployment.adoc,
since its content has been moved to the refactored documentation.

Restructured the skeleton of the operations guide.
Removed old_docs/deploying/anatomy-of-a-webapp.adoc,
since its content has been moved to the refactored documentation.

Removed old_docs/deploying/automatic-webapp-deployment.adoc,
since its content has been moved to the refactored documentation.

Removed old_docs/deploying/configuring-virtual-hosts.adoc,
since its content has been moved to the refactored documentation.

Removed old_docs/contexts/serving-webapps-from-particular-port.adoc
and example-jetty-embedded/src/main/resource/jetty-otherserver.xml,
since its content has been moved to the refactored documentation.

Simplified POMs.
Simplified index.adoc files, refactoring common things into config.adoc.

Expanded the deploy configuration documentation.
Expanded the protocols configuration documentation.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-09-22 19:28:43 +02:00
Joakim Erdfelt dc6bee5c96
Merge branch 'jetty-10.0.x-5133-webappcontext-extraclasspath-cleanup' into jetty-10.0.x 2020-09-22 12:24:42 -05:00
Joakim Erdfelt 33286db44b
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-10.0.x-5133-webappcontext-extraclasspath-cleanup 2020-09-22 12:24:01 -05:00
Joakim Erdfelt 63736990c5
Issue #5264 - Changing Distro to Home in jetty-maven-plugin
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-22 11:35:15 -05:00
Jan Bartel 1a9c68c905
Issue #4430 Quickstart duplicate servlets,filters,listeners from context xml (#5311)
Signed-off-by: Jan Bartel <janb@webtide.com>
2020-09-22 18:24:35 +02:00
Greg Wilkins 592dfb85fc
Issue #5263 Jetty Home warning (#5309)
* Issue #5264 Jetty Home warning

Warn when using jetty home as a jetty base

* Issue #5304 HTTP2 HostHeader

 + updated more options doco and handling

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

* Issue #5264 Jetty Home warning

updates from review
2020-09-22 18:23:44 +02:00
Jan Bartel 12943822f5 Merge branch 'jetty-10.0.x' of github.com:eclipse/jetty.project into jetty-10.0.x 2020-09-22 18:14:20 +02:00
Jan Bartel 53eaa378e3 Updates to session docs.
Signed-off-by: Jan Bartel <janb@webtide.com>
2020-09-22 18:14:09 +02:00
Joakim Erdfelt b3f47954cf
Fixing build
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-22 09:53:59 -05:00
Joakim Erdfelt be07e84cd7
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x 2020-09-22 09:15:59 -05:00
Joakim Erdfelt bdad9a54e3
Merge branch 'jetty-9.4.x-5137-webappcontext-test-cleanup' into jetty-9.4.x 2020-09-22 08:48:16 -05:00
Joakim Erdfelt a99a832206
Issue #5137 - Cleanup of WebAppContextTest
+ Cleanup of test-servlet-spec webapp
+ Removing unused methods
+ Commented System.err.println moved to java.util.logging
+ General checkstyle cleanup (empty lines, spacing, etc)
+ Eliminate bogus WebApp LIB ordering tests.
+ No ClassLoader has a order guarantee.
+ Moving HttpSessionListenerTest contents to existing SessionListenerTest
+ Cleanup of SessionListenerTest with eye to resource cleanup
+ Removing ServletContextListenerTest as it duplicates tests
+ Restoring WebAppClassLoaderTest test method
+ `ordering()` is now `testClashingResource()` and properly
  tests assumptions when dealing with a ClassLoader.
  The old test assumed guaranteed order from a ClassLoader,
  which is not a feature of any Java ClassLoader.
  Especially so for URLClassLoader.
+ Restoring clashing resource test

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-22 08:46:11 -05:00
Joakim Erdfelt 0f9c188c63
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x 2020-09-22 08:43:12 -05:00