1. 20 6月, 2019 1 次提交
    • S
      Leverage new Kotlin script templating support · e86b937f
      Sebastien Deleuze 提交于
      As of 1.3.40, Kotlin now provides a kotlin-scripting-jsr223-embeddable
      dependency which:
       - Fixes classloading related issues
       - Provides out of the box JSR 223 support
       - Is compatible with Spring Boot Fat Jar mechanism
      
      This commit updates Spring Framework tests and documentation accordingly.
      
      Closes gh-23165
      e86b937f
  2. 12 6月, 2019 1 次提交
  3. 22 5月, 2019 1 次提交
  4. 08 5月, 2019 1 次提交
  5. 25 4月, 2019 1 次提交
  6. 04 4月, 2019 1 次提交
  7. 31 3月, 2019 1 次提交
  8. 27 3月, 2019 1 次提交
  9. 26 3月, 2019 1 次提交
    • S
      Introduce spring-core-coroutines module · 88a2729f
      Sebastien Deleuze 提交于
      This commit introduces the spring-core-coroutines module
      in order to avoid referencing Kotlin code from Java one,
      which is currently not supported by Eclipse.
      
      During the build, spring-core-coroutines is merged into
      spring-core, so this change is expected to have no impact
      for end users.
      
      This module contains functions accessible from Java via
      the CoroutinesUtils class to adapt Coroutines and Deferred
      instances to and from Mono.
      
      See gh-19975
      88a2729f
  10. 25 3月, 2019 1 次提交
  11. 16 3月, 2019 1 次提交
  12. 06 3月, 2019 1 次提交
  13. 22 2月, 2019 1 次提交
  14. 18 2月, 2019 1 次提交
    • S
      Add Coroutines support for WebClient and WebFlux.fn · 19f792db
      Sebastien Deleuze 提交于
      This commit is the first part of a more complete Coroutines
      support coming in Spring Framework 5.2. It introduces suspendable
      Kotlin extensions for Mono based methods in WebFlux classes like
      WebClient, ServerRequest, ServerResponse as well as a Coroutines
      router usable via `coRouter { }`.
      
      Coroutines extensions use `await` prefix or `AndAwait` suffix,
      and most are using names close to their Reactive counterparts,
      except `exchange` in `WebClient.RequestHeadersSpec`
      which translates to `awaitResponse`.
      
      Upcoming expected changes are:
       - Leverage `Dispatchers.Unconfined` (Kotlin/kotlinx.coroutines#972)
       - Expose extensions for `Flux` based API (Kotlin/kotlinx.coroutines#254)
       - Introduce interop with `CoroutineContext` (Kotlin/kotlinx.coroutines#284)
       - Support Coroutines in `ReactiveAdapterRegistry`
       - Support Coroutines for WebFlux annotated controllers
       - Fix return type of Kotlin suspending functions (gh-21058)
      
      See gh-19975
      19f792db
  15. 05 2月, 2019 2 次提交
  16. 24 1月, 2019 1 次提交
  17. 08 1月, 2019 1 次提交
  18. 25 12月, 2018 1 次提交
  19. 19 11月, 2018 1 次提交
  20. 15 10月, 2018 1 次提交
  21. 14 9月, 2018 2 次提交
  22. 15 8月, 2018 1 次提交
  23. 06 8月, 2018 1 次提交
  24. 04 8月, 2018 1 次提交
    • J
      Upgrade to RxJava 2.2 and Kotlin 1.2.60 · 821ab624
      Juergen Hoeller 提交于
      Includes latest dependency updates (Mockito 2.21, Log4J 2.11.1, Hibernate ORM 5.3.4, Protobuf 3.6.1, JRuby 9.2, HtmlUnit 2.32, Selenium 3.14) for Spring Framework 5.1.
      
      Issue: SPR-16388
      Issue: SPR-16239
      821ab624
  25. 25 7月, 2018 1 次提交
    • S
      Support Protobuf serialization in WebFlux · 36a07aa8
      sdeleuze 提交于
      This commit introduces Protobuf support in WebFlux via dedicated
      codecs.
      
      Flux<Message> are serialized/deserialized using delimited Protobuf
      messages with the size of each message specified before the message
      itself. In that case, a "delimited=true" parameter is added to the
      content type.
      
      Mono<Message> are expected to use regular Protobuf message
      format (without the size prepended before the message).
      
      Related HttpMessageReader/Writer are automatically registered when the
      "com.google.protobuf:protobuf-java" library is detected in the classpath,
      and can be customized easily if needed via CodecConfigurer, for example
      to specify protocol extensions via the ExtensionRegistry based
      constructors.
      
      Both "application/x-protobuf" and "application/octet-stream" mime types
      are supported.
      
      Issue: SPR-15776
      36a07aa8
  26. 19 7月, 2018 1 次提交
  27. 18 7月, 2018 2 次提交
  28. 12 6月, 2018 1 次提交
  29. 11 6月, 2018 1 次提交
    • B
      Remove dependency management noise from POMs · 417354da
      Brian Clozel 提交于
      Prior to this commit, the generated POMs for Spring Framework modules
      would contain unneeded/harmful information from the Spring Framework
      build:
      
      1. The BOM imports applied to each module by the dependency
      management plugin, for example for Netty or Reactor Netty.
      Spring should not export that opinion to its POMs.
      
      2. The exclusion of "org.slf4:jcl-over-slf4j" from *all* dependencies,
      which made the POMs much larger than necessary and suggested to
      developers that they should exclude it as well when using all those
      listed dependencies. In fact, only Apache Tiles currently brings that
      transitively.
      
      This commit removes that information from the POMs.
      The dependencyManagement Gradle plugin is disabled for POM generation
      and we manually resolve the dependency versions during the generation
      phase.
      The Gradle build is streamlined to exclude "org.slf4:jcl-over-slf4j"
      only when necessary.
      
      Issue: SPR-16893
      417354da
  30. 07 6月, 2018 1 次提交
  31. 01 6月, 2018 2 次提交
  32. 19 5月, 2018 1 次提交
  33. 07 5月, 2018 1 次提交
  34. 27 3月, 2018 1 次提交
  35. 15 3月, 2018 1 次提交
  36. 09 3月, 2018 1 次提交