Skip to content

Commit

Permalink
define new role/group notify_details and domain slack_channel attributes
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Avetisyan <[email protected]>
  • Loading branch information
havetisyan committed Nov 8, 2024
1 parent e86d085 commit d7dd0c3
Show file tree
Hide file tree
Showing 43 changed files with 1,637 additions and 92 deletions.
132 changes: 132 additions & 0 deletions clients/go/zms/model.go

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

5 changes: 5 additions & 0 deletions clients/go/zms/zms_schema.go

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

13 changes: 13 additions & 0 deletions core/zms/src/main/java/com/yahoo/athenz/zms/Domain.java
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ public class Domain {
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_NULL)
public String sshCertSignerKeyId;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_NULL)
public String slackChannel;
public String name;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
Expand Down Expand Up @@ -336,6 +339,13 @@ public Domain setSshCertSignerKeyId(String sshCertSignerKeyId) {
public String getSshCertSignerKeyId() {
return sshCertSignerKeyId;
}
public Domain setSlackChannel(String slackChannel) {
this.slackChannel = slackChannel;
return this;
}
public String getSlackChannel() {
return slackChannel;
}
public Domain setName(String name) {
this.name = name;
return this;
Expand Down Expand Up @@ -458,6 +468,9 @@ public boolean equals(Object another) {
if (sshCertSignerKeyId == null ? a.sshCertSignerKeyId != null : !sshCertSignerKeyId.equals(a.sshCertSignerKeyId)) {
return false;
}
if (slackChannel == null ? a.slackChannel != null : !slackChannel.equals(a.slackChannel)) {
return false;
}
if (name == null ? a.name != null : !name.equals(a.name)) {
return false;
}
Expand Down
Loading

0 comments on commit d7dd0c3

Please sign in to comment.