Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Flux flows to read input and output data of Metamorph testcases #96

Open
cboehme opened this issue Jun 13, 2013 · 0 comments
Open

Comments

@cboehme
Copy link
Member

cboehme commented Jun 13, 2013

The input and output of Metamorph xml testcases can be specified in a number of formats. However, the current implementation requires a special Reader class for each data format. Using Flux this requirement could be removed. The idea is to have a property file which specifies for each supported mime-type a Flux flow for reading this format. The flow would differ from standard flows in that their first element must implement XmlReceiver and the last send its data to a StreamReceiver. Textual data could be read by using an xml-handler that only accepts character data and discards all elements. The properties file could look as followed:

application/pica-x = handle-text-only | as-lines | decode-pica
text/cgentity+xml = handle-cgxml

In order to handle input and output included in external files. A second properties file could be used in which the flows expect an ObjectReceiver for Java IO-Reader as first element.

@cboehme cboehme modified the milestone: Version 3 Jan 29, 2015
@github-project-automation github-project-automation bot moved this to Backlog in Metafacture Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant