Hello

Is there a way to handle all paths under a pattern in an Action (or
something else)?

i.e. If I add an action 'GraphProxyAction'

I would like to be able to route GraphProxy/v1.0/* to my GraphProxy class
which will just check permissions, add a credential and proxy the calls to
an external rest API.

Alternatively how can I add nested actions to reflect the API I'm proxying?
I tried returning a V1 action from my doIndex method in `GraphProxyAction`,
but that just ended up with a white page.

I've had a look around at some of the Stapler annotations but not really
sure how to do this

Thanks
Tim

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAH-3BicnOpMOLTe4uodrpqn0At-UT1CT054nuq5SvMSXZE9sBQ%40mail.gmail.com.

Reply via email to