Class ServiceResource
java.lang.Object
org.pentaho.platform.web.http.api.resources.AbstractJaxRSResource
org.pentaho.platform.web.http.api.resources.ServiceResource
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
-
Method Summary
Modifier and TypeMethodDescriptionReturns information about services set on the platform.Methods inherited from class org.pentaho.platform.web.http.api.resources.AbstractJaxRSResource
setHttpHeaders
-
Constructor Details
-
ServiceResource
public ServiceResource()
-
-
Method Details
-
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.
-