fabric8-services / fabric8-jenkins-idler

OpenShift.io service to idle resp.unidle Jenkins instances
Apache License 2.0
4 stars 15 forks source link

Allow the idler to exclude some deployments from idling #330

Closed pradeepitm12 closed 5 years ago

pradeepitm12 commented 5 years ago

Allow the idler to exclude some deployments from idling Resolves

centos-ci commented 5 years ago

Can one of the admins verify this patch?

piyush-garg commented 5 years ago

[test]

pradeepitm12 commented 5 years ago

Example to set user enable/disable status. curl --header "Content-Type: application/json" --request POST --data '{"disable":["example1"],"enable":["example2"]}' http://localhost:8080/api/idler/setuserstatus/

To get disabled users list. curl http://localhost:8080/api/idler/getuserstatus/