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

[Feature Request]: Enhanced Configuration File Selection in Environment Properties #4881

Open
dsanderbi opened this issue Feb 9, 2025 · 1 comment

Comments

@dsanderbi
Copy link
Contributor

What would you like to happen?

I would like to request an enhancement for the way configuration files are added in Environment Properties.

Instead of selecting individual files manually, it would be great if the selection worked similarly to the JSON Input transform.

Specifically, it would be helpful to have the following options:

  • File/Directory Selection (allowing users to select an entire folder)
  • Wildcard (RegExp) to filter specific files
  • Exclude Wildcard to ignore certain files
  • Required flag for mandatory files
  • Include Subfolders option to process files in subdirectories

This would greatly improve usability and flexibility when managing configuration files.

Currently:

Image

After feature implementation:

Image

NOTE:
It would also be great to have this functionality for the hop-conf script.

Example:

$ sh hop-conf.sh \
     --environment-create \
     --environment test-file \
     --environment-project test-file \
     --environment-purpose=Testing\
     --environment-config-file-directory="<YOUR_ENV_CONFIG_PATH>/config"
     --environment-config-file-wildcard="*.json"

Issue Priority

Priority: 2

Issue Component

Component: Hop Gui, Component: Hop Config

@hansva
Copy link
Contributor

hansva commented Feb 9, 2025

Great idea!

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

No branches or pull requests

2 participants