Skip to content

Ignoring Properties set in Conf File #80

@06nenglish

Description

@06nenglish

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions