Skip to content

Commit 6f45034

Browse files
authored
pre-commit: apply end-of-file-fixer to all files (apache#7551)
1 parent e876ef0 commit 6f45034

File tree

359 files changed

+235
-408
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

359 files changed

+235
-408
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ repos:
3636
#- id: check-yaml
3737
#- id: detect-private-key
3838
- id: end-of-file-fixer
39-
files: \.(java|md|py|txt|yaml|yml)$
39+
exclude: \.vhd$
4040
#- id: fix-byte-order-marker
4141
- id: mixed-line-ending
4242
files: \.(java|md|py|txt|yaml|yml)$

LICENSE

-1
Original file line numberDiff line numberDiff line change
@@ -624,4 +624,3 @@ Within the utils/src/main/java/org/apache/commons/httpclient/contrib/ssl directo
624624
from The Apache Software Foundation http://www.apache.org/
625625
EasySSLProtocolSocketFactory.java
626626
EasyX509TrustManager.java
627-

api/src/main/resources/META-INF/cloudstack/api-planner/module.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717
name=api-planner
18-
parent=planner
18+
parent=planner

core/src/main/resources/META-INF/cloudstack/allocator/spring-core-allocator-context.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@
3131

3232
<bean id="usageEventUtils" class="com.cloud.event.UsageEventUtils" />
3333

34-
</beans>
34+
</beans>

core/src/main/resources/META-INF/cloudstack/allocator/spring-core-lifecycle-allocator-context-inheritable.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@
4141
value="com.cloud.consoleproxy.ConsoleProxyAllocator" />
4242
</bean>
4343

44-
</beans>
44+
</beans>

core/src/main/resources/META-INF/cloudstack/cloudstack/direct-download/module.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
#
1919

2020
name=direct-download
21-
parent=backend
21+
parent=backend

core/src/main/resources/META-INF/cloudstack/core/spring-core-lifecycle-core-context-inheritable.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@
4545
<property name="typeClass" value="org.apache.cloudstack.userdata.UserDataProvider" />
4646
</bean>
4747

48-
</beans>
48+
</beans>

core/src/main/resources/META-INF/cloudstack/kubernetes/module.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
#
1919

2020
name=kubernetes
21-
parent=compute
21+
parent=compute

core/src/main/resources/META-INF/cloudstack/planner/module.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
#
1919

2020
name=planner
21-
parent=allocator
21+
parent=allocator

debian/cloudstack-cli.install

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1414
# KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations
16-
# under the License.
16+
# under the License.

debian/cloudstack-common.postinst

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ fi
3232
cp $CLOUDUTILS_DIR/cloud_utils.py $DIST_DIR
3333
cp -R $CLOUDUTILS_DIR/cloudutils $DIST_DIR
3434
python3 -m py_compile $DIST_DIR/cloud_utils.py
35-
python3 -m compileall $DIST_DIR/cloudutils
35+
python3 -m compileall $DIST_DIR/cloudutils

debian/cloudstack-docs.install

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1414
# KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations
16-
# under the License.
16+
# under the License.

engine/schema/src/main/resources/META-INF/db/data-217to218.sql

-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@
1717

1818
INSERT INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'management-server', 'default.page.size', '500', 'Default page size for API list* commands');
1919
DELETE FROM `cloud`.`op_host_capacity` WHERE `capacity_type` in (2,6);
20-

engine/schema/src/main/resources/META-INF/db/schema-20to21.sql

-1
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,3 @@ CREATE TABLE `cloud`.`disk_offering_21` (
198198
`created` datetime COMMENT 'date the disk offering was created',
199199
PRIMARY KEY (`id`)
200200
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
201-

engine/schema/src/main/resources/META-INF/db/schema-21to22-cleanup.sql

-2
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,3 @@ UPDATE `cloud`.`vm_instance` SET last_host_id=NULL WHERE last_host_id NOT IN (SE
7979

8080
UPDATE `cloud`.`vm_instance` SET domain_id=1, account_id=1 where account_id not in (select distinct id from account) or domain_id not in (select distinct id from domain);
8181
ALTER TABLE `cloud`.`vm_instance` ADD CONSTRAINT `fk_vm_instance__account_id` FOREIGN KEY `fk_vm_instance__account_id` (`account_id`) REFERENCES `account` (`id`);
82-
83-

engine/schema/src/main/resources/META-INF/db/schema-21to22-premium.sql

-3
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,3 @@ CREATE TABLE `cloud_usage`.`usage_network_offering` (
7676
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
7777

7878
update `cloud_usage`.`usage_volume` set size = (size * 1048576);
79-
80-
81-

engine/schema/src/main/resources/META-INF/db/schema-21to22.sql

-1
Original file line numberDiff line numberDiff line change
@@ -1016,4 +1016,3 @@ INSERT INTO configuration (category, instance, component, name, value, descripti
10161016

10171017
DELETE FROM load_balancer_vm_map WHERE load_balancer_id NOT IN (SELECT id FROM load_balancer);
10181018
DELETE FROM vm_instance WHERE type='User' AND id NOT IN (SELECT id FROM user_vm);
1019-

engine/schema/src/main/resources/META-INF/db/schema-2210to2211.sql

-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@
1414
-- KIND, either express or implied. See the License for the
1515
-- specific language governing permissions and limitations
1616
-- under the License.
17-

engine/schema/src/main/resources/META-INF/db/schema-2211to2212.sql

-1
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,3 @@ CREATE TABLE IF NOT EXISTS `cloud`.`inline_load_balancer_nic_map` (
6060
CONSTRAINT `fk_inline_load_balancer_nic_map__load_balancer_id` FOREIGN KEY(`load_balancer_id`) REFERENCES `load_balancing_rules`(`id`) ON DELETE CASCADE,
6161
CONSTRAINT `fk_inline_load_balancer_nic_map__nic_id` FOREIGN KEY(`nic_id`) REFERENCES `nics`(`id`) ON DELETE CASCADE
6262
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
63-

engine/schema/src/main/resources/META-INF/db/schema-2212to2213.sql

-1
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,3 @@ INSERT IGNORE INTO configuration VALUES ('Advanced', 'DEFAULT', 'management-serv
8080
INSERT IGNORE INTO configuration VALUES ('Advanced', 'DEFAULT', 'management-server', 'vm.destory.forcestop', 'false', 'On destory, force-stop takes this value');
8181
INSERT IGNORE INTO configuration VALUES ('Network', 'DEFAULT', 'management-server', 'network.lock.timeout', '600', 'Lock wait timeout (seconds) while implementing network');
8282
INSERT IGNORE INTO configuration VALUES ('Network', 'DEFAULT', 'management-server', 'network.disable.rpfilter','true','disable rp_filter on Domain Router VM public interfaces.');
83-

engine/schema/src/main/resources/META-INF/db/schema-2213to2214.sql

-1
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,3 @@ ALTER TABLE `cloud_usage`.`user_statistics` MODIFY `device_type` varchar(32) NOT
8787

8888
ALTER TABLE `cloud`.`keystore` ADD seq int;
8989
ALTER TABLE `cloud`.`keystore` MODIFY `cloud`.`keystore`.`key` text;
90-

engine/schema/src/main/resources/META-INF/db/schema-2214to30-cleanup.sql

-1
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,3 @@ DROP TABLE IF EXISTS `cloud`.`network_tags`;
6565
DROP TABLE IF EXISTS `cloud_usage`.`event`;
6666

6767
DELETE from `cloud`.`guest_os` where id=204 or id=205;
68-

engine/schema/src/main/resources/META-INF/db/schema-221to222-cleanup.sql

-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@
1717

1818
alter table firewall_rules drop column is_static_nat;
1919
delete from configuration where name='router.cleanup';
20-

engine/schema/src/main/resources/META-INF/db/schema-221to222.sql

-2
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,3 @@ CREATE TABLE IF NOT EXISTS `cloud`.`version` (
5252
PRIMARY KEY (`id`),
5353
INDEX `i_version__version`(`version`)
5454
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
55-
56-

engine/schema/src/main/resources/META-INF/db/schema-222to224-premium.sql

-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,3 @@
2121
ALTER TABLE `cloud_usage`.`usage_vm_instance` ADD COLUMN `hypervisor_type` varchar(255);
2222

2323
ALTER TABLE `cloud_usage`.`usage_event` ADD COLUMN `resource_type` varchar(32);
24-

engine/schema/src/main/resources/META-INF/db/schema-222to224.sql

-1
Original file line numberDiff line numberDiff line change
@@ -193,4 +193,3 @@ UPDATE `cloud`.`nics` SET strategy='Create' where reserver_name='DirectNetworkGu
193193

194194
UPDATE storage_pool SET cluster_id=(SELECT cluster_id FROM host INNER JOIN storage_pool_host_ref WHERE host.id=storage_pool_host_ref.host_id AND storage_pool_host_ref.pool_id=storage_pool.id) WHERE pool_type='LVM';
195195
UPDATE `cloud`.`host` SET resource='com.cloud.hypervisor.xen.resource.XenServer56FP1Resource' WHERE resource='com.cloud.hypervisor.xen.resource.XenServer56FP1PremiumResource';
196-

engine/schema/src/main/resources/META-INF/db/schema-224to225.sql

-1
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,3 @@ ALTER TABLE `cloud`.`user_statistics` MODIFY `device_id` bigint(20) unsigned NOT
6464
ALTER TABLE `cloud`.`user_statistics` MODIFY `device_type` varchar(32) NOT NULL;
6565

6666
ALTER TABLE `cloud`.`nics` MODIFY `ip6_address` char(40);
67-

engine/schema/src/main/resources/META-INF/db/schema-225to226.sql

-1
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,3 @@ CREATE TABLE IF NOT EXISTS `cloud`.`cmd_exec_log` (
4949
INDEX `i_cmd_exec_log__instance_id`(`instance_id`),
5050
CONSTRAINT `fk_cmd_exec_log_ref__inst_id` FOREIGN KEY (`instance_id`) REFERENCES `vm_instance`(`id`) ON DELETE CASCADE
5151
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
52-

engine/schema/src/main/resources/META-INF/db/schema-227to228-premium.sql

-1
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,3 @@ drop table `cloud_usage`.`temp_usage`;
3434

3535
update `cloud_usage`.`cloud_usage` set raw_usage = (raw_usage % 24) where usage_type =6 and raw_usage > 24 and (raw_usage % 24) <> 0;
3636
update `cloud_usage`.`cloud_usage` set raw_usage = 24 where usage_type =6 and raw_usage > 24 and (raw_usage % 24) = 0;
37-

engine/schema/src/main/resources/META-INF/db/schema-227to228.sql

-2
Original file line numberDiff line numberDiff line change
@@ -164,5 +164,3 @@ INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'manag
164164
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Console Proxy', 'DEFAULT', 'AgentManager', 'consoleproxy.management.state', 'Auto', 'console proxy service management state');
165165
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Console Proxy', 'DEFAULT', 'AgentManager', 'consoleproxy.management.state.last', 'Auto', 'last console proxy service management state');
166166
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'management-server', 'cluster.message.timeout.seconds', '300', 'Time (in seconds) to wait before a inter-management server message post times out.');
167-
168-

engine/schema/src/main/resources/META-INF/db/schema-228to229.sql

-2
Original file line numberDiff line numberDiff line change
@@ -92,5 +92,3 @@ CREATE TABLE `cloud`.`elastic_lb_vm_map` (
9292
CONSTRAINT `fk_elastic_lb_vm_map__elb_vm_id` FOREIGN KEY `fk_elastic_lb_vm_map__elb_vm_id` (`elb_vm_id`) REFERENCES `vm_instance` (`id`) ON DELETE CASCADE,
9393
CONSTRAINT `fk_elastic_lb_vm_map__lb_id` FOREIGN KEY `fk_elastic_lb_vm_map__lb_id` (`lb_id`) REFERENCES `load_balancing_rules` (`id`) ON DELETE CASCADE
9494
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
95-
96-

engine/schema/src/main/resources/META-INF/db/schema-22beta3to22beta4.sql

-2
Original file line numberDiff line numberDiff line change
@@ -124,5 +124,3 @@ ALTER TABLE `cloud`.`security_group` ADD CONSTRAINT `fk_security_group___account
124124

125125
DROP VIEW `cloud`.`user_ip_address_view`;
126126
CREATE VIEW `cloud`.`user_ip_address_view` AS SELECT INET_NTOA(user_ip_address.public_ip_address) as ip_address, user_ip_address.data_center_id, user_ip_address.account_id, user_ip_address.domain_id, user_ip_address.source_nat, user_ip_address.allocated, user_ip_address.vlan_db_id, user_ip_address.one_to_one_nat, user_ip_address.state, user_ip_address.mac_address, user_ip_address.network_id as associated_network_id from user_ip_address;
127-
128-

engine/schema/src/main/resources/META-INF/db/schema-304to305-cleanup.sql

-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,3 @@
1919

2020

2121
ALTER TABLE `cloud`.`domain_router` DROP COLUMN network_id;
22-

engine/schema/src/main/resources/META-INF/db/schema-305to306-cleanup.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ DELETE FROM `cloud`.`configuration` where `cloud`.`configuration`.`name`="vm.hos
2323
DELETE FROM `cloud`.`storage_pool_host_ref` WHERE `cloud`.`storage_pool_host_ref`.`pool_id` IN (SELECT `cloud`.`storage_pool`.`id` FROM `cloud`.`storage_pool` WHERE `cloud`.`storage_pool`.`removed` IS NOT NULL);
2424

2525
ALTER TABLE `cloud`.`sync_queue` DROP COLUMN queue_proc_msid;
26-
ALTER TABLE `cloud`.`sync_queue` DROP COLUMN queue_proc_time;
26+
ALTER TABLE `cloud`.`sync_queue` DROP COLUMN queue_proc_time;

engine/schema/src/main/resources/META-INF/db/schema-306to307.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919

2020
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Network', 'DEFAULT', 'management-server', 'network.loadbalancer.haproxy.max.conn', '4096', 'Load Balancer(haproxy) maximum number of concurrent connections(global max)');
2121

22-
ALTER TABLE `cloud`.`network_offerings` ADD COLUMN `concurrent_connections` int(10) unsigned COMMENT 'concurrent connections supported on this network';
22+
ALTER TABLE `cloud`.`network_offerings` ADD COLUMN `concurrent_connections` int(10) unsigned COMMENT 'concurrent connections supported on this network';

engine/schema/src/main/resources/META-INF/db/schema-307to410-cleanup.sql

-6
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,3 @@ ALTER TABLE `cloud_usage`.`cloud_usage` CHANGE COLUMN `virtual_size1` `virtual_s
3535

3636
ALTER TABLE `cloud`.`network_offerings` DROP COLUMN `concurrent_connections`;
3737
ALTER TABLE `cloud`.`network_offerings` CHANGE COLUMN `concurrent_connections1` `concurrent_connections` int(10) unsigned COMMENT 'Load Balancer(haproxy) maximum number of concurrent connections(global max)';
38-
39-
40-
41-
42-
43-

engine/schema/src/main/resources/META-INF/db/schema-40to410-cleanup.sql

-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@
1818
--;
1919
-- Schema cleanup from 4.0.0 to 4.1.0;
2020
--;
21-

engine/schema/src/main/resources/META-INF/db/schema-40to410.sql

-1
Original file line numberDiff line numberDiff line change
@@ -1668,4 +1668,3 @@ INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'manag
16681668

16691669
UPDATE `cloud`.`configuration` set category='Advanced' where category='Advanced ';
16701670
UPDATE `cloud`.`configuration` set category='Hidden' where category='Hidden ';
1671-

engine/schema/src/main/resources/META-INF/db/schema-41000to41100-cleanup.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ CREATE VIEW `cloud`.`user_view` AS
6666
left join
6767
`cloud`.`async_job` ON async_job.instance_id = user.id
6868
and async_job.instance_type = 'User'
69-
and async_job.job_status = 0;
69+
and async_job.job_status = 0;

engine/schema/src/main/resources/META-INF/db/schema-410to420-cleanup.sql

-2
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,3 @@ ALTER TABLE `cloud`.`remote_access_vpn` DROP foreign key `fk_remote_access_vpn__
2424
ALTER TABLE `cloud`.`remote_access_vpn` DROP primary key;
2525
ALTER TABLE `cloud`.`remote_access_vpn` ADD primary key (`id`);
2626
ALTER TABLE `cloud`.`remote_access_vpn` ADD CONSTRAINT `fk_remote_access_vpn__vpn_server_addr_id` FOREIGN KEY (`vpn_server_addr_id`) REFERENCES `user_ip_address` (`id`);
27-
28-

engine/schema/src/main/resources/META-INF/db/schema-41110to41120.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type, hypervis
2727
ALTER TABLE `cloud`.`user_vm_clone_setting`
2828
ADD COLUMN `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT FIRST,
2929
DROP PRIMARY KEY,
30-
ADD PRIMARY KEY (`id`);
30+
ADD PRIMARY KEY (`id`);

engine/schema/src/main/resources/META-INF/db/schema-41500to41510-cleanup.sql

-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@
1818
--;
1919
-- Schema upgrade cleanup from 4.15.0.0 to 4.15.1.0
2020
--;
21-

engine/schema/src/main/resources/META-INF/db/schema-41500to41510.sql

-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,3 @@ INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type, hypervis
3535
-- Add support for VMware 7.0.1.0
3636
INSERT IGNORE INTO `cloud`.`hypervisor_capabilities` (uuid, hypervisor_type, hypervisor_version, max_guests_limit, security_group_enabled, max_data_volumes_limit, max_hosts_per_cluster, storage_motion_supported, vm_snapshot_enabled) values (UUID(), 'VMware', '7.0.1.0', 1024, 0, 59, 64, 1, 1);
3737
INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, created, is_user_defined) SELECT UUID(),'VMware', '7.0.1.0', guest_os_name, guest_os_id, utc_timestamp(), 0 FROM `cloud`.`guest_os_hypervisor` WHERE hypervisor_type='VMware' AND hypervisor_version='7.0';
38-

engine/schema/src/main/resources/META-INF/db/schema-41510to41520-cleanup.sql

-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@
1818
--;
1919
-- Schema upgrade cleanup from 4.15.1.0 to 4.15.2.0
2020
--;
21-

engine/schema/src/main/resources/META-INF/db/schema-41600to41610-cleanup.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717

1818
--;
1919
-- Schema upgrade cleanup from 4.16.0.0 to 4.16.1.0
20-
--;
20+
--;

engine/schema/src/main/resources/META-INF/db/schema-41610to41700-cleanup.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717

1818
--;
1919
-- Schema upgrade cleanup from 4.16.1.0 to 4.17.0.0
20-
--;
20+
--;

engine/schema/src/main/resources/META-INF/db/schema-41610to41700.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -968,4 +968,4 @@ WHERE not exists( SELECT 1
968968
;END;
969969

970970
CALL ADD_GUEST_OS_AND_HYPERVISOR_MAPPING (2, 'Debian GNU/Linux 11 (64-bit)', 'XenServer', '8.2.1', 'Debian Bullseye 11');
971-
CALL ADD_GUEST_OS_AND_HYPERVISOR_MAPPING (2, 'Debian GNU/Linux 11 (32-bit)', 'XenServer', '8.2.1', 'Debian Bullseye 11');
971+
CALL ADD_GUEST_OS_AND_HYPERVISOR_MAPPING (2, 'Debian GNU/Linux 11 (32-bit)', 'XenServer', '8.2.1', 'Debian Bullseye 11');

engine/schema/src/main/resources/META-INF/db/schema-41700to41710-cleanup.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717

1818
--;
1919
-- Schema upgrade cleanup from 4.17.0.0 to 4.17.1.0
20-
--;
20+
--;

engine/schema/src/main/resources/META-INF/db/schema-41700to41710.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,4 @@ CREATE VIEW `cloud`.`domain_router_view` AS
128128
and async_job.job_status = 0;
129129

130130
-- PR #6080 Change column `value` size from 255 to 4096 characters, matching the API "updateConfiguration" "value" size
131-
ALTER TABLE `cloud`.`account_details` MODIFY `value` VARCHAR(4096) NOT NULL;
131+
ALTER TABLE `cloud`.`account_details` MODIFY `value` VARCHAR(4096) NOT NULL;

engine/schema/src/main/resources/META-INF/db/schema-421to430-cleanup.sql

-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@
1818
--;
1919
-- Schema cleanup from 4.2.0 to 4.3.0;
2020
--;
21-

engine/schema/src/main/resources/META-INF/db/schema-441to442.sql

-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@
1818
--;
1919
-- Schema upgrade from 4.4.1 to 4.4.2;
2020
--;
21-

engine/schema/src/main/resources/META-INF/db/schema-442to450-cleanup.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ Where name = 'xen.nics.max';
3030

3131
UPDATE `cloud`.`configuration`
3232
SET value = 'XenServer'
33-
Where value = 'Xen';
33+
Where value = 'Xen';

engine/schema/src/main/resources/META-INF/db/schema-452to460-cleanup.sql

-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@
2020
--
2121

2222
DELETE FROM `cloud`.`configuration` where name='router.reboot.when.outofband.migrated';
23-

engine/schema/src/main/resources/META-INF/db/schema-452to460.sql

-2
Original file line numberDiff line numberDiff line change
@@ -419,5 +419,3 @@ INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type, hypervis
419419
INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, created, is_user_defined) VALUES (UUID(),'KVM', 'default', 'CentOS 7', 246, utc_timestamp(), 0);
420420

421421
UPDATE `cloud`.`hypervisor_capabilities` SET `max_data_volumes_limit` = '32' WHERE `hypervisor_capabilities`.`hypervisor_type` = 'KVM';
422-
423-

engine/schema/src/main/resources/META-INF/db/schema-461to470.sql

-1
Original file line numberDiff line numberDiff line change
@@ -250,4 +250,3 @@ CREATE VIEW `cloud`.`domain_router_view` AS
250250
INSERT IGNORE INTO `cloud`.`hypervisor_capabilities` values (25,UUID(),'VMware','6.0',128,0,13,32,1,1);
251251
INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, created, is_user_defined) VALUES (UUID(),'VMware', '5.5', 'rhel7_64Guest', 245, utc_timestamp(), 0);
252252
INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, created, is_user_defined) SELECT UUID(),'VMware', '6.0', guest_os_name, guest_os_id, utc_timestamp(), 0 FROM `cloud`.`guest_os_hypervisor` WHERE hypervisor_type='VMware' AND hypervisor_version='5.5' AND (guest_os_id NOT IN (1,2,3,4,62,63,64,65,156,157,221,222) AND guest_os_id NOT BETWEEN 121 AND 130);
253-

engine/schema/src/main/resources/META-INF/db/schema-480to481.sql

-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@
1818
--;
1919
-- Schema upgrade from 4.8.0 to 4.8.1;
2020
--;
21-

engine/schema/src/main/resources/META-INF/db/schema-481to490-cleanup.sql

-1
Original file line numberDiff line numberDiff line change
@@ -268,4 +268,3 @@ CREATE VIEW `cloud`.`user_view` AS
268268
`cloud`.`async_job` ON async_job.instance_id = user.id
269269
and async_job.instance_type = 'User'
270270
and async_job.job_status = 0;
271-

engine/schema/src/main/resources/META-INF/db/schema-490to4910-cleanup.sql

-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@
1818
--;
1919
-- Schema cleanup from 4.9.0 to 4.9.1.0;
2020
--;
21-

engine/schema/src/main/resources/META-INF/db/schema-4910to4920-cleanup.sql

-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@
1818
--;
1919
-- Schema cleanup from 4.9.1.0 to 4.9.2.0;
2020
--;
21-

engine/storage/snapshot/src/main/resources/META-INF/cloudstack/core/spring-engine-storage-snapshot-core-context.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@
3636
<bean id="snapshotStateMachineManagerImpl"
3737
class="org.apache.cloudstack.storage.snapshot.SnapshotStateMachineManagerImpl" />
3838

39-
</beans>
39+
</beans>

engine/storage/src/main/resources/META-INF/cloudstack/storage-allocator/module.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717
name=storage-allocator
18-
parent=storage
18+
parent=storage

engine/storage/volume/src/main/resources/META-INF/cloudstack/core/spring-engine-storage-volume-core-context.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@
4646
<bean id="primaryDataStoreProviderMgr"
4747
class="org.apache.cloudstack.storage.datastore.manager.PrimaryDataStoreProviderManagerImpl" />
4848

49-
</beans>
49+
</beans>

engine/storage/volume/src/test/resource/testContext.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@
7676

7777
<bean id="eventBus" class = "org.apache.cloudstack.framework.eventbus.EventBusBase" />
7878

79-
</beans>
79+
</beans>

engine/userdata/src/main/resources/META-INF/cloudstack/core/spring-engine-userdata-core-context.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@
3131
<property name="userDataProviders" value="#{userDataProvidersRegistry.registered}" />
3232
</bean>
3333

34-
</beans>
34+
</beans>

framework/db/src/test/resources/db.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
# Just here to make the unit test not blow up
18+
# Just here to make the unit test not blow up

0 commit comments

Comments
 (0)