Commit Graph

30029 Commits

Author SHA1 Message Date
Greg Wilkins 718c6fce51
Content.Source from methods (#11949)
Introduce Content.Source.from methods
These isolate code from specific implementations (which could even be made internal)
2024-06-25 12:32:29 +10:00
gregw 9a9ef89cb4 Fix flaky test 2024-06-25 12:01:17 +10:00
Joakim Erdfelt 930ebc4b31
Merge pull request #11945 from jetty/fix/12.0.x/multipart-part-delete-existence-check
Issue #11944 - Part.delete() should only attempt to delete if the file exists
2024-06-24 07:23:48 -05:00
Lachlan 865b72688a
Merge pull request #11948 from jetty/fix/12.0.x/11941/distribution-test-logs
Issue #11941 - reduce logs for DistributionTests
2024-06-24 15:39:20 +10:00
Lachlan Roberts af0902fdcf Issue #11906 - change default of useFilesForPartsWithoutFileName to true
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-06-24 15:36:17 +10:00
Lachlan Roberts c845b553fb Issue #11906 - changes from review
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-06-24 15:32:13 +10:00
Greg Wilkins 4f4bec0624
ByteChannelContentSource (#11910)
Introduces a ByteChannelContentSource which is needed for the spring framework integration.

It also introduces a few minor utilities:

a ByteBufferPool.Sized class that is a ByteBufferPool.Wrapper with a configured size and type so a no args acquire() method can be called. This avoid the need to many classes to have a three fields: pool, size and direct and also can avoid constructors/methods with size and direct
an ExceptionUtil.run(Runnable, Consumer<Throwable> failure) that is a simple try catch and avoids many private methods being created to do just that.
2024-06-24 14:35:23 +10:00
Lachlan Roberts b98c070b0d Issue #11941 - reduce logs for DistributionTests
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-06-24 13:08:38 +10:00
Lachlan Roberts c7249c7156 Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.0.x-coreMultiPart 2024-06-24 12:44:22 +10:00
Lachlan Roberts 9de9a487e1 PR #11906 - changes from review
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-06-24 12:43:55 +10:00
Lachlan Roberts 4a33439a8f PR #11906 - changes from review
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-06-24 11:48:11 +10:00
Joakim Erdfelt 82faaee276
Merge remote-tracking branch 'origin/jetty-12.0.x' into fix/12.0.x/multipart-part-delete-existence-check 2024-06-21 15:41:56 -05:00
Joakim Erdfelt 99faa7a9a6
Fixing FileIDTest 2024-06-21 15:26:00 -05:00
Joakim Erdfelt 9f077aaeb3
Issue #11944 - Part.delete() should only attempt to delete if the file exists. 2024-06-21 13:40:06 -05:00
Joakim Erdfelt b15cfd125d
Update URLs for new jetty locations 2024-06-21 13:33:46 -05:00
Joakim Erdfelt aac0353092
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2024-06-21 13:30:06 -05:00
Joakim Erdfelt ee2a0f37e2
Merge pull request #11940 from jetty/fix/12.0.x/ee90-servlet-test-warnings
Fix warnings during jetty-ee9-servlet tests
2024-06-21 12:58:36 -05:00
Joakim Erdfelt 6a05c92d59
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2024-06-21 11:43:38 -05:00
Joakim Erdfelt 91d5e3355a
Update URLs for new jetty locations 2024-06-21 11:41:01 -05:00
Joakim Erdfelt 3d7f6d8dc5
Update URLs for new jetty locations 2024-06-21 11:38:22 -05:00
Joakim Erdfelt aa723a2cdc
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2024-06-21 07:00:39 -05:00
Jan Bartel 8a0c4da385
Issue #11942 Update PoweredBy to reference new jetty.org site (#11943) 2024-06-21 04:33:15 +02:00
Joakim Erdfelt 23aecbe3a8
Fix warnings during jetty-ee9-servlet tests 2024-06-20 14:38:15 -05:00
Joakim Erdfelt d854cc42d2
Merge pull request #11939 from jetty/fix/10.0.x/update-url-refs-jetty.org
[10.0.x] Updating URL refs to jetty.org
2024-06-20 17:16:25 +00:00
Joakim Erdfelt 5927b62793
Fixing maven pom spotless error 2024-06-20 10:13:54 -05:00
Joakim Erdfelt 5bbd012d60
Update github URL references to new location 2024-06-20 10:00:56 -05:00
Joakim Erdfelt 35903ae262
Update github URL references to new location 2024-06-20 09:43:05 -05:00
Joakim Erdfelt 6bebb2ddd2
Update URL references to jetty.org 2024-06-20 09:41:42 -05:00
Joakim Erdfelt 73f28b4ab0
Update XML entity refs to support jetty.org too. 2024-06-20 09:32:47 -05:00
Jan Bartel fd263c727d
Jetty 12.0.x object identity ee8 and ee9 (#11888)
* Fix for ee8/9 object identity
2024-06-20 07:53:53 +02:00
Lachlan Roberts 65fa7afc77 PR #11906 - changes from review
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-06-20 12:40:21 +10:00
Joakim Erdfelt 422d73da38
Merge pull request #11886 from jetty/fix/12.0.x/cross-context-testing-2
Initial work for Cross Context Dispatch testing suite
2024-06-19 17:38:04 +00:00
Joakim Erdfelt 9db54aabb7
Merge pull request #11927 from jetty/fix/12.0.x/ee9-defaultservlettest-update
Cleanup ee9 DefaultServletTest
2024-06-19 16:58:02 +00:00
Joakim Erdfelt 4f72b84c59
Cleanup ee9 DefaultServletTest
+ Fix various warnings
+ Disable ODD_JAR / extraClassPath (temporarily)
+ Reenable disabled test Test
+ Reenable disabled test testListingContextBreakout
2024-06-19 10:21:48 -05:00
Joakim Erdfelt 7011827a8a
Introduce Cross Context Dispatch testing 2024-06-19 10:13:06 -05:00
Jan Bartel 6ee17f002c
Issue #11847 implement environment context xml (#11859)
* Issue #11847 implement environment context xml
2024-06-19 09:36:06 +02:00
Lachlan Roberts 0fe432bc49 PR #11906 - changes from review
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-06-19 12:07:39 +10:00
Greg Wilkins 95059356c9
Fix contains in HttpFields name set and prove random access to HttpFields via EnumMap not worth it. (#11846)
Fix #11811 with javadoc and  benchmark
2024-06-19 09:32:49 +10:00
Joakim Erdfelt d764ed92c7
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-10.0.x 2024-06-18 13:06:44 -05:00
Joakim Erdfelt 7ad92b4af9
Add missing issue on version 10.0.18 2024-06-18 13:06:36 -05:00
Ludovic Orban 9546b3ab49
Fix missing notifyRemoteAsyncErrors http config wiring (#11897)
Fixed missing notifyRemoteAsyncErrors http config wiring and add tests

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-06-18 20:00:04 +02:00
Lachlan 745cba4a6a
Merge pull request #11907 from jetty/jetty-12.0.x-openid
Fix openid.mod files for Jetty 12
2024-06-18 15:58:46 +10:00
Lachlan Roberts 6661eea1ee PR #11906 - fix to MultiPartCaptureTest
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-06-17 13:49:58 +10:00
Lachlan Roberts 3dcf266cf8 PR #11906 - changes from review
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-06-17 13:37:50 +10:00
Jan Bartel 619c539af3
Issue #11911 Fix documentation example for Request.getHttpUri (#11916)
* Issue #11911 Fix documentation example for Request.getHttpUri
2024-06-14 11:18:31 +02:00
Greg Wilkins d34556749f
Simplified Reactive Stream update for ContentSourcePublisher (#11849)
* Issue #11803 - Follow Reactive Streams specification
* Simplification of #11804 for Reactive Stream specification support

---------

Co-authored-by: Artem Golovko <artemgolovko98@gmail.com>
Co-authored-by: Olivier Lamy <olamy@apache.org>
2024-06-14 08:31:46 +10:00
Joakim Erdfelt 3ec84034a6
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2024-06-13 15:03:55 -05:00
Joakim Erdfelt 18613f3f2b
Merge pull request #11920 from jetty/dependabot/maven/jetty-10.0.x/dev-dependencies-5778da2a6c
[10.0.x] Bump the dev-dependencies group across 1 directory with 12 updates
2024-06-13 20:01:37 +00:00
dependabot[bot] d64389de22
[10.0.x] Bump the dev-dependencies group across 1 directory with 12 updates
Bumps the dev-dependencies group with 12 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [com.google.guava:guava](https://github.com/google/guava) | `33.1.0-jre` | `33.2.1-jre` |
| [io.grpc:grpc-core](https://github.com/grpc/grpc-java) | `1.63.0` | `1.64.0` |
| io.hawt:hawtio-default | `3.0.1` | `3.0.2` |
| org.apache.commons:commons-compress | `1.26.1` | `1.26.2` |
| [org.codehaus.plexus:plexus-xml](https://github.com/codehaus-plexus/plexus-xml) | `4.0.3` | `4.0.4` |
| [org.jboss.logging:jboss-logging](https://github.com/jboss-logging/jboss-logging) | `3.5.3.Final` | `3.6.0.Final` |
| [org.mariadb.jdbc:mariadb-java-client](https://github.com/mariadb-corporation/mariadb-connector-j) | `3.3.3` | `3.4.0` |
| [com.puppycrawl.tools:checkstyle](https://github.com/checkstyle/checkstyle) | `10.16.0` | `10.17.0` |
| [org.apache.maven.plugins:maven-dependency-plugin](https://github.com/apache/maven-dependency-plugin) | `3.6.1` | `3.7.0` |
| [org.apache.maven.plugins:maven-checkstyle-plugin](https://github.com/apache/maven-checkstyle-plugin) | `3.3.1` | `3.4.0` |
| [com.hazelcast:hazelcast](https://github.com/hazelcast/hazelcast) | `5.3.6` | `5.3.7` |
| [org.eclipse.tycho:tycho-p2-repository-plugin](https://github.com/eclipse-tycho/tycho) | `4.0.7` | `4.0.8` |



Updates `com.google.guava:guava` from 33.1.0-jre to 33.2.1-jre
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

Updates `io.grpc:grpc-core` from 1.63.0 to 1.64.0
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.63.0...v1.64.0)

Updates `io.hawt:hawtio-default` from 3.0.1 to 3.0.2

Updates `org.apache.commons:commons-compress` from 1.26.1 to 1.26.2

Updates `org.codehaus.plexus:plexus-xml` from 4.0.3 to 4.0.4
- [Release notes](https://github.com/codehaus-plexus/plexus-xml/releases)
- [Commits](https://github.com/codehaus-plexus/plexus-xml/compare/plexus-xml-4.0.3...plexus-xml-4.0.4)

Updates `org.jboss.logging:jboss-logging` from 3.5.3.Final to 3.6.0.Final
- [Release notes](https://github.com/jboss-logging/jboss-logging/releases)
- [Commits](https://github.com/jboss-logging/jboss-logging/compare/3.5.3.Final...3.6.0.Final)

Updates `org.mariadb.jdbc:mariadb-java-client` from 3.3.3 to 3.4.0
- [Release notes](https://github.com/mariadb-corporation/mariadb-connector-j/releases)
- [Changelog](https://github.com/mariadb-corporation/mariadb-connector-j/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mariadb-corporation/mariadb-connector-j/compare/3.3.3...3.4.0)

Updates `com.puppycrawl.tools:checkstyle` from 10.16.0 to 10.17.0
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-10.16.0...checkstyle-10.17.0)

Updates `org.apache.maven.plugins:maven-dependency-plugin` from 3.6.1 to 3.7.0
- [Release notes](https://github.com/apache/maven-dependency-plugin/releases)
- [Commits](https://github.com/apache/maven-dependency-plugin/compare/maven-dependency-plugin-3.6.1...maven-dependency-plugin-3.7.0)

Updates `org.apache.maven.plugins:maven-checkstyle-plugin` from 3.3.1 to 3.4.0
- [Commits](https://github.com/apache/maven-checkstyle-plugin/compare/maven-checkstyle-plugin-3.3.1...maven-checkstyle-plugin-3.4.0)

Updates `com.hazelcast:hazelcast` from 5.3.6 to 5.3.7
- [Release notes](https://github.com/hazelcast/hazelcast/releases)
- [Commits](https://github.com/hazelcast/hazelcast/compare/v5.3.6...v5.3.7)

Updates `org.eclipse.tycho:tycho-p2-repository-plugin` from 4.0.7 to 4.0.8
- [Release notes](https://github.com/eclipse-tycho/tycho/releases)
- [Changelog](https://github.com/eclipse-tycho/tycho/blob/main/RELEASE_NOTES.md)
- [Commits](https://github.com/eclipse-tycho/tycho/compare/tycho-4.0.7...tycho-4.0.8)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: io.grpc:grpc-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: io.hawt:hawtio-default
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.apache.commons:commons-compress
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.codehaus.plexus:plexus-xml
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.jboss.logging:jboss-logging
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: org.mariadb.jdbc:mariadb-java-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.plugins:maven-dependency-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: org.apache.maven.plugins:maven-checkstyle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: com.hazelcast:hazelcast
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: org.eclipse.tycho:tycho-p2-repository-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-13 16:34:12 +00:00
Joakim Erdfelt ed89b05cc8
Merge pull request #11904 from jetty/dependabot/maven/jetty-10.0.x/integration-deps-95ace3ec5d
[10.0.x] Bump the integration-deps group across 1 directory with 4 updates
2024-06-13 14:28:34 +00:00