[MGNLREST-109] Add a delivery base-path Created: 04/Sep/17  Updated: 15/Sep/17  Resolved: 11/Sep/17

Status: Closed
Project: Magnolia REST Framework
Component/s: delivery
Affects Version/s: None
Fix Version/s: 2.0

Type: Task Priority: Major
Reporter: Mikaël Geljić Assignee: Hieu Nguyen Duc
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 1d 5h
Original Estimate: 2d

Issue Links:
dependency
is depended upon by MGNLREST-110 Implement improved REST roles Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:
Epic Link: REST Headless bundle
Sprint: Saigon 112, Saigon 113
Story Points: 2

 Description   

Despite having the delivery endpoint configured, the base @Path on the JcrDeliveryEndpoint cannot be changed at runtime.
The initial choice to leave out any base-path was to be less "opinionated"; but the lack of prefix makes it hard to open up default security role just for delivery.

In architecture meeting, we decided to re-add a base-path to start with.

@Path("/delivery/{workspace}/v1")
// or @Path("/content/{workspace}/v1")
class JcrDeliveryEndpoint


 Comments   
Comment by Dai Ha [ 12/Sep/17 ]

verified with magnolia-enterprise-pro-demo-bundle-5.6-20170911.202509-109-tomcat-bundle.

Generated at Mon Feb 12 06:56:41 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.