@Path(value="/siddhi-parser") public class SiddhiParserApi extends Object
| Constructor and Description |
|---|
SiddhiParserApi() |
| Modifier and Type | Method and Description |
|---|---|
String |
get() |
javax.ws.rs.core.Response |
parseSiddhiApp(SiddhiParserRequest request) |
protected void |
registerConfigProvider(org.wso2.carbon.config.provider.ConfigProvider configProvider) |
protected void |
setSiddhiAppRuntimeService(org.wso2.carbon.streaming.integrator.common.SiddhiAppRuntimeService siddhiAppRuntimeService) |
protected void |
start(org.osgi.framework.BundleContext bundleContext)
This is the activation method of Siddhi Parser Api Service Component.
|
static void |
startStoresApiMicroservice()
This is the activation method of Parser Api Microservice.
|
protected void |
stop()
This is the deactivation method of Siddhi Parser Api Service Component.
|
static void |
stopStoresApiMicroservice()
This is the deactivate method of Parser Api Microservice.
|
protected void |
unregisterConfigProvider(org.wso2.carbon.config.provider.ConfigProvider configProvider) |
protected void |
unsetSiddhiAppRuntimeService(org.wso2.carbon.streaming.integrator.common.SiddhiAppRuntimeService siddhiAppRuntimeService) |
@GET @Path(value="/") public String get()
@POST @Path(value="/parse") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response parseSiddhiApp(SiddhiParserRequest request) throws javax.ws.rs.NotFoundException
javax.ws.rs.NotFoundExceptionprotected void start(org.osgi.framework.BundleContext bundleContext)
throws Exception
bundleContext - the bundle context instance of this bundle.Exception - this will be thrown if an issue occurs while executing the activate methodprotected void stop()
throws Exception
Exception - this will be thrown if an issue occurs while executing the de-activate methodpublic static void startStoresApiMicroservice()
public static void stopStoresApiMicroservice()
protected void registerConfigProvider(org.wso2.carbon.config.provider.ConfigProvider configProvider)
protected void unregisterConfigProvider(org.wso2.carbon.config.provider.ConfigProvider configProvider)
protected void setSiddhiAppRuntimeService(org.wso2.carbon.streaming.integrator.common.SiddhiAppRuntimeService siddhiAppRuntimeService)
protected void unsetSiddhiAppRuntimeService(org.wso2.carbon.streaming.integrator.common.SiddhiAppRuntimeService siddhiAppRuntimeService)
Copyright © 2021 WSO2. All rights reserved.