private static Map<String, String> getProperties() { Map<String, String> properties = (Map<String, String>) request.args.get("properties"); if (properties == null) { properties = ConfigPropertyUtils.getPropertiesFromCoordinator(); request.args.put("properties", properties); } return properties; }
/** * Completes initial setup with the given configuration properties. * * @param properties the properties to update. */ private static void completeInitialSetup(Map<String, String> properties) { SetupUtils.markSetupComplete(); ConfigPropertyUtils.saveProperties(BourneUtil.getSysClient(), properties); complete(); }