Extract YAML file parsing as a public method in YamlChangeLogParser and YamlSnapshotParser

Description

As of Liquibase 3.5.3 the code to parse YAML and JSON files is embedded within YamlChangeLogParser.parse(..) and YamlSnapshotParser.parse(..) methods. The parsing section in these methods should be extracted a separate public method, perhaps in the YamlParser class, so that other parsers, e.g. https://github.com/kumarshantanu/liquibase-edn can reuse the rest of the code by overriding the file-parsing methods, without duplicating rest of the YAML parser's logic.

Environment

All

Activity

Show:

Details

Reporter

Components

Affects versions

Priority

Created July 8, 2017 at 2:04 PM
Updated July 10, 2017 at 8:54 AM