Skip to content

Commit

Permalink
added ConfigProfileRepository struct to ConfigProfile to support the …
Browse files Browse the repository at this point in the history
…new format
  • Loading branch information
eranturgeman committed Dec 10, 2024
1 parent a11abc6 commit 3ee757f
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions xsc/services/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,18 @@ func NewConfigurationProfileService(client *jfroghttpclient.JfrogHttpClient) *Co
}

type ConfigProfile struct {
ProfileName string `json:"profile_name"`
FrogbotConfig FrogbotConfig `json:"frogbot_config,omitempty"`
Modules []Module `json:"modules"`
IsDefault bool `json:"is_default,omitempty"`
ProfileName string `json:"profile_name"`
Repository ConfigProfileRepository `json:"repository"`
FrogbotConfig FrogbotConfig `json:"frogbot_config,omitempty"`
Modules []Module `json:"modules"`
IsDefault bool `json:"is_default,omitempty"`
}

type ConfigProfileRepository struct {
Id string
Name string
Url string
Provider string
}

type FrogbotConfig struct {
Expand Down

0 comments on commit 3ee757f

Please sign in to comment.