{"push_id":1226727278,"size":76,"distinct_size":76,"ref":"refs/heads/master","head":"bdebd02d8cac79e146e9ecdd5155a5800676e926","before":"9d873141059064bb25c200de258d8bacd85eb52e","commits":[{"sha":"c16d309c8c05f2dd80d2b2dcb36a1bb129c82743","author":{"name":"David Pilato","email":"d8099b0f90e53c29d29eb12a7a3caa5af4f12681@pilato.fr"},"message":"Allow `_gce_` network when not using discovery gce\n\nFor now we support `_gce_` only if discovery is set to `gce` and all information about GCE is provided (project_id and zone).\nBut in some cases, people would like to only bind to `_gce_` on a single node (without any elasticsearch cluster).\n\nThey could access the machine then from other machines running inside the same project.\n\nThis commit adds a new GceMetadataService which is started as soon as the plugin is started so GceNameResolver can use it to resolve `_gce`.\n\nCloses #15724.","distinct":true,"url":"https://api.github.com/repos/jdconrad/elasticsearch/commits/c16d309c8c05f2dd80d2b2dcb36a1bb129c82743"},{"sha":"b9989f88d015c1b6eef38aa89f5000fdc84e61db","author":{"name":"David Pilato","email":"d8099b0f90e53c29d29eb12a7a3caa5af4f12681@pilato.fr"},"message":"Merge branch 'master' into pr/15724-gce-network-host-master","distinct":true,"url":"https://api.github.com/repos/jdconrad/elasticsearch/commits/b9989f88d015c1b6eef38aa89f5000fdc84e61db"},{"sha":"711515ac801cc3ffc48f4a14e5f9458fc83ea2ab","author":{"name":"David Pilato","email":"d8099b0f90e53c29d29eb12a7a3caa5af4f12681@pilato.fr"},"message":"Rename GceComputeService to GceInstancesService","distinct":true,"url":"https://api.github.com/repos/jdconrad/elasticsearch/commits/711515ac801cc3ffc48f4a14e5f9458fc83ea2ab"},{"sha":"1eb022de11f47e0d7f6420fa2e9529bdb0021c0a","author":{"name":"David Pilato","email":"d8099b0f90e53c29d29eb12a7a3caa5af4f12681@pilato.fr"},"message":"Use a unique GCE_HOST setting","distinct":true,"url":"https://api.github.com/repos/jdconrad/elasticsearch/commits/1eb022de11f47e0d7f6420fa2e9529bdb0021c0a"},{"sha":"b0bdd443bdf526b687bb595d6fec8fd23dc97b4c","author":{"name":"David Pilato","email":"d8099b0f90e53c29d29eb12a7a3caa5af4f12681@pilato.fr"},"message":"Don't use String concatenation but actual URI","distinct":true,"url":"https://api.github.com/repos/jdconrad/elasticsearch/commits/b0bdd443bdf526b687bb595d6fec8fd23dc97b4c"},{"sha":"e7ab0a9233cc4aec396e56856c424d558bb90574","author":{"name":"David Pilato","email":"d8099b0f90e53c29d29eb12a7a3caa5af4f12681@pilato.fr"},"message":"Remove GceMetadataService interface as not needed","distinct":true,"url":"https://api.github.com/repos/jdconrad/elasticsearch/commits/e7ab0a9233cc4aec396e56856c424d558bb90574"},{"sha":"a1496f8e21f4d1da7dcd25d65e5aab9b5f9765d3","author":{"name":"David Pilato","email":"d8099b0f90e53c29d29eb12a7a3caa5af4f12681@pilato.fr"},"message":"Fix getResource to call it from the current class","distinct":true,"url":"https://api.github.com/repos/jdconrad/elasticsearch/commits/a1496f8e21f4d1da7dcd25d65e5aab9b5f9765d3"},{"sha":"ef6e43e18d04b05a398c9d45a12807a4e9c5a406","author":{"name":"David Pilato","email":"d8099b0f90e53c29d29eb12a7a3caa5af4f12681@pilato.fr"},"message":"We don't need many URLs here but just one","distinct":true,"url":"https://api.github.com/repos/jdconrad/elasticsearch/commits/ef6e43e18d04b05a398c9d45a12807a4e9c5a406"},{"sha":"a9e93a0da4c982e8f40bdddbe25e8f05d8c1af26","author":{"name":"David Pilato","email":"d8099b0f90e53c29d29eb12a7a3caa5af4f12681@pilato.fr"},"message":"Merge branch 'master' into pr/15724-gce-network-host-master\n\n# Conflicts:\n#\tplugins/discovery-gce/src/main/java/org/elasticsearch/plugin/discovery/gce/GceDiscoveryPlugin.java\n#\tplugins/discovery-gce/src/test/java/org/elasticsearch/discovery/gce/GceDiscoverTests.java\n#\tplugins/discovery-gce/src/test/java/org/elasticsearch/discovery/gce/GceDiscoveryTests.java","distinct":true,"url":"https://api.github.com/repos/jdconrad/elasticsearch/commits/a9e93a0da4c982e8f40bdddbe25e8f05d8c1af26"},{"sha":"daf08ace1eab1ef6f58ffde859f0be15f81e5c7d","author":{"name":"David Pilato","email":"d8099b0f90e53c29d29eb12a7a3caa5af4f12681@pilato.fr"},"message":"Fix after merge with master","distinct":true,"url":"https://api.github.com/repos/jdconrad/elasticsearch/commits/daf08ace1eab1ef6f58ffde859f0be15f81e5c7d"},{"sha":"0c3ce1fac2ee6bec9a9a783f03cea732f14fd984","author":{"name":"David Pilato","email":"d8099b0f90e53c29d29eb12a7a3caa5af4f12681@pilato.fr"},"message":"Merge branch 'master' into pr/15724-gce-network-host-master","distinct":true,"url":"https://api.github.com/repos/jdconrad/elasticsearch/commits/0c3ce1fac2ee6bec9a9a783f03cea732f14fd984"},{"sha":"98fd5833cc5c20fb16aaead601789fb65dc232db","author":{"name":"David Pilato","email":"d8099b0f90e53c29d29eb12a7a3caa5af4f12681@pilato.fr"},"message":"Merge branch 'master' into pr/15724-gce-network-host-master","distinct":true,"url":"https://api.github.com/repos/jdconrad/elasticsearch/commits/98fd5833cc5c20fb16aaead601789fb65dc232db"},{"sha":"11ec3a4af610f1ec78318cabc4959fcc35ac3081","author":{"name":"David Pilato","email":"d8099b0f90e53c29d29eb12a7a3caa5af4f12681@pilato.fr"},"message":"Fix path_style_access after merge with master","distinct":true,"url":"https://api.github.com/repos/jdconrad/elasticsearch/commits/11ec3a4af610f1ec78318cabc4959fcc35ac3081"},{"sha":"2a9d7f68a1dea65b27f662508770e9cf7a68414b","author":{"name":"David Pilato","email":"d8099b0f90e53c29d29eb12a7a3caa5af4f12681@pilato.fr"},"message":"Move custom name resolver registration to the NetworkModule\n\nAs explained in https://github.com/elastic/elasticsearch/pull/15765#discussion_r65804713","distinct":true,"url":"https://api.github.com/repos/jdconrad/elasticsearch/commits/2a9d7f68a1dea65b27f662508770e9cf7a68414b"},{"sha":"5e57febe53c6961b65701d3f74e6af91559018d4","author":{"name":"David Pilato","email":"d8099b0f90e53c29d29eb12a7a3caa5af4f12681@pilato.fr"},"message":"Add DiscoveryPlugin interface\n\nSo we have a Pull interface easier to use which reduce the need of Guice.\n\nSee https://github.com/elastic/elasticsearch/commit/2a9d7f68a1dea65b27f662508770e9cf7a68414b#commitcomment-18335161","distinct":true,"url":"https://api.github.com/repos/jdconrad/elasticsearch/commits/5e57febe53c6961b65701d3f74e6af91559018d4"},{"sha":"f33d103e76a84fb07aca1bc9c83768efb736c851","author":{"name":"David Pilato","email":"d8099b0f90e53c29d29eb12a7a3caa5af4f12681@pilato.fr"},"message":"Use `DefaultAWSCredentialsProviderChain` AWS SDK class for credentials\n\nFollow up discussion at https://github.com/elastic/elasticsearch/pull/18690#issuecomment-234505083\n\nReading the best practices [recommended by AWS](http://docs.aws.amazon.com/java-sdk/latest/developer-guide/credentials.html), we should use `DefaultAWSCredentialsProviderChain` instead of providing the detail of the chain ourselves.\n\nFor now, we read credentials (if not provided in `elasticsearch.yml`) using:\n\n```java\ncredentials = new AWSCredentialsProviderChain(\n   new SystemPropertiesCredentialsProvider(),\n   new EnvironmentVariableCredentialsProvider(),\n   new InstanceProfileCredentialsProvider()\n);\n```\n\nWhich means that we read from:\n\n* Environment Variables - `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` (RECOMMENDED since they are recognized by all the AWS SDKs and CLI except for .NET), or `AWS_ACCESS_KEY` and `AWS_SECRET_KEY` (only recognized by Java SDK)\n* Java System Properties - `aws.accessKeyId` and `aws.secretKey`\n* Instance profile credentials delivered through the Amazon EC2 metadata service\n\nUsing instead:\n\n```java\ncredentials = new DefaultAWSCredentialsProviderChain();\n```\n\nWill give us two new more methods out of the box:\n\n> * Credential profiles file at the default location (`~/.aws/credentials`) shared by all AWS SDKs and the AWS CLI\n> * Credentials delivered through the Amazon EC2 container service if `AWS_CONTAINER_CREDENTIALS_RELATIVE_URI` environment variable is set and security manager has permission to access the variable\n\nCherry on the cake: as soon as AWS SDK will propose a new implementation, we will benefit from it without any modification (just updating the SDK).\n\nWe also simplify\n\n```\nnew AWSCredentialsProviderChain(new StaticCredentialsProvider(new BasicAWSCredentials(key, secret)));\n```\n\nAs there is no need to wrap StaticCredentialsProvider in AWSCredentialsProviderChain.\n\nCloses #19556.","distinct":true,"url":"https://api.github.com/repos/jdconrad/elasticsearch/commits/f33d103e76a84fb07aca1bc9c83768efb736c851"},{"sha":"feea7f711e4c03bbe9f0a4bced60453b50057879","author":{"name":"David Pilato","email":"d8099b0f90e53c29d29eb12a7a3caa5af4f12681@pilato.fr"},"message":"Add tests","distinct":true,"url":"https://api.github.com/repos/jdconrad/elasticsearch/commits/feea7f711e4c03bbe9f0a4bced60453b50057879"},{"sha":"cab353165562b6f85eb35c6cf829d2425851b02a","author":{"name":"David Pilato","email":"d8099b0f90e53c29d29eb12a7a3caa5af4f12681@pilato.fr"},"message":"Update test","distinct":true,"url":"https://api.github.com/repos/jdconrad/elasticsearch/commits/cab353165562b6f85eb35c6cf829d2425851b02a"},{"sha":"fde15ae4704f30dcb929360091728ffc4b2e0844","author":{"name":"David Pilato","email":"d8099b0f90e53c29d29eb12a7a3caa5af4f12681@pilato.fr"},"message":"Move custom name resolvers to NetworkService CTOR\n\nInstead of using NetworkModule we can directly inject them in NetworkService CTOR.\n\nSee https://github.com/elastic/elasticsearch/pull/15765#issuecomment-235307974","distinct":true,"url":"https://api.github.com/repos/jdconrad/elasticsearch/commits/fde15ae4704f30dcb929360091728ffc4b2e0844"},{"sha":"0d3edee928a2a402efee0197c12da05db48975fa","author":{"name":"David Pilato","email":"d8099b0f90e53c29d29eb12a7a3caa5af4f12681@pilato.fr"},"message":"Merge branch 'master' into pr/15724-gce-network-host-master","distinct":true,"url":"https://api.github.com/repos/jdconrad/elasticsearch/commits/0d3edee928a2a402efee0197c12da05db48975fa"}]}
{"actor":{"display_login":"jdconrad"}}