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

Support filter by tags for pipelines and data storages loading #3743

Open
ekazachkova opened this issue Oct 15, 2024 · 0 comments
Open

Support filter by tags for pipelines and data storages loading #3743

ekazachkova opened this issue Oct 15, 2024 · 0 comments
Assignees
Labels
kind/enhancement New feature or request

Comments

@ekazachkova
Copy link
Contributor

ekazachkova commented Oct 15, 2024

Background
At the moment, Cloud Pipeline does not allow to load all pipelines/data storages with filter by tags and it would be nice to support it.

Approach
Implements a new methods POST /pipeline/filter for pipelines and POST /datastorage/filter for storages that allow to pass tags filter with the following format:

{
    "tags": {
        "AttributeName1": [ "AttributeValue1", "AttributeValue2" ],
        "AttributeName2": [ "AttributeValue3", "AttributeValue4" ],
        ....
    }
}

In this case a new methods shall load those entities that contains tags (AttributeName1=AttributeValue1 or AttributeName1=AttributeValue2) and (AttributeName2=AttributeValue3 or AttributeName2=AttributeValue4)

If no tags provided all entities shall be loaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant