{"action":"closed","issue":{"url":"https://api.github.com/repos/aesteve/vertx-mvc/issues/12","labels_url":"https://api.github.com/repos/aesteve/vertx-mvc/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/aesteve/vertx-mvc/issues/12/comments","events_url":"https://api.github.com/repos/aesteve/vertx-mvc/issues/12/events","html_url":"https://github.com/aesteve/vertx-mvc/issues/12","id":64819119,"number":12,"title":"Refactor the VertxMVC class","user":{"login":"aesteve","id":1456317,"avatar_url":"https://avatars.githubusercontent.com/u/1456317?v=3","gravatar_id":"","url":"https://api.github.com/users/aesteve","html_url":"https://github.com/aesteve","followers_url":"https://api.github.com/users/aesteve/followers","following_url":"https://api.github.com/users/aesteve/following{/other_user}","gists_url":"https://api.github.com/users/aesteve/gists{/gist_id}","starred_url":"https://api.github.com/users/aesteve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aesteve/subscriptions","organizations_url":"https://api.github.com/users/aesteve/orgs","repos_url":"https://api.github.com/users/aesteve/repos","events_url":"https://api.github.com/users/aesteve/events{/privacy}","received_events_url":"https://api.github.com/users/aesteve/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aesteve/vertx-mvc/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"aesteve","id":1456317,"avatar_url":"https://avatars.githubusercontent.com/u/1456317?v=3","gravatar_id":"","url":"https://api.github.com/users/aesteve","html_url":"https://github.com/aesteve","followers_url":"https://api.github.com/users/aesteve/followers","following_url":"https://api.github.com/users/aesteve/following{/other_user}","gists_url":"https://api.github.com/users/aesteve/gists{/gist_id}","starred_url":"https://api.github.com/users/aesteve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aesteve/subscriptions","organizations_url":"https://api.github.com/users/aesteve/orgs","repos_url":"https://api.github.com/users/aesteve/repos","events_url":"https://api.github.com/users/aesteve/events{/privacy}","received_events_url":"https://api.github.com/users/aesteve/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/aesteve/vertx-mvc/milestones/1","html_url":"https://github.com/aesteve/vertx-mvc/milestones/0.1","labels_url":"https://api.github.com/repos/aesteve/vertx-mvc/milestones/1/labels","id":1036954,"number":1,"title":"0.1","description":"Just a proof of concept version.","creator":{"login":"aesteve","id":1456317,"avatar_url":"https://avatars.githubusercontent.com/u/1456317?v=3","gravatar_id":"","url":"https://api.github.com/users/aesteve","html_url":"https://github.com/aesteve","followers_url":"https://api.github.com/users/aesteve/followers","following_url":"https://api.github.com/users/aesteve/following{/other_user}","gists_url":"https://api.github.com/users/aesteve/gists{/gist_id}","starred_url":"https://api.github.com/users/aesteve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aesteve/subscriptions","organizations_url":"https://api.github.com/users/aesteve/orgs","repos_url":"https://api.github.com/users/aesteve/repos","events_url":"https://api.github.com/users/aesteve/events{/privacy}","received_events_url":"https://api.github.com/users/aesteve/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":2,"state":"open","created_at":"2015-03-24T18:53:48Z","updated_at":"2015-03-28T15:54:00Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-03-27T18:04:50Z","updated_at":"2015-03-28T15:54:00Z","closed_at":"2015-03-28T15:54:00Z","body":"For now, everything we do in VertxMVC is blocking (reflection stuff).\r\n\r\nIn the future (see #4 ) there could be async stuff => VertxMVC should return `Future<Void>`, especially if users bootstrap from their own verticle.\r\n\r\nAlso, keep the reflection stuff and route reflection discovery out of this class. This class should only be a conductor for every kind of bootstrapping stuff : \r\n\r\n* routes by reflection\r\n* template handlers instantiation\r\n* database / ORM startup/config (if we implement the model layer)\r\n* loading fixtures\r\n* ...\r\n\r\n=> it needs to be refactored properly (and create a package named bootstrap)\r\n\r\n"}}