Skip to content
This repository has been archived by the owner on May 14, 2021. It is now read-only.

MINIFI-15 Created a config file format with documentation, and a Util… #8

Closed
wants to merge 3 commits into from

Conversation

JPercivall
Copy link
Contributor

… class to transform prospective config.yml into flow.xml and nifi.properties

… class to transform prospective config.yml into flow.xml and nifi.properties
private ConfigTransformer() {}

public static void main(String[] args) throws Exception {
transformConfigFile("./config.yml",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a remnant from development

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, that is correct. Removing

@@ -45,5 +45,16 @@ limitations under the License.
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-expression-language</artifactId>
</dependency>
<dependency>
<groupId>org.yaml</groupId>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will need to include this in the appropriate LICENSE/NOTICE files.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Snakeyaml is licensed using an apache 2.0 license and does not include a notice[1]. It is my understanding that you don't need to do anything if both those are true.

[1] https://bitbucket.org/asomov/snakeyaml/src

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, agreed. Didn't notice there wasn't a... NOTICE. :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@apiri
Copy link
Member

apiri commented Apr 15, 2016

Overall looks good and a great start for helping to start experimenting and see how this all works and what configuration needs to be exposed to the user. Would like the input stream to be handled where noted, but that is the only issue to be addressed I can see.

@JPercivall
Copy link
Contributor Author

Addressed the comments in a new commit.

@apiri
Copy link
Member

apiri commented Apr 16, 2016

Looks good to go. +1. Will leave to you to squash and merge. Thanks!

@asfgit asfgit closed this in 3bbd391 Apr 17, 2016
@JPercivall
Copy link
Contributor Author

Thanks for the review, I merged in the changes

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants