add 1.3.1 and 1.2.3 to shield version

Original commit: elastic/x-pack-elasticsearch@02b798fa15
This commit is contained in:
jaymode 2015-07-21 10:10:35 -04:00
parent 99dc9784cc
commit b54d9f9f3c
1 changed files with 6 additions and 0 deletions

View File

@ -40,8 +40,12 @@ public class ShieldVersion implements Serializable {
public static final ShieldVersion V_1_2_1 = new ShieldVersion(V_1_2_1_ID, false, Version.V_1_5_0, LicenseVersion.V_1_0_0);
public static final int V_1_2_2_ID = /*00*/1020299;
public static final ShieldVersion V_1_2_2 = new ShieldVersion(V_1_2_2_ID, false, Version.V_1_5_0, LicenseVersion.V_1_0_0);
public static final int V_1_2_3_ID = /*00*/1020399;
public static final ShieldVersion V_1_2_3 = new ShieldVersion(V_1_2_3_ID, false, Version.V_1_5_0, LicenseVersion.V_1_0_0);
public static final int V_1_3_0_ID = /*00*/1030099;
public static final ShieldVersion V_1_3_0 = new ShieldVersion(V_1_3_0_ID, false, Version.V_1_5_0, LicenseVersion.V_1_0_0);
public static final int V_1_3_1_ID = /*00*/1030199;
public static final ShieldVersion V_1_3_1 = new ShieldVersion(V_1_3_1_ID, false, Version.V_1_5_0, LicenseVersion.V_1_0_0);
public static final int V_2_0_0_ID = /*00*/2000099;
public static final ShieldVersion V_2_0_0 = new ShieldVersion(V_2_0_0_ID, true, Version.V_1_5_0, LicenseVersion.V_1_0_0);
@ -61,7 +65,9 @@ public class ShieldVersion implements Serializable {
case V_1_2_0_ID: return V_1_2_0;
case V_1_2_1_ID: return V_1_2_1;
case V_1_2_2_ID: return V_1_2_2;
case V_1_2_3_ID: return V_1_2_3;
case V_1_3_0_ID: return V_1_3_0;
case V_1_3_1_ID: return V_1_3_1;
case V_2_0_0_ID: return V_2_0_0;
default: