eclipse-ee4j / eclipse-ee4j/jersey

ResourceModel not complete for sub resources

Open
#2,739 4 comments 0 reactions 0 assignees View on GitHub
Component: core Priority: Major Type: Bug
Dominant language
Java
Stars
730
Forks
382
PR merge metrics
No merged PRs in 30d

Description

So I am trying to vist the model provided by ExtendedResourceConfig; but I am finding that the information for sub resources is missing. The example attached to this issue is suppose to create a map of Resource class to path to aid the delcarative linking code; but it only iterates down one level.

This means that the output of the code is:

GET ..../root
class project1.SubResource : /root/

{sub}

rather than the expected

GET ..../root
class project1.SubResource : /root/{sub}

class project1.SubSubResource : /root/

{sub}

/

{subsub}

Note that the single resource method for the GET operation is also missing from the SubResource Resource instance. This may or may not be part of the same issue; but would ideally be fixed at the same time.
#### Environment
Linux, JDK 7
#### Affected Versions
[2.6]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.