[jira] [Updated] (WW-4935) Support for sub-resources in rest-plugin

2022-10-22 Thread Lukasz Lenart (Jira)


 [ 
https://issues.apache.org/jira/browse/WW-4935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukasz Lenart updated WW-4935:
--
Fix Version/s: 7.0.0
   (was: 6.1.0)

> Support for sub-resources in rest-plugin
> 
>
> Key: WW-4935
> URL: https://issues.apache.org/jira/browse/WW-4935
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Plugin - REST
>Reporter: Deva Gerald
>Priority: Major
> Fix For: 7.0.0
>
>
> As of now, the rest-plugin supports only 1 level of hierarchy like 
> /resource/$resource_id
> Can we extend this to implement multi levels like below : 
> /resource/$resource_id/sub_resource/$sub_resource_id 
>  
> Here is an example : 
> For getting an organization info, we can use a REST API like 
> /organizations/organization_id (supported already)
> To get details of an employee of an organization we need to map it as a 
> sub-resource like */organizations/organization_id/employees/employee_id* 
> rather than just making it as /employees/employee_id. 
> Note : In this case there are 2 ids in the URL 
> 1. resource_id - organization_id and
> 2. the sub_resource_id - employee_id.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (WW-4935) Support for sub-resources in rest-plugin

2021-12-12 Thread Lukasz Lenart (Jira)


 [ 
https://issues.apache.org/jira/browse/WW-4935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukasz Lenart updated WW-4935:
--
Fix Version/s: 2.6.1
   (was: 2.6)

> Support for sub-resources in rest-plugin
> 
>
> Key: WW-4935
> URL: https://issues.apache.org/jira/browse/WW-4935
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Plugin - REST
>Reporter: Deva Gerald
>Priority: Major
> Fix For: 2.6.1
>
>
> As of now, the rest-plugin supports only 1 level of hierarchy like 
> /resource/$resource_id
> Can we extend this to implement multi levels like below : 
> /resource/$resource_id/sub_resource/$sub_resource_id 
>  
> Here is an example : 
> For getting an organization info, we can use a REST API like 
> /organizations/organization_id (supported already)
> To get details of an employee of an organization we need to map it as a 
> sub-resource like */organizations/organization_id/employees/employee_id* 
> rather than just making it as /employees/employee_id. 
> Note : In this case there are 2 ids in the URL 
> 1. resource_id - organization_id and
> 2. the sub_resource_id - employee_id.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Updated] (WW-4935) Support for sub-resources in rest-plugin

2018-04-30 Thread Lukasz Lenart (JIRA)

 [ 
https://issues.apache.org/jira/browse/WW-4935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukasz Lenart updated WW-4935:
--
Fix Version/s: 2.6

> Support for sub-resources in rest-plugin
> 
>
> Key: WW-4935
> URL: https://issues.apache.org/jira/browse/WW-4935
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Plugin - REST
>Reporter: Deva Gerald
>Priority: Major
> Fix For: 2.6
>
>
> As of now, the rest-plugin supports only 1 level of hierarchy like 
> /resource/$resource_id
> Can we extend this to implement multi levels like below : 
> /resource/$resource_id/sub_resource/$sub_resource_id 
>  
> Here is an example : 
> For getting an organization info, we can use a REST API like 
> /organizations/organization_id (supported already)
> To get details of an employee of an organization we need to map it as a 
> sub-resource like */organizations/organization_id/employees/employee_id* 
> rather than just making it as /employees/employee_id. 
> Note : In this case there are 2 ids in the URL 
> 1. resource_id - organization_id and
> 2. the sub_resource_id - employee_id.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)