agave-jobs/jobs-core/src/test/java/org/iplantc/service/jobs/submission/AbstractJobSubmissionTest.java
/**
	 * Creates and persists an {@link ExecutionSystem} for every template
	 * with file name matching {@link LoginProtocolType}.example.com.json 
	 * in the {@code target/test-classes/systems/execution} folder.
	 * @throws Exception if things go sideways
     * @deprecated
	 */
Creates and persists an  ExecutionSystem for every template
with file name matching  LoginProtocolType.example.com.json
in the  target/test-classes/systems/execution folder.
@throws Exception if things go sideways
@deprecated
Creates and persists an ExecutionSystem for every template with file name matching LoginProtocolType . example . com . json in the target / test - classes / systems / execution folder . @throws Exception if things go sideways @deprecated
protected void initAllExecutionSystems() throws Exception
	{
	    for (LoginProtocolType protocol: LoginProtocolType.values())
        {
            ExecutionSystem executionSystem = (ExecutionSystem) 
                    getNewInstanceOfRemoteSystem(RemoteSystemType.EXECUTION, protocol.name());
            executionSystem.setOwner(SYSTEM_OWNER);
            executionSystem.getBatchQueues().clear();
            executionSystem.addBatchQueue(dedicatedQueue.clone());
            executionSystem.addBatchQueue(longQueue.clone());
            executionSystem.addBatchQueue(mediumQueue.clone());
            executionSystem.addBatchQueue(shortQueue.clone());
            executionSystem.setPubliclyAvailable(true);
            executionSystem.setType(RemoteSystemType.EXECUTION);
            systemDao.persist(executionSystem);
        }
	}
protected void initAllExecutionSystems ( ) throws Exception { for ( LoginProtocolType protocol : LoginProtocolType . values ( ) ) { ExecutionSystem executionSystem = ( ExecutionSystem ) getNewInstanceOfRemoteSystem ( RemoteSystemType . EXECUTION , protocol . name ( ) ) ; executionSystem . setOwner ( SYSTEM_OWNER ) ; executionSystem . getBatchQueues ( ) . clear ( ) ; executionSystem . addBatchQueue ( dedicatedQueue . clone ( ) ) ; executionSystem . addBatchQueue ( longQueue . clone ( ) ) ; executionSystem . addBatchQueue ( mediumQueue . clone ( ) ) ; executionSystem . addBatchQueue ( shortQueue . clone ( ) ) ; executionSystem . setPubliclyAvailable ( true ) ; executionSystem . setType ( RemoteSystemType . EXECUTION ) ; systemDao . persist ( executionSystem ) ; } }
Creates and persists an {@link ExecutionSystem} for every template
 with file name matching {@link LoginProtocolType}.example.com.json
 in the {@code target/test-classes/systems/execution} folder.
Creates and persists an { @link ExecutionSystem } for every template with file name matching { @link LoginProtocolType } . example . com . json in the { @code target / test - classes / systems / execution } folder .