{"action":"created","issue":{"url":"https://api.github.com/repos/yonadev/yona-server/issues/256","repository_url":"https://api.github.com/repos/yonadev/yona-server","labels_url":"https://api.github.com/repos/yonadev/yona-server/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/yonadev/yona-server/issues/256/comments","events_url":"https://api.github.com/repos/yonadev/yona-server/issues/256/events","html_url":"https://github.com/yonadev/yona-server/pull/256","id":184632830,"number":256,"title":"YD-373 Implemented PUT for all act cats","user":{"login":"Bert-R","id":7149792,"avatar_url":"https://avatars.githubusercontent.com/u/7149792?v=3","gravatar_id":"","url":"https://api.github.com/users/Bert-R","html_url":"https://github.com/Bert-R","followers_url":"https://api.github.com/users/Bert-R/followers","following_url":"https://api.github.com/users/Bert-R/following{/other_user}","gists_url":"https://api.github.com/users/Bert-R/gists{/gist_id}","starred_url":"https://api.github.com/users/Bert-R/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bert-R/subscriptions","organizations_url":"https://api.github.com/users/Bert-R/orgs","repos_url":"https://api.github.com/users/Bert-R/repos","events_url":"https://api.github.com/users/Bert-R/events{/privacy}","received_events_url":"https://api.github.com/users/Bert-R/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-22T14:17:48Z","updated_at":"2016-10-22T14:28:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/yonadev/yona-server/pulls/256","html_url":"https://github.com/yonadev/yona-server/pull/256","diff_url":"https://github.com/yonadev/yona-server/pull/256.diff","patch_url":"https://github.com/yonadev/yona-server/pull/256.patch"},"body":"* Implemented a PUT option on ``/activityCategories/``. This allows setting the production activity categories through a command like this: ``curl -X PUT http://localhost:8080/activityCategories/ -d @dbinit/data/productionActivityCategories.json --header \"Content-Type: application/json\"``\r\n* There is an issue in HSQLDB, Spring or JPA that makes an implicit flush fail with ``java.sql.SQLException: invalid transaction state: read-only SQL-transaction``. Implemented an explicit flush to work around that issue.\r\n* Added an extra JSON file with the production activity categories\r\n* Removed  ``Games`` from the activity categories file used for testing\r\n* Reformatted the activity categories in the JSON file, to increase readability and simplify comparison\r\n* Renamed local variable in ``ActivityCacheService.fetchLastActivityForUser`` for consistency"},"comment":{"url":"https://api.github.com/repos/yonadev/yona-server/issues/comments/255531569","html_url":"https://github.com/yonadev/yona-server/pull/256#issuecomment-255531569","issue_url":"https://api.github.com/repos/yonadev/yona-server/issues/256","id":255531569,"user":{"login":"Bert-R","id":7149792,"avatar_url":"https://avatars.githubusercontent.com/u/7149792?v=3","gravatar_id":"","url":"https://api.github.com/users/Bert-R","html_url":"https://github.com/Bert-R","followers_url":"https://api.github.com/users/Bert-R/followers","following_url":"https://api.github.com/users/Bert-R/following{/other_user}","gists_url":"https://api.github.com/users/Bert-R/gists{/gist_id}","starred_url":"https://api.github.com/users/Bert-R/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bert-R/subscriptions","organizations_url":"https://api.github.com/users/Bert-R/orgs","repos_url":"https://api.github.com/users/Bert-R/repos","events_url":"https://api.github.com/users/Bert-R/events{/privacy}","received_events_url":"https://api.github.com/users/Bert-R/received_events","type":"User","site_admin":false},"created_at":"2016-10-22T14:28:06Z","updated_at":"2016-10-22T14:28:06Z","body":"Once this PR is merged, the functional people can maintain the activity categories on GitHub. Loading them into an environment can be done through this command:\r\n```\r\ncurl https://raw.githubusercontent.com/yonadev/yona-server/master/dbinit/data/productionActivityCategories.json | curl -X PUT --header \"Content-Type: application/json\" -d @- http://localhost:8080/activityCategories/\r\n```"}}
{"actor":{"display_login":"Bert-R"}}