{"action":"created","issue":{"url":"https://api.github.com/repos/wildfly/wildfly/issues/7369","labels_url":"https://api.github.com/repos/wildfly/wildfly/issues/7369/labels{/name}","comments_url":"https://api.github.com/repos/wildfly/wildfly/issues/7369/comments","events_url":"https://api.github.com/repos/wildfly/wildfly/issues/7369/events","html_url":"https://github.com/wildfly/wildfly/pull/7369","id":69643044,"number":7369,"title":"[WFLY-3769] Implement graceful shutdown for batch.","user":{"login":"jamezp","id":420065,"avatar_url":"https://avatars.githubusercontent.com/u/420065?v=3","gravatar_id":"","url":"https://api.github.com/users/jamezp","html_url":"https://github.com/jamezp","followers_url":"https://api.github.com/users/jamezp/followers","following_url":"https://api.github.com/users/jamezp/following{/other_user}","gists_url":"https://api.github.com/users/jamezp/gists{/gist_id}","starred_url":"https://api.github.com/users/jamezp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamezp/subscriptions","organizations_url":"https://api.github.com/users/jamezp/orgs","repos_url":"https://api.github.com/users/jamezp/repos","events_url":"https://api.github.com/users/jamezp/events{/privacy}","received_events_url":"https://api.github.com/users/jamezp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wildfly/wildfly/labels/10.x","name":"10.x","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":36,"created_at":"2015-04-20T17:49:07Z","updated_at":"2015-06-17T18:58:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wildfly/wildfly/pulls/7369","html_url":"https://github.com/wildfly/wildfly/pull/7369","diff_url":"https://github.com/wildfly/wildfly/pull/7369.diff","patch_url":"https://github.com/wildfly/wildfly/pull/7369.patch"},"body":"This should fix the reason the original commit was reverted. The existence of the `request-controller` subsystem is checked during the batch add operation.\r\n\r\nThe two methods in the `WildFlyBatchEnvironment` that now throw `UnsupportedOperationsException` are removed in the upstream JBeret. They're not used anywhere and neither is the `Future` result from the other `submit` method.\r\n\r\nThe `JobOperator.start()`, `JobOperator.stop()`, `JobOperator.abandon()` and `JobOperator.restart()` might need to do something if the server is suspended as it could attempt to access stuff like JDBC. The only way this should happen though is if a user uses unconventional means of launching a job. Most jobs are should be started through an endpoint like a servlet or in a scheduled EJB. "},"comment":{"url":"https://api.github.com/repos/wildfly/wildfly/issues/comments/112914039","html_url":"https://github.com/wildfly/wildfly/pull/7369#issuecomment-112914039","issue_url":"https://api.github.com/repos/wildfly/wildfly/issues/7369","id":112914039,"user":{"login":"wildfly-ci","id":939955,"avatar_url":"https://avatars.githubusercontent.com/u/939955?v=3","gravatar_id":"","url":"https://api.github.com/users/wildfly-ci","html_url":"https://github.com/wildfly-ci","followers_url":"https://api.github.com/users/wildfly-ci/followers","following_url":"https://api.github.com/users/wildfly-ci/following{/other_user}","gists_url":"https://api.github.com/users/wildfly-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/wildfly-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wildfly-ci/subscriptions","organizations_url":"https://api.github.com/users/wildfly-ci/orgs","repos_url":"https://api.github.com/users/wildfly-ci/repos","events_url":"https://api.github.com/users/wildfly-ci/events{/privacy}","received_events_url":"https://api.github.com/users/wildfly-ci/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T18:58:54Z","updated_at":"2015-06-17T18:58:54Z","body":"**Linux with security manager** [Build 1624](http://brontes.lab.eng.brq.redhat.com/viewLog.html?buildId=57357&buildTypeId=WF_PullRequest_LinuxSm) outcome was **SUCCESS** using a merge of 4c567ab03fa95692e6c4d88c31b80b910a59b557\nSummary: Tests passed: 833, ignored: 322 Build time: 0:05:27"}}