agave-apps/apps-core/src/test/java/org/iplantc/service/apps/util/DomainSetup.java
/**
     * persist the template dir systems for base data set of domain objects for storage and
     * execution systems
     */
persist the template dir systems for base data set of domain objects for storage and
execution systems
persist the template dir systems for base data set of domain objects for storage and execution systems
public void persistDefaultTestSystemsData(){
        fillListsMaps();
        for(JSONObject storageJson : jsonStorageList){
            try {
                RemoteSystem system = StorageSystem.fromJSON(storageJson);
                system.setOwner(SYSTEM_OWNER);         
                dao.persist(system);
            } catch (SystemException e) {
                e.printStackTrace();
            }
        }
        for(JSONObject executionJson : jsonExecutionList){
            try {
                RemoteSystem system = ExecutionSystem.fromJSON(executionJson);
                system.setOwner(SYSTEM_OWNER);         
                dao.persist(system);
            } catch (SystemArgumentException e) {
                e.printStackTrace();
            }catch (ConstraintViolationException ce){
            }
        }
    }
public void persistDefaultTestSystemsData ( ) { fillListsMaps ( ) ; for ( JSONObject storageJson : jsonStorageList ) { try { RemoteSystem system = StorageSystem . fromJSON ( storageJson ) ; system . setOwner ( SYSTEM_OWNER ) ; dao . persist ( system ) ; } catch ( SystemException e ) { e . printStackTrace ( ) ; } } for ( JSONObject executionJson : jsonExecutionList ) { try { RemoteSystem system = ExecutionSystem . fromJSON ( executionJson ) ; system . setOwner ( SYSTEM_OWNER ) ; dao . persist ( system ) ; } catch ( SystemArgumentException e ) { e . printStackTrace ( ) ; } catch ( ConstraintViolationException ce ) { } } }
persist the template dir systems for base data set of domain objects for storage and
 execution systems
persist the template dir systems for base data set of domain objects for storage and execution systems
// default system owner // default system owner //System.out.println("Continue with loading data if possible");