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

Ignoring Properties set in Conf File #80

Open
06nenglish opened this issue Apr 6, 2021 · 0 comments
Open

Ignoring Properties set in Conf File #80

06nenglish opened this issue Apr 6, 2021 · 0 comments

Comments

@06nenglish
Copy link

06nenglish commented Apr 6, 2021

Describe the bug
When Running Dotifi with a Configuration file and no existing file it fails to load the nifi_url, using_ssl, and using_user_pw setting it to the default value instead. When running the command with command line values instead of the config file it works as expected.

To Reproduce
Do you have an example NIFI template that demonstrates the issue? All NiFi Templates will cause this issue
Steps to reproduce the behavior:

  1. Run dotifi with a conf file specifying the nifi_url and no existing dot file as well as setting the using_ssl and using_user_password properties to true.
  2. The request goes to the default url set, and the using_ssl and using_user_password

configuration_version : 2

verbose: true
output_dot_file: hello.dot

output_graphviz_format: svg

depth: 1

nifi_url: https://nifi-1.dev.net:8443/nifi-api

using_ssl: true

using_user_pw: true

nifi_user_name: nifi

nifi_user_password: Password123

Expected behavior
Expected to load the nifi_url and properties specified from the conf file

Screenshots
image
Desktop (please complete the following information):
- OS: Centos7
- NIFI: 1.12.4
- Python: 3.9.4
- dotifi: latest

Additional context
Add any other context about the problem here.

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

No branches or pull requests

1 participant