{"action":"created","issue":{"url":"https://api.github.com/repos/benchflow/data-manager/issues/5","repository_url":"https://api.github.com/repos/benchflow/data-manager","labels_url":"https://api.github.com/repos/benchflow/data-manager/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/benchflow/data-manager/issues/5/comments","events_url":"https://api.github.com/repos/benchflow/data-manager/issues/5/events","html_url":"https://github.com/benchflow/data-manager/issues/5","id":155257103,"number":5,"title":"Implement the REST Service \"Hello World\" that Build in a Docker Container","user":{"login":"VincenzoFerme","id":7163641,"avatar_url":"https://avatars.githubusercontent.com/u/7163641?v=3","gravatar_id":"","url":"https://api.github.com/users/VincenzoFerme","html_url":"https://github.com/VincenzoFerme","followers_url":"https://api.github.com/users/VincenzoFerme/followers","following_url":"https://api.github.com/users/VincenzoFerme/following{/other_user}","gists_url":"https://api.github.com/users/VincenzoFerme/gists{/gist_id}","starred_url":"https://api.github.com/users/VincenzoFerme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VincenzoFerme/subscriptions","organizations_url":"https://api.github.com/users/VincenzoFerme/orgs","repos_url":"https://api.github.com/users/VincenzoFerme/repos","events_url":"https://api.github.com/users/VincenzoFerme/events{/privacy}","received_events_url":"https://api.github.com/users/VincenzoFerme/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/benchflow/data-manager/labels/feature","name":"feature","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"igormoreno","id":229440,"avatar_url":"https://avatars.githubusercontent.com/u/229440?v=3","gravatar_id":"","url":"https://api.github.com/users/igormoreno","html_url":"https://github.com/igormoreno","followers_url":"https://api.github.com/users/igormoreno/followers","following_url":"https://api.github.com/users/igormoreno/following{/other_user}","gists_url":"https://api.github.com/users/igormoreno/gists{/gist_id}","starred_url":"https://api.github.com/users/igormoreno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igormoreno/subscriptions","organizations_url":"https://api.github.com/users/igormoreno/orgs","repos_url":"https://api.github.com/users/igormoreno/repos","events_url":"https://api.github.com/users/igormoreno/events{/privacy}","received_events_url":"https://api.github.com/users/igormoreno/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/benchflow/data-manager/milestones/1","html_url":"https://github.com/benchflow/data-manager/milestones/Priorities","labels_url":"https://api.github.com/repos/benchflow/data-manager/milestones/1/labels","id":1757315,"number":1,"title":"Priorities","description":"Stuff we must do soon. We never change or rename this milestone.","creator":{"login":"VincenzoFerme","id":7163641,"avatar_url":"https://avatars.githubusercontent.com/u/7163641?v=3","gravatar_id":"","url":"https://api.github.com/users/VincenzoFerme","html_url":"https://github.com/VincenzoFerme","followers_url":"https://api.github.com/users/VincenzoFerme/followers","following_url":"https://api.github.com/users/VincenzoFerme/following{/other_user}","gists_url":"https://api.github.com/users/VincenzoFerme/gists{/gist_id}","starred_url":"https://api.github.com/users/VincenzoFerme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VincenzoFerme/subscriptions","organizations_url":"https://api.github.com/users/VincenzoFerme/orgs","repos_url":"https://api.github.com/users/VincenzoFerme/repos","events_url":"https://api.github.com/users/VincenzoFerme/events{/privacy}","received_events_url":"https://api.github.com/users/VincenzoFerme/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2016-05-10T09:03:36Z","updated_at":"2016-05-17T13:17:10Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-05-17T13:17:10Z","updated_at":"2016-05-25T10:04:00Z","closed_at":null,"body":"Things to do: \r\n\r\n- Organise #1 and #2 in the `documentation` folder\r\n- Setup an \"Hello World\" project that:\r\n  - Eclipse Project\r\n  - Define a [configuration.yml](https://github.com/benchflow/experiments-manager/blob/dev/configuration.yml) where we can override some settings using environment variables\r\n  - Set up a build system that can be automated in Travis CI. E.g., for Java we have [Maven](https://github.com/benchflow/experiments-manager/blob/dev/pom.xml) and [.travis](https://github.com/benchflow/experiments-manager/blob/dev/.travis.yml). The name of the generated artefacts should be `target/benchflow-data-manager.jar`\r\n  - Define the following artefacts:\r\n    - [Dockerfile.test](https://github.com/benchflow/experiments-manager/blob/dev/Dockerfile.test): it's the Dockerfile we use to test the container locally. It's a matter of changing names to `drivers-maker`\r\n    - [Dockerfile](https://github.com/benchflow/experiments-manager/blob/dev/Dockerfile): it's the Dockerfile we use to build the container in CI\r\n    - A [service](https://github.com/benchflow/experiments-manager/tree/dev/services) configuration file, that it's basically the same as the linked one, adapted for Scala and changing the name to `data-manager`\r\n    - [Makefile](https://github.com/benchflow/experiments-manager/blob/dev/Makefile) to join all together\r\n- Proof of concept for functionality:\r\n  - Play framework working\r\n  - Actor doing Hello World working"},"comment":{"url":"https://api.github.com/repos/benchflow/data-manager/issues/comments/221529155","html_url":"https://github.com/benchflow/data-manager/issues/5#issuecomment-221529155","issue_url":"https://api.github.com/repos/benchflow/data-manager/issues/5","id":221529155,"user":{"login":"igormoreno","id":229440,"avatar_url":"https://avatars.githubusercontent.com/u/229440?v=3","gravatar_id":"","url":"https://api.github.com/users/igormoreno","html_url":"https://github.com/igormoreno","followers_url":"https://api.github.com/users/igormoreno/followers","following_url":"https://api.github.com/users/igormoreno/following{/other_user}","gists_url":"https://api.github.com/users/igormoreno/gists{/gist_id}","starred_url":"https://api.github.com/users/igormoreno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igormoreno/subscriptions","organizations_url":"https://api.github.com/users/igormoreno/orgs","repos_url":"https://api.github.com/users/igormoreno/repos","events_url":"https://api.github.com/users/igormoreno/events{/privacy}","received_events_url":"https://api.github.com/users/igormoreno/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T10:04:00Z","updated_at":"2016-05-25T10:04:00Z","body":"### About configuration files\r\n\r\nConfiguration in the play framework in general:\r\nhttps://www.playframework.com/documentation/2.5.x/Configuration\r\n\r\nThe configuration files use a format called HOCON (that is meant to be a superset of Json):\r\nhttps://github.com/typesafehub/config/blob/master/HOCON.md\r\n\r\nA good description you can find here:\r\nhttps://github.com/typesafehub/config\r\nwhich is a configuration library for JVM languages\r\n\r\nSo I think if we use this the resulting configuration file will look very much like the one used by drop wizard\r\nwith small differences. Probably something like:\r\n\r\ninstead of\r\n```\r\ndatabase:\r\n  name: ${env.DB_NAME!\"experiments\"}\r\n  address: ${env.DB_ADDRESS}\r\n  user: ${env.DB_USER!\"root\"}\r\n  password: ${env.DB_PASSWORD!\"\"}\r\n```\r\n\r\nwe would have\r\n```\r\ndatabase: {\r\n  name: \"experiments\"\r\n  name: ${?DB_NAME}\r\n  address: ${?DB_ADDRESS}\r\n  user: \"root\"\r\n  user: ${?DB_USER}\r\n  password: \"\"\r\n  password: ${?DB_PASSWORD}\r\n}\r\n```\r\n\r\n\r\n\r\nPlay framework - configuration in production: https://www.playframework.com/documentation/2.5.x/ProductionConfiguration\r\n"}}
{"actor":{"display_login":"igormoreno"}}