Hi Chesnay,

I have a similar question on this topic. Is there an option to disable the
frontend altogether but still use REST APIs?

Thanks

On Wed, Nov 30, 2022 at 1:37 AM Chesnay Schepler <ches...@apache.org> wrote:

> There's no way to disable the jar submission in the UI but have it still
> work via the REST API.
>
> On 30/11/2022 06:16, naga sudhakar wrote:
>
> After disabling the cancel, submit flags facing issues with below api
> calls.
>
> 1) /jars giving 404
> 2) /jars/upload
> 3) /jars/{jarid}/run
>
> Is there any config changes needed to have these apis work?
>
>
> On Mon, 28 Nov, 2022, 7:00 PM naga sudhakar, <nagasudha...@gmail.com>
> wrote:
>
>> Hi,
>> We are able to disable this cancela nd upload otpion in ui.
>> But this is having issues with endpoints for below.
>> Get call for /jars to list all uploaded jars and post call
>> /jars/{jarid}/run are giving 404 after disabling the two flags.
>> Is the process of uploading jars and running a jar with specific id
>> changes after this change?
>>
>> Please suggest.
>>
>> Thanks & Regards,
>> Nagasudhakar
>>
>> On Thu, 24 Nov, 2022, 2:07 PM Martijn Visser, <martijnvis...@apache.org>
>> wrote:
>>
>>> Hi,
>>>
>>> 1) No, that's currently not possible.
>>> 2) You could consider disabling to disallow uploading new JARs and/or
>>> cancelling jobs from the UI. See
>>> https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/config/#advanced-options-for-flink-web-ui
>>> <https://urldefense.com/v3/__https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/config/*advanced-options-for-flink-web-ui__;Iw!!DCbAVzZNrAf4!B-eZxS_lrz683kg6TY5I6gI7lex3qiRrQTWoM_EbECDFr62njjFlxqyUFfLFS6GofOfFjNbK9HcXrwyq0w$>
>>>
>>> Best regards,
>>>
>>> Martijn
>>>
>>> On Thu, Nov 24, 2022 at 3:44 AM naga sudhakar <nagasudha...@gmail.com>
>>> wrote:
>>>
>>>> Hi Team,
>>>>> Greetings!!!
>>>>> I am a software developer using apache flink and deploying flink jobs
>>>>> using the same. I have two queries about flink job manager dashboard. Can
>>>>> you please help with below?
>>>>>
>>>>> 1) is it possible to add login mechanism for the flink job manager
>>>>> dash board and have a role based mechanism for viewing running jobs,
>>>>> cancelling jobs, adding the jobs?
>>>>> 2) is it possible to disable to dash bord display but use api to do
>>>>> the same operations using API?
>>>>>
>>>>>
>>>>> Thanks,
>>>>> Nagasudhakar.
>>>>>
>>>>
> --
*BERKAY POLAT*
Software Engineer SMTS | MuleSoft at Salesforce
Mobile: 443-710-7021

<https://smart.salesforce.com/sig/bpolat//us_mb/default/link.html>

Reply via email to