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:
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.
The request goes to the default url set, and the using_ssl and using_user_password
**Expected behavior**
Expected to load the nifi_url and properties specified from the conf file
**Screenshots**
![image](https://user-images.githubusercontent.com/9211597/113679171-25660280-96c8-11eb-888d-5992603d2533.png)
**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.
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:
nifi_url
and no existing dot file as well as setting theusing_ssl
andusing_user_password
properties to true.using_ssl
andusing_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