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

Display processor properties #67

Open
dougcooper opened this issue Oct 24, 2020 · 12 comments
Open

Display processor properties #67

dougcooper opened this issue Oct 24, 2020 · 12 comments
Assignees
Labels
enhancement New feature or request

Comments

@dougcooper
Copy link

I would like to be able to optionally print the properties and their associated values.

@ottobackwards
Copy link
Contributor

So, inside of the 'box' for a component? That may make each box rather large but I can see how that would be useful

@dougcooper
Copy link
Author

Exactly. I was looking for a way to easily document the flows for presentation purposes outside of nifi and this tool is perfect. But ideally it would capture the customization of the processor as well. Not sure how the dot templating stuff works but I wonder if it would be possible to specify which properties we want to show?

@ottobackwards
Copy link
Contributor

I like to think of the templates as strictly for the visualization, not the content. What I would be thinking would be to:
1st -> allow a 'switch' in the configuration yaml to output properties
2nd ( I need to think of how yucky the configuration would get ) all for per processor type property lists

Also, this makes me think that either dotifi or another peer tool to document a flow outputting markdown, or some combination of markdown and the dot file / image would be cool.

So imagine if dotifi output a web page and the dot file, such that it had an image of the flow, and beneath that a listing of the processors and properties

@ottobackwards
Copy link
Contributor

I think the 'how complicated the configuration gets' isn't much of an issue. I've always imagined that someone would have some number of configurations, for different use cases, which were one time writes.

@dougcooper
Copy link
Author

I really like that idea. Like each processor could have an href that links to the details for that processor. That would be perfect.

@ottobackwards
Copy link
Contributor

I could use a specified HTML template to configure how that comes out too

@ottobackwards
Copy link
Contributor

People should be able to pipeline that into whatever they want

@dougcooper
Copy link
Author

dougcooper commented Oct 24, 2020 via email

@ottobackwards
Copy link
Contributor

so, would html be the best output or markdown I wonder?

@ottobackwards ottobackwards added the enhancement New feature or request label Oct 24, 2020
@ottobackwards ottobackwards self-assigned this Oct 24, 2020
@dougcooper
Copy link
Author

dougcooper commented Oct 24, 2020 via email

@ottobackwards
Copy link
Contributor

Would that handle markdown with embedded raw html tags? I don't think I can do everything I want to do with raw markdown....

@dougcooper
Copy link
Author

Generally speaking markdown allows embedded html. Pandoc supports some extensions as well. https://pandoc.org/MANUAL.html#markdown-variants.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants