agave-apps/apps-core/src/test/java/org/iplantc/service/apps/util/DomainSetup.java
/**
     * Get a Software object from dehydrated json file on disk
     * @param pathToSoftwareFile path to file with dehydrated Software
     * @return Software object
     */
Get a Software object from dehydrated json file on disk
@param pathToSoftwareFile path to file with dehydrated Software
@return Software object
Get a Software object from dehydrated json file on disk @param pathToSoftwareFile path to file with dehydrated Software @return Software object
public Software hydrateSoftware(String pathToSoftwareFile){
        JSONObject json = retrieveDataFile(pathToSoftwareFile);
        Software software = null;
        try {
             software = Software.fromJSON(json,SOFTWARE_OWNER);
        } catch (JSONException e) {
            e.printStackTrace();
        }
        return software;
    }
public Software hydrateSoftware ( String pathToSoftwareFile ) { JSONObject json = retrieveDataFile ( pathToSoftwareFile ) ; Software software = null ; try { software = Software . fromJSON ( json , SOFTWARE_OWNER ) ; } catch ( JSONException e ) { e . printStackTrace ( ) ; } return software ; }
Get a Software object from dehydrated json file on disk
 @param pathToSoftwareFile path to file with dehydrated Software
 @return Software object
Get a Software object from dehydrated json file on disk @param pathToSoftwareFile path to file with dehydrated Software @return Software object