Class ServiceApi

java.lang.Object
dev.restate.admin.api.ServiceApi

public class ServiceApi extends Object
  • Constructor Details

    • ServiceApi

      public ServiceApi()
    • ServiceApi

      public ServiceApi(ApiClient apiClient)
  • Method Details

    • getApiException

      protected ApiException getApiException(String operationId, HttpResponse<InputStream> response) throws IOException
      Throws:
      IOException
    • getService

      public ServiceMetadata getService(String service) throws ApiException
      Get service Get a registered service.
      Parameters:
      service - Fully qualified service name. (required)
      Returns:
      ServiceMetadata
      Throws:
      ApiException - if fails to make API call
    • getServiceWithHttpInfo

      public ApiResponse<ServiceMetadata> getServiceWithHttpInfo(String service) throws ApiException
      Get service Get a registered service.
      Parameters:
      service - Fully qualified service name. (required)
      Returns:
      ApiResponse<ServiceMetadata>
      Throws:
      ApiException - if fails to make API call
    • listServices

      public ListServicesResponse listServices() throws ApiException
      List services List all registered services.
      Returns:
      ListServicesResponse
      Throws:
      ApiException - if fails to make API call
    • listServicesWithHttpInfo

      public ApiResponse<ListServicesResponse> listServicesWithHttpInfo() throws ApiException
      List services List all registered services.
      Returns:
      ApiResponse<ListServicesResponse>
      Throws:
      ApiException - if fails to make API call
    • modifyService

      public ServiceMetadata modifyService(String service, ModifyServiceRequest modifyServiceRequest) throws ApiException
      Modify a service Modify a registered service.
      Parameters:
      service - Fully qualified service name. (required)
      modifyServiceRequest - (required)
      Returns:
      ServiceMetadata
      Throws:
      ApiException - if fails to make API call
    • modifyServiceWithHttpInfo

      public ApiResponse<ServiceMetadata> modifyServiceWithHttpInfo(String service, ModifyServiceRequest modifyServiceRequest) throws ApiException
      Modify a service Modify a registered service.
      Parameters:
      service - Fully qualified service name. (required)
      modifyServiceRequest - (required)
      Returns:
      ApiResponse<ServiceMetadata>
      Throws:
      ApiException - if fails to make API call
    • modifyServiceState

      public void modifyServiceState(String service, ModifyServiceStateRequest modifyServiceStateRequest) throws ApiException
      Modify a service state Modify service state
      Parameters:
      service - Fully qualified service name. (required)
      modifyServiceStateRequest - (required)
      Throws:
      ApiException - if fails to make API call
    • modifyServiceStateWithHttpInfo

      public ApiResponse<Void> modifyServiceStateWithHttpInfo(String service, ModifyServiceStateRequest modifyServiceStateRequest) throws ApiException
      Modify a service state Modify service state
      Parameters:
      service - Fully qualified service name. (required)
      modifyServiceStateRequest - (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - if fails to make API call