Skip to content

Commit

Permalink
Merge pull request #42 from reubenmiller/feat-application-roles
Browse files Browse the repository at this point in the history
feat(applications): add support for roles property
  • Loading branch information
reubenmiller authored Apr 2, 2024
2 parents 68dbbbd + 4078595 commit 30cfc07
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ files.extend-exclude = [
]

[default.extend-identifiers]
mosquitto = "mosquitto"
mosquitto = "mosquitto"
ws = "ws"
wsDialer = "wsDialer"
1 change: 1 addition & 0 deletions pkg/c8y/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ type Application struct {

// Microservice roles
RequiredRoles []string `json:"requiredRoles,omitempty"`
Roles []string `json:"roles,omitempty"`

Item gjson.Result `json:"-"`
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/c8y/retentionRules.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type RetentionRule struct {
// RetentionRule id
ID string `json:"id,omitempty"`

// RetentionRule will be applied to documnets with source
// RetentionRule will be applied to documents with source
Source string `json:"source,omitempty"`

// RetentionRule will be applied to documents with type
Expand Down

0 comments on commit 30cfc07

Please sign in to comment.