Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parallel request routing for Blue Ocean #76

Closed
kohsuke opened this issue Jun 15, 2016 · 2 comments
Closed

Parallel request routing for Blue Ocean #76

kohsuke opened this issue Jun 15, 2016 · 2 comments

Comments

@kohsuke
Copy link
Member

kohsuke commented Jun 15, 2016

This issue has its origin in Jenkins Blue Ocean project. In BO, we wanted to expose all Actions of a Build to the URL space of BO, including its sub-objects, in more REST-ful manner. Such code needs to be able to deal with arbitrary Action subtypes that plugins define.

The way we bind those objects to the URL space should mimic the classic UI, thus it should follow regular Stapler routing rules. But BO also need to be able to tweak some aspects of it. For example, index.jelly should be replaced by the state transfer of the object. By extension, we also want to disable all other Jelly/Groovy views that are defined on those objects. In the future a need might arise to do some additional tweaking like this.

I thought about various ways of doing it, such as doing this entirely in BO, but I eventually came to believe that such capability should live in Stapler. I think of this capability as a way of wrapping & filtering existing routing rules and making adjustments, and there's really nothing Jenkins specific about it.

This issue captures this task, so that the solution I propose can be discussed in the context of the requirement.

kohsuke added a commit that referenced this issue Jun 15, 2016
Originally this capability was added to support JRuby, and so far it was
only used to find @PostConstruct method.

But if we expand this Klass and KlassNavigator abstraction to request
routing, then we can use this to build a parallel type hierarchy.

See issue #76
@kohsuke
Copy link
Member Author

kohsuke commented Jun 15, 2016

I'm developing this in #77

kohsuke added a commit that referenced this issue Jun 16, 2016
…se of Function.

(This allows issue #76 to use contextual information to perform to the right interception
kohsuke added a commit that referenced this issue Jun 17, 2016
[#76] Parallel request routing for Blue Ocean
@kohsuke
Copy link
Member Author

kohsuke commented Jun 17, 2016

Resolved

@kohsuke kohsuke closed this as completed Jun 17, 2016
kohsuke added a commit to jenkinsci/jenkins that referenced this issue Jun 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant