Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Added additonal field PriorityResolution for local and remote repos i…
Browse files Browse the repository at this point in the history
…ntroduced in 7.19.4 (#65)
  • Loading branch information
TimothyTitan authored Jul 1, 2022
1 parent 1b588e5 commit 0404ebe
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
16 changes: 16 additions & 0 deletions artifactory/artifactory-accessors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions artifactory/repositories.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ type LocalRepository struct {
OptionalIndexCompressionFormats *[]string `json:"optionalIndexCompressionFormats,omitempty" xml:"optionalIndexCompressionFormats>debianFormat,omitempty"`
XrayIndex *bool `json:"xrayIndex,omitempty" xml:"xray>enabled,omitempty"`
DownloadRedirect *bool `json:"downloadRedirect,omitempty" xml:"downloadRedirect>enabled,omitempty"`
PriorityResolution *bool `json:"priorityResolution,omitempty" xml:"priorityResolution,omitempty"`
}

func (l LocalRepository) String() string {
Expand Down Expand Up @@ -143,6 +144,7 @@ type RemoteRepository struct {
BlockPushingSchema1 *bool `json:"blockPushingSchema1,omitempty" xml:"blockPushingSchema1,omitempty"`
QueryParams *string `json:"queryParams,omitempty" xml:"queryParams,omitempty"`
PropagateQueryParams *bool `json:"propagateQueryParams,omitempty" xml:"propagateQueryParams,omitempty"`
PriorityResolution *bool `json:"priorityResolution,omitempty" xml:"priorityResolution,omitempty"`
}

// ContentSynchronisation represents smart remote repository configuration
Expand Down

0 comments on commit 0404ebe

Please sign in to comment.