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

Support persistent transformation context attributes #305

Open
fabiocarvalho777 opened this issue Feb 8, 2019 · 0 comments
Open

Support persistent transformation context attributes #305

fabiocarvalho777 opened this issue Feb 8, 2019 · 0 comments

Comments

@fabiocarvalho777
Copy link
Member

The use case

Metrics offer great details about the transformation. However, sometimes it is important to also have access to custom specific details, gathered during the transformation and stored as transformation context. This would help increase test accuracy, and also to provide better metrics.

How to achieve that

With that in mind, Butterfly should offer an option to "persist" transformation context attributes. Persistent transformation context attributes would be saved in the transformation result metrics object, making them available to tests and persisted to any storage set to persist transformation metrics.

API changes

Add method void persist(String attributeName) to TransformationTemplate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant