Class ServiceResource
- java.lang.Object
-
- org.pentaho.platform.web.http.api.resources.AbstractJaxRSResource
-
- org.pentaho.platform.web.http.api.resources.ServiceResource
-
public class ServiceResource extends AbstractJaxRSResource
This service provides methods related to karaf instances- Author:
- tkafalas
-
-
Field Summary
-
Fields inherited from class org.pentaho.platform.web.http.api.resources.AbstractJaxRSResource
acceptableMediaTypes, httpServletRequest, httpServletResponse, TEXT_HTML
-
-
Constructor Summary
Constructors Constructor Description ServiceResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ServiceDto>
doGetPortAssignment()
Returns information about services set on the platform.-
Methods inherited from class org.pentaho.platform.web.http.api.resources.AbstractJaxRSResource
setHttpHeaders
-
-
-
-
Method Detail
-
doGetPortAssignment
public List<ServiceDto> doGetPortAssignment()
Returns information about services set on the platform. Currently services contain port settings but is expected to be expanded to other settings.Example Request:
GET pentaho/api/service/assignment- Returns:
- A jax-rs Response object with the appropriate status code, header, and body.
-
-