Skip to content

Commit

Permalink
Merge pull request #527 from opensrp/add_error_log_to_plan_processing…
Browse files Browse the repository at this point in the history
…_status

Add error log to plan processing status
  • Loading branch information
Rkareko authored Dec 14, 2021
2 parents c8520af + 1d70147 commit 105c6fa
Show file tree
Hide file tree
Showing 13 changed files with 311 additions and 78 deletions.
2 changes: 1 addition & 1 deletion configs
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<artifactId>opensrp-server-core</artifactId>
<packaging>jar</packaging>
<version>2.12.17-SNAPSHOT</version>
<version>2.12.18-SNAPSHOT</version>
<name>opensrp-server-core</name>
<description>OpenSRP Server Core module</description>
<url>https://github.com/OpenSRP/opensrp-server-core</url>
Expand Down
75 changes: 54 additions & 21 deletions src/main/java/org/opensrp/domain/postgres/PlanProcessingStatus.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class PlanProcessingStatus {
* This field was generated by MyBatis Generator.
* This field corresponds to the database column core.plan_processing_status.id
*
* @mbg.generated Sat Sep 11 11:04:03 EAT 2021
* @mbg.generated Sun Dec 12 13:48:48 EAT 2021
*/
private Long id;

Expand All @@ -17,7 +17,7 @@ public class PlanProcessingStatus {
* This field was generated by MyBatis Generator.
* This field corresponds to the database column core.plan_processing_status.plan_id
*
* @mbg.generated Sat Sep 11 11:04:03 EAT 2021
* @mbg.generated Sun Dec 12 13:48:48 EAT 2021
*/
private Long planId;

Expand All @@ -26,7 +26,7 @@ public class PlanProcessingStatus {
* This field was generated by MyBatis Generator.
* This field corresponds to the database column core.plan_processing_status.event_id
*
* @mbg.generated Sat Sep 11 11:04:03 EAT 2021
* @mbg.generated Sun Dec 12 13:48:48 EAT 2021
*/
private Long eventId;

Expand All @@ -35,7 +35,7 @@ public class PlanProcessingStatus {
* This field was generated by MyBatis Generator.
* This field corresponds to the database column core.plan_processing_status.template_id
*
* @mbg.generated Sat Sep 11 11:04:03 EAT 2021
* @mbg.generated Sun Dec 12 13:48:48 EAT 2021
*/
private Long templateId;

Expand All @@ -44,7 +44,7 @@ public class PlanProcessingStatus {
* This field was generated by MyBatis Generator.
* This field corresponds to the database column core.plan_processing_status.status
*
* @mbg.generated Sat Sep 11 11:04:03 EAT 2021
* @mbg.generated Sun Dec 12 13:48:48 EAT 2021
*/
private Integer status;

Expand All @@ -53,7 +53,7 @@ public class PlanProcessingStatus {
* This field was generated by MyBatis Generator.
* This field corresponds to the database column core.plan_processing_status.date_created
*
* @mbg.generated Sat Sep 11 11:04:03 EAT 2021
* @mbg.generated Sun Dec 12 13:48:48 EAT 2021
*/
private Date dateCreated;

Expand All @@ -62,17 +62,26 @@ public class PlanProcessingStatus {
* This field was generated by MyBatis Generator.
* This field corresponds to the database column core.plan_processing_status.date_edited
*
* @mbg.generated Sat Sep 11 11:04:03 EAT 2021
* @mbg.generated Sun Dec 12 13:48:48 EAT 2021
*/
private Date dateEdited;

/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column core.plan_processing_status.error_log
*
* @mbg.generated Sun Dec 12 13:48:48 EAT 2021
*/
private String errorLog;

/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column core.plan_processing_status.id
*
* @return the value of core.plan_processing_status.id
*
* @mbg.generated Sat Sep 11 11:04:03 EAT 2021
* @mbg.generated Sun Dec 12 13:48:48 EAT 2021
*/
public Long getId() {
return id;
Expand All @@ -84,7 +93,7 @@ public Long getId() {
*
* @param id the value for core.plan_processing_status.id
*
* @mbg.generated Sat Sep 11 11:04:03 EAT 2021
* @mbg.generated Sun Dec 12 13:48:48 EAT 2021
*/
public void setId(Long id) {
this.id = id;
Expand All @@ -96,7 +105,7 @@ public void setId(Long id) {
*
* @return the value of core.plan_processing_status.plan_id
*
* @mbg.generated Sat Sep 11 11:04:03 EAT 2021
* @mbg.generated Sun Dec 12 13:48:48 EAT 2021
*/
public Long getPlanId() {
return planId;
Expand All @@ -108,7 +117,7 @@ public Long getPlanId() {
*
* @param planId the value for core.plan_processing_status.plan_id
*
* @mbg.generated Sat Sep 11 11:04:03 EAT 2021
* @mbg.generated Sun Dec 12 13:48:48 EAT 2021
*/
public void setPlanId(Long planId) {
this.planId = planId;
Expand All @@ -120,7 +129,7 @@ public void setPlanId(Long planId) {
*
* @return the value of core.plan_processing_status.event_id
*
* @mbg.generated Sat Sep 11 11:04:03 EAT 2021
* @mbg.generated Sun Dec 12 13:48:48 EAT 2021
*/
public Long getEventId() {
return eventId;
Expand All @@ -132,7 +141,7 @@ public Long getEventId() {
*
* @param eventId the value for core.plan_processing_status.event_id
*
* @mbg.generated Sat Sep 11 11:04:03 EAT 2021
* @mbg.generated Sun Dec 12 13:48:48 EAT 2021
*/
public void setEventId(Long eventId) {
this.eventId = eventId;
Expand All @@ -144,7 +153,7 @@ public void setEventId(Long eventId) {
*
* @return the value of core.plan_processing_status.template_id
*
* @mbg.generated Sat Sep 11 11:04:03 EAT 2021
* @mbg.generated Sun Dec 12 13:48:48 EAT 2021
*/
public Long getTemplateId() {
return templateId;
Expand All @@ -156,7 +165,7 @@ public Long getTemplateId() {
*
* @param templateId the value for core.plan_processing_status.template_id
*
* @mbg.generated Sat Sep 11 11:04:03 EAT 2021
* @mbg.generated Sun Dec 12 13:48:48 EAT 2021
*/
public void setTemplateId(Long templateId) {
this.templateId = templateId;
Expand All @@ -168,7 +177,7 @@ public void setTemplateId(Long templateId) {
*
* @return the value of core.plan_processing_status.status
*
* @mbg.generated Sat Sep 11 11:04:03 EAT 2021
* @mbg.generated Sun Dec 12 13:48:48 EAT 2021
*/
public Integer getStatus() {
return status;
Expand All @@ -180,7 +189,7 @@ public Integer getStatus() {
*
* @param status the value for core.plan_processing_status.status
*
* @mbg.generated Sat Sep 11 11:04:03 EAT 2021
* @mbg.generated Sun Dec 12 13:48:48 EAT 2021
*/
public void setStatus(Integer status) {
this.status = status;
Expand All @@ -192,7 +201,7 @@ public void setStatus(Integer status) {
*
* @return the value of core.plan_processing_status.date_created
*
* @mbg.generated Sat Sep 11 11:04:03 EAT 2021
* @mbg.generated Sun Dec 12 13:48:48 EAT 2021
*/
public Date getDateCreated() {
return dateCreated;
Expand All @@ -204,7 +213,7 @@ public Date getDateCreated() {
*
* @param dateCreated the value for core.plan_processing_status.date_created
*
* @mbg.generated Sat Sep 11 11:04:03 EAT 2021
* @mbg.generated Sun Dec 12 13:48:48 EAT 2021
*/
public void setDateCreated(Date dateCreated) {
this.dateCreated = dateCreated;
Expand All @@ -216,7 +225,7 @@ public void setDateCreated(Date dateCreated) {
*
* @return the value of core.plan_processing_status.date_edited
*
* @mbg.generated Sat Sep 11 11:04:03 EAT 2021
* @mbg.generated Sun Dec 12 13:48:48 EAT 2021
*/
public Date getDateEdited() {
return dateEdited;
Expand All @@ -228,9 +237,33 @@ public Date getDateEdited() {
*
* @param dateEdited the value for core.plan_processing_status.date_edited
*
* @mbg.generated Sat Sep 11 11:04:03 EAT 2021
* @mbg.generated Sun Dec 12 13:48:48 EAT 2021
*/
public void setDateEdited(Date dateEdited) {
this.dateEdited = dateEdited;
}

/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column core.plan_processing_status.error_log
*
* @return the value of core.plan_processing_status.error_log
*
* @mbg.generated Sun Dec 12 13:48:48 EAT 2021
*/
public String getErrorLog() {
return errorLog;
}

/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column core.plan_processing_status.error_log
*
* @param errorLog the value for core.plan_processing_status.error_log
*
* @mbg.generated Sun Dec 12 13:48:48 EAT 2021
*/
public void setErrorLog(String errorLog) {
this.errorLog = errorLog;
}
}
Loading

0 comments on commit 105c6fa

Please sign in to comment.