apache / apache/hop

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

Open
#4,881 8 comments 2 reactions 1 assignee Claimed by @sramazzina View on GitHub
awaiting triage Hop Config Hop Gui P2
Dominant language
Java
Stars
1.5k
Forks
476
Avg merge
18h 32m
Merged PRs (30d)
216

Description

### 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](https://github.com/user-attachments/assets/e0c85fec-417a-454b-ab21-3e451994daf1)

**After feature implementation**:

![Image](https://github.com/user-attachments/assets/33ddb75a-463c-40c8-9625-3d10f56f55ca)

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="/config"
--environment-config-file-wildcard="*.json"
```

### Issue Priority

Priority: 2

### Issue Component

Component: Hop Gui, Component: Hop Config

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.