Skip to content

Commit

Permalink
Provisioner - API Module Implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
mohbadar committed Nov 20, 2019
1 parent 8b9cce4 commit c8aee19
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .idea/workspace.xml

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

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import af.asr.api.annotation.ThrowsException;
import af.asr.api.util.CustomFeignClientsConfiguration;
import feign.Client;
import af.asr.provisioner.api.v1.domain.*;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
package af.asr.provisioner.api.v1.domain;


@SuppressWarnings("unused")
public class PasswordPolicy {

private String newPassword;
private Integer expiresInDays;

public PasswordPolicy() {
super();
}

public String getNewPassword() {
return newPassword;
}

public void setNewPassword(String newPassword) {
this.newPassword = newPassword;
}

public Integer getExpiresInDays() {
return expiresInDays;
}

public void setExpiresInDays(Integer expiresInDays) {
this.expiresInDays = expiresInDays;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,6 @@ public String toString() {
", cassandraConnectionInfo=" + cassandraConnectionInfo +
", databaseConnectionInfo=" + databaseConnectionInfo +
'}';
}
}

}

0 comments on commit c8aee19

Please sign in to comment.