These are chat archives for spring-cloud/spring-cloud

6th
Feb 2018
ygokirmak
@ygokirmak
Feb 06 2018 06:01
Hi all, is there any project/initiative focused on scheduled job management on spring-cloud family. Putting @scheduled annotation and leaving all scheduling logic into code results in manageability problems. Instead of doing this I think all jobs should be triggered with an api or queue message and they can show their current status via some actuator.. In that way we can write a good management UI for jobs or use one of existing (not so many..) like rundeck
ygokirmak
@ygokirmak
Feb 06 2018 06:29

Hi all, is there any project/initiative focused on scheduled job management on spring-cloud family. Putting @scheduled annotation and leaving all scheduling logic into code results in manageability problems. Instead of doing this I think all jobs should be triggered with an api or queue message and they can show their current status via some actuator.. In that way we can write a good management UI for jobs or use one of existing (not so many..) like rundeck

I think spring-cloud-tasks will be something like that https://docs.spring.io/spring-cloud-task/1.0.0.M1/reference/htmlsingle/#getting-started-developing-first-task

Abhishek Dujari
@abshkd
Feb 06 2018 06:33
I have a UAA microservice implemented that i am calling from another service. What is the best way to handle errors without duplicating effort.
I use a custom security filter and call the /uaa service
but all i return now is an html 401 page
i do send a response from UAA on what went wrong with the request
just need it be replicated to the client
Abhishek Dujari
@abshkd
Feb 06 2018 06:38
i just havent found an answer , it seems redundant to have to handle error responses again. maybe i am wrong