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

How to specify transitive keyword to aql? #320

Open
LeiYangGH opened this issue May 19, 2021 · 2 comments
Open

How to specify transitive keyword to aql? #320

LeiYangGH opened this issue May 19, 2021 · 2 comments
Labels
feature request New feature or request

Comments

@LeiYangGH
Copy link

LeiYangGH commented May 19, 2021

Is your feature request related to a problem? Please describe.
transitive is a artifactory feature To enable a search within a remote repository
The aql is like items.find(“repo”: “remote-repo”).transitive()

Describe the solution you'd like to see
Add AqlQueryBuilder.Transitive() method.

Describe alternatives you've considered
String aql = builder.build() + ".transitive()";, manually construct the aql string, thus not benefiting fromartifactory-client-java at all.

@LeiYangGH LeiYangGH added the feature request New feature or request label May 19, 2021
@eyalbe4
Copy link
Contributor

eyalbe4 commented May 19, 2021

@LeiYangGH -
Would you like to contribute this through a pull request?
We'd gladly accept it.

@LeiYangGH
Copy link
Author

#321

please reivew.
I don't have enough knowledge to estimate the possible side effects, such as

  • What if repo is not remote type, and use .transitive()?
  • Should .transitive() be always placed at the end of aql? or can be placed just after the .find() statement?

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

No branches or pull requests

2 participants