{"action":"created","issue":{"url":"https://api.github.com/repos/lkiesow/pyCA/issues/15","labels_url":"https://api.github.com/repos/lkiesow/pyCA/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/lkiesow/pyCA/issues/15/comments","events_url":"https://api.github.com/repos/lkiesow/pyCA/issues/15/events","html_url":"https://github.com/lkiesow/pyCA/issues/15","id":55898629,"number":15,"title":"Ask Admin Server about Ingest Nodes","user":{"login":"lkiesow","id":1008395,"avatar_url":"https://avatars.githubusercontent.com/u/1008395?v=3","gravatar_id":"","url":"https://api.github.com/users/lkiesow","html_url":"https://github.com/lkiesow","followers_url":"https://api.github.com/users/lkiesow/followers","following_url":"https://api.github.com/users/lkiesow/following{/other_user}","gists_url":"https://api.github.com/users/lkiesow/gists{/gist_id}","starred_url":"https://api.github.com/users/lkiesow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lkiesow/subscriptions","organizations_url":"https://api.github.com/users/lkiesow/orgs","repos_url":"https://api.github.com/users/lkiesow/repos","events_url":"https://api.github.com/users/lkiesow/events{/privacy}","received_events_url":"https://api.github.com/users/lkiesow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-29T13:29:02Z","updated_at":"2015-02-21T00:03:18Z","closed_at":null,"body":"In large deployments, Matterhorn may have dedicated ingest nodes. PyCA should ask the admin about this and randomly (?) select one of these nodes."},"comment":{"url":"https://api.github.com/repos/lkiesow/pyCA/issues/comments/75342078","html_url":"https://github.com/lkiesow/pyCA/issues/15#issuecomment-75342078","issue_url":"https://api.github.com/repos/lkiesow/pyCA/issues/15","id":75342078,"user":{"login":"lkiesow","id":1008395,"avatar_url":"https://avatars.githubusercontent.com/u/1008395?v=3","gravatar_id":"","url":"https://api.github.com/users/lkiesow","html_url":"https://github.com/lkiesow","followers_url":"https://api.github.com/users/lkiesow/followers","following_url":"https://api.github.com/users/lkiesow/following{/other_user}","gists_url":"https://api.github.com/users/lkiesow/gists{/gist_id}","starred_url":"https://api.github.com/users/lkiesow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lkiesow/subscriptions","organizations_url":"https://api.github.com/users/lkiesow/orgs","repos_url":"https://api.github.com/users/lkiesow/repos","events_url":"https://api.github.com/users/lkiesow/events{/privacy}","received_events_url":"https://api.github.com/users/lkiesow/received_events","type":"User","site_admin":false},"created_at":"2015-02-21T00:03:18Z","updated_at":"2015-02-21T00:03:18Z","body":"get ingest node information from admin:\r\n\r\n```\r\n% curl -s -f --digest -u matterhorn_system_account:CHANGE_ME -H \"X-Requested-Auth: Digest\" 'http://mhtest.virtuos.uos.de:8080/services/available.json?serviceType=org.opencastproject.ingest' | json_xs\r\n{\r\n   \"services\" : {\r\n      \"service\" : {\r\n         \"state_changed\" : \"2015-01-31T14:42:16.895+01:00\",\r\n         \"warning_state_trigger\" : 0,\r\n         \"jobproducer\" : true,\r\n         \"host\" : \"http://mhtest.virtuos.uos.de:8080\",\r\n         \"error_state_trigger\" : 0,\r\n         \"maintenance\" : false,\r\n         \"type\" : \"org.opencastproject.ingest\",\r\n         \"path\" : \"/ingest\",\r\n         \"onlinefrom\" : \"2015-02-16T13:37:35.575+01:00\",\r\n         \"active\" : true,\r\n         \"online\" : true,\r\n         \"service_state\" : \"NORMAL\"\r\n      }\r\n   }\r\n}\r\n\r\n```"}}