Skip to content

Commit

Permalink
Add new API status codes
Browse files Browse the repository at this point in the history
  • Loading branch information
gartens authored and vogti committed Jul 30, 2024
1 parent e5111c5 commit 8add3a7
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,8 @@ public enum ChronosRestApi {
public static final int STATUS_CODE__ERROR = 600;
public static final int STATUS_CODE__NO_NEXT_JOB = 601;
public static final int STATUS_CODE__JOB_DOES_NOT_EXIST = 602;
public static final int STATUS_CODE__OUTDATED_VERSION = 631;
public static final int STATUS_CODE__UNKNOWN_ENVIRONMENT = 632;
public static final String STATUS_MESSAGE_KEY = "message";

public static final String RESPONSE_OBJECT_KEY = "response";
Expand Down Expand Up @@ -750,8 +752,8 @@ public int getJobPhaseId() {


public enum JobStatus {

SCHEDULED( 1 ),
SCHEDULED( 0 ),
SETUP( 1),
RUNNING( 2 ),
FINISHED( 3 ),
ABORTED( -1 ),
Expand Down

0 comments on commit 8add3a7

Please sign in to comment.