private InstallProperties getInstallProperties(String releaseName, String platformName, File yamlFile, String propertiesToOverride) throws IOException { InstallProperties installProperties = new InstallProperties(); if (StringUtils.hasText(releaseName)) { installProperties.setReleaseName(releaseName); } // There is a 'default' value for platformName installProperties.setPlatformName(platformName); String configValuesYML = YmlUtils.getYamlConfigValues(yamlFile, propertiesToOverride); if (StringUtils.hasText(configValuesYML)) { ConfigValues configValues = new ConfigValues(); configValues.setRaw(configValuesYML); installProperties.setConfigValues(configValues); } return installProperties; }
InstallProperties installProperties = new InstallProperties(); installProperties.setPlatformName(platformName); installProperties.setReleaseName(streamName); installProperties.setConfigValues(new ConfigValues()); installRequest.setInstallProperties(installProperties);
InstallProperties installProperties = new InstallProperties(); installProperties.setPlatformName(platformName); installProperties.setReleaseName(streamName); installProperties.setConfigValues(new ConfigValues()); installRequest.setInstallProperties(installProperties);
installProperties.setConfigValues(releaseToRollback.getConfigValues()); installProperties.setPlatformName(releaseToRollback.getPlatformName()); installProperties.setReleaseName(releaseName); installRequest.setInstallProperties(installProperties); installRequest.setPackageIdentifier(packageIdentifier);
installProperties.setConfigValues(releaseToRollback.getConfigValues()); installProperties.setPlatformName(releaseToRollback.getPlatformName()); installProperties.setReleaseName(releaseName); installRequest.setInstallProperties(installProperties); installRequest.setPackageIdentifier(packageIdentifier);