Feature #43966

Base Distribution - Work Package #45088: Improved REST support

Allow all routes to include sub routes

Added by Bastian Waidelich over 8 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Should have
Category:
MVC - Routing
Target version:
-
Start date:
2012-12-13
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

Sub routes are currently only resolved in the global Configuration/Routes.yaml file.
It would be nice if sub routes could include sub routes them selves.
This also requires us to be able to specify a path.

The syntax could be similar to:

-
  # loads sub routes from My.Package/Configuration/Routes.yaml
  uriPattern: '<SomeSubroutes>'
  subRoutes:
    SomeSubroutes:
      package: My.Package
-
  # loads sub routes from Other.Package/Configuration/RestRoutes.yaml
  uriPattern: '<SomeSubroutes>'
  subRoutes:
    SomeSubroutes:
      package: Other.Package
      filename: RestRoutes.yaml


Related issues

Related to TYPO3.Flow - Bug #47255: Cache is not flushed for changes in sub routesResolvedBastian Waidelich2013-04-15

Actions
#1

Updated by Bastian Waidelich over 8 years ago

I implemented a first draft supporting following syntax:

-
  # loads sub routes from Other.Package/Configuration/Routes.Foo.yaml
  uriPattern: '<SomeSubroutes>'
  subRoutes:
    SomeSubroutes:
      package: Other.Package
      suffix: Foo

#2

Updated by Bastian Waidelich over 8 years ago

  • Parent task set to #45088
#3

Updated by Gerrit Code Review over 8 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18478

#4

Updated by Gerrit Code Review over 8 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18478

#5

Updated by Bastian Waidelich over 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#6

Updated by Aske Ertmann about 8 years ago

  • Parent task deleted (#45088)
#7

Updated by Aske Ertmann about 8 years ago

  • Parent task set to #45088
#8

Updated by Gerrit Code Review about 8 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch 2.0 has been pushed to the review server.
It is available at https://review.typo3.org/20784

#9

Updated by Robert Lemke about 8 years ago

  • Target version deleted (2.1)
#10

Updated by Gerrit Code Review about 8 years ago

Patch set 2 for branch 2.0 has been pushed to the review server.
It is available at https://review.typo3.org/20784

#11

Updated by Bastian Waidelich over 7 years ago

  • Status changed from Under Review to Resolved

Also available in: Atom PDF