-
Type:
Feature Request
-
Status: Open (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 3.0.0.Beta1
-
Fix Version/s: None
-
Component/s: Tooling
-
Labels:None
-
Affects:Release Notes
Seam REST Plugin for Seam Forge - this would be a killer feature
The plugin (seam-rest) should contain the following commands
- enable-jaxrs
- add a new javax.ws.rs.core.Application subclass annotated with @ApplicationPath - ask user for class name and base URI. Besides, scan for existing Application subclass and abort command if found.
- enable-seam-rest
- same as enable-jaxrs but also adds seam-rest dependencies to pom.xml.
- enable-request-validation
- enable the ValidationInterceptor in beans.xml
- iterate over JAX-RS methods and ask user whether Bean Validation should be enabled for that particular method
- new-exception-mapping
- add a new @ExceptionMapping to the Application subclass
Furthermore, consider commands for exception-mapping management like list-exception-mapping etc.