[JBoss JIRA] (JBIDE-16790) Should add/remove Resource Methods and Endpoints when adding/removing @HttpMethod annotation
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16790?page=com.atlassian.jira.plugi... ]
Xavier Coulon commented on JBIDE-16790:
---------------------------------------
Hello [~rrabara],
Did you mean it did not work when cutting/pasting {{@HttpMethod("FOO")}} ?
If so, I'll fix that for 4.2.0.Beta2, since there's already a workaround.
> Should add/remove Resource Methods and Endpoints when adding/removing @HttpMethod annotation
> --------------------------------------------------------------------------------------------
>
> Key: JBIDE-16790
> URL: https://issues.jboss.org/browse/JBIDE-16790
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: webservices
> Affects Versions: 4.1.1.Final
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Fix For: 4.2.0.Beta1
>
>
> When adding or removing the @HttpMethod annotation on a custom JAX-RS HTTP Method, the Project Explorer should reflect the changes
>
> Eg:
> {code}
> @Target(ElementType.METHOD)
> @Retention(RetentionPolicy.RUNTIME)
> @HttpMethod("FOO")
> public @interface FOO {
> }
> {code}
> and
> {code}
> @Encoded
> @Path(value=CustomerResource.URI_BASE)
> @Consumes(MediaType.APPLICATION_XML)
> @Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
> public class CustomerResource {
> @PersistenceContext
> private EntityManager entityManager = null;
> public static final String URI_BASE = "/customers";
>
> @FOO
> @Consumes(MediaType.APPLICATION_XML)
> public Response fooCustomer(Customer customer) {
> return Response.created(null).build();
> }
> }
> {code}
> Current workaround: the project needs to be rebuilt to see the changes.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (JBIDE-16790) Should add/remove Resource Methods and Endpoints when adding/removing @HttpMethod annotation
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16790?page=com.atlassian.jira.plugi... ]
Xavier Coulon updated JBIDE-16790:
----------------------------------
Description:
When adding or removing the @HttpMethod annotation on a custom JAX-RS HTTP Method, the Project Explorer should reflect the changes
Eg:
{code}
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@HttpMethod("FOO")
public @interface FOO {
}
{code}
and
{code}
@Encoded
@Path(value=CustomerResource.URI_BASE)
@Consumes(MediaType.APPLICATION_XML)
@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
public class CustomerResource {
@PersistenceContext
private EntityManager entityManager = null;
public static final String URI_BASE = "/customers";
@FOO
@Consumes(MediaType.APPLICATION_XML)
public Response fooCustomer(Customer customer) {
return Response.created(null).build();
}
}
{code}
Current workaround: the project needs to be rebuilt to see the changes.
was:
When adding or removing the @HttpMethod annotation on a custom JAX-RS HTTP Method, the Project Explorer should reflect the changes
Eg:
{code}
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@HttpMethod("FOO")
public @interface FOO {
}
{code}
and
{code}
@Encoded
@Path(value=CustomerResource.URI_BASE)
@Consumes(MediaType.APPLICATION_XML)
@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
public class CustomerResource {
@PersistenceContext
private EntityManager entityManager = null;
public static final String URI_BASE = "/customers";
@FOO
@Consumes(MediaType.APPLICATION_XML)
public Response fooCustomer(Customer customer) {
return Response.created(null).build();
}
}
Current workaround: the project needs to be rebuilt to see the changes.
{code}
> Should add/remove Resource Methods and Endpoints when adding/removing @HttpMethod annotation
> --------------------------------------------------------------------------------------------
>
> Key: JBIDE-16790
> URL: https://issues.jboss.org/browse/JBIDE-16790
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: webservices
> Affects Versions: 4.1.1.Final
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Fix For: 4.2.0.Beta1
>
>
> When adding or removing the @HttpMethod annotation on a custom JAX-RS HTTP Method, the Project Explorer should reflect the changes
>
> Eg:
> {code}
> @Target(ElementType.METHOD)
> @Retention(RetentionPolicy.RUNTIME)
> @HttpMethod("FOO")
> public @interface FOO {
> }
> {code}
> and
> {code}
> @Encoded
> @Path(value=CustomerResource.URI_BASE)
> @Consumes(MediaType.APPLICATION_XML)
> @Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
> public class CustomerResource {
> @PersistenceContext
> private EntityManager entityManager = null;
> public static final String URI_BASE = "/customers";
>
> @FOO
> @Consumes(MediaType.APPLICATION_XML)
> public Response fooCustomer(Customer customer) {
> return Response.created(null).build();
> }
> }
> {code}
> Current workaround: the project needs to be rebuilt to see the changes.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (JBTIS-260) Teiid designer server management tasks fail for JBDS 7.1.1.GA + JBDSIS 7.0.1.CR2
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/JBTIS-260?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration updated JBTIS-260:
------------------------------------------
Bugzilla Update: Perform
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1082001
> Teiid designer server management tasks fail for JBDS 7.1.1.GA + JBDSIS 7.0.1.CR2
> --------------------------------------------------------------------------------
>
> Key: JBTIS-260
> URL: https://issues.jboss.org/browse/JBTIS-260
> Project: JBoss Tools Integration Stack
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: teiid
> Environment: JBDS 7.1.1.GA, JBDSIS 7.0.1.CR2, server DV6 GA
> Reporter: Lucie Fabrikova
> Assignee: Paul Richardson
> Priority: Blocker
> Attachments: DriverValidator-1.2.11
>
>
> In teiid designer, start server latest DV6 GA and create new model project. Create some source model.
> - preview of data in table causes error with empty stack trace, development perspective is not opened
> - create and execute vdb: development perspective is opened, but vdb is not connected; trying to connect causes NPE:
> java.lang.NullPointerException
> at org.eclipse.datatools.connectivity.drivers.DriverValidator.validateJarListFiles(DriverValidator.java:161)
> at org.eclipse.datatools.connectivity.drivers.DriverValidator.isValid(DriverValidator.java:92)
> at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.getDriverDefinitionJarPaths(JDBCConnection.java:217)
> at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.getJdbcDriverJars(JDBCConnection.java:169)
> at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.<init>(JDBCConnection.java:67)
> at org.teiid.datatools.connectivity.TeiidJDBCConnection.<init>(TeiidJDBCConnection.java:31)
> at org.teiid.datatools.connectivity.TeiidJDBCConnectionFactory.createConnection(TeiidJDBCConnectionFactory.java:21)
> at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:83)
> at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:359)
> at org.eclipse.datatools.connectivity.sqm.internal.core.connection.ConnectionInfoImpl.initializeJDBCConnection(ConnectionInfoImpl.java:705)
> at org.eclipse.datatools.connectivity.sqm.internal.core.connection.ConnectionInfoImpl.<init>(ConnectionInfoImpl.java:690)
> at org.eclipse.datatools.connectivity.sqm.internal.core.connection.ConnectionFactory.createConnection(ConnectionFactory.java:38)
> at org.eclipse.datatools.connectivity.sqm.core.SQMConnectionFactory.createConnection(SQMConnectionFactory.java:45)
> at org.eclipse.datatools.connectivity.sqm.internal.core.connection.ConnectionFactory.createConnection(ConnectionFactory.java:59)
> at org.eclipse.datatools.connectivity.internal.ConnectionFactoryAdapterProvider.createConnection(ConnectionFactoryAdapterProvider.java:114)
> at org.eclipse.datatools.connectivity.internal.ManagedConnection.createConnection(ManagedConnection.java:163)
> at org.eclipse.datatools.connectivity.internal.CreateConnectionJob.run(CreateConnectionJob.java:56)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (JBIDE-16929) Code Assist for <h:link value ""> is missing items "/resources", "/templates", "/pages"
by Vlado Pakan (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16929?page=com.atlassian.jira.plugi... ]
Vlado Pakan updated JBIDE-16929:
--------------------------------
Summary: Code Assist for <h:link value ""> is missing items "/resources","/templates","/pages" (was: Code Assist for <h:link value ""> is missing paths to pages)
> Code Assist for <h:link value ""> is missing items "/resources","/templates","/pages"
> --------------------------------------------------------------------------------------
>
> Key: JBIDE-16929
> URL: https://issues.jboss.org/browse/JBIDE-16929
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsf
> Affects Versions: 4.2.0.Beta1
> Environment: JBDS 8.0.0.Beta1-v20140323-1410-B78, Linux
> Reporter: Vlado Pakan
> Fix For: 4.2.0.Beta2
>
>
> 1. Create JSF 2 project
> 2. Open inpitname.xhtml page
> 3. Insert <h:link value=""> tag
> 4. Call Code Assist for value attribute
> ERROR: Code Assist doesn't contain items: "/resources","/templates","/pages".
> Code Assist for <link href=""> href attribute contains these items
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (JBIDE-16920) Visual Preview: create refresh options
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16920?page=com.atlassian.jira.plugi... ]
Ilya Buziuk updated JBIDE-16920:
--------------------------------
Description:
For preview we need to have different refresh options:
- full page refresh *(already done)*
- refreshOnType : full page refresh after document change(enable/disable).*(already done)*
- partRefresh : refresh only changed part of a document(enable/disable).
- refreshOnSave : full page refresh after document changed(enable/disable).
was:
For preview we need to have different refresh options:
- full page refresh*(already done)*
- refreshOnType : full page refresh after document change(enable/disable).*(already done)*
- partRefresh : refresh only changed part of a document(enable/disable).
- refreshOnSave : full page refresh after document changed(enable/disable).
> Visual Preview: create refresh options
> --------------------------------------
>
> Key: JBIDE-16920
> URL: https://issues.jboss.org/browse/JBIDE-16920
> Project: Tools (JBoss Tools)
> Issue Type: Sub-task
> Components: visual-page-editor-core
> Reporter: Konstantin Marmalyukov
> Fix For: 4.2.0.Beta2
>
>
> For preview we need to have different refresh options:
> - full page refresh *(already done)*
> - refreshOnType : full page refresh after document change(enable/disable).*(already done)*
> - partRefresh : refresh only changed part of a document(enable/disable).
> - refreshOnSave : full page refresh after document changed(enable/disable).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (JBIDE-16920) Visual Preview: create refresh options
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16920?page=com.atlassian.jira.plugi... ]
Ilya Buziuk reassigned JBIDE-16920:
-----------------------------------
Assignee: Ilya Buziuk
> Visual Preview: create refresh options
> --------------------------------------
>
> Key: JBIDE-16920
> URL: https://issues.jboss.org/browse/JBIDE-16920
> Project: Tools (JBoss Tools)
> Issue Type: Sub-task
> Components: visual-page-editor-core
> Reporter: Konstantin Marmalyukov
> Assignee: Ilya Buziuk
> Fix For: 4.2.0.Beta2
>
>
> For preview we need to have different refresh options:
> - full page refresh *(already done)*
> - refreshOnType : full page refresh after document change(enable/disable).*(already done)*
> - partRefresh : refresh only changed part of a document(enable/disable).
> - refreshOnSave : full page refresh after document changed(enable/disable).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (JBIDE-16929) Code Assist for <h:link value ""> is missing paths to pages
by Vlado Pakan (JIRA)
Vlado Pakan created JBIDE-16929:
-----------------------------------
Summary: Code Assist for <h:link value ""> is missing paths to pages
Key: JBIDE-16929
URL: https://issues.jboss.org/browse/JBIDE-16929
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsf
Affects Versions: 4.2.0.Beta1
Environment: JBDS 8.0.0.Beta1-v20140323-1410-B78, Linux
Reporter: Vlado Pakan
Fix For: 4.2.0.Beta2
1. Create JSF 2 project
2. Open inpitname.xhtml page
3. Insert <h:link value=""> tag
4. Call Code Assist for value attribute
ERROR: Code Assist doesn't contain items: "/resources","/templates","/pages".
Code Assist for <link href=""> href attribute contains these items
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years