Re: Extending REST API with new endpoints

2019-07-29 Thread Fabian Hueske
Hi Oytun, Thanks for your input and feature request! The right way to propose a feature and contribute it is described here [1]. Basically, you should open a Jira issue and start a discussion about the feature there. If it is a bigger features, you should also bring it to the dev@f.a.o mailing li

Re: Extending REST API with new endpoints

2019-07-26 Thread Oytun Tez
Scary! :) I would heartily hate to maintain our own fork. Should I make a feature request to discuss further and then send a PR for this? Is this the normal way to push for a feature? --- Oytun Tez *M O T A W O R D* The World's Fastest Human Translation Platform. oy...@motaword.com — www.mo

Re: Extending REST API with new endpoints

2019-07-26 Thread Chesnay Schepler
There's no built-in way to extend the REST API. You will have to create a fork and either extend the DIspatcherRestEndpoint (or parent classes), or implement another WebMonitorExtension and modify the DispatcherRestEndpoint to load that one as well. On 23/07/2019 15:51, Oytun Tez wrote: Ping,

Re: Extending REST API with new endpoints

2019-07-23 Thread Oytun Tez
Ping, any ideas? --- Oytun Tez *M O T A W O R D* The World's Fastest Human Translation Platform. oy...@motaword.com — www.motaword.com On Mon, Jul 22, 2019 at 9:39 AM Oytun Tez wrote: > I did take a look at it, but things got out of hand very quickly from > there on :D > > I see that WebSubmi

Re: Extending REST API with new endpoints

2019-07-22 Thread Oytun Tez
I did take a look at it, but things got out of hand very quickly from there on :D I see that WebSubmissionExtension implements WebMonitorExtension, but then WebSubmissionExtension was used in DispatcherRestEndpoint, which I couldn't know how to manipulate/extend... How can I plug my Extension int

Re: Extending REST API with new endpoints

2019-07-22 Thread Oytun Tez
I simply want to open up endpoints to query QueryableStates. What I had in mind was to give operators an interface to implement their own QueryableState controllers, e.g. serializers etc. We are trying to use Flink in more of an "application framework" fashion, so extensibility helps a lot. As the

Re: Extending REST API with new endpoints

2019-07-22 Thread Biao Liu
Hi, As far as I know, the RESTful handler is not pluggable. And I don't see a strong reason from your description to do so. Could you explain more about your requirement? Oytun Tez 于2019年7月20日周六 上午4:36写道: > Yep, I scanned all of the issues in Jira and the codebase, I couldn't find > a way to p

Re: Extending REST API with new endpoints

2019-07-19 Thread Oytun Tez
Yep, I scanned all of the issues in Jira and the codebase, I couldn't find a way to plug my new endpoint in. I am basically trying to open up an endpoint for queryable state client. I also read somewhere that this may cause some issues due to SSL communication within the cluster. Any pointers?

Extending REST API with new endpoints

2019-07-19 Thread Oytun Tez
Hi there, I am trying to add a new endpoint to the REST API, by extending AbstractRestHandler. But this new handler needs to be added in WebMonitorEndpoint, which has no interface for outside. Can I do this with 1.8? Any other way or plans to make this possible? --- Oytun Tez *M O T A W O R D*