public class FakeGatewayServer
extends org.mule.test.infrastructure.deployment.FakeMuleServer
| Constructor and Description |
|---|
FakeGatewayServer(String muleHomePath,
List<org.mule.runtime.container.api.MuleCoreExtension> initialCoreExtensions,
String clusterId) |
addAppArchive, addCoreExtension, addDeploymentListener, addZippedServerPlugin, addZippedServerPlugin, addZippedService, assertDeploymentFailure, assertDeploymentSuccess, assertUndeploymentSuccess, assertUndeploymentSuccess, deploy, deploy, deploy, deployAppFromClasspathFolder, deployDomainFile, deployDomainFromClasspathFolder, findApplication, getAppsDir, getLogsDir, getMuleHome, getRepositoryService, getServerPluginsDir, getServicesDir, removeDeploymentListener, resetDeploymentListener, start, stoppublic File getPoliciesDir()
public <T extends org.mule.runtime.container.api.MuleCoreExtension> T getCoreExtension(Class<T> coreExtensionClass)
public org.mule.runtime.module.deployment.api.DeploymentService getDeploymentService()
public FakeGatewayServer deployApplications(com.mulesoft.anypoint.tita.environment.api.artifact.Artifact... applications)
public FakeGatewayServer deployApplicationsExpectingFailure(com.mulesoft.anypoint.tita.environment.api.artifact.Artifact... applications)
public void installApplications(List<com.mulesoft.anypoint.tita.environment.api.artifact.Artifact> applications)
public void installDomains(List<com.mulesoft.anypoint.tita.environment.api.artifact.Artifact> domains)
public FakeGatewayServer undeployApplication(String appName)
public FakeGatewayServer deployPolicy(Policy policy)
public FakeGatewayServer deployPolicy(PolicyDefinition policyDefinition)
public FakeGatewayServer deployPoliciesForApi(com.mulesoft.mule.runtime.gw.api.key.ApiKey apiKey, PolicySet policySet)
public FakeGatewayServer undeployPolicy(String name)
public FakeGatewayServer removeAllPoliciesAndContext()
public void assertApiTracked(com.mulesoft.mule.runtime.gw.api.key.ApiKey apiKey)
public FakeGatewayServer updateHdpRegistry(String source, String target)
public com.mulesoft.mule.runtime.gw.api.service.ContractService getContractService()
public List<PolicyDefinition> allPolicies()
public void installPolicyTemplate(com.mulesoft.anypoint.tita.environment.api.artifact.PolicyJar policyTemplate)
public void storePolicyDefinition(PolicyDefinition policyDefinition)
public PolicyFactory getPolicyFactory()
public PolicyDeploymentService getPolicyDeploymentService()
public PolicySetDeploymentService getPolicySetDeploymentService()
public ApiTrackingService getApiTrackingService()
public ApiService getApiService()
public HdpDeploymentListener getHdpDeploymentListener()
public ContractSnapshots getContractSnapshots()
public GatewayPollersManager getPollersManager()
public PlatformInteractionManager getPlatformInteractionManager()
public void forceGatewayStatusMetric()
public com.mulesoft.mule.runtime.gw.api.agent.HealthCheck getHealthCheck()
public String getClusterId()
Copyright © 2014–2022 MuleSoft, Inc.. All rights reserved.