|
|
@@ -181,7 +181,7 @@ public class AuthResource { |
|
|
|
@Autowired private SageHelloService sageHelloService; |
|
|
|
@Autowired private RestoreService restoreService; |
|
|
|
|
|
|
|
@PUT @Path(EP_RESTORE+"/{restoreKey}") |
|
|
|
@POST @Path(EP_RESTORE+"/{restoreKey}") |
|
|
|
public Response restore(@Context Request req, |
|
|
|
@Context ContainerRequest ctx, |
|
|
|
@PathParam("restoreKey") String restoreKey, |
|
|
@@ -219,7 +219,7 @@ public class AuthResource { |
|
|
|
return ok(receipt); |
|
|
|
} |
|
|
|
|
|
|
|
@PUT @Path(EP_RESTORE + EP_APPLY + "/{restoreKey}") |
|
|
|
@POST @Path(EP_RESTORE + EP_APPLY + "/{restoreKey}") |
|
|
|
@Consumes(MULTIPART_FORM_DATA) |
|
|
|
@NonNull public Response restoreFromPackage(@NonNull @Context final Request req, |
|
|
|
@NonNull @Context final ContainerRequest ctx, |
|
|
|