Skip to content

Commit

Permalink
refactor(server): remove half-baked contest dump logic
Browse files Browse the repository at this point in the history
  • Loading branch information
fushar committed Jun 22, 2023
1 parent fb425ef commit 63a18b3
Show file tree
Hide file tree
Showing 34 changed files with 0 additions and 1,433 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import judgels.service.api.actor.AuthHeader;
import judgels.uriel.api.contest.dump.ContestsDump;
import judgels.uriel.api.contest.dump.ExportContestsDumpData;
import judgels.uriel.api.contest.dump.ImportContestsDumpResponse;

@Path("/api/v2/contests")
public interface ContestService {
Expand Down Expand Up @@ -89,16 +86,4 @@ ContestDescription updateContestDescription(
@HeaderParam(AUTHORIZATION) AuthHeader authHeader,
@PathParam("contestJid") String contestJid,
ContestDescription description);

@POST
@Path("/export")
@Consumes(APPLICATION_JSON)
@Produces(APPLICATION_JSON)
ContestsDump exportDump(@HeaderParam(AUTHORIZATION) AuthHeader authHeader, ExportContestsDumpData data);

@POST
@Path("/import")
@Consumes(APPLICATION_JSON)
@Produces(APPLICATION_JSON)
ImportContestsDumpResponse importDump(@HeaderParam(AUTHORIZATION) AuthHeader authHeader, ContestsDump contestsDump);
}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 63a18b3

Please sign in to comment.