Skip to content
This repository has been archived by the owner on Jul 29, 2021. It is now read-only.

Commit

Permalink
feat(plan): Manage plan deployment using sharding tags
Browse files Browse the repository at this point in the history
  • Loading branch information
brasseld committed May 20, 2019
1 parent e3ae9d5 commit a8bf875
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Expand Up @@ -133,6 +133,7 @@ private Plan convert(RedisPlan redisPlan) {
plan.setSecurityDefinition(redisPlan.getSecurityDefinition());
plan.setCommentRequired(redisPlan.isCommentRequired());
plan.setCommentMessage(redisPlan.getCommentMessage());
plan.setTags(redisPlan.getTags());
return plan;
}

Expand Down Expand Up @@ -185,6 +186,7 @@ private RedisPlan convert(Plan plan) {
redisPlan.setSecurityDefinition(plan.getSecurityDefinition());
redisPlan.setCommentRequired(plan.isCommentRequired());
redisPlan.setCommentMessage(plan.getCommentMessage());
redisPlan.setTags(plan.getTags());
return redisPlan;
}
}
Expand Up @@ -88,6 +88,8 @@ public class RedisPlan {

private String commentMessage;

private Set<String> tags;

public String getId() {
return id;
}
Expand Down Expand Up @@ -248,6 +250,14 @@ public void setCommentMessage(String commentMessage) {
this.commentMessage = commentMessage;
}

public Set<String> getTags() {
return tags;
}

public void setTags(Set<String> tags) {
this.tags = tags;
}

@Override
public boolean equals(Object o) {
if (this == o) return true;
Expand Down

0 comments on commit a8bf875

Please sign in to comment.