[ANN] CXF 1.1.0 Released

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[ANN] CXF 1.1.0 Released

ctoestreich
New in v1.1.0 is the ability to define custom name, address and versions for the services as well as the ability to wire service endpoints via a single annotation instead of multiple static properties. In addition, the ability to define custom interceptor beans is now available (using the annotation only).

I decided to move the plugin away from using a growing number of static properties on the class to expose and define services. Using these properties can be confusing due to lack of autocomplete/intellisense/etc. Using the annotation provides a nice interface contract for what exactly is available to configure. Hopefully people like this new approach. You can continue to use the static properties if you want, however you are not able to use the new built in interceptors injection by name and will have to wire it up yourself interceptors yourself on the bean factory similarly to what is outlined in the docs.

v1.1.0 Release Notes

  • Adding support to use annotation driven service configuration via @GrailsCxfEndpoint(...) to deprecate the usage of the current several static properties on a class
  • Adding support for versioning through use of the address property on the annotation (deprecated: and via a static property static address = '/v2/#name') Note: #name is special and will use the default service name
  • Adding support to override the default service name (via address) by NOT using the #name special property in the address via address = '/path/v2/customName'
  • Adding support for injecting custom interceptors to services via the new @GrailsCxfEndpoint(...) annotation. Cxf also provides similar functionality via annotations. The difference being apache cxf does not allow bean or value injection to the provided classes as it appears to not understand @Autowire internally or deal with spring injection.
  • Added a crap-ton (which is a lot) of new specs to test these scenarios and annotation
Full Docs Here
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] CXF 1.1.0 Released

Alvaro Sanchez-Mariscal
Thank you very much for your plugin, is totally awesome!


On 28 January 2013 18:04, ctoestreich <[hidden email]> wrote:
New in v1.1.0 is the ability to define custom name, address and versions for the services as well as the ability to wire service endpoints via a single annotation instead of multiple static properties. In addition, the ability to define custom interceptor beans is now available (using the annotation only).

I decided to move the plugin away from using a growing number of static properties on the class to expose and define services. Using these properties can be confusing due to lack of autocomplete/intellisense/etc. Using the annotation provides a nice interface contract for what exactly is available to configure. Hopefully people like this new approach. You can continue to use the static properties if you want, however you are not able to use the new built in interceptors injection by name and will have to wire it up yourself interceptors yourself on the bean factory similarly to what is outlined in the docs.

v1.1.0 Release Notes

  • Adding support to use annotation driven service configuration via @GrailsCxfEndpoint(...) to deprecate the usage of the current several static properties on a class
  • Adding support for versioning through use of the address property on the annotation (deprecated: and via a static property static address = '/v2/#name') Note: #name is special and will use the default service name
  • Adding support to override the default service name (via address) by NOT using the #name special property in the address via address = '/path/v2/customName'
  • Adding support for injecting custom interceptors to services via the new @GrailsCxfEndpoint(...) annotation. Cxf also provides similar functionality via annotations. The difference being apache cxf does not allow bean or value injection to the provided classes as it appears to not understand @Autowire internally or deal with spring injection.
  • Added a crap-ton (which is a lot) of new specs to test these scenarios and annotation
Full Docs Here

View this message in context: [ANN] CXF 1.1.0 Released
Sent from the Grails - user mailing list archive at Nabble.com.



--
Alvaro Sanchez-Mariscal
[hidden email]
twitter.com/alvaro_sanchez
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] CXF 1.1.0 Released

marcopas
Thanks for the awesome work you have put into this!

/Marco


2013/1/28 Alvaro Sanchez-Mariscal <[hidden email]>
Thank you very much for your plugin, is totally awesome!


On 28 January 2013 18:04, ctoestreich <[hidden email]> wrote:
New in v1.1.0 is the ability to define custom name, address and versions for the services as well as the ability to wire service endpoints via a single annotation instead of multiple static properties. In addition, the ability to define custom interceptor beans is now available (using the annotation only).

I decided to move the plugin away from using a growing number of static properties on the class to expose and define services. Using these properties can be confusing due to lack of autocomplete/intellisense/etc. Using the annotation provides a nice interface contract for what exactly is available to configure. Hopefully people like this new approach. You can continue to use the static properties if you want, however you are not able to use the new built in interceptors injection by name and will have to wire it up yourself interceptors yourself on the bean factory similarly to what is outlined in the docs.

v1.1.0 Release Notes

  • Adding support to use annotation driven service configuration via @GrailsCxfEndpoint(...) to deprecate the usage of the current several static properties on a class
  • Adding support for versioning through use of the address property on the annotation (deprecated: and via a static property static address = '/v2/#name') Note: #name is special and will use the default service name
  • Adding support to override the default service name (via address) by NOT using the #name special property in the address via address = '/path/v2/customName'
  • Adding support for injecting custom interceptors to services via the new @GrailsCxfEndpoint(...) annotation. Cxf also provides similar functionality via annotations. The difference being apache cxf does not allow bean or value injection to the provided classes as it appears to not understand @Autowire internally or deal with spring injection.
  • Added a crap-ton (which is a lot) of new specs to test these scenarios and annotation
Full Docs Here

View this message in context: [ANN] CXF 1.1.0 Released
Sent from the Grails - user mailing list archive at Nabble.com.



--
Alvaro Sanchez-Mariscal
[hidden email]
twitter.com/alvaro_sanchez