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

Leave location tuple by default for method "deploy_flow_version" #342

Closed
maykiwo opened this issue Jan 3, 2024 · 1 comment
Closed

Leave location tuple by default for method "deploy_flow_version" #342

maykiwo opened this issue Jan 3, 2024 · 1 comment
Assignees

Comments

@maykiwo
Copy link

maykiwo commented Jan 3, 2024

  • Nipyapi version: '0.19.1'
  • NiFi version: '1.23.2'
  • NiFi-Registry version: '1.18.'
  • Python version: 3.9.8
  • Operating System: Rocky 8

Description

How to setup the default location ?

What I Did

When deploy the flow in the nifi client how it is possible to leave the Nifi instance to choice the location itself ?

Thanks a lot

@Chaffelson
Copy link
Owner

Unfortunately the NiFi server does not have a function for this, because it assumes that it is being operated interactively from a browser session.
We could add a feature to NiPy to calculate a likely location for the Flow or Object to be deployed on the canvas, and I did historically have some example code to do so, but testing it and not impacting existing flows was troublesome so I never chased it down.

Is it not easy enough to set your own location in your deployment script? Or would you rather that deploy_flow_version had a default location like (0,0) as a tuple in NiPy?

Chaffelson added a commit that referenced this issue Oct 2, 2024
@Chaffelson Chaffelson self-assigned this Oct 3, 2024
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

2 participants