[GitHub] rafaelweingartner commented on a change in pull request #1448: CLOUDSTACK-9315: Removed unused Classes

2018-10-29 Thread GitBox
rafaelweingartner commented on a change in pull request #1448: CLOUDSTACK-9315: 
Removed unused Classes 
URL: https://github.com/apache/cloudstack/pull/1448#discussion_r228880867
 
 

 ##
 File path: engine/schema/src/main/resources/META-INF/db/schema-41120to41200.sql
 ##
 @@ -34,4 +34,7 @@ INSERT INTO `cloud`.`role_permissions` (`uuid`, `role_id`, 
`rule`, `permission`,
 INSERT INTO `cloud`.`role_permissions` (`uuid`, `role_id`, `rule`, 
`permission`, `sort_order`) values (UUID(), 3, 'moveNetworkAclItem', 'ALLOW', 
302) ON DUPLICATE KEY UPDATE rule=rule;
 INSERT INTO `cloud`.`role_permissions` (`uuid`, `role_id`, `rule`, 
`permission`, `sort_order`) values (UUID(), 4, 'moveNetworkAclItem', 'ALLOW', 
260) ON DUPLICATE KEY UPDATE rule=rule;
 
-UPDATE `cloud`.`async_job` SET `removed` = now() WHERE `removed` IS NULL;
\ No newline at end of file
+UPDATE `cloud`.`async_job` SET `removed` = now() WHERE `removed` IS NULL;
+
+-- PR#1448 update description of 
'execute.in.sequence.network.element.commands' parameter to reflect an unused 
command that has been removed. The removed class command is 'UserDataCommand'.
+update configuration set description = 'If set to true, DhcpEntryCommand, 
SavePasswordCommand, VmDataCommand will be synchronized on the agent side. If 
set to false, these commands become asynchronous. Default value is false.' 
where name = 'execute.in.sequence.network.element.commands'; 
 
 Review comment:
   Ah, sure the schema. Done!


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] rafaelweingartner commented on a change in pull request #1448: CLOUDSTACK-9315: Removed unused Classes

2018-10-28 Thread GitBox
rafaelweingartner commented on a change in pull request #1448: CLOUDSTACK-9315: 
Removed unused Classes 
URL: https://github.com/apache/cloudstack/pull/1448#discussion_r228768152
 
 

 ##
 File path: engine/schema/src/main/resources/META-INF/db/schema-41120to41200.sql
 ##
 @@ -34,4 +34,7 @@ INSERT INTO `cloud`.`role_permissions` (`uuid`, `role_id`, 
`rule`, `permission`,
 INSERT INTO `cloud`.`role_permissions` (`uuid`, `role_id`, `rule`, 
`permission`, `sort_order`) values (UUID(), 3, 'moveNetworkAclItem', 'ALLOW', 
302) ON DUPLICATE KEY UPDATE rule=rule;
 INSERT INTO `cloud`.`role_permissions` (`uuid`, `role_id`, `rule`, 
`permission`, `sort_order`) values (UUID(), 4, 'moveNetworkAclItem', 'ALLOW', 
260) ON DUPLICATE KEY UPDATE rule=rule;
 
-UPDATE `cloud`.`async_job` SET `removed` = now() WHERE `removed` IS NULL;
\ No newline at end of file
+UPDATE `cloud`.`async_job` SET `removed` = now() WHERE `removed` IS NULL;
+
+-- PR#1448 update description of 
'execute.in.sequence.network.element.commands' parameter to reflect an unused 
command that has been removed. The removed class command is 'UserDataCommand'.
+update configuration set description = 'If set to true, DhcpEntryCommand, 
SavePasswordCommand, VmDataCommand will be synchronized on the agent side. If 
set to false, these commands become asynchronous. Default value is false.' 
where name = 'execute.in.sequence.network.element.commands'; 
 
 Review comment:
   I already did it 
(https://github.com/apache/cloudstack/pull/1448/files#diff-69537f9fb58dcc5d2b95bb427e8e47e5).
 I am only creating this script to update that values for environments that 
already have this entry in the database.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] rafaelweingartner commented on a change in pull request #1448: CLOUDSTACK-9315: Removed unused Classes

2018-10-28 Thread GitBox
rafaelweingartner commented on a change in pull request #1448: CLOUDSTACK-9315: 
Removed unused Classes 
URL: https://github.com/apache/cloudstack/pull/1448#discussion_r228768152
 
 

 ##
 File path: engine/schema/src/main/resources/META-INF/db/schema-41120to41200.sql
 ##
 @@ -34,4 +34,7 @@ INSERT INTO `cloud`.`role_permissions` (`uuid`, `role_id`, 
`rule`, `permission`,
 INSERT INTO `cloud`.`role_permissions` (`uuid`, `role_id`, `rule`, 
`permission`, `sort_order`) values (UUID(), 3, 'moveNetworkAclItem', 'ALLOW', 
302) ON DUPLICATE KEY UPDATE rule=rule;
 INSERT INTO `cloud`.`role_permissions` (`uuid`, `role_id`, `rule`, 
`permission`, `sort_order`) values (UUID(), 4, 'moveNetworkAclItem', 'ALLOW', 
260) ON DUPLICATE KEY UPDATE rule=rule;
 
-UPDATE `cloud`.`async_job` SET `removed` = now() WHERE `removed` IS NULL;
\ No newline at end of file
+UPDATE `cloud`.`async_job` SET `removed` = now() WHERE `removed` IS NULL;
+
+-- PR#1448 update description of 
'execute.in.sequence.network.element.commands' parameter to reflect an unused 
command that has been removed. The removed class command is 'UserDataCommand'.
+update configuration set description = 'If set to true, DhcpEntryCommand, 
SavePasswordCommand, VmDataCommand will be synchronized on the agent side. If 
set to false, these commands become asynchronous. Default value is false.' 
where name = 'execute.in.sequence.network.element.commands'; 
 
 Review comment:
   I already did it 
(https://github.com/apache/cloudstack/pull/1448/files#diff-69537f9fb58dcc5d2b95bb427e8e47e5).
 I am only creating this script to update that values for environments that 
already have this entry.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] rafaelweingartner commented on a change in pull request #1448: CLOUDSTACK-9315: Removed unused Classes

2018-10-17 Thread GitBox
rafaelweingartner commented on a change in pull request #1448: CLOUDSTACK-9315: 
Removed unused Classes 
URL: https://github.com/apache/cloudstack/pull/1448#discussion_r225895387
 
 

 ##
 File path: server/src/main/java/com/cloud/configuration/Config.java
 ##
 @@ -1836,9 +1836,9 @@
 Boolean.class,
 "execute.in.sequence.network.element.commands",
 "false",
-"If set to true, DhcpEntryCommand, SavePasswordCommand, 
UserDataCommand, VmDataCommand will be synchronized on the agent side."
 
 Review comment:
   Good catch. I will fix that, and create a script to update the database.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services