Add flyway database migration tool. Read diva news from database

This commit is contained in:
samnyan
2020-01-17 01:03:14 +09:00
parent a9a9ae4bbc
commit 3d99839fef
15 changed files with 7229 additions and 9 deletions

View File

@@ -11,8 +11,8 @@ import lombok.Setter;
@Getter
@Setter
public class PingResponse extends BaseResponse {
private String ping_b_msg = URIEncoder.encode("Server testing No other news");
private String ping_m_msg = URIEncoder.encode("Nothing special Server testing No other news");
private String ping_b_msg = URIEncoder.encode("Server Running No other news");
private String ping_m_msg = URIEncoder.encode("Network Service Running");
private String atnd_lut;
private String fi_lut;
private String ci_lut;
@@ -53,4 +53,10 @@ public class PingResponse extends BaseResponse {
public PingResponse(String cmd, String req_id, String stat) {
super(cmd, req_id, stat);
}
public PingResponse(String cmd, String req_id, String stat, String ping_b_msg, String ping_m_msg) {
super(cmd, req_id, stat);
this.ping_b_msg = ping_b_msg;
this.ping_m_msg = ping_m_msg;
}
}