listRemoteFolderItems can be accessed in multiple ways
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Partite dalle API RemoteRepository e RepositorySettings e confrontate i relativi accessor listRemoteFolderItems con l’unica proprietà REST di Artifactory correlata descritta nell’issue. Determinate quale accessor sia autorevole per le letture e le scritture, quindi definite se l’API ridondante debba essere rimossa; il lavoro è completato quando l’API Java ha un comportamento univoco coerente con REST.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
In the Java API there are two ways to get or set a remote repository's listRemoteFolderItems property, one via the RemoteRepository class, and one via the RepositorySettings class. E.g.:
RemoteRepository repo = /* ... a generic remote repository ...*/;
repo.isListRemoteFolderItems(); // 1
((GenericRepositorySettings)repo.getRepositorySettings()).getListRemoteFolderItems(); // 2
When I check the REST API of Artifactory, there's only a single related property, so it's a bit confusing to have two ways of accessing it.
More importantly, it seems that the two properties work a differently:
- When I read a remote repository from Artifactory, both properties are set according to the value on the server.
- When I write the repository, it ignores the property on the
RemoteRepositoryobject and uses the value defined for theRepositorySettingsobject.
Which of these properties should be used? Is it ok in all cases to just use the property in the RepositorySettings object and simply ignore the property on the RemoteRepository?
If so, would it be possible to change artifactory-client-java and remove the unnecessary one?
- Lingua principale
- Java
- Stelle
- 331
- Fork
- 163
- Merge medio
- 20h 9m
- PR unite (30g)
- 1
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di jfrog/artifactory-client-java
-
Timeout unit not specified Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
jfrog/artifactory-client-java#450 · 2 commenti ·
-
question
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
jfrog/artifactory-client-java#375 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
jfrog/artifactory-client-java#448 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
jfrog/artifactory-client-java#447 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
jfrog/artifactory-client-java#445 ·
Tutte le issue di jfrog/artifactory-client-java
Issue simili
-
executions.Query — startDate and timeRange filters are sent with inverted comparison operators Apertaarea/plugin
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
kestra-io/plugin-kestra#190 ·
-
litertlm-android AAR ships no consumer ProGuard rules → "mid == null" SIGABRT in minified apps Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
integra-team-red/meet-map#249 ·
-
[Studio][Bug] Cancelled create-user dialog keeps the password and admin switch for the next attempt Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
apache/rocketmq-dashboard#5064 ·