@Path(value="/infrastructure")
@Produces(value={"application/json","application/xml"})
@Consumes(value={"application/json","application/xml"})
public class InfrastructureAdderService
extends Object
| Constructor and Description |
|---|
InfrastructureAdderService() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
addInfrastructureParameter(InfrastructureParameter infrastructureParameter)
This has the implementation of the REST API for adding a new infrastructure combination.
|
javax.ws.rs.core.Response |
getInfrastructureParameters()
This has the implementation of the REST API for fetching all the infrastructure parameters.
|
@GET public javax.ws.rs.core.Response getInfrastructureParameters()
@POST public javax.ws.rs.core.Response addInfrastructureParameter(InfrastructureParameter infrastructureParameter)
infrastructureParameter - The InfrastructureParameter with name, type, properties, and testgrid
readiness.Copyright © 2019 WSO2. All rights reserved.