-
Notifications
You must be signed in to change notification settings - Fork 74
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
WIP: Metadata walker for JAPI #1092
Conversation
Enables systems that want to interface tightly with Daffodil via JAPI, to walk the runtime schema information so as to construct their own corresponding metadata. DAFFODIL-2832
daffodil-japi/src/main/scala/org/apache/daffodil/japi/schema/RuntimeSchemaWalker.scala
Show resolved
Hide resolved
daffodil-japi/src/main/scala/org/apache/daffodil/japi/schema/RuntimeSchemaWalker.scala
Show resolved
Hide resolved
daffodil-japi/src/main/scala/org/apache/daffodil/japi/schema/RuntimeSchemaWalker.scala
Show resolved
Hide resolved
daffodil-japi/src/main/scala/org/apache/daffodil/japi/schema/RuntimeSchemaWalker.scala
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this PR is still a work in progress, will only make some comments.
I agree that this new RuntimeSchemaWalker.scala's API needs unit tests with examples of how to call the API properly. I agree that some API names such as elementSimple
could be better named simpleElement
or startSimpleElement
(without an end function).
daffodil-japi/src/main/scala/org/apache/daffodil/japi/schema/RuntimeSchemaWalker.scala
Show resolved
Hide resolved
daffodil-japi/src/main/scala/org/apache/daffodil/japi/schema/RuntimeSchemaWalker.scala
Show resolved
Hide resolved
daffodil-japi/src/main/scala/org/apache/daffodil/japi/schema/RuntimeSchemaWalker.scala
Show resolved
Hide resolved
daffodil-japi/src/main/scala/org/apache/daffodil/japi/schema/RuntimeSchemaWalker.scala
Show resolved
Hide resolved
Closing. Superceded by PR: Relevant comments on this have been recorded there with links back to this PR for context. |
For preliminary review.
Enables systems that want to interface tightly with Daffodil via JAPI, to walk the runtime schema information so as to construct their own corresponding metadata.
Done to enable Apache Drill but should be useful generally.
For use case, see PR in Apache Drill: apache/drill#2836
DAFFODIL-2832