This PR adds an empty searchTerm request parameter to Artifactory calls where searchTerm is not otherwise provided.
Resolves #1531.
PR Context
Based on investigation in #1485 and #1531, on-premises Artifactory installations do not enumerate the contents of a feed when a v2 Search() request does not include a searchTerm parameter.
PowerShellGet previously included searchTerm='' on find-all requests - this PR restores that behavior in this specific scenario.
Depending on the PowerShell team's preferences, it may be worthwhile to include this for any provider instead of just Artifactory (i.e. remove the ternary conditional on _isJFrogRepo).
If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.
PR Summary
This PR adds an empty
searchTerm
request parameter to Artifactory calls wheresearchTerm
is not otherwise provided.Resolves #1531.
PR Context
Based on investigation in #1485 and #1531, on-premises Artifactory installations do not enumerate the contents of a feed when a v2
Search()
request does not include asearchTerm
parameter.PowerShellGet previously included
searchTerm=''
on find-all requests - this PR restores that behavior in this specific scenario.Depending on the PowerShell team's preferences, it may be worthwhile to include this for any provider instead of just Artifactory (i.e. remove the ternary conditional on
_isJFrogRepo
).PR Checklist
.h
,.cpp
,.cs
,.ps1
and.psm1
files have the correct copyright headerWIP:
or[ WIP ]
to the beginning of the title (theWIP
bot will keep its status check atPending
while the prefix is present) and remove the prefix when the PR is ready.