public class ActuatorService extends Object
| Constructor and Description |
|---|
ActuatorService(ReleaseService releaseService,
DeployerRepository deployerRepository,
ReleaseRepository releaseRepository) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFromActuator(String releaseName,
String appName,
String appId,
String endpoint,
Optional<String> authorization) |
Object |
postToActuator(String releaseName,
String appName,
String appId,
org.springframework.cloud.skipper.domain.ActuatorPostRequest postRequest,
Optional<String> authorization) |
public ActuatorService(ReleaseService releaseService, DeployerRepository deployerRepository, ReleaseRepository releaseRepository)
public String getFromActuator(String releaseName, String appName, String appId, String endpoint, Optional<String> authorization)
releaseName - the release nameappName - the deployment ID for the appappId - the deployer assigned guid of the app instanceendpoint - the relative actuator resource path, e.g., /info, preceding /
is optionalauthorization - pass through of authorization header if present.public Object postToActuator(String releaseName, String appName, String appId, org.springframework.cloud.skipper.domain.ActuatorPostRequest postRequest, Optional<String> authorization)
releaseName - the release nameappName - the deployment ID for the appappId - the deployer assigned guid of the app instancepostRequest - the request parameters ActuatorPostRequestauthorization - pass through of authorization header if present.Copyright © 2022 Pivotal Software, Inc.. All rights reserved.