@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(io.siddhi.distribution.common.common.SiddhiAppRuntimeService siddhiAppRuntimeService) |
protected void |
setSiddhiManager(io.siddhi.core.SiddhiManager siddhiManager) |
protected void |
start(org.osgi.framework.BundleContext bundleContext)
This is the activation method of Siddhi Parser Api Service Component.
|
void |
startParserApiMicroservice()
This is the activation method of Parser Api Microservice.
|
protected void |
stop()
This is the deactivation method of Siddhi Parser Api Service Component.
|
void |
stopParserApiMicroservice()
This is the deactivate method of Parser Api Microservice.
|
protected void |
unregisterConfigProvider(org.wso2.carbon.config.provider.ConfigProvider configProvider) |
protected void |
unsetSiddhiAppRuntimeService(io.siddhi.distribution.common.common.SiddhiAppRuntimeService siddhiAppRuntimeService) |
protected void |
unsetSiddhiManager(io.siddhi.core.SiddhiManager siddhiManager) |
@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 void startParserApiMicroservice()
public void stopParserApiMicroservice()
protected void registerConfigProvider(org.wso2.carbon.config.provider.ConfigProvider configProvider)
protected void unregisterConfigProvider(org.wso2.carbon.config.provider.ConfigProvider configProvider)
protected void setSiddhiAppRuntimeService(io.siddhi.distribution.common.common.SiddhiAppRuntimeService siddhiAppRuntimeService)
protected void unsetSiddhiAppRuntimeService(io.siddhi.distribution.common.common.SiddhiAppRuntimeService siddhiAppRuntimeService)
protected void setSiddhiManager(io.siddhi.core.SiddhiManager siddhiManager)
protected void unsetSiddhiManager(io.siddhi.core.SiddhiManager siddhiManager)
Copyright © 2019 WSO2. All rights reserved.