From c4e213fc9237ca33029d0a3806743d3ecf6a0af5 Mon Sep 17 00:00:00 2001 From: uboness Date: Wed, 12 Aug 2015 20:55:26 +0200 Subject: [PATCH] Updated version to 2.0.0-SNAPSHOT Original commit: elastic/x-pack-elasticsearch@8fb8035596e65f7dc7e0afa6a9f0fdf63bfde3cc --- marvel/pom.xml | 2 +- .../java/org/elasticsearch/marvel/MarvelVersion.java | 10 +++++----- .../org/elasticsearch/marvel/MarvelVersionTests.java | 4 ++-- .../test/resources/samples/marvel_cluster_stats.json | 2 +- pom.xml | 4 ++-- qa/pom.xml | 3 +-- qa/smoke-test-plugins-ssl/pom.xml | 4 ++-- qa/smoke-test-plugins/pom.xml | 4 ++-- qa/smoke-test-watcher-with-shield/pom.xml | 4 ++-- shield/pom.xml | 4 ++-- .../shield/VersionCompatibilityTests.java | 2 +- watcher/pom.xml | 2 +- .../java/org/elasticsearch/watcher/WatcherVersion.java | 10 +++++----- x-dev-tools/pom.xml | 7 ++++++- 14 files changed, 33 insertions(+), 29 deletions(-) diff --git a/marvel/pom.xml b/marvel/pom.xml index 4186700461a..92812a49a09 100644 --- a/marvel/pom.xml +++ b/marvel/pom.xml @@ -12,7 +12,7 @@ org.elasticsearch.plugin x-plugins - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT diff --git a/marvel/src/main/java/org/elasticsearch/marvel/MarvelVersion.java b/marvel/src/main/java/org/elasticsearch/marvel/MarvelVersion.java index 99ac77bea2f..e049c72205c 100644 --- a/marvel/src/main/java/org/elasticsearch/marvel/MarvelVersion.java +++ b/marvel/src/main/java/org/elasticsearch/marvel/MarvelVersion.java @@ -21,10 +21,10 @@ public class MarvelVersion implements Serializable { // AA values below 50 are beta builds, and below 99 are RC builds, with 99 indicating a release // the (internal) format of the id is there so we can easily do after/before checks on the id - public static final int V_2_0_0_Beta1_ID = /*00*/2000001; - public static final MarvelVersion V_2_0_0_Beta1 = new MarvelVersion(V_2_0_0_Beta1_ID, true, Version.V_2_0_0_beta1, LicenseVersion.V_1_0_0); + public static final int V_2_0_0_ID = /*00*/2000099; + public static final MarvelVersion V_2_0_0 = new MarvelVersion(V_2_0_0_ID, true, Version.V_2_0_0, LicenseVersion.V_1_0_0); - public static final MarvelVersion CURRENT = V_2_0_0_Beta1; + public static final MarvelVersion CURRENT = V_2_0_0; public static MarvelVersion readVersion(StreamInput in) throws IOException { return fromId(in.readVInt()); @@ -32,8 +32,8 @@ public class MarvelVersion implements Serializable { public static MarvelVersion fromId(int id) { switch (id) { - case V_2_0_0_Beta1_ID: - return V_2_0_0_Beta1; + case V_2_0_0_ID: + return V_2_0_0; default: return new MarvelVersion(id, null, Version.CURRENT, LicenseVersion.CURRENT); } diff --git a/marvel/src/test/java/org/elasticsearch/marvel/MarvelVersionTests.java b/marvel/src/test/java/org/elasticsearch/marvel/MarvelVersionTests.java index d2a99057be9..573b89ab554 100644 --- a/marvel/src/test/java/org/elasticsearch/marvel/MarvelVersionTests.java +++ b/marvel/src/test/java/org/elasticsearch/marvel/MarvelVersionTests.java @@ -14,11 +14,11 @@ public class MarvelVersionTests extends ESTestCase { @Test public void testVersionFromString() { - assertThat(MarvelVersion.fromString("2.0.0-beta1"), equalTo(MarvelVersion.V_2_0_0_Beta1)); + assertThat(MarvelVersion.fromString("2.0.0"), equalTo(MarvelVersion.V_2_0_0)); } @Test public void testVersionNumber() { - assertThat(MarvelVersion.V_2_0_0_Beta1.number(), equalTo("2.0.0-beta1")); + assertThat(MarvelVersion.V_2_0_0.number(), equalTo("2.0.0")); } } \ No newline at end of file diff --git a/marvel/src/test/resources/samples/marvel_cluster_stats.json b/marvel/src/test/resources/samples/marvel_cluster_stats.json index e8241d95bab..3c13df54ab1 100644 --- a/marvel/src/test/resources/samples/marvel_cluster_stats.json +++ b/marvel/src/test/resources/samples/marvel_cluster_stats.json @@ -23,7 +23,7 @@ "total": 1 }, "versions": [ - "2.0.0-beta1-SNAPSHOT" + "2.0.0-SNAPSHOT" ], "jvm": { "max_uptime_in_millis": 75191 diff --git a/pom.xml b/pom.xml index 0e3589909a9..b1f19c03143 100644 --- a/pom.xml +++ b/pom.xml @@ -7,14 +7,14 @@ 4.0.0 x-plugins - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT pom Elasticsearch X-Plugins - Parent POM org.elasticsearch.plugin elasticsearch-plugin - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT diff --git a/qa/pom.xml b/qa/pom.xml index d2b2c0dc5ca..f945456bbef 100644 --- a/qa/pom.xml +++ b/qa/pom.xml @@ -7,7 +7,6 @@ org.elasticsearch.qa x-plugins-qa - 2.0.0-beta1-SNAPSHOT pom QA: Parent POM 2015 @@ -15,7 +14,7 @@ org.elasticsearch.plugin x-plugins - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT diff --git a/qa/smoke-test-plugins-ssl/pom.xml b/qa/smoke-test-plugins-ssl/pom.xml index 554abd11818..50a489d9037 100644 --- a/qa/smoke-test-plugins-ssl/pom.xml +++ b/qa/smoke-test-plugins-ssl/pom.xml @@ -8,7 +8,7 @@ org.elasticsearch.qa x-plugins-qa - 2.0.0-beta1-SNAPSHOT + 2.0.0-SNAPSHOT