no message
This commit is contained in:
@@ -8,8 +8,8 @@ import _VisualDVM.GlobalData.Machine.Machine;
|
||||
import _VisualDVM.GlobalData.Machine.MachineType;
|
||||
import _VisualDVM.GlobalData.User.User;
|
||||
import _VisualDVM.Repository.EmailMessage;
|
||||
import _VisualDVM.Repository.RepositoryClient;
|
||||
import _VisualDVM.Repository.Server.ServerCode;
|
||||
import _VisualDVM.Repository.TestingClient;
|
||||
import _VisualDVM.TestingSystem.Common.TestingPackage.TestingPackage;
|
||||
import _VisualDVM.TestingSystem.Common.TestingPackageToKill.TestingPackageToKill;
|
||||
import _VisualDVM.Utils;
|
||||
@@ -19,7 +19,7 @@ import org.apache.commons.io.FileUtils;
|
||||
import java.io.File;
|
||||
import java.util.Date;
|
||||
import java.util.Vector;
|
||||
public abstract class TestingPlanner<P extends TestingPackage> extends RepositoryClient {
|
||||
public abstract class TestingPlanner<P extends TestingPackage> extends TestingClient {
|
||||
protected P testingPackage;
|
||||
protected File packageLocalWorkspace = null;
|
||||
protected String serverName = "";
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package _VisualDVM.TestingSystem.Common;
|
||||
import Common.CommonConstants;
|
||||
import Common.Database.Objects.DBObject;
|
||||
import Common.Database.Objects.riDBObject;
|
||||
import Common.Database.RepositoryRefuseException;
|
||||
import Common.Utils.TextLog;
|
||||
import Common.Utils.Utils_;
|
||||
@@ -103,6 +104,21 @@ public class TestingServer extends RepositoryServer<TestsDatabase> {
|
||||
}
|
||||
}
|
||||
@Override
|
||||
protected void afterCloneAction(riDBObject src, riDBObject dst) throws Exception{
|
||||
if (src instanceof SapforSettings){
|
||||
Vector<PassCode> codes = new Vector<>();
|
||||
for (SapforSettingsCommand command : db.sapforSettingsCommands.Data.values())
|
||||
if (command.sapforsettings_id == src.id) codes.add(command.passCode);
|
||||
//--
|
||||
for (PassCode code : codes) {
|
||||
SapforSettingsCommand command = new SapforSettingsCommand();
|
||||
command.sapforsettings_id = dst.id;
|
||||
command.passCode = code;
|
||||
db.Insert(command);
|
||||
}
|
||||
}
|
||||
}
|
||||
@Override
|
||||
protected void afterEditAction(DBObject object) throws Exception {
|
||||
if (object instanceof Group) {
|
||||
Group group = (Group) object;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package _VisualDVM.TestingSystem.DVM;
|
||||
import _VisualDVM.Repository.RepositoryClient;
|
||||
import _VisualDVM.Repository.Server.ServerCode;
|
||||
public class DVMTestingChecker extends RepositoryClient {
|
||||
import _VisualDVM.Repository.TestingClient;
|
||||
public class DVMTestingChecker extends TestingClient {
|
||||
@Override
|
||||
public void perform() throws Exception {
|
||||
ServerCommand(ServerCode.StartNecessaryMachines);
|
||||
|
||||
Reference in New Issue
Block a user