{"action":"created","issue":{"url":"https://api.github.com/repos/GENI-NSF/geni-tools/issues/827","labels_url":"https://api.github.com/repos/GENI-NSF/geni-tools/issues/827/labels{/name}","comments_url":"https://api.github.com/repos/GENI-NSF/geni-tools/issues/827/comments","events_url":"https://api.github.com/repos/GENI-NSF/geni-tools/issues/827/events","html_url":"https://github.com/GENI-NSF/geni-tools/issues/827","id":78631317,"number":827,"title":"stitcher calculated new expires can be now","user":{"login":"ahelsing","id":12136824,"avatar_url":"https://avatars.githubusercontent.com/u/12136824?v=3","gravatar_id":"","url":"https://api.github.com/users/ahelsing","html_url":"https://github.com/ahelsing","followers_url":"https://api.github.com/users/ahelsing/followers","following_url":"https://api.github.com/users/ahelsing/following{/other_user}","gists_url":"https://api.github.com/users/ahelsing/gists{/gist_id}","starred_url":"https://api.github.com/users/ahelsing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahelsing/subscriptions","organizations_url":"https://api.github.com/users/ahelsing/orgs","repos_url":"https://api.github.com/users/ahelsing/repos","events_url":"https://api.github.com/users/ahelsing/events{/privacy}","received_events_url":"https://api.github.com/users/ahelsing/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GENI-NSF/geni-tools/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/GENI-NSF/geni-tools/labels/stitcher","name":"stitcher","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":{"login":"ahelsing","id":12136824,"avatar_url":"https://avatars.githubusercontent.com/u/12136824?v=3","gravatar_id":"","url":"https://api.github.com/users/ahelsing","html_url":"https://github.com/ahelsing","followers_url":"https://api.github.com/users/ahelsing/followers","following_url":"https://api.github.com/users/ahelsing/following{/other_user}","gists_url":"https://api.github.com/users/ahelsing/gists{/gist_id}","starred_url":"https://api.github.com/users/ahelsing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahelsing/subscriptions","organizations_url":"https://api.github.com/users/ahelsing/orgs","repos_url":"https://api.github.com/users/ahelsing/repos","events_url":"https://api.github.com/users/ahelsing/events{/privacy}","received_events_url":"https://api.github.com/users/ahelsing/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/GENI-NSF/geni-tools/milestones/31","html_url":"https://github.com/GENI-NSF/geni-tools/milestones/2.9","labels_url":"https://api.github.com/repos/GENI-NSF/geni-tools/milestones/31/labels","id":1116679,"number":31,"title":"2.9","description":null,"creator":{"login":"ahelsing","id":12136824,"avatar_url":"https://avatars.githubusercontent.com/u/12136824?v=3","gravatar_id":"","url":"https://api.github.com/users/ahelsing","html_url":"https://github.com/ahelsing","followers_url":"https://api.github.com/users/ahelsing/followers","following_url":"https://api.github.com/users/ahelsing/following{/other_user}","gists_url":"https://api.github.com/users/ahelsing/gists{/gist_id}","starred_url":"https://api.github.com/users/ahelsing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahelsing/subscriptions","organizations_url":"https://api.github.com/users/ahelsing/orgs","repos_url":"https://api.github.com/users/ahelsing/repos","events_url":"https://api.github.com/users/ahelsing/events{/privacy}","received_events_url":"https://api.github.com/users/ahelsing/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":38,"state":"open","created_at":"2015-05-18T22:35:41Z","updated_at":"2015-05-20T19:39:33Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-05-20T18:13:26Z","updated_at":"2015-05-20T19:39:33Z","closed_at":"2015-05-20T19:39:33Z","body":"stitcher calculates the time to set in the rspec `expires` attribute. That calculation is in days from now. But if the slice expiration is within 1 day, stitcher tries to set the expiration to now.\r\n"},"comment":{"url":"https://api.github.com/repos/GENI-NSF/geni-tools/issues/comments/104009824","html_url":"https://github.com/GENI-NSF/geni-tools/issues/827#issuecomment-104009824","issue_url":"https://api.github.com/repos/GENI-NSF/geni-tools/issues/827","id":104009824,"user":{"login":"ahelsing","id":12136824,"avatar_url":"https://avatars.githubusercontent.com/u/12136824?v=3","gravatar_id":"","url":"https://api.github.com/users/ahelsing","html_url":"https://github.com/ahelsing","followers_url":"https://api.github.com/users/ahelsing/followers","following_url":"https://api.github.com/users/ahelsing/following{/other_user}","gists_url":"https://api.github.com/users/ahelsing/gists{/gist_id}","starred_url":"https://api.github.com/users/ahelsing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahelsing/subscriptions","organizations_url":"https://api.github.com/users/ahelsing/orgs","repos_url":"https://api.github.com/users/ahelsing/repos","events_url":"https://api.github.com/users/ahelsing/events{/privacy}","received_events_url":"https://api.github.com/users/ahelsing/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T19:39:33Z","updated_at":"2015-05-20T19:39:33Z","body":"Now check that calculated expires is not past slice expiration. Also check that it is at least some minimum number of hours in the future (not past slice expiration)."}}