This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 229168 - Unwanted REST nodes in Maven project
Summary: Unwanted REST nodes in Maven project
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 7.3.1
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-29 14:52 UTC by Jiri Skrivanek
Modified: 2013-05-08 02:23 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
REST nodes. (74.13 KB, text/plain)
2013-04-29 14:52 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2013-04-29 14:52:14 UTC
Created attachment 133939 [details]
REST nodes.

Under RESTful Web Services node are unneeded nodes. To reproduce:

- create Maven web project (GlassFish 4, Java EE 7)
- open new file wizard
- choose "Web Services|RESTful Web Services from Database"
- click Next
- select jdbc/sample data source and add e.g. Manufacturer table
- finish wizard
- expand RESTful Web Services node and there is 11 sub nodes instead of only 1 (see screen shot)

Product Version: NetBeans IDE Dev (Build web-main-javaee7-267-on-20130429)
Java: 1.7.0_17; Java HotSpot(TM) 64-Bit Server VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Comment 1 David Konecny 2013-04-29 20:18:01 UTC
These REST services are provided automatically by EclipseLink (I think) and as such they are "valid" REST service endpoints. They should be visible also in Ant based project. I need to retest whether they work correctly when invoked from the IDE. If they do then this issue is WORKSFORME. I would not be surprised if they cannot be invoked from the IDE though - there might be a problem in how their URL is created.
Comment 2 David Konecny 2013-05-02 01:34:59 UTC
787368cdc5a8

I disabled these nodes - they cannot be invoked from the IDE. Only REST services being developed in the project are going to be shown.
Comment 3 Quality Engineering 2013-05-08 02:23:23 UTC
Integrated into 'main-golden', will be available in build *201305072300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/41fdb60f5ad2
User: David Konecny <dkonecny@netbeans.org>
Log: #229168 - Unwanted REST nodes in Maven project