{"action":"created","issue":{"url":"https://api.github.com/repos/jsevellec/cassandra-unit/issues/119","labels_url":"https://api.github.com/repos/jsevellec/cassandra-unit/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/jsevellec/cassandra-unit/issues/119/comments","events_url":"https://api.github.com/repos/jsevellec/cassandra-unit/issues/119/events","html_url":"https://github.com/jsevellec/cassandra-unit/pull/119","id":69526290,"number":119,"title":"Optional random ports for Embedded Cassandra","user":{"login":"MarkusKull","id":7261244,"avatar_url":"https://avatars.githubusercontent.com/u/7261244?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkusKull","html_url":"https://github.com/MarkusKull","followers_url":"https://api.github.com/users/MarkusKull/followers","following_url":"https://api.github.com/users/MarkusKull/following{/other_user}","gists_url":"https://api.github.com/users/MarkusKull/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkusKull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkusKull/subscriptions","organizations_url":"https://api.github.com/users/MarkusKull/orgs","repos_url":"https://api.github.com/users/MarkusKull/repos","events_url":"https://api.github.com/users/MarkusKull/events{/privacy}","received_events_url":"https://api.github.com/users/MarkusKull/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-20T07:30:57Z","updated_at":"2015-05-08T15:50:59Z","closed_at":"2015-05-08T15:13:31Z","pull_request":{"url":"https://api.github.com/repos/jsevellec/cassandra-unit/pulls/119","html_url":"https://github.com/jsevellec/cassandra-unit/pull/119","diff_url":"https://github.com/jsevellec/cassandra-unit/pull/119.diff","patch_url":"https://github.com/jsevellec/cassandra-unit/pull/119.patch"},"body":"Our Jenkins may start multiple jobs containing an embedded cassandra in parallel. This leads to build errors due to duplicate ports. \r\n\r\nThis pull request reads the yaml before starting cassandra and replaces ports with value 0 by a random free port. Getters for port, host, cluster have been added to EmbeddedCassandraServerHelper, while configuration for these now unneeded values has been removed from the EmbeddedCassandra-Annotation. \r\n\r\nThe default yaml still contains the well known ports, so existing projects should continue to work. To use the random ports a new optional yaml has been added, which must be explicitly configured."},"comment":{"url":"https://api.github.com/repos/jsevellec/cassandra-unit/issues/comments/100278259","html_url":"https://github.com/jsevellec/cassandra-unit/pull/119#issuecomment-100278259","issue_url":"https://api.github.com/repos/jsevellec/cassandra-unit/issues/119","id":100278259,"user":{"login":"jsevellec","id":781596,"avatar_url":"https://avatars.githubusercontent.com/u/781596?v=3","gravatar_id":"","url":"https://api.github.com/users/jsevellec","html_url":"https://github.com/jsevellec","followers_url":"https://api.github.com/users/jsevellec/followers","following_url":"https://api.github.com/users/jsevellec/following{/other_user}","gists_url":"https://api.github.com/users/jsevellec/gists{/gist_id}","starred_url":"https://api.github.com/users/jsevellec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsevellec/subscriptions","organizations_url":"https://api.github.com/users/jsevellec/orgs","repos_url":"https://api.github.com/users/jsevellec/repos","events_url":"https://api.github.com/users/jsevellec/events{/privacy}","received_events_url":"https://api.github.com/users/jsevellec/received_events","type":"User","site_admin":false},"created_at":"2015-05-08T15:50:59Z","updated_at":"2015-05-08T15:50:59Z","body":"I've just published a 2.1.3.2-SNAPSHOT containing the PR\r\n(https://oss.sonatype.org/content/repositories/snapshots/)"}}