[JBoss JIRA] (FORGE-2327) Being able to create CDI AnnotationLiterals
by George Gastaldi (JIRA)
George Gastaldi created FORGE-2327:
--------------------------------------
Summary: Being able to create CDI AnnotationLiterals
Key: FORGE-2327
URL: https://issues.jboss.org/browse/FORGE-2327
Project: Forge
Issue Type: Feature Request
Components: Java EE
Affects Versions: 2.16.0.Final
Reporter: George Gastaldi
Assignee: George Gastaldi
Fix For: 2.16.1.Final
It should be possible to create AnnotationLiteral classes from a specified Qualifier annotation.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 1 month
[JBoss JIRA] (FORGE-2326) Being able to setup JSON-P on a project
by Antonio Goncalves (JIRA)
Antonio Goncalves created FORGE-2326:
----------------------------------------
Summary: Being able to setup JSON-P on a project
Key: FORGE-2326
URL: https://issues.jboss.org/browse/FORGE-2326
Project: Forge
Issue Type: Feature Request
Components: Java EE
Affects Versions: 2.16.0.Final
Reporter: Antonio Goncalves
Fix For: 2.x Future
We need a {{json-setup}} command to be able to use JSON-P on a project
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 1 month
[JBoss JIRA] (FORGE-2325) JSF converter and validator should be under the view package
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2325?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2325.
----------------------------------
Fix Version/s: 2.16.1.Final
(was: 2.x Future)
Resolution: Done
> JSF converter and validator should be under the view package
> ------------------------------------------------------------
>
> Key: FORGE-2325
> URL: https://issues.jboss.org/browse/FORGE-2325
> Project: Forge
> Issue Type: Sub-task
> Components: Java EE
> Affects Versions: 2.16.0.Final
> Reporter: Antonio Goncalves
> Assignee: Antonio Goncalves
> Fix For: 2.16.1.Final
>
>
> If you type the following commands :
> {code}
> faces-new-bean --named MyBean
> faces-new-converter --named MyConverter
> faces-new-validator --named MyValidator
> {code}
> You get :
> {code}
> org.test.view
> MyBean
> org.test.validator
> MyValidator
> org.test.converter
> MyConverter
> {code}
> By default it should be
> {code}
> org.test.view
> MyBean
> org.test.view.validator
> MyValidator
> org.test.view.converter
> MyConverter
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 1 month
[JBoss JIRA] (FORGE-2177) Being able to create a new REST endpoint
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-2177?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-2177:
-------------------------------------
Description:
It would be good to have a command to create a REST endpoint. A command like this :
{code}
rest-new-endpoint --named MyEndpoint
{code}
Would generate
{code}
@Path("/myEndpoint")
public class CustomerEndpoint
{
}
{code}
Changing the path would be :
{code}
rest-new-endpoint --named MyEndPoint --path endpoint
{code}
This would generate :
{code}
@Path("/endpoint")
public class CustomerEndpoint
{
}
{code}
The command also allows to generate several default methods (get, post, put, delete) with default mime type and so on :
{code}
rest-new-endpoint --named MyEndPoin --methods GET POST DELETE
{code}
This would generate :
{code}
@Path("/myEndpoint")
public class CustomerEndpoint
{
@GET
@Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
public Response doGet()
{
return Response.noContent().build();
}
@POST
@Consumes({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
public Response doPost()
{
return Response.noContent().build();
}
}
{code}
Also, a REST configuration class needs to be creates, such as :
{code}
@ApplicationPath("/rest")
public class RestApplication extends Application
{
}
{code}
was:
It would be good to have a command to create a REST endpoint. A command like this :
{code}
rest-new-endpoint --named MyEndpoint
{code}
Would generate
{code}
@Path("/myEndpoint")
public class CustomerEndpoint
{
}
{code}
Changing the path would be :
{code}
rest-new-endpoint --named MyEndPoint --path endpoint
{code}
This would generate :
{code}
@Path("/endpoint")
public class CustomerEndpoint
{
}
{code}
The command also allows to generate several default methods (get, post, put, delete) with default mime type and so on :
{code}
rest-new-endpoint --named MyEndPoin --methods GET POST DELETE
{code}
This would generate :
{code}
@Path("/myEndpoint")
public class CustomerEndpoint
{
}
{code}
Also, a REST configuration class needs to be creates, such as :
{code}
@ApplicationPath("/rest")
public class RestApplication extends Application
{
@GET
@Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
public Response doGet()
{
return Response.noContent().build();
}
@POST
@Consumes({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
public Response doPost()
{
return Response.noContent().build();
}
}
{code}
> Being able to create a new REST endpoint
> ----------------------------------------
>
> Key: FORGE-2177
> URL: https://issues.jboss.org/browse/FORGE-2177
> Project: Forge
> Issue Type: Sub-task
> Components: Java EE
> Affects Versions: 2.13.0.Final
> Reporter: Antonio Goncalves
> Labels: Starter
> Fix For: 2.x Future
>
>
> It would be good to have a command to create a REST endpoint. A command like this :
> {code}
> rest-new-endpoint --named MyEndpoint
> {code}
> Would generate
> {code}
> @Path("/myEndpoint")
> public class CustomerEndpoint
> {
> }
> {code}
> Changing the path would be :
> {code}
> rest-new-endpoint --named MyEndPoint --path endpoint
> {code}
> This would generate :
> {code}
> @Path("/endpoint")
> public class CustomerEndpoint
> {
> }
> {code}
> The command also allows to generate several default methods (get, post, put, delete) with default mime type and so on :
> {code}
> rest-new-endpoint --named MyEndPoin --methods GET POST DELETE
> {code}
> This would generate :
> {code}
> @Path("/myEndpoint")
> public class CustomerEndpoint
> {
> @GET
> @Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
> public Response doGet()
> {
> return Response.noContent().build();
> }
> @POST
> @Consumes({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
> public Response doPost()
> {
> return Response.noContent().build();
> }
> }
> {code}
> Also, a REST configuration class needs to be creates, such as :
> {code}
> @ApplicationPath("/rest")
> public class RestApplication extends Application
> {
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 1 month
[JBoss JIRA] (FORGE-2177) Being able to create a new REST endpoint
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-2177?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-2177:
-------------------------------------
Description:
It would be good to have a command to create a REST endpoint. A command like this :
{code}
rest-new-endpoint --named MyEndpoint
{code}
Would generate
{code}
@Path("/myEndpoint")
public class CustomerEndpoint
{
}
{code}
Changing the path would be :
{code}
rest-new-endpoint --named MyEndPoint --path endpoint
{code}
This would generate :
{code}
@Path("/endpoint")
public class CustomerEndpoint
{
}
{code}
The command also allows to generate several default methods (get, post, put, delete) with default mime type and so on :
{code}
rest-new-endpoint --named MyEndPoin --methods GET POST DELETE
{code}
This would generate :
{code}
@Path("/myEndpoint")
public class CustomerEndpoint
{
}
{code}
Also, a REST configuration class needs to be creates, such as :
{code}
@ApplicationPath("/rest")
public class RestApplication extends Application
{
@GET
@Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
public Response doGet()
{
return Response.noContent().build();
}
@POST
@Consumes({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
public Response doPost()
{
return Response.noContent().build();
}
}
{code}
was:
It would be good to have a command to create a REST endpoint. A command like this :
{code}
rest-new-endpoint --named MyEndpoint
{code}
Would generate
{code}
@Path("/myEndpoint")
public class CustomerEndpoint
{
}
{code}
Changing the path would be :
{code}
rest-new-endpoint --named MyEndPoint --path endpoint
{code}
This would generate :
{code}
@Path("/endpoint")
public class CustomerEndpoint
{
}
{code}
The command also allows to generate several default methods (get, post, put, delete) with default mime type and so on :
{code}
rest-new-endpoint --named MyEndPoin --methods GET POST DELETE
{code}
This would generate :
{code}
@Path("/myEndpoint")
public class CustomerEndpoint
{
}
{code}
Also, a REST configuration class needs to be creates, such as :
{code}
@ApplicationPath("/rest")
public class RestApplication extends Application
{
@GET
@Produces({"application/xml", "application/json"})
public Response doGet()
{
return Response.noContent().build();
}
}
{code}
> Being able to create a new REST endpoint
> ----------------------------------------
>
> Key: FORGE-2177
> URL: https://issues.jboss.org/browse/FORGE-2177
> Project: Forge
> Issue Type: Sub-task
> Components: Java EE
> Affects Versions: 2.13.0.Final
> Reporter: Antonio Goncalves
> Labels: Starter
> Fix For: 2.x Future
>
>
> It would be good to have a command to create a REST endpoint. A command like this :
> {code}
> rest-new-endpoint --named MyEndpoint
> {code}
> Would generate
> {code}
> @Path("/myEndpoint")
> public class CustomerEndpoint
> {
> }
> {code}
> Changing the path would be :
> {code}
> rest-new-endpoint --named MyEndPoint --path endpoint
> {code}
> This would generate :
> {code}
> @Path("/endpoint")
> public class CustomerEndpoint
> {
> }
> {code}
> The command also allows to generate several default methods (get, post, put, delete) with default mime type and so on :
> {code}
> rest-new-endpoint --named MyEndPoin --methods GET POST DELETE
> {code}
> This would generate :
> {code}
> @Path("/myEndpoint")
> public class CustomerEndpoint
> {
> }
> {code}
> Also, a REST configuration class needs to be creates, such as :
> {code}
> @ApplicationPath("/rest")
> public class RestApplication extends Application
> {
> @GET
> @Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
> public Response doGet()
> {
> return Response.noContent().build();
> }
> @POST
> @Consumes({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
> public Response doPost()
> {
> return Response.noContent().build();
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 1 month