{"action":"created","issue":{"url":"https://api.github.com/repos/appcelerator/appc-platform-sdk/issues/1","labels_url":"https://api.github.com/repos/appcelerator/appc-platform-sdk/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/appcelerator/appc-platform-sdk/issues/1/comments","events_url":"https://api.github.com/repos/appcelerator/appc-platform-sdk/issues/1/events","html_url":"https://github.com/appcelerator/appc-platform-sdk/pull/1","id":58420274,"number":1,"title":"Platform SDK Unit Tests (and some other changes)","user":{"login":"alasdairhurst","id":8441810,"avatar_url":"https://avatars.githubusercontent.com/u/8441810?v=3","gravatar_id":"","url":"https://api.github.com/users/alasdairhurst","html_url":"https://github.com/alasdairhurst","followers_url":"https://api.github.com/users/alasdairhurst/followers","following_url":"https://api.github.com/users/alasdairhurst/following{/other_user}","gists_url":"https://api.github.com/users/alasdairhurst/gists{/gist_id}","starred_url":"https://api.github.com/users/alasdairhurst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alasdairhurst/subscriptions","organizations_url":"https://api.github.com/users/alasdairhurst/orgs","repos_url":"https://api.github.com/users/alasdairhurst/repos","events_url":"https://api.github.com/users/alasdairhurst/events{/privacy}","received_events_url":"https://api.github.com/users/alasdairhurst/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-20T22:35:43Z","updated_at":"2015-03-09T05:40:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/appcelerator/appc-platform-sdk/pulls/1","html_url":"https://github.com/appcelerator/appc-platform-sdk/pull/1","diff_url":"https://github.com/appcelerator/appc-platform-sdk/pull/1.diff","patch_url":"https://github.com/appcelerator/appc-platform-sdk/pull/1.patch"},"body":"This PR adds unit testing to the platform SDK and also cleans up the code and refactors the request methods.\r\n\r\nOne test is currently skipped to an issue which needs looking into:\r\nIt sometimes takes longer for cached orgs to be accessed than to connect to dashboard and return them.\r\nOrg.find()\r\n\r\nAt the moment only preprod has a config file, which can be found on the wiki\r\n\r\nconfig files are encrypted and not committed to git as plain text. at the moment they must be created & encrypted on unix due to errors decrypting files from windows.\r\n\r\nAPI deletion needs to be implemented within the  code. At the moment there is no API for this, so the environment remains in a messy state.\r\n\r\nOnly one node version is tested against. This is because travis builds work in parallel and the automation tests conflict with each other. the working travis build test is on a duplicate fork on this repo."},"comment":{"url":"https://api.github.com/repos/appcelerator/appc-platform-sdk/issues/comments/77803011","html_url":"https://github.com/appcelerator/appc-platform-sdk/pull/1#issuecomment-77803011","issue_url":"https://api.github.com/repos/appcelerator/appc-platform-sdk/issues/1","id":77803011,"user":{"login":"alasdairhurst","id":8441810,"avatar_url":"https://avatars.githubusercontent.com/u/8441810?v=3","gravatar_id":"","url":"https://api.github.com/users/alasdairhurst","html_url":"https://github.com/alasdairhurst","followers_url":"https://api.github.com/users/alasdairhurst/followers","following_url":"https://api.github.com/users/alasdairhurst/following{/other_user}","gists_url":"https://api.github.com/users/alasdairhurst/gists{/gist_id}","starred_url":"https://api.github.com/users/alasdairhurst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alasdairhurst/subscriptions","organizations_url":"https://api.github.com/users/alasdairhurst/orgs","repos_url":"https://api.github.com/users/alasdairhurst/repos","events_url":"https://api.github.com/users/alasdairhurst/events{/privacy}","received_events_url":"https://api.github.com/users/alasdairhurst/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T05:40:52Z","updated_at":"2015-03-09T05:40:52Z","body":"@jhaynie Will do first thing in the morning. Last check they were all passing.\r\nWhat are your thoughts on the 'issue' where cached orgs take as long/longer to fetch than calling the API to fetch orgs?"}}