Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import org.apache.texera.web.model.websocket.request.python.{
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonSubTypes(
Array(
new Type(value = classOf[EditingTimeCompilationRequest]),
new Type(value = classOf[HeartBeatRequest]),
new Type(value = classOf[ModifyLogicRequest]),
new Type(value = classOf[ResultPaginationRequest]),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ import org.scalatest.matchers.should.Matchers
* 1. key is the 'type' string, it must be the same as corresponding backend class name
* 2. value is the payload this request/event needs"
*
* The keys of `TexeraWebsocketRequestTypeMap` there are `EditingTimeCompilationRequest`,
* The keys of `TexeraWebsocketRequestTypeMap` there are
* `HeartBeatRequest`, `ModifyLogicRequest`, `ResultExportRequest`,
* `ResultPaginationRequest`, `RetryRequest`, `SkipTupleRequest`,
* `WorkflowExecuteRequest`, `WorkflowKillRequest`, `WorkflowPauseRequest`,
Expand All @@ -77,7 +77,7 @@ class TexeraWebSocketRequestSpec extends AnyFlatSpec with Matchers {
private def frame(typeId: String, fields: String): String =
if (fields.isEmpty) s"""{"type":"$typeId"}""" else s"""{"type":"$typeId",$fields}"""

// A LogicalPlanPojo / EditingTimeCompilationRequest payload with all four lists empty.
// A LogicalPlanPojo payload with all four lists empty.
private val emptyPlanFields =
""""operators":[],"links":[],"opsToViewResult":[],"opsToReuseResult":[]"""

Expand Down Expand Up @@ -107,7 +107,6 @@ class TexeraWebSocketRequestSpec extends AnyFlatSpec with Matchers {
*/
private val registeredRequests: List[(String, String, Class[_ <: TexeraWebSocketRequest])] =
List(
("EditingTimeCompilationRequest", emptyPlanFields, classOf[EditingTimeCompilationRequest]),
("HeartBeatRequest", "", classOf[HeartBeatRequest]),
("ModifyLogicRequest", s""""operator":$limitOpJson""", classOf[ModifyLogicRequest]),
(
Expand Down Expand Up @@ -144,7 +143,6 @@ class TexeraWebSocketRequestSpec extends AnyFlatSpec with Matchers {
// (web/model/http/request/result/, served by WorkflowExecutionsResource) and not a
// TexeraWebSocketRequest subtype at all — see the divergence test below.
private val expectedTypeIds: Set[String] = Set(
"EditingTimeCompilationRequest",
"HeartBeatRequest",
"ModifyLogicRequest",
"ResultPaginationRequest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ export type WorkflowStateInfo = Readonly<{
}>;

export type TexeraWebsocketRequestTypeMap = {
EditingTimeCompilationRequest: LogicalPlan;
HeartBeatRequest: {};
ModifyLogicRequest: ModifyOperatorLogic;
ResultExportRequest: ResultExportRequest;
Expand Down
Loading