@Singleton @Named(value="org.mule.tooling.sampledata.handler") @Path(value="/tooling") public class SampleDataServiceAgentHandler extends Object implements com.mulesoft.agent.handlers.ExternalMessageHandler, LoggingHandler
MDC_TRACE_ID_KEY, REQUEST_ID_HEADER_NAME| Constructor and Description |
|---|
SampleDataServiceAgentHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
enable(boolean b) |
javax.ws.rs.core.Response |
getSampleData(String requestIdHeader,
String appId,
String componentPath,
boolean verboseErrors) |
boolean |
isEnabled() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwithLoggingContextpublic void enable(boolean b)
throws com.mulesoft.agent.exception.AgentEnableOperationException
enable in interface com.mulesoft.agent.services.Switchercom.mulesoft.agent.exception.AgentEnableOperationExceptionpublic boolean isEnabled()
isEnabled in interface com.mulesoft.agent.services.Switcher@GET
@Path(value="applications/{applicationId}/components/{componentPath}/sampledata")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response getSampleData(@HeaderParam(value="X-B3-TraceId")
String requestIdHeader,
@PathParam(value="applicationId")
String appId,
@PathParam(value="componentPath")
String componentPath,
@QueryParam(value="verbose")
boolean verboseErrors)
Copyright © 2023 MuleSoft, Inc.. All rights reserved.