code: public static EnvironmentDetail getEnvironmentDetail(final String application, final String environment) {
  		
  		// lookup the host name
  
  		String hostName = getHostName();
  		
  		// lookup the current path
  		
  		String currentPath = System.getProperty("user.dir");
  		
  		// build the environment details
  		
  		EnvironmentDetail.Builder environmentBuilder = EnvironmentDetail.newBuilder();
  		environmentBuilder.deviceName(hostName);
  		environmentBuilder.appLocation(currentPath);
  		environmentBuilder.configuredAppName(application);
  		environmentBuilder.configuredEnvironmentName(environment);
  		
  		return environmentBuilder.build();
  	}
docs: Creates an environment details object with system information
  @param application The configured application name
  @param environment The configured application environment
  @return The EnvironmentDetail object