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
  • Constructor Details

    • ServiceResource

      public ServiceResource()
  • Method Details

    • 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.