Skip to content

Commit

Permalink
refactor(server): remove half-baked contest dump logic (#456)
Browse files Browse the repository at this point in the history
  • Loading branch information
fushar authored Jun 22, 2023
1 parent fb425ef commit 24bd739
Show file tree
Hide file tree
Showing 36 changed files with 0 additions and 1,532 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 24bd739

Please sign in to comment.