diff --git a/SingularityBase/src/main/java/com/hubspot/singularity/SingularityRequestParent.java b/SingularityBase/src/main/java/com/hubspot/singularity/SingularityRequestParent.java index 0d45b31156..5cf74ae02d 100644 --- a/SingularityBase/src/main/java/com/hubspot/singularity/SingularityRequestParent.java +++ b/SingularityBase/src/main/java/com/hubspot/singularity/SingularityRequestParent.java @@ -50,6 +50,36 @@ public SingularityRequestParent( ); } + @Deprecated + public SingularityRequestParent( + SingularityRequest request, + RequestState state, + Optional requestDeployState, + Optional activeDeploy, + Optional pendingDeploy, + Optional pendingDeployState, + Optional expiringBounce, + Optional expiringPause, + Optional expiringScale, + Optional expiringSkipHealthchecks, + Optional taskIds + ) { + this( + request, + state, + requestDeployState, + activeDeploy, + pendingDeploy, + pendingDeployState, + expiringBounce, + expiringPause, + expiringScale, + Optional.empty(), + expiringSkipHealthchecks, + taskIds + ); + } + @JsonCreator public SingularityRequestParent( @JsonProperty("request") SingularityRequest request,