Skip to content

Commit

Permalink
Update to elasticsearch 1.0.0.RC1
Browse files Browse the repository at this point in the history
Closes #4.
  • Loading branch information
dadoonet committed Jan 15, 2014
1 parent fbbaf37 commit fbf9b00
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions pom.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Licensed to ElasticSearch under one or more contributor
<!-- Licensed to Elasticsearch under one or more contributor
license agreements. See the NOTICE file distributed with this work for additional
information regarding copyright ownership. ElasticSearch licenses this file to you
under the Apache License, Version 2.0 (the "License"); you may not use this
Expand All @@ -17,9 +17,9 @@ governing permissions and limitations under the License. -->
<modelVersion>4.0.0</modelVersion>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch-cloud-azure</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>2.0.0.RC1-SNAPSHOT</version>
<packaging>jar</packaging>
<description>Azure Cloud plugin for ElasticSearch</description>
<description>Azure Cloud plugin for Elasticsearch</description>
<inceptionYear>2013</inceptionYear>
<licenses>
<license>
Expand All @@ -42,7 +42,7 @@ governing permissions and limitations under the License. -->
</parent>

<properties>
<elasticsearch.version>0.90.10</elasticsearch.version>
<elasticsearch.version>1.0.0.RC1-SNAPSHOT</elasticsearch.version>
<lucene.version>4.6.0</lucene.version>
<tests.output>onerror</tests.output>
<tests.jvms>1</tests.jvms>
Expand Down
Expand Up @@ -19,7 +19,7 @@

package org.elasticsearch.cloud.azure;

import org.elasticsearch.ElasticSearchException;
import org.elasticsearch.ElasticsearchException;
import org.elasticsearch.common.Strings;
import org.elasticsearch.common.component.AbstractLifecycleComponent;
import org.elasticsearch.common.inject.Inject;
Expand Down Expand Up @@ -200,18 +200,18 @@ private SSLSocketFactory getSocketFactory(String keystore, String password) thro
}

@Override
protected void doStart() throws ElasticSearchException {
protected void doStart() throws ElasticsearchException {
}

@Override
protected void doStop() throws ElasticSearchException {
protected void doStop() throws ElasticsearchException {
}

@Override
protected void doClose() throws ElasticSearchException {
protected void doClose() throws ElasticsearchException {
}

private void checkProperty(String name, String value) throws ElasticSearchException {
private void checkProperty(String name, String value) throws ElasticsearchException {
if (!Strings.hasText(value)) {
throw new SettingsException("cloud.azure." + name +" is not set or is incorrect.");
}
Expand Down
Expand Up @@ -19,7 +19,7 @@

package org.elasticsearch.discovery.azure;

import org.elasticsearch.ElasticSearchIllegalArgumentException;
import org.elasticsearch.ElasticsearchIllegalArgumentException;
import org.elasticsearch.Version;
import org.elasticsearch.cloud.azure.AzureComputeService;
import org.elasticsearch.cloud.azure.Instance;
Expand Down Expand Up @@ -135,7 +135,7 @@ public List<DiscoveryNode> buildDynamicNodes() {

if (networkAddress == null) {
// We have a bad parameter here or not enough information from azure
throw new ElasticSearchIllegalArgumentException("can't find any " + host_type.name() + " address");
throw new ElasticsearchIllegalArgumentException("can't find any " + host_type.name() + " address");
} else {
TransportAddress[] addresses = transportService.addressesFromString(networkAddress);
// we only limit to 1 addresses, makes no sense to ping 100 ports
Expand Down
Expand Up @@ -19,7 +19,7 @@

package org.elasticsearch.discovery.azure;

import org.elasticsearch.ElasticSearchException;
import org.elasticsearch.ElasticsearchException;
import org.elasticsearch.cloud.azure.AzureComputeService;
import org.elasticsearch.common.component.AbstractLifecycleComponent;
import org.elasticsearch.common.settings.Settings;
Expand All @@ -36,16 +36,16 @@ protected AzureComputeServiceAbstractMock(Settings settings) {
}

@Override
protected void doStart() throws ElasticSearchException {
protected void doStart() throws ElasticsearchException {
logger.debug("starting Azure Api Mock");
}

@Override
protected void doStop() throws ElasticSearchException {
protected void doStop() throws ElasticsearchException {
logger.debug("stopping Azure Api Mock");
}

@Override
protected void doClose() throws ElasticSearchException {
protected void doClose() throws ElasticsearchException {
}
}

0 comments on commit fbf9b00

Please sign in to comment.