mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Merge release branch 4.18 to main
* 4.18: debian/control: build packages on ubuntu 22.04 (#7269) server,engine-schema: fix listing service offering for vm scale (#7398)
This commit is contained in:
commit
514df7b3a0
4
debian/control
vendored
4
debian/control
vendored
@ -3,7 +3,9 @@ Section: libs
|
|||||||
Priority: extra
|
Priority: extra
|
||||||
Maintainer: Wido den Hollander <wido@widodh.nl>
|
Maintainer: Wido den Hollander <wido@widodh.nl>
|
||||||
Build-Depends: debhelper (>= 9), openjdk-11-jdk | java11-sdk | java11-jdk | zulu-11, genisoimage,
|
Build-Depends: debhelper (>= 9), openjdk-11-jdk | java11-sdk | java11-jdk | zulu-11, genisoimage,
|
||||||
python-mysql.connector | python3-mysql.connector, maven (>= 3) | maven3, python (>= 2.7), python3 (>= 3), nodejs (>= 12), lsb-release, dh-systemd, python-setuptools, python3-setuptools
|
python-mysql.connector | python3-mysql.connector, maven (>= 3) | maven3,
|
||||||
|
python (>= 2.7) | python2 (>= 2.7), python3 (>= 3), python-setuptools, python3-setuptools,
|
||||||
|
nodejs (>= 12), lsb-release, dh-systemd | debhelper (>= 13)
|
||||||
Standards-Version: 3.8.1
|
Standards-Version: 3.8.1
|
||||||
Homepage: http://www.cloudstack.org/
|
Homepage: http://www.cloudstack.org/
|
||||||
|
|
||||||
|
|||||||
@ -22,20 +22,21 @@ import java.util.UUID;
|
|||||||
|
|
||||||
import javax.persistence.Column;
|
import javax.persistence.Column;
|
||||||
import javax.persistence.Entity;
|
import javax.persistence.Entity;
|
||||||
import javax.persistence.Table;
|
import javax.persistence.EnumType;
|
||||||
import javax.persistence.Transient;
|
import javax.persistence.Enumerated;
|
||||||
import javax.persistence.Id;
|
|
||||||
import javax.persistence.GeneratedValue;
|
import javax.persistence.GeneratedValue;
|
||||||
import javax.persistence.GenerationType;
|
import javax.persistence.GenerationType;
|
||||||
|
import javax.persistence.Id;
|
||||||
|
import javax.persistence.Table;
|
||||||
import javax.persistence.Temporal;
|
import javax.persistence.Temporal;
|
||||||
import javax.persistence.TemporalType;
|
import javax.persistence.TemporalType;
|
||||||
import javax.persistence.Enumerated;
|
import javax.persistence.Transient;
|
||||||
import javax.persistence.EnumType;
|
|
||||||
|
import org.apache.cloudstack.utils.reflectiontostringbuilderutils.ReflectionToStringBuilderUtils;
|
||||||
|
|
||||||
import com.cloud.offering.ServiceOffering;
|
import com.cloud.offering.ServiceOffering;
|
||||||
import com.cloud.utils.db.GenericDao;
|
import com.cloud.utils.db.GenericDao;
|
||||||
import com.cloud.vm.VirtualMachine;
|
import com.cloud.vm.VirtualMachine;
|
||||||
import org.apache.cloudstack.utils.reflectiontostringbuilderutils.ReflectionToStringBuilderUtils;
|
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "service_offering")
|
@Table(name = "service_offering")
|
||||||
@ -196,6 +197,7 @@ public class ServiceOfferingVO implements ServiceOffering {
|
|||||||
vmType = offering.getSystemVmType();
|
vmType = offering.getSystemVmType();
|
||||||
systemUse = offering.isSystemUse();
|
systemUse = offering.isSystemUse();
|
||||||
dynamicScalingEnabled = offering.isDynamicScalingEnabled();
|
dynamicScalingEnabled = offering.isDynamicScalingEnabled();
|
||||||
|
diskOfferingStrictness = offering.diskOfferingStrictness;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@ -149,6 +149,7 @@ public class ServiceOfferingVO implements ServiceOffering {
|
|||||||
vmType = offering.getSystemVmType();
|
vmType = offering.getSystemVmType();
|
||||||
systemUse = offering.isSystemUse();
|
systemUse = offering.isSystemUse();
|
||||||
dynamicScalingEnabled = offering.isDynamicScalingEnabled();
|
dynamicScalingEnabled = offering.isDynamicScalingEnabled();
|
||||||
|
diskOfferingStrictness = offering.diskOfferingStrictness;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user