Skip to content

Commit 2083993

Browse files
committed
schema: add Upgrade431to440 that extends 430to440
This adds an upgrade path from 4.3.1 to 4.4.0, the implementation of which simply extends the Upgrade430to440 as there was no schema change between 4.3.0 and 4.3.1 Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent 0f84c9b commit 2083993

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
// Licensed to the Apache Software Foundation (ASF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The ASF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. You may obtain a copy of the License at
8+
//
9+
// http://www.apache.org/licenses/LICENSE-2.0
10+
//
11+
// Unless required by applicable law or agreed to in writing,
12+
// software distributed under the License is distributed on an
13+
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
// KIND, either express or implied. See the License for the
15+
// specific language governing permissions and limitations
16+
// under the License.
17+
18+
package com.cloud.upgrade.dao;
19+
20+
import org.apache.log4j.Logger;
21+
22+
public class Upgrade431to440 extends Upgrade430to440 implements DbUpgrade {
23+
final static Logger s_logger = Logger.getLogger(Upgrade431to440.class);
24+
25+
@Override
26+
public String[] getUpgradableVersionRange() {
27+
return new String[] {"4.3.1", "4.4.0"};
28+
}
29+
30+
@Override
31+
public String getUpgradedVersion() {
32+
return "4.4.0";
33+
}
34+
35+
@Override
36+
public boolean supportsRollingUpgrade() {
37+
return false;
38+
}
39+
}

0 commit comments

Comments
 (0)