blob: 27b850708f595216c379ae5d96878bcb85f288ea (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.api.systemflags.v1.wire;
import javax.ws.rs.Consumes;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import java.io.InputStream;
/**
* @author bjorncs
*/
@Path("/system-flags/v1")
public interface SystemFlagsV1Api {
@PUT
@Produces(MediaType.APPLICATION_JSON)
@Consumes("application/zip")
@Path("/deploy")
WireSystemFlagsDeployResult deploy(InputStream inputStream);
@PUT
@Produces(MediaType.APPLICATION_JSON)
@Consumes("application/zip")
@Path("/dryrun")
WireSystemFlagsDeployResult dryrun(InputStream inputStream);
}
|