streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/entity/FlinkApplicationConfig.java [131:146]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private Map<String, String> renderConfigs() {
        ConfigFileTypeEnum fileType = ConfigFileTypeEnum.of(this.format);
        if (fileType == null) {
            return null;
        }
        switch (fileType) {
            case YAML:
                return PropertiesUtils.fromYamlTextAsJava(DeflaterUtils.unzipString(this.content));
            case PROPERTIES:
                return PropertiesUtils.fromPropertiesTextAsJava(DeflaterUtils.unzipString(this.content));
            case HOCON:
                return PropertiesUtils.fromHoconTextAsJava(DeflaterUtils.unzipString(this.content));
            default:
                return new HashMap<>();
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/entity/SparkApplicationConfig.java [79:94]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private Map<String, String> readConfig() {
        ConfigFileTypeEnum fileType = ConfigFileTypeEnum.of(this.format);
        if (fileType == null) {
            return null;
        }
        switch (fileType) {
            case YAML:
                return PropertiesUtils.fromYamlTextAsJava(DeflaterUtils.unzipString(this.content));
            case PROPERTIES:
                return PropertiesUtils.fromPropertiesTextAsJava(DeflaterUtils.unzipString(this.content));
            case HOCON:
                return PropertiesUtils.fromHoconTextAsJava(DeflaterUtils.unzipString(this.content));
            default:
                return new HashMap<>();
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



