cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6869) Consider adding Spring Boot starter
Date Sun, 29 May 2016 17:06:12 GMT

    [ https://issues.apache.org/jira/browse/CXF-6869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15305994#comment-15305994
] 

Sergey Beryozkin commented on CXF-6869:
---------------------------------------

Hi Vedran, 
thanks for your patch. FYI, I kind of liked a more neutral AutoConfigure approach, and I'm
not keen to introduce a WADL support OOB - some people do like WADL, but quite a few do prefer
Swagger these days, we'll need to git it a bit more thinking. Let me look at your patch in
more detail a bit later on, given that I'm really keen to understand why SampleRestApplication
is still not picking up the auto configuration.

FYI, I've removed SampleScanRestApplication - this is now part of a separate demo, jaxrs_sprint_boot_scan
- I'll deal with the whole scanning thing later on.

In the original jaxrs_spring_boot demo I now only have SampleRestApplication: 

https://github.com/apache/cxf/blob/master/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot/src/main/java/sample/rs/service/

It is not importing JaxRsConfig directly or indirectly.

I even went ahead and locally only (for the sake of the experiment) removed it from the source
completely and recompiled the JAX-RS frontend.

Can you spot anything that can explain why it is still not picking up the auto configuration
?  
FYI, I'm not trying to be difficult :-), and I do appreciate a lot you trying to help

Sergey
  

> Consider adding Spring Boot starter
> -----------------------------------
>
>                 Key: CXF-6869
>                 URL: https://issues.apache.org/jira/browse/CXF-6869
>             Project: CXF
>          Issue Type: New Feature
>          Components: Integration
>            Reporter: Vedran Pavic
>            Assignee: Sergey Beryozkin
>
> I've recently authored a PR in Spring Boot to add support for auto-configuration of {{CXFServlet}}
and default CXF's configuration:
> https://github.com/spring-projects/spring-boot/pull/5659
> The PR was closed with "won't fix" resolution since Boot team are unwilling to add CXF
as a dependency to the project. Instead a 3rd party starter was suggested.
> The concept of a 3rd party starter is generally encouraged for technologies that don't
have first-class support in projects from Spring portfolio. Such 3rd party starters are listed
here:
> https://github.com/spring-projects/spring-boot/blob/master/spring-boot-starters/README.adoc
> If CXF team is interested, I'm willing to port my PR to CXF.
> Note that the original PR was focused around JAX-WS support, but can be easily expanded
to include JAX-RS support as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message