@Produces(value="application/json") @Consumes(value="application/json") @Path(value="discovery") public class DiscoveryService extends Object
| Constructor and Description |
|---|
DiscoveryService() |
| Modifier and Type | Method and Description |
|---|---|
org.wso2.carbon.appmgt.impl.dto.DiscoveredApplicationDTO |
getDiscoveredApplication(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
javax.ws.rs.core.HttpHeaders headers,
String tenantDomain,
DiscoveryInfoRequest discoverInfoRequest)
Returns the full application information so that an application can be created with the
information.
|
org.wso2.carbon.appmgt.impl.dto.DiscoveredApplicationListDTO |
getDiscoveredApplications(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
javax.ws.rs.core.HttpHeaders headers,
String tenantDomain,
DiscoverRequest discoverRequest)
Returns the list of applications, number of pages.
|
List<String> |
getSupportedApplicationServerTypes(javax.servlet.http.HttpServletRequest servletRequest,
javax.ws.rs.core.HttpHeaders headers,
String tenantDomain)
Returns the list of supported application servers types which is supported by the
system and which is configured per the tenant.
|
@POST
@Path(value="app/info/{tenantDomain}")
@Consumes(value="application/json")
@Produces(value="application/json")
public org.wso2.carbon.appmgt.impl.dto.DiscoveredApplicationDTO getDiscoveredApplication(@Context
javax.servlet.http.HttpServletRequest servletRequest,
@Context
javax.servlet.http.HttpServletResponse servletResponse,
@Context
javax.ws.rs.core.HttpHeaders headers,
@PathParam(value="tenantDomain")
String tenantDomain,
DiscoveryInfoRequest discoverInfoRequest)
@POST
@Path(value="app/list/{tenantDomain}")
@Consumes(value="application/json")
@Produces(value="application/json")
public org.wso2.carbon.appmgt.impl.dto.DiscoveredApplicationListDTO getDiscoveredApplications(@Context
javax.servlet.http.HttpServletRequest servletRequest,
@Context
javax.servlet.http.HttpServletResponse servletResponse,
@Context
javax.ws.rs.core.HttpHeaders headers,
@PathParam(value="tenantDomain")
String tenantDomain,
DiscoverRequest discoverRequest)
@GET
@Path(value="server/type/list/{tenantDomain}")
public List<String> getSupportedApplicationServerTypes(@Context
javax.servlet.http.HttpServletRequest servletRequest,
@Context
javax.ws.rs.core.HttpHeaders headers,
@PathParam(value="tenantDomain")
String tenantDomain)
Copyright © 2018 WSO2. All rights reserved.