├── .github └── workflows │ └── coverage.yml ├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── components ├── event-flow │ ├── org.wso2.carbon.event.flow.ui │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ ├── java │ │ │ └── org │ │ │ │ └── wso2 │ │ │ │ └── carbon │ │ │ │ └── event │ │ │ │ └── flow │ │ │ │ └── ui │ │ │ │ └── client │ │ │ │ └── EventFlowAdminServiceClient.java │ │ │ └── resources │ │ │ ├── EventFlowAdminService.wsdl │ │ │ ├── META-INF │ │ │ └── component.xml │ │ │ ├── org │ │ │ └── wso2 │ │ │ │ └── carbon │ │ │ │ └── event │ │ │ │ └── flow │ │ │ │ └── ui │ │ │ │ └── i18n │ │ │ │ └── Resources.properties │ │ │ └── web │ │ │ └── event-flow │ │ │ ├── css │ │ │ └── eventflow.css │ │ │ ├── docs │ │ │ ├── images │ │ │ │ └── eventFlow.png │ │ │ └── userguide.html │ │ │ ├── images │ │ │ ├── event-flow.png │ │ │ ├── event-publisher.png │ │ │ ├── event-receiver.png │ │ │ ├── event_stream.png │ │ │ └── execution_plan.png │ │ │ ├── index.jsp │ │ │ └── js │ │ │ ├── d3.v3.min.js │ │ │ ├── dagre-d3.min.js │ │ │ └── graphlib-dot.min.js │ ├── org.wso2.carbon.event.flow │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ ├── java │ │ │ └── org │ │ │ │ └── wso2 │ │ │ │ └── carbon │ │ │ │ └── event │ │ │ │ └── flow │ │ │ │ ├── EventFlowAdminService.java │ │ │ │ └── internal │ │ │ │ ├── EventFlowServiceDS.java │ │ │ │ └── EventFlowServiceValueHolder.java │ │ │ └── resources │ │ │ └── META-INF │ │ │ ├── component.xml │ │ │ └── services.xml │ └── pom.xml ├── event-processor │ ├── org.wso2.carbon.event.processor.admin │ │ ├── pom.xml │ │ └── src │ │ │ ├── main │ │ │ ├── java │ │ │ │ └── org │ │ │ │ │ └── wso2 │ │ │ │ │ └── carbon │ │ │ │ │ └── event │ │ │ │ │ └── processor │ │ │ │ │ └── admin │ │ │ │ │ ├── EventProcessorAdminService.java │ │ │ │ │ ├── ExecutionPlanConfigurationDto.java │ │ │ │ │ ├── ExecutionPlanConfigurationFileDto.java │ │ │ │ │ ├── StreamConfigurationDto.java │ │ │ │ │ ├── StreamDefinitionDto.java │ │ │ │ │ └── internal │ │ │ │ │ ├── ds │ │ │ │ │ ├── EventProcessorAdminServiceDS.java │ │ │ │ │ └── EventProcessorAdminValueHolder.java │ │ │ │ │ └── util │ │ │ │ │ ├── EventProcessorAdminUtil.java │ │ │ │ │ └── EventProcessorConstants.java │ │ │ └── resources │ │ │ │ └── META-INF │ │ │ │ └── services.xml │ │ │ └── test │ │ │ └── resources │ │ │ └── EventProcessorAdminService.wsdl │ ├── org.wso2.carbon.event.processor.common │ │ ├── pom.xml │ │ └── src │ │ │ └── test │ │ │ ├── java │ │ │ └── org │ │ │ │ └── wso2 │ │ │ │ └── carbon │ │ │ │ └── event │ │ │ │ └── processor │ │ │ │ └── storm │ │ │ │ └── common │ │ │ │ └── test │ │ │ │ ├── server │ │ │ │ ├── TCPEventSendingTestCase.java │ │ │ │ ├── TCPEventTestClient.java │ │ │ │ └── TCPEventTestServer.java │ │ │ │ └── util │ │ │ │ ├── AnalyticStatDataProvider.java │ │ │ │ ├── DataProvider.java │ │ │ │ ├── SamplingDataSet.java │ │ │ │ └── SimpleDataProvider.java │ │ │ └── resources │ │ │ ├── log4j.properties │ │ │ ├── storm-deployment-config.xml │ │ │ └── thrift │ │ │ ├── Exception.thrift │ │ │ └── StormManagerService.thrift │ ├── org.wso2.carbon.event.processor.core │ │ ├── pom.xml │ │ └── src │ │ │ ├── main │ │ │ ├── java │ │ │ │ └── org │ │ │ │ │ └── wso2 │ │ │ │ │ └── carbon │ │ │ │ │ └── event │ │ │ │ │ └── processor │ │ │ │ │ └── core │ │ │ │ │ ├── EventProcessorDeployer.java │ │ │ │ │ ├── EventProcessorService.java │ │ │ │ │ ├── ExecutionPlan.java │ │ │ │ │ ├── ExecutionPlanConfiguration.java │ │ │ │ │ ├── ExecutionPlanConfigurationFile.java │ │ │ │ │ ├── StreamConfiguration.java │ │ │ │ │ ├── exception │ │ │ │ │ ├── ExcecutionPlanRuntimeException.java │ │ │ │ │ ├── ExecutionPlanConfigurationException.java │ │ │ │ │ ├── ExecutionPlanDependencyValidationException.java │ │ │ │ │ ├── ServerUnavailableException.java │ │ │ │ │ ├── StormDeploymentException.java │ │ │ │ │ └── StormQueryConstructionException.java │ │ │ │ │ ├── internal │ │ │ │ │ ├── CarbonEventProcessorManagementService.java │ │ │ │ │ ├── CarbonEventProcessorService.java │ │ │ │ │ ├── ds │ │ │ │ │ │ ├── EventProcessorServiceDS.java │ │ │ │ │ │ └── EventProcessorValueHolder.java │ │ │ │ │ ├── listener │ │ │ │ │ │ ├── AbstractSiddhiInputEventDispatcher.java │ │ │ │ │ │ ├── EventStreamListenerImpl.java │ │ │ │ │ │ ├── SiddhiInputEventDispatcher.java │ │ │ │ │ │ └── SiddhiOutputStreamListener.java │ │ │ │ │ ├── persistence │ │ │ │ │ │ ├── DBPersistenceStore.java │ │ │ │ │ │ ├── FileSystemPersistenceStore.java │ │ │ │ │ │ └── util │ │ │ │ │ │ │ └── ExecutionInfo.java │ │ │ │ │ └── util │ │ │ │ │ │ ├── EventProcessorConfigurationFilesystemInvoker.java │ │ │ │ │ │ ├── EventProcessorConstants.java │ │ │ │ │ │ ├── EventProcessorUtil.java │ │ │ │ │ │ └── helper │ │ │ │ │ │ └── EventProcessorHelper.java │ │ │ │ │ └── util │ │ │ │ │ ├── DistributedModeConstants.java │ │ │ │ │ └── ExecutionPlanStatusHolder.java │ │ │ └── resources │ │ │ │ ├── META-INF │ │ │ │ └── component.xml │ │ │ │ └── example-query-plan.xml │ │ │ └── test │ │ │ ├── java │ │ │ └── org │ │ │ │ └── wso2 │ │ │ │ └── event │ │ │ │ └── processor │ │ │ │ └── core │ │ │ │ └── test │ │ │ │ ├── EventJunctionTestCase.java │ │ │ │ ├── SiddhiRuntimeTestCase.java │ │ │ │ └── StreamConversionTestCase.java │ │ │ └── resources │ │ │ ├── Data.thrift │ │ │ ├── EventProcessorHAService.thrift │ │ │ ├── Exception.thrift │ │ │ ├── FastMovingStocksExecutionPlan.xml │ │ │ ├── cep-ha-management.xml │ │ │ ├── event-processing.xml │ │ │ └── log4j.properties │ ├── org.wso2.carbon.event.processor.siddhi.extension │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── org │ │ │ └── wso2 │ │ │ └── carbon │ │ │ └── event │ │ │ └── processor │ │ │ └── siddhi │ │ │ └── extension │ │ │ ├── GetRegistryPropertyExecutorFunction.java │ │ │ ├── GetRegistryResourceExecutorFunction.java │ │ │ └── internal │ │ │ ├── SiddhiExtensionDS.java │ │ │ └── SiddhiExtensionValueHolder.java │ ├── org.wso2.carbon.event.processor.template.deployer │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ ├── java │ │ │ └── org │ │ │ │ └── wso2 │ │ │ │ └── carbon │ │ │ │ └── event │ │ │ │ └── processor │ │ │ │ └── template │ │ │ │ └── deployer │ │ │ │ ├── ExecutionPlanTemplateDeployer.java │ │ │ │ └── internal │ │ │ │ ├── ExecutionPlanDeployerConstants.java │ │ │ │ ├── ExecutionPlanDeployerValueHolder.java │ │ │ │ └── ds │ │ │ │ └── ExecutionPlanDeployerDS.java │ │ │ └── resources │ │ │ └── META-INF │ │ │ └── component.xml │ ├── org.wso2.carbon.event.processor.ui │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ ├── java │ │ │ └── org │ │ │ │ └── wso2 │ │ │ │ └── carbon │ │ │ │ └── event │ │ │ │ └── processor │ │ │ │ └── ui │ │ │ │ ├── EventProcessorUIUtils.java │ │ │ │ ├── UIConstants.java │ │ │ │ └── executionPlan │ │ │ │ └── flow │ │ │ │ ├── ExecutionPlanFlow.java │ │ │ │ ├── ExtractJsonValueImpl.java │ │ │ │ └── siddhi │ │ │ │ └── visitor │ │ │ │ ├── SiddhiFlowCompiler.java │ │ │ │ └── SiddhiQLBaseVisitorStringImpl.java │ │ │ └── resources │ │ │ ├── META-INF │ │ │ └── component.xml │ │ │ ├── org │ │ │ └── wso2 │ │ │ │ └── carbon │ │ │ │ └── event │ │ │ │ └── processor │ │ │ │ └── ui │ │ │ │ └── i18n │ │ │ │ └── Resources.properties │ │ │ └── web │ │ │ └── eventprocessor │ │ │ ├── add_execution_plan_ajaxprocessor.jsp │ │ │ ├── create_execution_plan.jsp │ │ │ ├── css │ │ │ ├── codemirror.css │ │ │ ├── dsxmleditor.css │ │ │ ├── event-processor.css │ │ │ ├── exeFlow.css │ │ │ ├── show-hint.css │ │ │ └── tree-styles.css │ │ │ ├── delete_execution_plan_ajaxprocessor.jsp │ │ │ ├── docs │ │ │ └── userguide.html │ │ │ ├── edit_execution_plan.jsp │ │ │ ├── edit_execution_plan_ajaxprocessor.jsp │ │ │ ├── execution_plan_details.jsp │ │ │ ├── export_siddhi_stream_ajaxprocessor.jsp │ │ │ ├── get_stream_definition_ajaxprocessor.jsp │ │ │ ├── images │ │ │ ├── add.gif │ │ │ ├── agentTransportAdaptor.png │ │ │ ├── bucket.png │ │ │ ├── capp.gif │ │ │ ├── design-view.gif │ │ │ ├── edit.gif │ │ │ ├── event-details.png │ │ │ ├── eventProcessor.gif │ │ │ ├── executionPlan.png │ │ │ ├── exported-streams.png │ │ │ ├── jmsTransport.png │ │ │ ├── list.gif │ │ │ ├── listTransportAdaptors.png │ │ │ ├── localTransport.png │ │ │ ├── query-expressions.png │ │ │ ├── source-view.gif │ │ │ ├── streamingAnalytics.png │ │ │ ├── tab-back.png │ │ │ ├── transportAdaptor.gif │ │ │ ├── type.gif │ │ │ └── wsEventTransport.png │ │ │ ├── inactive_execution_plan_files_details.jsp │ │ │ ├── index.jsp │ │ │ ├── inner_execution_plan_ui.jsp │ │ │ ├── inner_index.jsp │ │ │ ├── js │ │ │ ├── annotation-hint.js │ │ │ ├── any-word-hint.js │ │ │ ├── codemirror.js │ │ │ ├── create_execution_plan_helper.js │ │ │ ├── dagre-d3.js │ │ │ ├── eventprocessor_constants.js │ │ │ ├── execution_plans.js │ │ │ ├── show-hint.js │ │ │ ├── sql-hint.js │ │ │ └── sql.js │ │ │ ├── stats_tracing_ajaxprocessor.jsp │ │ │ └── validate_siddhi_queries_ajaxprocessor.jsp │ └── pom.xml ├── event-simulator │ ├── org.wso2.carbon.event.simulator.admin │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ ├── java │ │ │ └── org │ │ │ │ └── wso2 │ │ │ │ └── carbon │ │ │ │ └── event │ │ │ │ └── simulator │ │ │ │ └── admin │ │ │ │ ├── CSVFileInfoDto.java │ │ │ │ ├── DataSourceTableAndStreamInfoDto.java │ │ │ │ ├── EventDto.java │ │ │ │ ├── EventSimulatorAdminService.java │ │ │ │ ├── StreamAttributeDto.java │ │ │ │ ├── StreamDefinitionInfoDto.java │ │ │ │ ├── UploadedFileItemDto.java │ │ │ │ └── internal │ │ │ │ ├── ExecutionInfo.java │ │ │ │ ├── ds │ │ │ │ └── EventSimulatorAdminDS.java │ │ │ │ ├── jaxbMappings │ │ │ │ ├── Element.java │ │ │ │ ├── Elements.java │ │ │ │ ├── Mapping.java │ │ │ │ └── Mappings.java │ │ │ │ └── util │ │ │ │ ├── EventSimulatorAdminvalueHolder.java │ │ │ │ ├── EventSimulatorDataSourceConstants.java │ │ │ │ └── EventSimulatorDataSourceInfo.java │ │ │ └── resources │ │ │ └── META-INF │ │ │ └── services.xml │ ├── org.wso2.carbon.event.simulator.core │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ ├── java │ │ │ └── org │ │ │ │ └── wso2 │ │ │ │ └── carbon │ │ │ │ └── event │ │ │ │ └── simulator │ │ │ │ └── core │ │ │ │ ├── CSVFileDeployer.java │ │ │ │ ├── CSVFileInfo.java │ │ │ │ ├── DataSourceTableAndStreamInfo.java │ │ │ │ ├── Event.java │ │ │ │ ├── EventSimulator.java │ │ │ │ ├── EventSimulatorConstant.java │ │ │ │ ├── UploadedFileItem.java │ │ │ │ ├── XMLFileDeployer.java │ │ │ │ ├── exception │ │ │ │ └── EventSimulatorRuntimeException.java │ │ │ │ └── internal │ │ │ │ ├── CarbonEventSimulator.java │ │ │ │ ├── EventStreamProducer.java │ │ │ │ ├── ds │ │ │ │ ├── EventSimulatorDS.java │ │ │ │ └── EventSimulatorValueHolder.java │ │ │ │ └── util │ │ │ │ ├── DeploymentHelper.java │ │ │ │ ├── EventSimulatorUtil.java │ │ │ │ └── EventStreamListenerImpl.java │ │ │ └── resources │ │ │ └── META-INF │ │ │ └── component.xml │ ├── org.wso2.carbon.event.simulator.ui │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ ├── java │ │ │ └── org │ │ │ │ └── wso2 │ │ │ │ └── carbon │ │ │ │ └── event │ │ │ │ └── simulator │ │ │ │ └── ui │ │ │ │ ├── EventSimulatorUIUtils.java │ │ │ │ ├── exception │ │ │ │ └── EventSimulatorUIException.java │ │ │ │ └── fileupload │ │ │ │ ├── CSVUploadExecutor.java │ │ │ │ └── CSVUploaderClient.java │ │ │ └── resources │ │ │ ├── META-INF │ │ │ └── component.xml │ │ │ ├── org │ │ │ └── wso2 │ │ │ │ └── carbon │ │ │ │ └── event │ │ │ │ └── simulator │ │ │ │ └── ui │ │ │ │ └── i18n │ │ │ │ └── Resources.properties │ │ │ └── web │ │ │ └── eventsimulator │ │ │ ├── TestRDBMSConnection_ajaxprocessor.jsp │ │ │ ├── css │ │ │ └── eventSimulator.css │ │ │ ├── deleteDBConfigFile_ajaxprocessor.jsp │ │ │ ├── deleteFile_ajaxprocessor.jsp │ │ │ ├── docs │ │ │ └── userguide.html │ │ │ ├── getProperties_ajaxprocessor.jsp │ │ │ ├── images │ │ │ ├── design-view.gif │ │ │ ├── event-simulator.png │ │ │ ├── eventSimulatorUI.jpg │ │ │ └── source-view.gif │ │ │ ├── index.jsp │ │ │ ├── js │ │ │ ├── eventstreamProperty_load.js │ │ │ ├── sendDBConfigFileDetails.js │ │ │ ├── sendFileDetail.js │ │ │ └── stream_configuration.js │ │ │ ├── popup_create_stream_configuration_ajaxprocessor.jsp │ │ │ ├── sendConfigValues_ajaxprocessor.jsp │ │ │ ├── sendDBConfigFileDetails_ajaxprocessor.jsp │ │ │ ├── sendDataSourceConfigValues_ajaxprocessor.jsp │ │ │ ├── sendEventstreams_ajaxprocessor.jsp │ │ │ └── sendFileDetail_ajaxprocessor.jsp │ └── pom.xml ├── geo-dashboard │ ├── org.wso2.carbon.siddhi.geo.event.fuser │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ ├── java │ │ │ └── org │ │ │ │ └── wso2 │ │ │ │ └── carbon │ │ │ │ └── siddhi │ │ │ │ └── geo │ │ │ │ └── event │ │ │ │ └── fuser │ │ │ │ ├── EventFusionProcessor.java │ │ │ │ ├── ExecutionPlanSubscriber.java │ │ │ │ └── ExecutionPlansCount.java │ │ │ └── resources │ │ │ └── geodashboard.siddhiext │ ├── org.wso2.carbon.siddhi.geo.event.notifier │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ ├── java │ │ │ └── org │ │ │ │ └── wso2 │ │ │ │ └── carbon │ │ │ │ └── siddhi │ │ │ │ └── geo │ │ │ │ └── event │ │ │ │ └── notifier │ │ │ │ └── NotifyAlert.java │ │ │ └── resources │ │ │ └── geodashboard.siddhiext │ └── pom.xml ├── siddhi-metrics │ ├── org.wso2.carbon.siddhi.metrics.core │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── org │ │ │ └── wso2 │ │ │ └── carbon │ │ │ └── siddhi │ │ │ └── metrics │ │ │ └── core │ │ │ ├── SiddhiLatencyMetric.java │ │ │ ├── SiddhiMemoryUsageMetric.java │ │ │ ├── SiddhiMetricsFactory.java │ │ │ ├── SiddhiStatisticsManager.java │ │ │ ├── SiddhiThroughputMetric.java │ │ │ └── util │ │ │ └── SiddhiMetricsConstants.java │ └── pom.xml └── siddhi-tryit │ ├── org.wso2.carbon.siddhi.tryit.ui │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── org │ │ │ └── wso2 │ │ │ └── carbon │ │ │ └── siddhi │ │ │ └── tryit │ │ │ └── ui │ │ │ ├── SiddhiTryItClient.java │ │ │ ├── UIConstants.java │ │ │ └── internal │ │ │ └── ds │ │ │ ├── SiddhiTryItServiceDS.java │ │ │ └── SiddhiTryItValueHolder.java │ │ └── resources │ │ ├── META-INF │ │ └── component.xml │ │ ├── org │ │ └── wso2 │ │ │ └── carbon │ │ │ └── siddhi │ │ │ └── tryit │ │ │ └── ui │ │ │ └── i18n │ │ │ └── Resources.properties │ │ └── web │ │ └── siddhitryit │ │ ├── css │ │ ├── codemirror.css │ │ ├── show-hint.css │ │ └── siddhi-tryit.css │ │ ├── docs │ │ └── userguide.html │ │ ├── images │ │ ├── siddhi-tryit.png │ │ └── siddhiTryItUI.png │ │ ├── index.jsp │ │ ├── js │ │ ├── annotation-hint.js │ │ ├── any-word-hint.js │ │ ├── codemirror.js │ │ ├── sendInputData.js │ │ ├── show-hint.js │ │ ├── siddhitryit_constants.js │ │ ├── sql-hint.js │ │ └── sql.js │ │ └── siddhiProcessor_ajaxprocessor.jsp │ └── pom.xml ├── features ├── etc │ └── feature.properties ├── event-flow │ ├── org.wso2.carbon.event.flow.feature │ │ └── pom.xml │ ├── org.wso2.carbon.event.flow.server.feature │ │ └── pom.xml │ ├── org.wso2.carbon.event.flow.ui.feature │ │ └── pom.xml │ └── pom.xml ├── event-processor │ ├── org.wso2.carbon.event.processor.feature │ │ └── pom.xml │ ├── org.wso2.carbon.event.processor.server.feature │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── resources │ │ │ ├── build.properties │ │ │ ├── conf │ │ │ └── storm.yaml │ │ │ └── p2.inf │ ├── org.wso2.carbon.event.processor.template.deployer.feature │ │ └── pom.xml │ ├── org.wso2.carbon.event.processor.ui.feature │ │ └── pom.xml │ └── pom.xml ├── event-simulator │ ├── org.wso2.carbon.event.simulator.feature │ │ └── pom.xml │ ├── org.wso2.carbon.event.simulator.server.feature │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── resources │ │ │ ├── build.properties │ │ │ ├── conf │ │ │ └── rdbms-configuration.xml │ │ │ └── p2.inf │ ├── org.wso2.carbon.event.simulator.ui.feature │ │ └── pom.xml │ └── pom.xml ├── geo-dashboard │ ├── org.wso2.carbon.geo.dashboard.feature │ │ ├── build.xml │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ ├── capp │ │ │ ├── Dashboard_1.0.0 │ │ │ │ ├── artifact.xml │ │ │ │ └── geo-dashboard.json │ │ │ ├── GadgetGeoDashboard_1.0.0 │ │ │ │ ├── artifact.xml │ │ │ │ └── geo-dashboard │ │ │ │ │ ├── assets │ │ │ │ │ └── html_templates │ │ │ │ │ │ └── view_fence_popup.html │ │ │ │ │ ├── conf │ │ │ │ │ ├── alerts │ │ │ │ │ │ ├── Geo-ExecutionPlan-Proximity_alert.siddhiql │ │ │ │ │ │ ├── Geo-ExecutionPlan-Speed_alert.siddhiql │ │ │ │ │ │ ├── Geo-ExecutionPlan-Stationery_alert.siddhiql │ │ │ │ │ │ ├── Geo-ExecutionPlan-Traffic_alert.siddhiql │ │ │ │ │ │ └── Geo-ExecutionPlan-Within_alert.siddhiql │ │ │ │ │ ├── cep_info.json │ │ │ │ │ └── database.json │ │ │ │ │ ├── controllers │ │ │ │ │ ├── get_alerts.jag │ │ │ │ │ ├── get_alerts_history.jag │ │ │ │ │ ├── get_server_info.jag │ │ │ │ │ ├── modals │ │ │ │ │ │ ├── proximity_alert.jag │ │ │ │ │ │ ├── speed_alert.jag │ │ │ │ │ │ ├── stationery_alert.jag │ │ │ │ │ │ ├── traffic_point.jag │ │ │ │ │ │ └── within_alert.jag │ │ │ │ │ ├── remove_alerts.jag │ │ │ │ │ ├── set_alerts.jag │ │ │ │ │ ├── tile_servers.jag │ │ │ │ │ └── wms_endpoints.jag │ │ │ │ │ ├── css │ │ │ │ │ ├── L.Control.Locate.css │ │ │ │ │ ├── L.Control.Locate.ie.css │ │ │ │ │ ├── MarkerCluster.Default.css │ │ │ │ │ ├── MarkerCluster.css │ │ │ │ │ ├── app.css │ │ │ │ │ ├── bootstrap-wizard-lib │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ └── bootstrap-wizard.css │ │ │ │ │ ├── bootstrap.min.css │ │ │ │ │ ├── css │ │ │ │ │ │ ├── animation.css │ │ │ │ │ │ ├── locate-fa-codes.css │ │ │ │ │ │ ├── locate-fa-embedded.css │ │ │ │ │ │ ├── locate-fa-ie7-codes.css │ │ │ │ │ │ ├── locate-fa-ie7.css │ │ │ │ │ │ └── locate-fa.css │ │ │ │ │ ├── d3 │ │ │ │ │ │ └── c3.css │ │ │ │ │ ├── font-awesome.min.css │ │ │ │ │ ├── font │ │ │ │ │ │ ├── LICENSE.txt │ │ │ │ │ │ ├── README.txt │ │ │ │ │ │ ├── config.json │ │ │ │ │ │ ├── locate-fa.eot │ │ │ │ │ │ ├── locate-fa.svg │ │ │ │ │ │ ├── locate-fa.ttf │ │ │ │ │ │ └── locate-fa.woff │ │ │ │ │ ├── fonts │ │ │ │ │ │ ├── FontAwesome.otf │ │ │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ │ │ ├── fontawesome-webfont.svg │ │ │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ │ │ └── fontawesome-webfont.woff │ │ │ │ │ ├── images │ │ │ │ │ │ ├── TODO.Move_this_images_to_assets_images_folder │ │ │ │ │ │ ├── layers-2x.png │ │ │ │ │ │ ├── layers.png │ │ │ │ │ │ ├── marker-icon-2x.png │ │ │ │ │ │ ├── marker-icon.png │ │ │ │ │ │ └── marker-shadow.png │ │ │ │ │ ├── jquery-ui.min.css │ │ │ │ │ ├── jquery-ui.theme.min.css │ │ │ │ │ ├── leaflet.css │ │ │ │ │ ├── leaflet │ │ │ │ │ │ ├── L.Grid.css │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ ├── spritesheet-2x.png │ │ │ │ │ │ │ └── spritesheet.png │ │ │ │ │ │ └── leaflet.draw.css │ │ │ │ │ ├── leaflet_fullscreen │ │ │ │ │ │ ├── fullscreen.png │ │ │ │ │ │ ├── fullscreen@2x.png │ │ │ │ │ │ └── leaflet.fullscreen.css │ │ │ │ │ ├── login.css │ │ │ │ │ ├── main.css │ │ │ │ │ ├── map.css │ │ │ │ │ ├── style.css │ │ │ │ │ └── uikit │ │ │ │ │ │ ├── LICENSES │ │ │ │ │ │ ├── addons │ │ │ │ │ │ ├── uikit.addons.css │ │ │ │ │ │ ├── uikit.addons.min.css │ │ │ │ │ │ ├── uikit.almost-flat.addons.css │ │ │ │ │ │ ├── uikit.almost-flat.addons.min.css │ │ │ │ │ │ ├── uikit.gradient.addons.css │ │ │ │ │ │ └── uikit.gradient.addons.min.css │ │ │ │ │ │ └── uikit.min.css │ │ │ │ │ ├── gadget.json │ │ │ │ │ ├── img │ │ │ │ │ ├── fav │ │ │ │ │ │ └── wso2_fav.png │ │ │ │ │ ├── favicon-120.png │ │ │ │ │ ├── favicon-152.png │ │ │ │ │ ├── favicon-196.png │ │ │ │ │ ├── favicon-76.png │ │ │ │ │ ├── favicon.ico │ │ │ │ │ ├── layers-2x.png │ │ │ │ │ ├── layers.png │ │ │ │ │ ├── marker-icon-2x.png │ │ │ │ │ ├── marker-icon.png │ │ │ │ │ ├── marker-shadow.png │ │ │ │ │ ├── markers │ │ │ │ │ │ ├── STOP.png │ │ │ │ │ │ ├── VEHICLE.png │ │ │ │ │ │ ├── arrow_alerted.png │ │ │ │ │ │ ├── arrow_normal.png │ │ │ │ │ │ ├── arrow_offline.png │ │ │ │ │ │ ├── arrow_warning.png │ │ │ │ │ │ ├── danger.png │ │ │ │ │ │ ├── default_icons │ │ │ │ │ │ │ ├── greenMarker.png │ │ │ │ │ │ │ ├── marker-icon.png │ │ │ │ │ │ │ ├── marker-shadow.png │ │ │ │ │ │ │ ├── pinkMarker.png │ │ │ │ │ │ │ └── redMarker.png │ │ │ │ │ │ ├── info.png │ │ │ │ │ │ ├── moving │ │ │ │ │ │ │ ├── device-alerted.png │ │ │ │ │ │ │ ├── device-normal.png │ │ │ │ │ │ │ ├── device-offline.png │ │ │ │ │ │ │ └── device-warning.png │ │ │ │ │ │ ├── non_moving │ │ │ │ │ │ │ ├── device-alerted.png │ │ │ │ │ │ │ ├── device-normal.png │ │ │ │ │ │ │ ├── device-offline.png │ │ │ │ │ │ │ ├── device-warning.png │ │ │ │ │ │ │ ├── stationary-alerted.png │ │ │ │ │ │ │ ├── stationary-normal.png │ │ │ │ │ │ │ ├── stationary-normal2.png │ │ │ │ │ │ │ ├── stationary-offline.png │ │ │ │ │ │ │ └── stationary-warning.png │ │ │ │ │ │ ├── object-types │ │ │ │ │ │ │ ├── default │ │ │ │ │ │ │ │ ├── moving │ │ │ │ │ │ │ │ │ ├── alerted.png │ │ │ │ │ │ │ │ │ ├── normal.png │ │ │ │ │ │ │ │ │ ├── offline.png │ │ │ │ │ │ │ │ │ └── warning.png │ │ │ │ │ │ │ │ └── non-moving │ │ │ │ │ │ │ │ │ ├── alerted.png │ │ │ │ │ │ │ │ │ ├── normal.png │ │ │ │ │ │ │ │ │ ├── offline.png │ │ │ │ │ │ │ │ │ └── warning.png │ │ │ │ │ │ │ ├── stationary │ │ │ │ │ │ │ │ └── non-moving │ │ │ │ │ │ │ │ │ ├── alerted.png │ │ │ │ │ │ │ │ │ ├── normal.png │ │ │ │ │ │ │ │ │ ├── normal2.png │ │ │ │ │ │ │ │ │ ├── offline.png │ │ │ │ │ │ │ │ │ └── warning.png │ │ │ │ │ │ │ ├── stop │ │ │ │ │ │ │ │ └── non-moving │ │ │ │ │ │ │ │ │ ├── alerted.png │ │ │ │ │ │ │ │ │ ├── normal.png │ │ │ │ │ │ │ │ │ ├── normal2.png │ │ │ │ │ │ │ │ │ ├── offline.png │ │ │ │ │ │ │ │ │ └── warning.png │ │ │ │ │ │ │ └── vehicle │ │ │ │ │ │ │ │ ├── moving │ │ │ │ │ │ │ │ ├── alerted.png │ │ │ │ │ │ │ │ ├── normal.png │ │ │ │ │ │ │ │ ├── offline.png │ │ │ │ │ │ │ │ └── warning.png │ │ │ │ │ │ │ │ └── non-moving │ │ │ │ │ │ │ │ ├── alerted.png │ │ │ │ │ │ │ │ ├── normal.png │ │ │ │ │ │ │ │ ├── offline.png │ │ │ │ │ │ │ │ └── warning.png │ │ │ │ │ │ ├── offline.png │ │ │ │ │ │ ├── resize.png │ │ │ │ │ │ ├── resize_2.png │ │ │ │ │ │ ├── stopIcon.png │ │ │ │ │ │ └── warn.png │ │ │ │ │ ├── thumbnail.png │ │ │ │ │ └── wso2-logo.png │ │ │ │ │ ├── include │ │ │ │ │ ├── commons.jag │ │ │ │ │ ├── database.jag │ │ │ │ │ └── store_alerts.jag │ │ │ │ │ ├── index.xml │ │ │ │ │ └── js │ │ │ │ │ ├── app.js │ │ │ │ │ ├── application_options.js │ │ │ │ │ ├── bootstrap-wizard-lib │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── bootstrap-wizard.js │ │ │ │ │ └── bootstrap-wizard.min.js │ │ │ │ │ ├── bootstrap │ │ │ │ │ ├── BOOTSTRAP_LICENSE │ │ │ │ │ └── bootstrap.min.js │ │ │ │ │ ├── d3 │ │ │ │ │ ├── C3_LICENSE │ │ │ │ │ ├── D3_LICENSE │ │ │ │ │ ├── c3.min.js │ │ │ │ │ └── d3.min.js │ │ │ │ │ ├── geo_fencing.js │ │ │ │ │ ├── geo_proximity.js │ │ │ │ │ ├── geo_remote.js │ │ │ │ │ ├── jquery │ │ │ │ │ ├── jquery-2.1.1.min.js │ │ │ │ │ └── jquery-ui.min.js │ │ │ │ │ ├── leaflet │ │ │ │ │ ├── L.CircleEditor.js │ │ │ │ │ ├── L.Control.Locate.js │ │ │ │ │ ├── L.Grid.js │ │ │ │ │ ├── L.MeasuringTool.js │ │ │ │ │ ├── L.PolySideLabel.js │ │ │ │ │ ├── LICENSE_RaphaelLayer │ │ │ │ │ ├── Leaflet.fullscreen.min.js │ │ │ │ │ ├── MIT-LICENSE.txt │ │ │ │ │ ├── Marker.Rotate.js │ │ │ │ │ ├── images │ │ │ │ │ │ ├── marker-icon.png │ │ │ │ │ │ └── marker-shadow.png │ │ │ │ │ ├── leaflet.draw.js │ │ │ │ │ ├── leaflet.groupedlayercontrol.js │ │ │ │ │ ├── leaflet.js │ │ │ │ │ ├── leaflet.markercluster.js │ │ │ │ │ ├── raphael-min.js │ │ │ │ │ └── rlayer.js │ │ │ │ │ ├── show_alert_in_map.js │ │ │ │ │ ├── typeahead.bundle.min.js │ │ │ │ │ ├── uikit │ │ │ │ │ ├── LICENSES │ │ │ │ │ ├── addons │ │ │ │ │ │ ├── autocomplete.js │ │ │ │ │ │ ├── autocomplete.min.js │ │ │ │ │ │ ├── datepicker.js │ │ │ │ │ │ ├── datepicker.min.js │ │ │ │ │ │ ├── form-password.js │ │ │ │ │ │ ├── form-password.min.js │ │ │ │ │ │ ├── form-select.js │ │ │ │ │ │ ├── form-select.min.js │ │ │ │ │ │ ├── htmleditor.js │ │ │ │ │ │ ├── htmleditor.min.js │ │ │ │ │ │ ├── nestable.js │ │ │ │ │ │ ├── nestable.min.js │ │ │ │ │ │ ├── notify.js │ │ │ │ │ │ ├── notify.min.js │ │ │ │ │ │ ├── pagination.js │ │ │ │ │ │ ├── pagination.min.js │ │ │ │ │ │ ├── search.js │ │ │ │ │ │ ├── search.min.js │ │ │ │ │ │ ├── sortable.js │ │ │ │ │ │ ├── sortable.min.js │ │ │ │ │ │ ├── sticky.js │ │ │ │ │ │ ├── sticky.min.js │ │ │ │ │ │ ├── timepicker.js │ │ │ │ │ │ ├── timepicker.min.js │ │ │ │ │ │ ├── upload.js │ │ │ │ │ │ └── upload.min.js │ │ │ │ │ └── uikit.min.js │ │ │ │ │ └── websocket.js │ │ │ ├── Geo-ExecutionPlan-EventsFusionGenerateNotifications_1.0.0 │ │ │ │ ├── Geo-ExecutionPlan-EventsFusionGenerateNotifications-1.0.0.siddhiql │ │ │ │ └── artifact.xml │ │ │ ├── Geo-ExecutionPlan-InputStandardizer_1.0.0 │ │ │ │ ├── Geo-ExecutionPlan-InputStandardizer-1.0.0.siddhiql │ │ │ │ └── artifact.xml │ │ │ ├── Geo-ExecutionPlan-Pass_through_1.0.0 │ │ │ │ ├── Geo-ExecutionPlan-Pass_through-1.0.0.siddhiql │ │ │ │ └── artifact.xml │ │ │ ├── Geo-Publisher-RDBMS-GeoAlertNotifications_1.0.0 │ │ │ │ ├── Geo-Publisher-RDBMS-GeoAlertNotifications-1.0.0.xml │ │ │ │ └── artifact.xml │ │ │ ├── Geo-Publisher-WebSocketLocal-FusedSpacialEvent_1.0.0 │ │ │ │ ├── Geo-Publisher-WebSocketLocal-FusedSpacialEvent-1.0.0.xml │ │ │ │ └── artifact.xml │ │ │ ├── Geo-Publisher-WebSocketLocal-GeoAlertNotifications_1.0.0 │ │ │ │ ├── Geo-Publisher-WebSocketLocal-GeoAlertNotifications-1.0.0.xml │ │ │ │ └── artifact.xml │ │ │ ├── ThemeGeoDashboard_1.0.0 │ │ │ │ ├── artifact.xml │ │ │ │ └── geo-dashboard │ │ │ │ │ └── css │ │ │ │ │ └── dashboard.css │ │ │ ├── artifacts.xml │ │ │ ├── org.wso2.geo.AlertsNotifications_1.0.0 │ │ │ │ ├── artifact.xml │ │ │ │ └── org.wso2.geo.AlertsNotifications-1.0.0.json │ │ │ ├── org.wso2.geo.FusedSpatialEvent_1.0.0 │ │ │ │ ├── artifact.xml │ │ │ │ └── org.wso2.geo.FusedSpatialEvent-1.0.0.json │ │ │ ├── org.wso2.geo.LocationStream_1.0.0 │ │ │ │ ├── artifact.xml │ │ │ │ └── org.wso2.geo.LocationStream-1.0.0.json │ │ │ ├── org.wso2.geo.ProcessedSpatialEvents_1.0.0 │ │ │ │ ├── artifact.xml │ │ │ │ └── org.wso2.geo.ProcessedSpatialEvents-1.0.0.json │ │ │ └── org.wso2.geo.StandardSpatialEvents_1.0.0 │ │ │ │ ├── artifact.xml │ │ │ │ └── org.wso2.geo.StandardSpatialEvents-1.0.0.json │ │ │ └── resources │ │ │ ├── build.properties │ │ │ ├── geodashboard-datasources.xml │ │ │ ├── org_wso2_carbon_geo_dashboard-1.0.0.car │ │ │ └── p2.inf │ └── pom.xml └── siddhi-tryit │ ├── org.wso2.carbon.siddhi.tryit.feature │ └── pom.xml │ └── pom.xml ├── issue_template.md ├── pom.xml ├── pull_request_template.md └── service-stubs ├── org.wso2.carbon.event.flow.stub ├── pom.xml └── src │ └── main │ └── resources │ └── EventFlowAdminService.wsdl ├── org.wso2.carbon.event.processor.stub ├── pom.xml └── src │ └── main │ └── resources │ └── EventProcessorAdminService.wsdl ├── org.wso2.carbon.event.simulator.stub ├── pom.xml └── src │ └── main │ └── resources │ └── EventSimulatorAdminService.wsdl └── pom.xml /.github/workflows/coverage.yml: -------------------------------------------------------------------------------- 1 | name: Code coverage upload workflow (codecov) 2 | 3 | on: 4 | schedule: 5 | - cron: '0 20 * * *' 6 | workflow_dispatch: 7 | 8 | permissions: 9 | contents: read # to fetch code (actions/checkout) 10 | 11 | jobs: 12 | build-and-upload-coverage: 13 | runs-on: ubuntu-latest 14 | steps: 15 | - name: Run hostname 16 | run: hostname 17 | - name: Fix host entry 18 | run: sudo echo "127.0.0.1 $(hostname)" | sudo tee -a /etc/hosts 19 | - name: Show hosts 20 | run: cat /etc/hosts 21 | - name: Checkout master 22 | uses: actions/checkout@v3 23 | with: 24 | fetch-depth: '10' 25 | - name: Set up JDK 8 26 | uses: actions/setup-java@v2 27 | with: 28 | java-version: 8 29 | distribution: 'adopt' 30 | - name: Cache Maven packages 31 | uses: actions/cache@v3 32 | with: 33 | path: ~/.m2 34 | key: ${{ runner.os }}-m2 35 | restore-keys: ${{ runner.os }}-m2 36 | - name: Build with tests 37 | run: mvn clean install --file pom.xml 38 | - name: Upload test coverage to Codecov 39 | uses: codecov/codecov-action@v4.0.1 40 | with: 41 | flags: unit_tests 42 | token: ${{ secrets.CODECOV_TOKEN }} 43 | slug: wso2/carbon-event-processing 44 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | target/ 3 | 4 | # Mobile Tools for Java (J2ME) 5 | .mtj.tmp/ 6 | 7 | # Package Files # 8 | *.jar 9 | *.war 10 | *.ear 11 | 12 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml 13 | hs_err_pid* 14 | 15 | #idea files 16 | .idea/ 17 | *.iml 18 | 19 | .DS_Store 20 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: java 2 | jdk: 3 | - openjdk8 4 | cache: 5 | directories: 6 | - .autoconf 7 | - $HOME/.m2 8 | script: mvn clean install 9 | -------------------------------------------------------------------------------- /components/event-flow/org.wso2.carbon.event.flow.ui/src/main/resources/META-INF/component.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | event_flow_menu 20 | event.flow.menu.text 21 | org.wso2.carbon.event.flow.ui.i18n.Resources 22 | event_menu 23 | ../event-flow/index.jsp 24 | region1 25 | 5 26 | home 27 | ../event-flow/images/event-flow.png 28 | /permission/admin/manage/event-processor 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /components/event-flow/org.wso2.carbon.event.flow.ui/src/main/resources/org/wso2/carbon/event/flow/ui/i18n/Resources.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | event.flow=CEP Event Flow 17 | event.flow.menu.text= Flow 18 | event.publishers= Event Publishers 19 | event.receivers= Event Receivers 20 | event.streams= Event Streams 21 | execution.plans= Execution Plans 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /components/event-flow/org.wso2.carbon.event.flow.ui/src/main/resources/web/event-flow/docs/images/eventFlow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-flow/org.wso2.carbon.event.flow.ui/src/main/resources/web/event-flow/docs/images/eventFlow.png -------------------------------------------------------------------------------- /components/event-flow/org.wso2.carbon.event.flow.ui/src/main/resources/web/event-flow/docs/userguide.html: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | Event Flow - User Guide 20 | 21 | 22 | 23 | 24 |

Event Flow

25 | 26 |

Event Flow helps to visualize the event stream flow in CEP.

27 |


Event Flow

28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /components/event-flow/org.wso2.carbon.event.flow.ui/src/main/resources/web/event-flow/images/event-flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-flow/org.wso2.carbon.event.flow.ui/src/main/resources/web/event-flow/images/event-flow.png -------------------------------------------------------------------------------- /components/event-flow/org.wso2.carbon.event.flow.ui/src/main/resources/web/event-flow/images/event-publisher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-flow/org.wso2.carbon.event.flow.ui/src/main/resources/web/event-flow/images/event-publisher.png -------------------------------------------------------------------------------- /components/event-flow/org.wso2.carbon.event.flow.ui/src/main/resources/web/event-flow/images/event-receiver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-flow/org.wso2.carbon.event.flow.ui/src/main/resources/web/event-flow/images/event-receiver.png -------------------------------------------------------------------------------- /components/event-flow/org.wso2.carbon.event.flow.ui/src/main/resources/web/event-flow/images/event_stream.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-flow/org.wso2.carbon.event.flow.ui/src/main/resources/web/event-flow/images/event_stream.png -------------------------------------------------------------------------------- /components/event-flow/org.wso2.carbon.event.flow.ui/src/main/resources/web/event-flow/images/execution_plan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-flow/org.wso2.carbon.event.flow.ui/src/main/resources/web/event-flow/images/execution_plan.png -------------------------------------------------------------------------------- /components/event-flow/org.wso2.carbon.event.flow/src/main/resources/META-INF/component.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | 21 | Event Flow 22 | /permission/admin/manage/event-processor 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /components/event-flow/org.wso2.carbon.event.flow/src/main/resources/META-INF/services.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 18 | 19 | 20 | 21 | Admin service to provide details of Trace messages. 22 | 23 | org.wso2.carbon.event.flow.EventFlowAdminService 24 | 25 | https 26 | 27 | 28 | true 29 | true 30 | /permission/admin/manage/event-processor 31 | 32 | -------------------------------------------------------------------------------- /components/event-flow/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | org.wso2.carbon.event-processing 21 | carbon-event-processing 22 | 2.3.16-SNAPSHOT 23 | ../../pom.xml 24 | 25 | 26 | 4.0.0 27 | event-flow 28 | pom 29 | WSO2 Carbon - Event Flow Aggregator Module 30 | http://wso2.org 31 | 32 | 33 | org.wso2.carbon.event.flow 34 | org.wso2.carbon.event.flow.ui 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.admin/src/main/java/org/wso2/carbon/event/processor/admin/internal/ds/EventProcessorAdminValueHolder.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.wso2.carbon.event.processor.admin.internal.ds; 17 | 18 | import org.wso2.carbon.event.processor.core.EventProcessorService; 19 | 20 | public class EventProcessorAdminValueHolder { 21 | 22 | private static EventProcessorService eventProcessorService; 23 | 24 | public static EventProcessorService getEventProcessorService() { 25 | return eventProcessorService; 26 | } 27 | 28 | public static void registerEventProcessorService(EventProcessorService eventProcessorService) { 29 | EventProcessorAdminValueHolder.eventProcessorService = eventProcessorService; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.admin/src/main/java/org/wso2/carbon/event/processor/admin/internal/util/EventProcessorAdminUtil.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.wso2.carbon.event.processor.admin.internal.util; 17 | 18 | public class EventProcessorAdminUtil { 19 | static String STREAM_SEPERATOR = ":"; 20 | 21 | public static String getStreamName(String streamId) { 22 | return streamId.split(STREAM_SEPERATOR)[0]; 23 | } 24 | 25 | public static String getVersion(String streamId) { 26 | String[] nameVersion = streamId.split(STREAM_SEPERATOR); 27 | if (nameVersion.length > 1) { 28 | return nameVersion[1]; 29 | } 30 | return "1.0.0"; 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.admin/src/main/java/org/wso2/carbon/event/processor/admin/internal/util/EventProcessorConstants.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * WSO2 Inc. licenses this file to you under the Apache License, 5 | * Version 2.0 (the "License"); you may not use this file except 6 | * in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, 12 | * software distributed under the License is distributed on an 13 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | * KIND, either express or implied. See the License for the 15 | * specific language governing permissions and limitations 16 | * under the License. 17 | */ 18 | package org.wso2.carbon.event.processor.admin.internal.util; 19 | 20 | import org.wso2.carbon.databridge.commons.AttributeType; 21 | 22 | import java.util.Collections; 23 | import java.util.HashMap; 24 | import java.util.Map; 25 | 26 | public interface EventProcessorConstants { 27 | 28 | public static final Map STRING_ATTRIBUTE_TYPE_MAP = Collections.unmodifiableMap(new HashMap() {{ 29 | put(AttributeType.BOOL, "bool"); 30 | put(AttributeType.STRING, "string"); 31 | put(AttributeType.DOUBLE, "double"); 32 | put(AttributeType.FLOAT, "float"); 33 | put(AttributeType.INT, "int"); 34 | put(AttributeType.LONG, "long"); 35 | }}); 36 | 37 | public static final String NOT_DISTRIBUTED = "not-distributed"; 38 | } 39 | -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.common/src/test/java/org/wso2/carbon/event/processor/storm/common/test/util/AnalyticStatDataProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.wso2.carbon.event.processor.storm.common.test.util; 17 | 18 | import java.util.concurrent.atomic.AtomicLong; 19 | 20 | public class AnalyticStatDataProvider implements DataProvider { 21 | private static final int MULTIPLIER = 14; 22 | private AtomicLong eventCount = new AtomicLong(0); 23 | 24 | @Override 25 | public Object[] getData() { 26 | int ipIndex = Math.round((float) Math.random() * MULTIPLIER); 27 | int userIndex = Math.round((float) Math.random() * MULTIPLIER); 28 | int termIndex = Math.round((float) Math.random() * MULTIPLIER); 29 | return new Object[]{SamplingDataSet.IP_ADDRESSES.get(ipIndex), eventCount.incrementAndGet(), System.currentTimeMillis(), System.nanoTime(), SamplingDataSet.USER_IDS.get(userIndex), SamplingDataSet.SEARCH_TERMS.get(termIndex)}; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.common/src/test/java/org/wso2/carbon/event/processor/storm/common/test/util/DataProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package org.wso2.carbon.event.processor.storm.common.test.util; 18 | 19 | public interface DataProvider { 20 | public Object[] getData(); 21 | } 22 | -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.common/src/test/java/org/wso2/carbon/event/processor/storm/common/test/util/SimpleDataProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.wso2.carbon.event.processor.storm.common.test.util; 17 | 18 | import java.util.Random; 19 | 20 | public class SimpleDataProvider implements DataProvider { 21 | private Random random = new Random(); 22 | 23 | @Override 24 | public Object[] getData() { 25 | return new Object[]{random.nextInt(), random.nextFloat(), "Abcdefghijklmnop" + random.nextLong(), random.nextInt()}; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.common/src/test/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | # The root category uses the appender called A1. Since no priority is 18 | # specified, the root category assumes the default priority for root 19 | # which is DEBUG in log4j. The root category is the only category that 20 | # has a default priority. All other categories need not be assigned a 21 | # priority in which case they inherit their priority from the 22 | # hierarchy. 23 | 24 | log4j.rootLogger=INFO, stdout 25 | #log4j.rootLogger=TRACE, stdout 26 | #log4j.rootLogger=DEBUG, stdout 27 | 28 | #log4j.category.org.wso2.siddhi.core.query.processor.window=DEBUG 29 | 30 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 31 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 32 | log4j.appender.stdout.layout.ConversionPattern=%m%n 33 | #log4j.appender.stdout.layout.ConversionPattern=[%t] %-5p %c %x - %m%n 34 | -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.common/src/test/resources/thrift/Exception.thrift: -------------------------------------------------------------------------------- 1 | namespace java org.wso2.carbon.event.processor.common.storm.manager.service.exception 2 | 3 | 4 | exception NotStormCoordinatorException { 5 | 1: required string message 6 | } 7 | 8 | exception EndpointNotFoundException { 9 | 1: required string message 10 | } 11 | -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.common/src/test/resources/thrift/StormManagerService.thrift: -------------------------------------------------------------------------------- 1 | namespace java org.wso2.carbon.event.processor.common.storm.manager.service 2 | 3 | include "Exception.thrift" 4 | 5 | service StormManagerService { 6 | void registerStormReceiver(1: i32 tenantId, 2: string executionPlanName, 3: string hostName, 4: i32 port) throws (1:Exception.NotStormCoordinatorException nsme), 7 | void registerCEPPublisher(1: i32 tenantId, 2: string executionPlanName, 3: string hostName, 4: i32 port) throws (1:Exception.NotStormCoordinatorException nsme ), 8 | string getStormReceiver(1: i32 tenantId, 2: string executionPlanName, 3: string cepReceiverHostName) throws (1:Exception.NotStormCoordinatorException nsme, 2: Exception.EndpointNotFoundException enfe ), 9 | string getCEPPublisher(1: i32 tenantId, 2: string executionPlanName, 3: string stormPublisherHostName) throws (1:Exception.NotStormCoordinatorException nsme, 2: Exception.EndpointNotFoundException enfe ) 10 | } 11 | -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.core/src/main/java/org/wso2/carbon/event/processor/core/exception/ExcecutionPlanRuntimeException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package org.wso2.carbon.event.processor.core.exception; 18 | 19 | public class ExcecutionPlanRuntimeException extends RuntimeException{ 20 | public ExcecutionPlanRuntimeException() { 21 | } 22 | 23 | public ExcecutionPlanRuntimeException(String message) { 24 | super(message); 25 | } 26 | 27 | public ExcecutionPlanRuntimeException(String message, Throwable cause) { 28 | super(message, cause); 29 | } 30 | 31 | public ExcecutionPlanRuntimeException(Throwable cause) { 32 | super(cause); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.core/src/main/java/org/wso2/carbon/event/processor/core/exception/ExecutionPlanConfigurationException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.wso2.carbon.event.processor.core.exception; 17 | 18 | 19 | public class ExecutionPlanConfigurationException extends Exception { 20 | 21 | public ExecutionPlanConfigurationException() { 22 | } 23 | 24 | public ExecutionPlanConfigurationException(String message) { 25 | super(message); 26 | } 27 | 28 | public ExecutionPlanConfigurationException(String message, Throwable cause) { 29 | super(message, cause); 30 | } 31 | 32 | public ExecutionPlanConfigurationException(Throwable cause) { 33 | super(cause); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.core/src/main/java/org/wso2/carbon/event/processor/core/exception/ExecutionPlanDependencyValidationException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.wso2.carbon.event.processor.core.exception; 17 | 18 | public class ExecutionPlanDependencyValidationException extends Exception { 19 | 20 | private String dependency; 21 | 22 | public ExecutionPlanDependencyValidationException(String dependency, String message) { 23 | super(message); 24 | this.dependency = dependency; 25 | } 26 | 27 | public String getDependency() { 28 | return dependency; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.core/src/main/java/org/wso2/carbon/event/processor/core/exception/ServerUnavailableException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package org.wso2.carbon.event.processor.core.exception; 18 | 19 | 20 | public class ServerUnavailableException extends Exception { 21 | 22 | public ServerUnavailableException() { 23 | } 24 | 25 | public ServerUnavailableException(String message) { 26 | super(message); 27 | } 28 | 29 | public ServerUnavailableException(String message, Throwable cause) { 30 | super(message, cause); 31 | } 32 | 33 | public ServerUnavailableException(Throwable cause) { 34 | super(cause); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.core/src/main/java/org/wso2/carbon/event/processor/core/exception/StormDeploymentException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.wso2.carbon.event.processor.core.exception; 17 | 18 | 19 | public class StormDeploymentException extends Exception { 20 | 21 | public StormDeploymentException() { 22 | } 23 | 24 | public StormDeploymentException(String message) { 25 | super(message); 26 | } 27 | 28 | public StormDeploymentException(String message, Throwable cause) { 29 | super(message, cause); 30 | } 31 | 32 | public StormDeploymentException(Throwable cause) { 33 | super(cause); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.core/src/main/java/org/wso2/carbon/event/processor/core/exception/StormQueryConstructionException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.wso2.carbon.event.processor.core.exception; 17 | 18 | public class StormQueryConstructionException extends Exception { 19 | public StormQueryConstructionException() { 20 | } 21 | 22 | public StormQueryConstructionException(String message) { 23 | super(message); 24 | } 25 | 26 | public StormQueryConstructionException(String message, Throwable cause) { 27 | super(message, cause); 28 | } 29 | 30 | public StormQueryConstructionException(Throwable cause) { 31 | super(cause); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.core/src/main/java/org/wso2/carbon/event/processor/core/util/DistributedModeConstants.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package org.wso2.carbon.event.processor.core.util; 18 | 19 | public final class DistributedModeConstants { 20 | 21 | public static final String STORM_STATUS_MAP = "org.wso2.cep.org.wso2.carbon.event.processor.core.storm.status.execution.plan.ui"; 22 | 23 | /** 24 | * These states are different to the states in Storm terminology, except for ACTIVE 25 | */ 26 | public enum TopologyState{ 27 | UNKNOWN, //Topology status has not been queried yet from Storm. 28 | CLEANING, //StormTopologyManager is cleaning an existing topology with the same name, to deploy this topology. 29 | DEPLOYING, //StormTopologyManager is in the process of deploying this topology 30 | ACTIVE, //Indicates that the topology was found to be in ACTIVE state (as in Storm terminology) in the storm cluster. 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.core/src/main/resources/META-INF/component.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | executionplans 20 | siddhiql 21 | org.wso2.carbon.event.processor.core.EventProcessorDeployer 22 | 23 | 24 | 25 | 26 | 27 | Event Processor 28 | /permission/admin/manage/event-processor 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.core/src/test/resources/Data.thrift: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005-2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * WSO2 Inc. licenses this file to you under the Apache License, 5 | * Version 2.0 (the "License"); you may not use this file except 6 | * in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, 12 | * software distributed under the License is distributed on an 13 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | * KIND, either express or implied. See the License for the 15 | * specific language governing permissions and limitations 16 | * under the License. 17 | */ 18 | 19 | namespace java org.wso2.carbon.event.processor.core.internal.ha.thrift.data 20 | 21 | 22 | struct CEPMembership{ 23 | 1: optional string host; 24 | 2: optional i32 port; 25 | } 26 | 27 | 28 | struct SnapshotData{ 29 | 1: optional binary states; 30 | 2: optional binary nextEventData; 31 | } 32 | 33 | 34 | -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.core/src/test/resources/EventProcessorHAService.thrift: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005-2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * WSO2 Inc. licenses this file to you under the Apache License, 5 | * Version 2.0 (the "License"); you may not use this file except 6 | * in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, 12 | * software distributed under the License is distributed on an 13 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | * KIND, either express or implied. See the License for the 15 | * specific language governing permissions and limitations 16 | * under the License. 17 | */ 18 | namespace java org.wso2.carbon.event.processor.core.internal.ha.thrift.service 19 | 20 | include "Data.thrift" 21 | include "Exception.thrift" 22 | 23 | service HAManagementService { 24 | Data.SnapshotData takeSnapshot(1: i32 tenantId, 2: string executionPlan, 3: Data.CEPMembership passiveMember ) throws (1:Exception.NotAnActiveMemberException anme, 2:Exception.InternalServerException ise) 25 | 26 | } -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.core/src/test/resources/Exception.thrift: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005-2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * WSO2 Inc. licenses this file to you under the Apache License, 5 | * Version 2.0 (the "License"); you may not use this file except 6 | * in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, 12 | * software distributed under the License is distributed on an 13 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | * KIND, either express or implied. See the License for the 15 | * specific language governing permissions and limitations 16 | * under the License. 17 | */ 18 | 19 | namespace java org.wso2.carbon.event.processor.core.internal.ha.thrift.exception 20 | 21 | exception NotAnActiveMemberException { 22 | 1: required string message 23 | } 24 | 25 | exception InternalServerException { 26 | 1: required string message 27 | } -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.core/src/test/resources/cep-ha-management.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 11224 20 | -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.template.deployer/src/main/java/org/wso2/carbon/event/processor/template/deployer/internal/ExecutionPlanDeployerConstants.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.wso2.carbon.event.processor.template.deployer.internal; 17 | 18 | public class ExecutionPlanDeployerConstants { 19 | 20 | public static final String EXECUTION_PLAN_NAME_ANNOTATION = "@Plan:name"; 21 | 22 | public static final String REGEX_NAME_COMMENTED_VALUE = "\\(.*?\\)"; 23 | 24 | 25 | } 26 | -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.template.deployer/src/main/resources/META-INF/component.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | Event processor template deploy 21 | /permission/admin/manage/template-manager 22 | 23 | er 24 | 25 | -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/delete_execution_plan_ajaxprocessor.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | ~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | ~ 4 | ~ Licensed under the Apache License, Version 2.0 (the "License"); 5 | ~ you may not use this file except in compliance with the License. 6 | ~ You may obtain a copy of the License at 7 | ~ 8 | ~ http://www.apache.org/licenses/LICENSE-2.0 9 | ~ 10 | ~ Unless required by applicable law or agreed to in writing, software 11 | ~ distributed under the License is distributed on an "AS IS" BASIS, 12 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | ~ See the License for the specific language governing permissions and 14 | ~ limitations under the License. 15 | --%> 16 | 17 | <%@ page import="org.wso2.carbon.event.processor.ui.EventProcessorUIUtils" %> 18 | <%@ page import="org.wso2.carbon.event.processor.stub.EventProcessorAdminServiceStub" %> 19 | <% 20 | if (!"post".equalsIgnoreCase(request.getMethod())) { 21 | response.sendError(405); 22 | return; 23 | } 24 | 25 | String msg = "fail"; 26 | EventProcessorAdminServiceStub stub = EventProcessorUIUtils.getEventProcessorAdminService(config, session, request); 27 | String executionPlan = request.getParameter("executionPlan"); 28 | if (executionPlan != null) { 29 | try{ 30 | stub.undeployActiveExecutionPlan(executionPlan); 31 | msg = "success"; 32 | }catch(Exception e){ 33 | msg = e.getMessage(); 34 | } 35 | } 36 | %> 37 | <%=msg%> 38 | -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/add.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/add.gif -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/agentTransportAdaptor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/agentTransportAdaptor.png -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/bucket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/bucket.png -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/capp.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/capp.gif -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/design-view.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/design-view.gif -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/edit.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/edit.gif -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/event-details.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/event-details.png -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/eventProcessor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/eventProcessor.gif -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/executionPlan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/executionPlan.png -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/exported-streams.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/exported-streams.png -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/jmsTransport.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/jmsTransport.png -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/list.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/list.gif -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/listTransportAdaptors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/listTransportAdaptors.png -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/localTransport.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/localTransport.png -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/query-expressions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/query-expressions.png -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/source-view.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/source-view.gif -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/streamingAnalytics.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/streamingAnalytics.png -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/tab-back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/tab-back.png -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/transportAdaptor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/transportAdaptor.gif -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/type.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/type.gif -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/wsEventTransport.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/images/wsEventTransport.png -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/js/eventprocessor_constants.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /*Annotations, Annotation Names and relevant tokens*/ 18 | var ANNOTATION_IMPORT = "Import"; 19 | var ANNOTATION_EXPORT = "Export"; 20 | 21 | var ANNOTATION_TOKEN_AT = "@"; 22 | var ANNOTATION_TOKEN_OPENING_BRACKET = "("; 23 | var ANNOTATION_TOKEN_CLOSING_BRACKET = ")"; 24 | 25 | var REGEX_LINE_STARTING_WITH_PLAN = /^@Plan.*/g; 26 | var REGEX_LINE_STARTING_WITH_SINGLE_LINE_COMMENT = /^--.*/g; 27 | var REGEX_LINE_STARTING_WITH_MULTI_LINE_COMMENT = /^\/\*.*\*\//g; 28 | var REGEX_LINE_STARTING_WITH_IMPORT_STATEMENT = /^@Import.*/g; 29 | 30 | var SIDDHI_STATEMENT_DELIMETER = ";"; 31 | var SIDDHI_LINE_BREAK = "\n"; 32 | var SIDDHI_LINE_BREAK_CHARACTER = '\n'; 33 | var SIDDHI_SINGLE_QUOTE = "'"; 34 | var SIDDHI_SPACE_LITERAL = " "; 35 | 36 | var SIDDHI_LITERAL_DEFINE_STREAM = "define stream"; 37 | 38 | var MIME_TYPE_SIDDHI_QL = "text/siddhi-ql"; 39 | 40 | var INCLUDE_ARBITRARY_DATA= ", arbitrary.data='true'"; 41 | -------------------------------------------------------------------------------- /components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/validate_siddhi_queries_ajaxprocessor.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | ~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | ~ 4 | ~ Licensed under the Apache License, Version 2.0 (the "License"); 5 | ~ you may not use this file except in compliance with the License. 6 | ~ You may obtain a copy of the License at 7 | ~ 8 | ~ http://www.apache.org/licenses/LICENSE-2.0 9 | ~ 10 | ~ Unless required by applicable law or agreed to in writing, software 11 | ~ distributed under the License is distributed on an "AS IS" BASIS, 12 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | ~ See the License for the specific language governing permissions and 14 | ~ limitations under the License. 15 | --%> 16 | <%@ page import="org.wso2.carbon.event.processor.stub.EventProcessorAdminServiceStub" %> 17 | <%@ page import="org.wso2.carbon.event.processor.ui.EventProcessorUIUtils" %> 18 | <%@ page import="org.owasp.encoder.Encode" %> 19 | 20 | <% 21 | EventProcessorAdminServiceStub eventProcessorAdminServiceStub = EventProcessorUIUtils.getEventProcessorAdminService(config, session, request); 22 | String executionPlan = request.getParameter("executionPlan"); 23 | String resultString; 24 | try { 25 | String result = eventProcessorAdminServiceStub.validateExecutionPlan(executionPlan); 26 | if (result.equals("success")) { 27 | resultString = "success"; 28 | } else { 29 | resultString = result; 30 | } 31 | } catch (Exception e) { 32 | resultString = e.getMessage(); 33 | } 34 | %> 35 | <%=Encode.forHtml(resultString)%> 36 | -------------------------------------------------------------------------------- /components/event-simulator/org.wso2.carbon.event.simulator.admin/src/main/java/org/wso2/carbon/event/simulator/admin/EventDto.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.wso2.carbon.event.simulator.admin; 17 | 18 | 19 | public class EventDto { 20 | 21 | private String eventStreamId; 22 | private String[] attributeValues; 23 | 24 | public String[] getAttributeValues() { 25 | return attributeValues; 26 | } 27 | 28 | public void setAttributeValues(String[] attributeValues) { 29 | this.attributeValues = attributeValues; 30 | } 31 | 32 | public String getEventStreamId() { 33 | return eventStreamId; 34 | } 35 | 36 | public void setEventStreamId(String eventStreamId) { 37 | this.eventStreamId = eventStreamId; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /components/event-simulator/org.wso2.carbon.event.simulator.admin/src/main/java/org/wso2/carbon/event/simulator/admin/StreamAttributeDto.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.wso2.carbon.event.simulator.admin; 17 | 18 | public class StreamAttributeDto { 19 | 20 | /** 21 | * Name of the attribute 22 | */ 23 | private String attributeName; 24 | 25 | /** 26 | * Type of the attribute 27 | */ 28 | private String attributeType; 29 | 30 | public String getAttributeName() { 31 | return attributeName; 32 | } 33 | 34 | public void setAttributeName(String attributeName) { 35 | this.attributeName = attributeName; 36 | } 37 | 38 | public String getAttributeType() { 39 | return attributeType; 40 | } 41 | 42 | public void setAttributeType(String attributeType) { 43 | this.attributeType = attributeType; 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /components/event-simulator/org.wso2.carbon.event.simulator.admin/src/main/java/org/wso2/carbon/event/simulator/admin/UploadedFileItemDto.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.wso2.carbon.event.simulator.admin; 17 | 18 | 19 | import javax.activation.DataHandler; 20 | 21 | public class UploadedFileItemDto { 22 | private String fileName; 23 | private String fileType; 24 | private DataHandler dataHandler; 25 | 26 | public String getFileName() { 27 | return fileName; 28 | } 29 | 30 | public void setFileName(String fileName) { 31 | this.fileName = fileName; 32 | } 33 | 34 | public String getFileType() { 35 | return fileType; 36 | } 37 | 38 | public void setFileType(String fileType) { 39 | this.fileType = fileType; 40 | } 41 | 42 | public DataHandler getDataHandler() { 43 | return dataHandler; 44 | } 45 | 46 | public void setDataHandler(DataHandler dataHandler) { 47 | this.dataHandler = dataHandler; 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /components/event-simulator/org.wso2.carbon.event.simulator.admin/src/main/java/org/wso2/carbon/event/simulator/admin/internal/jaxbMappings/Element.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.wso2.carbon.event.simulator.admin.internal.jaxbMappings; 17 | 18 | import javax.xml.bind.annotation.XmlAccessType; 19 | import javax.xml.bind.annotation.XmlAccessorType; 20 | import javax.xml.bind.annotation.XmlAttribute; 21 | import javax.xml.bind.annotation.XmlValue; 22 | 23 | /** 24 | * Contain key value pair of a element eg: key- String value- VARCHAR 25 | */ 26 | @XmlAccessorType(XmlAccessType.NONE) 27 | public class Element { 28 | 29 | private String key; 30 | private String value; 31 | 32 | 33 | public String getKey() { 34 | return key; 35 | } 36 | 37 | @XmlAttribute 38 | public void setKey(String key) { 39 | this.key = key; 40 | } 41 | 42 | public String getValue() { 43 | return value; 44 | } 45 | 46 | @XmlValue 47 | public void setValue(String value) { 48 | this.value = value; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /components/event-simulator/org.wso2.carbon.event.simulator.admin/src/main/java/org/wso2/carbon/event/simulator/admin/internal/jaxbMappings/Mapping.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.wso2.carbon.event.simulator.admin.internal.jaxbMappings; 17 | 18 | 19 | import javax.xml.bind.annotation.XmlAttribute; 20 | import javax.xml.bind.annotation.XmlElement; 21 | 22 | /** 23 | * Contains list of elements for a specific db type 24 | */ 25 | public class Mapping { 26 | 27 | private String db; 28 | private Elements elements; 29 | 30 | public String getDb() { 31 | return db; 32 | } 33 | 34 | @XmlAttribute 35 | public void setDb(String db) { 36 | this.db = db; 37 | } 38 | 39 | public Elements getElements() { 40 | return elements; 41 | } 42 | 43 | @XmlElement 44 | public void setElements(Elements elements) { 45 | this.elements = elements; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /components/event-simulator/org.wso2.carbon.event.simulator.admin/src/main/java/org/wso2/carbon/event/simulator/admin/internal/jaxbMappings/Mappings.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.wso2.carbon.event.simulator.admin.internal.jaxbMappings; 17 | 18 | import javax.xml.bind.annotation.XmlElement; 19 | import javax.xml.bind.annotation.XmlElementWrapper; 20 | import javax.xml.bind.annotation.XmlRootElement; 21 | import java.util.List; 22 | 23 | /** 24 | * Contains List of mapping objects 25 | */ 26 | @XmlRootElement(name="rdbmsConfiguration") 27 | public class Mappings { 28 | 29 | private List mapping; 30 | 31 | 32 | public List getMapping() { 33 | return mapping; 34 | } 35 | 36 | @XmlElementWrapper(name="mappings") 37 | @XmlElement(name="mapping") 38 | public void setMapping(List mapping) { 39 | this.mapping = mapping; 40 | } 41 | 42 | } 43 | -------------------------------------------------------------------------------- /components/event-simulator/org.wso2.carbon.event.simulator.admin/src/main/java/org/wso2/carbon/event/simulator/admin/internal/util/EventSimulatorDataSourceConstants.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package org.wso2.carbon.event.simulator.admin.internal.util; 18 | 19 | public final class EventSimulatorDataSourceConstants { 20 | 21 | public static final String GENERIC_RDBMS_FILE_SPECIFIC_PATH = "cep/"; 22 | public static final String GENERIC_RDBMS_FILE_NAME = "rdbms-configuration.xml"; 23 | public static final String GENERIC_RDBMS_ATTRIBUTE_TABLE_NAME = "$TABLE_NAME"; 24 | public static final String GENERIC_RDBMS_ATTRIBUTE_COLUMNS = "$COLUMNS"; 25 | 26 | } -------------------------------------------------------------------------------- /components/event-simulator/org.wso2.carbon.event.simulator.core/src/main/java/org/wso2/carbon/event/simulator/core/Event.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package org.wso2.carbon.event.simulator.core; 18 | 19 | import org.wso2.carbon.databridge.commons.StreamDefinition; 20 | 21 | public class Event { 22 | 23 | private StreamDefinition streamDefinition; 24 | private String[] attributeValues; 25 | 26 | public String[] getAttributeValues() { 27 | return attributeValues; 28 | } 29 | 30 | public void setAttributeValues(String[] attributeValues) { 31 | this.attributeValues = attributeValues; 32 | } 33 | 34 | public StreamDefinition getStreamDefinition() { 35 | return streamDefinition; 36 | } 37 | 38 | public void setStreamDefinition(StreamDefinition streamDefinition) { 39 | this.streamDefinition = streamDefinition; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /components/event-simulator/org.wso2.carbon.event.simulator.core/src/main/java/org/wso2/carbon/event/simulator/core/UploadedFileItem.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package org.wso2.carbon.event.simulator.core; 18 | 19 | import javax.activation.DataHandler; 20 | 21 | 22 | public class UploadedFileItem { 23 | 24 | private String fileName; 25 | private String fileType; 26 | private DataHandler dataHandler; 27 | 28 | public String getFileName() { 29 | return fileName; 30 | } 31 | 32 | public void setFileName(String fileName) { 33 | this.fileName = fileName; 34 | } 35 | 36 | public String getFileType() { 37 | return fileType; 38 | } 39 | 40 | public void setFileType(String fileType) { 41 | this.fileType = fileType; 42 | } 43 | 44 | public DataHandler getDataHandler() { 45 | return dataHandler; 46 | } 47 | 48 | public void setDataHandler(DataHandler dataHandler) { 49 | this.dataHandler = dataHandler; 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /components/event-simulator/org.wso2.carbon.event.simulator.core/src/main/java/org/wso2/carbon/event/simulator/core/exception/EventSimulatorRuntimeException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package org.wso2.carbon.event.simulator.core.exception; 18 | 19 | public class EventSimulatorRuntimeException extends RuntimeException { 20 | 21 | public EventSimulatorRuntimeException() { 22 | } 23 | 24 | public EventSimulatorRuntimeException(String message) { 25 | super(message); 26 | } 27 | 28 | public EventSimulatorRuntimeException(String message, Throwable cause) { 29 | super(message, cause); 30 | } 31 | 32 | public EventSimulatorRuntimeException(Throwable cause) { 33 | super(cause); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /components/event-simulator/org.wso2.carbon.event.simulator.core/src/main/resources/META-INF/component.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | eventsimulatorfiles 20 | csv 21 | org.wso2.carbon.event.simulator.core.CSVFileDeployer 22 | 23 | 24 | 25 | eventsimulatorfiles 26 | xml 27 | org.wso2.carbon.event.simulator.core.XMLFileDeployer 28 | 29 | 30 | 31 | 32 | 33 | 34 | Event Simulator 35 | /permission/admin/manage/event-simulator 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /components/event-simulator/org.wso2.carbon.event.simulator.ui/src/main/java/org/wso2/carbon/event/simulator/ui/exception/EventSimulatorUIException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package org.wso2.carbon.event.simulator.ui.exception; 18 | 19 | public class EventSimulatorUIException extends RuntimeException { 20 | public EventSimulatorUIException() { 21 | } 22 | 23 | public EventSimulatorUIException(String message) { 24 | super(message); 25 | } 26 | 27 | public EventSimulatorUIException(String message, Throwable cause) { 28 | super(message, cause); 29 | } 30 | 31 | public EventSimulatorUIException(Throwable cause) { 32 | super(cause); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /components/event-simulator/org.wso2.carbon.event.simulator.ui/src/main/resources/org/wso2/carbon/event/simulator/ui/i18n/Resources.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | event.simulator=Event Simulator 18 | eventformatter.list=List 19 | event.stream.simulator=Event Stream Simulator 20 | send.multiple.events=Send multiple events 21 | stream.id=Stream ID 22 | file=File 23 | stream.configuration=Stream Configuration 24 | data.source.name=Data Source Name 25 | column.names=Column names 26 | stream.attributes=Stream Attributes 27 | configuration.name =Name 28 | table.name=Table Name 29 | mappings=Mappings 30 | action=Action 31 | no.file.has.been.uploaded=No file has been uploaded 32 | no.configuration=There are no data source configurations 33 | click.configuration=click the configure button 34 | send.single.event=Send single event 35 | select.the.event.stream=Event Stream Name 36 | no.event.stream.definition=No Event Stream Definitions 37 | input.by.file=Input Data by File 38 | input.by.ds=Input Data by Data Source 39 | event.delay = Delay between events(ms) -------------------------------------------------------------------------------- /components/event-simulator/org.wso2.carbon.event.simulator.ui/src/main/resources/web/eventsimulator/deleteDBConfigFile_ajaxprocessor.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | ~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | ~ 4 | ~ Licensed under the Apache License, Version 2.0 (the "License"); 5 | ~ you may not use this file except in compliance with the License. 6 | ~ You may obtain a copy of the License at 7 | ~ 8 | ~ http://www.apache.org/licenses/LICENSE-2.0 9 | ~ 10 | ~ Unless required by applicable law or agreed to in writing, software 11 | ~ distributed under the License is distributed on an "AS IS" BASIS, 12 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | ~ See the License for the specific language governing permissions and 14 | ~ limitations under the License. 15 | --%> 16 | <%@ page import="org.wso2.carbon.event.simulator.stub.EventSimulatorAdminServiceStub" %> 17 | <%@ page import="org.wso2.carbon.event.simulator.ui.EventSimulatorUIUtils" %> 18 | <% 19 | 20 | if (!"post".equalsIgnoreCase(request.getMethod())) { 21 | response.sendError(405); 22 | return; 23 | } 24 | 25 | String msg=null; 26 | 27 | try{ 28 | EventSimulatorAdminServiceStub stub = EventSimulatorUIUtils.getEventSimulatorAdminService(config, session, request); 29 | 30 | String fileName=request.getParameter("fileName"); 31 | stub.deleteDBConfigFile(fileName); 32 | 33 | msg="deleted"; 34 | }catch(Exception e){ 35 | msg=e.getMessage(); 36 | } 37 | %> 38 | 39 | <%=msg%> -------------------------------------------------------------------------------- /components/event-simulator/org.wso2.carbon.event.simulator.ui/src/main/resources/web/eventsimulator/deleteFile_ajaxprocessor.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | ~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | ~ 4 | ~ Licensed under the Apache License, Version 2.0 (the "License"); 5 | ~ you may not use this file except in compliance with the License. 6 | ~ You may obtain a copy of the License at 7 | ~ 8 | ~ http://www.apache.org/licenses/LICENSE-2.0 9 | ~ 10 | ~ Unless required by applicable law or agreed to in writing, software 11 | ~ distributed under the License is distributed on an "AS IS" BASIS, 12 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | ~ See the License for the specific language governing permissions and 14 | ~ limitations under the License. 15 | --%> 16 | <%@ page import="org.wso2.carbon.event.simulator.stub.EventSimulatorAdminServiceStub" %> 17 | <%@ page import="org.wso2.carbon.event.simulator.ui.EventSimulatorUIUtils" %> 18 | <% 19 | if (!"post".equalsIgnoreCase(request.getMethod())) { 20 | response.sendError(405); 21 | return; 22 | } 23 | 24 | 25 | String msg=null; 26 | 27 | try{ 28 | EventSimulatorAdminServiceStub stub = EventSimulatorUIUtils.getEventSimulatorAdminService(config, session, request); 29 | 30 | String fileName=request.getParameter("fileName"); 31 | stub.deleteFile(fileName); 32 | 33 | msg="deleted"; 34 | }catch(Exception e){ 35 | msg=e.getMessage(); 36 | } 37 | %> 38 | 39 | <%=msg%> -------------------------------------------------------------------------------- /components/event-simulator/org.wso2.carbon.event.simulator.ui/src/main/resources/web/eventsimulator/images/design-view.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-simulator/org.wso2.carbon.event.simulator.ui/src/main/resources/web/eventsimulator/images/design-view.gif -------------------------------------------------------------------------------- /components/event-simulator/org.wso2.carbon.event.simulator.ui/src/main/resources/web/eventsimulator/images/event-simulator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-simulator/org.wso2.carbon.event.simulator.ui/src/main/resources/web/eventsimulator/images/event-simulator.png -------------------------------------------------------------------------------- /components/event-simulator/org.wso2.carbon.event.simulator.ui/src/main/resources/web/eventsimulator/images/eventSimulatorUI.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-simulator/org.wso2.carbon.event.simulator.ui/src/main/resources/web/eventsimulator/images/eventSimulatorUI.jpg -------------------------------------------------------------------------------- /components/event-simulator/org.wso2.carbon.event.simulator.ui/src/main/resources/web/eventsimulator/images/source-view.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/event-simulator/org.wso2.carbon.event.simulator.ui/src/main/resources/web/eventsimulator/images/source-view.gif -------------------------------------------------------------------------------- /components/event-simulator/org.wso2.carbon.event.simulator.ui/src/main/resources/web/eventsimulator/sendDataSourceConfigValues_ajaxprocessor.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | ~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | ~ 4 | ~ Licensed under the Apache License, Version 2.0 (the "License"); 5 | ~ you may not use this file except in compliance with the License. 6 | ~ You may obtain a copy of the License at 7 | ~ 8 | ~ http://www.apache.org/licenses/LICENSE-2.0 9 | ~ 10 | ~ Unless required by applicable law or agreed to in writing, software 11 | ~ distributed under the License is distributed on an "AS IS" BASIS, 12 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | ~ See the License for the specific language governing permissions and 14 | ~ limitations under the License. 15 | --%> 16 | <%@ page import="org.json.JSONObject" %> 17 | <%@ page import="org.wso2.carbon.event.simulator.stub.EventSimulatorAdminServiceStub" %> 18 | <%@ page import="org.wso2.carbon.event.simulator.ui.EventSimulatorUIUtils" %> 19 | <% 20 | if (!"post".equalsIgnoreCase(request.getMethod())) { 21 | response.sendError(405); 22 | return; 23 | } 24 | 25 | String msg = null; 26 | try { 27 | EventSimulatorAdminServiceStub stub = EventSimulatorUIUtils 28 | .getEventSimulatorAdminService(config, session, request); 29 | String jsonData = request.getParameter("dataSourceConfigAndEventStreamInfo"); 30 | 31 | stub.saveDataSourceConfigDetails(jsonData); 32 | msg = "Sent"; 33 | 34 | } catch (Exception e) { 35 | msg = e.getMessage(); 36 | } 37 | %> 38 | <%=msg%> -------------------------------------------------------------------------------- /components/event-simulator/pom.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | org.wso2.carbon.event-processing 20 | carbon-event-processing 21 | 2.3.16-SNAPSHOT 22 | ../../pom.xml 23 | 24 | 25 | event-simulator 26 | 4.0.0 27 | pom 28 | 29 | WSO2 Carbon - Event Simulator 30 | http://maven.apache.org 31 | 32 | 33 | org.wso2.carbon.event.simulator.core 34 | org.wso2.carbon.event.simulator.admin 35 | org.wso2.carbon.event.simulator.ui 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /components/geo-dashboard/org.wso2.carbon.siddhi.geo.event.fuser/src/main/java/org/wso2/carbon/siddhi/geo/event/fuser/ExecutionPlansCount.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * WSO2 Inc. licenses this file to you under the Apache License, 5 | * Version 2.0 (the "License"); you may not use this file except 6 | * in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, 12 | * software distributed under the License is distributed on an 13 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | * KIND, either express or implied. See the License for the 15 | * specific language governing permissions and limitations 16 | * under the License. 17 | */ 18 | package org.wso2.carbon.siddhi.geo.event.fuser; 19 | 20 | public class ExecutionPlansCount { 21 | 22 | public static Integer numberOfExecutionPlans = 0; 23 | 24 | public static Integer getNumberOfExecutionPlans() { 25 | return ExecutionPlansCount.numberOfExecutionPlans; 26 | } 27 | 28 | public static void setNumberOfExecutionPlans(Integer numberOfExecutionPlans) { 29 | ExecutionPlansCount.numberOfExecutionPlans = numberOfExecutionPlans; 30 | } 31 | 32 | public static void upCount() { 33 | ExecutionPlansCount.numberOfExecutionPlans += 1; 34 | } 35 | 36 | public static void downCount() { 37 | ExecutionPlansCount.numberOfExecutionPlans -= 1; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /components/geo-dashboard/org.wso2.carbon.siddhi.geo.event.fuser/src/main/resources/geodashboard.siddhiext: -------------------------------------------------------------------------------- 1 | subscribe=org.wso2.carbon.siddhi.geo.event.fuser.ExecutionPlanSubscriber 2 | eventsFusion=org.wso2.carbon.siddhi.geo.event.fuser.EventFusionProcessor -------------------------------------------------------------------------------- /components/geo-dashboard/org.wso2.carbon.siddhi.geo.event.notifier/src/main/resources/geodashboard.siddhiext: -------------------------------------------------------------------------------- 1 | needToNotify=org.wso2.carbon.siddhi.geo.event.notifier.NotifyAlert 2 | -------------------------------------------------------------------------------- /components/siddhi-metrics/org.wso2.carbon.siddhi.metrics.core/src/main/java/org/wso2/carbon/siddhi/metrics/core/util/SiddhiMetricsConstants.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * WSO2 Inc. licenses this file to you under the Apache License, 5 | * Version 2.0 (the "License"); you may not use this file except 6 | * in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, 12 | * software distributed under the License is distributed on an 13 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | * KIND, either express or implied. See the License for the 15 | * specific language governing permissions and limitations 16 | * under the License. 17 | */ 18 | 19 | package org.wso2.carbon.siddhi.metrics.core.util; 20 | 21 | public class SiddhiMetricsConstants { 22 | 23 | private SiddhiMetricsConstants() { 24 | // Prevents instantiation. 25 | } 26 | 27 | public static final String METRIC_SUFFIX_LATENCY = "latency"; 28 | public static final String METRIC_SUFFIX_MEMORY = "memory"; 29 | public static final String METRIC_SUFFIX_THROUGHPUT = "throughput"; 30 | } 31 | -------------------------------------------------------------------------------- /components/siddhi-tryit/org.wso2.carbon.siddhi.tryit.ui/src/main/java/org/wso2/carbon/siddhi/tryit/ui/internal/ds/SiddhiTryItValueHolder.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * WSO2 Inc. licenses this file to you under the Apache License, 5 | * Version 2.0 (the "License"); you may not use this file except 6 | * in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, 12 | * software distributed under the License is distributed on an 13 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | * KIND, either express or implied. See the License for the 15 | * specific language governing permissions and limitations 16 | * under the License. 17 | */ 18 | package org.wso2.carbon.siddhi.tryit.ui.internal.ds; 19 | 20 | import org.wso2.carbon.ndatasource.core.DataSourceService; 21 | 22 | public class SiddhiTryItValueHolder { 23 | private static DataSourceService dataSourceService; 24 | 25 | public static DataSourceService getDataSourceService() { 26 | return dataSourceService; 27 | } 28 | 29 | public static void setDataSourceService(DataSourceService dataSourceService) { 30 | SiddhiTryItValueHolder.dataSourceService = dataSourceService; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /components/siddhi-tryit/org.wso2.carbon.siddhi.tryit.ui/src/main/resources/org/wso2/carbon/siddhi/tryit/ui/i18n/Resources.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | # 4 | # WSO2 Inc. licenses this file to you under the Apache License, 5 | # Version 2.0 (the "License"); you may not use this file except 6 | # in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | # 18 | siddhi.tryit=Siddhi Try It 19 | siddhi.tryit.breadcrumb=Siddhi Try It 20 | execution.plan=Execution Plan 21 | event.stream=Event Stream 22 | result=Result 23 | begin.time=Begin Time 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /components/siddhi-tryit/org.wso2.carbon.siddhi.tryit.ui/src/main/resources/web/siddhitryit/css/siddhi-tryit.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * WSO2 Inc. licenses this file to you under the Apache License, 5 | * Version 2.0 (the "License"); you may not use this file except 6 | * in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, 12 | * software distributed under the License is distributed on an 13 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | * KIND, either express or implied. See the License for the 15 | * specific language governing permissions and limitations 16 | * under the License. 17 | */ 18 | .ui-tabs .ui-tabs-panel.ui-tabs-hide { 19 | display: none; 20 | } 21 | 22 | #userTable textarea { 23 | width: 100%; 24 | } 25 | 26 | #userTable tr > td { 27 | width: 33%; 28 | } 29 | 30 | .ui-widget-header { 31 | border: none; 32 | background: transparent; 33 | color: #222222; 34 | font-weight: bold; 35 | width: 100%; 36 | padding-left: 18px !important; 37 | margin-bottom: -11px !important; 38 | } 39 | 40 | .ui-tabs .ui-tabs-panel { 41 | display: block; 42 | border-width: 0; 43 | padding: 1em 1.4em; 44 | background: none; 45 | } 46 | 47 | .query-tab { 48 | color: #69003E !important; 49 | } 50 | 51 | .stream-tab { 52 | color: #3195EF !important; 53 | } -------------------------------------------------------------------------------- /components/siddhi-tryit/org.wso2.carbon.siddhi.tryit.ui/src/main/resources/web/siddhitryit/images/siddhi-tryit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/siddhi-tryit/org.wso2.carbon.siddhi.tryit.ui/src/main/resources/web/siddhitryit/images/siddhi-tryit.png -------------------------------------------------------------------------------- /components/siddhi-tryit/org.wso2.carbon.siddhi.tryit.ui/src/main/resources/web/siddhitryit/images/siddhiTryItUI.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/components/siddhi-tryit/org.wso2.carbon.siddhi.tryit.ui/src/main/resources/web/siddhitryit/images/siddhiTryItUI.png -------------------------------------------------------------------------------- /components/siddhi-tryit/org.wso2.carbon.siddhi.tryit.ui/src/main/resources/web/siddhitryit/js/siddhitryit_constants.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * WSO2 Inc. licenses this file to you under the Apache License, 5 | * Version 2.0 (the "License"); you may not use this file except 6 | * in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, 12 | * software distributed under the License is distributed on an 13 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | * KIND, either express or implied. See the License for the 15 | * specific language governing permissions and limitations 16 | * under the License. 17 | */ 18 | 19 | /*Annotations, Annotation Names and relevant tokens*/ 20 | 21 | var MIME_TYPE_SIDDHI_QL = "text/siddhi-ql"; 22 | 23 | -------------------------------------------------------------------------------- /components/siddhi-tryit/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | carbon-event-processing 23 | org.wso2.carbon.event-processing 24 | 2.3.16-SNAPSHOT 25 | ../../pom.xml 26 | 27 | 28 | 4.0.0 29 | siddhi-tryit 30 | WSO2 Carbon - Siddhi Tryit Aggregator Module 31 | pom 32 | 33 | 34 | org.wso2.carbon.siddhi.tryit.ui 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /features/event-processor/org.wso2.carbon.event.processor.server.feature/src/main/resources/build.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | custom = true 18 | root.agent=conf 19 | -------------------------------------------------------------------------------- /features/event-processor/org.wso2.carbon.event.processor.server.feature/src/main/resources/p2.inf: -------------------------------------------------------------------------------- 1 | instructions.configure = \ 2 | org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.event.processor.server_${feature.version}/conf/storm.yaml,target:${installFolder}/../../conf/cep/storm/storm.yaml,overwrite:true); -------------------------------------------------------------------------------- /features/event-simulator/org.wso2.carbon.event.simulator.server.feature/src/main/resources/build.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | custom = true 18 | root.agent=conf 19 | -------------------------------------------------------------------------------- /features/event-simulator/org.wso2.carbon.event.simulator.server.feature/src/main/resources/p2.inf: -------------------------------------------------------------------------------- 1 | instructions.configure = \ 2 | org.eclipse.equinox.p2.touchpoint.natives.mkdir(path:${installFolder}/../../conf/);\ 3 | org.eclipse.equinox.p2.touchpoint.natives.mkdir(path:${installFolder}/../../conf/cep);\ 4 | org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.event.simulator.server_${feature.version}/conf/rdbms-configuration.xml,target:${installFolder}/../../conf/cep/rdbms-configuration.xml,overwrite:true); 5 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/Dashboard_1.0.0/artifact.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | geo-dashboard.json 22 | 23 | 24 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/Dashboard_1.0.0/geo-dashboard.json: -------------------------------------------------------------------------------- 1 | {"id":"geo-dashboard","title":"Geo Dashboard","description":"","permissions":{"viewers":["Internal/everyone"],"editors":["Internal/everyone"]},"pages":[{"id":"landing","title":"Home","layout":{"content":{"loggedIn":{"blocks":[{"id":"68daad10250cea641097dcb2949aefc6","x":0,"y":0,"width":12,"height":9,"banner":false}]}},"fluidLayout":false},"isanon":false,"content":{"default":{"68daad10250cea641097dcb2949aefc6":[{"id":"geo-dashboard-0","content":{"id":"geo-dashboard","title":"Geo Dashboard","type":"gadget","thumbnail":"fs://gadget/geo-dashboard/img/thumbnail.png","settings":{"personalize":true,"priority":"5"},"data":{"url":"fs://gadget/geo-dashboard/index.xml"},"styles":{"no_heading":true,"hide_gadget":false,"titlePosition":"left","title":"Geo Dashboard"},"notify":{"select":{"type":"address","description":"This notifies selected state"},"cancel":{"type":"boolean","description":"This notifies cancellation of state selection"}},"options":{},"locale_titles":{"en-US":"Geo Dashboard"}}}]},"anon":{}}}],"identityServerUrl":"","accessTokenUrl":"","apiKey":"","apiSecret":"","theme":"geo-dashboard","isUserCustom":false,"isEditorEnable":true,"banner":{"globalBannerExists":false,"customBannerExists":false},"landing":"landing","isanon":false} -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/artifact.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | geo-dashboard 4 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/conf/alerts/Geo-ExecutionPlan-Speed_alert.siddhiql: -------------------------------------------------------------------------------- 1 | /* Enter a unique ExecutionPlan */ 2 | @Plan:name('Geo-ExecutionPlan-Speed_alert') 3 | 4 | /* Enter a unique description for ExecutionPlan */ 5 | -- @Plan:description('ExecutionPlan') 6 | 7 | /* define streams/tables and write queries here ... */ 8 | 9 | @Import('org.wso2.geo.StandardSpatialEvents:1.0.0') 10 | define stream dataIn (id string, latitude double, longitude double, timeStamp long, type string, speed float, heading float, eventId string); 11 | 12 | @Export('org.wso2.geo.ProcessedSpatialEvents:1.0.0') 13 | define stream dataOut (id string, latitude double, longitude double, timeStamp long, type string, speed float, heading float, eventId string, state string, information string); 14 | 15 | from dataIn[speed >= $speedAlertValue]#geodashboard:subscribe() 16 | select id , latitude, longitude,timeStamp, type ,speed, heading ,eventId , "ALERTED" as state, "This device movement is not normal!!" as information 17 | insert into dataOut; 18 | from dataIn[speed < $speedAlertValue] 19 | select id , latitude, longitude,timeStamp, type ,speed, heading ,eventId , "NORMAL" as state, "This device movement is normal" as information 20 | insert into dataOut; 21 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/conf/alerts/Geo-ExecutionPlan-Traffic_alert.siddhiql: -------------------------------------------------------------------------------- 1 | /* Enter a unique ExecutionPlan */ 2 | @Plan:name('$executionPlanName') 3 | 4 | /* Enter a unique description for ExecutionPlan */ 5 | -- @Plan:description('ExecutionPlan') 6 | 7 | /* define streams/tables and write queries here ... */ 8 | 9 | @Import('rawGeoStream:1.0.0') 10 | define stream dataIn (id string, timeStamp long, geometry string, state string, information string); 11 | 12 | @Export('AlertsNotifications:1.0.0') 13 | define stream dataOut (id string, state string, information string, timeStamp long, latitude double, longitude double); 14 | 15 | from dataIn[geo:intersects(geometry, "$geoFenceGeoJSON")==true and geodashboard:needToNotify(id, str:concat(information, state), "sendFirst") == true] 16 | select id, state, str:concat("Traffic alert in $areaName. State: ", state, " ", information) as information, timeStamp, 0.0 as latitude, 0.0 as longitude 17 | insert into dataOut -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/conf/alerts/Geo-ExecutionPlan-Within_alert.siddhiql: -------------------------------------------------------------------------------- 1 | /* Enter a unique ExecutionPlan */ 2 | @Plan:name('$executionPlanName') 3 | 4 | /* Enter a unique description for ExecutionPlan */ 5 | -- @Plan:description('ExecutionPlan') 6 | 7 | /* define streams/tables and write queries here ... */ 8 | 9 | @Import('org.wso2.geo.StandardSpatialEvents:1.0.0') 10 | define stream dataIn (id string, latitude double, longitude double, timeStamp long, type string ,speed float, heading float, eventId string); 11 | 12 | @Export('org.wso2.geo.ProcessedSpatialEvents:1.0.0') 13 | define stream dataOut (id string, latitude double, longitude double, timeStamp long, type string ,speed float, heading float, eventId string, state string, information string); 14 | 15 | from dataIn[geo:within(longitude,latitude,"$geoFenceGeoJSON")==true]#geodashboard:subscribe() 16 | select id , latitude, longitude,timeStamp, type, speed, heading ,eventId , "ALERTED" as state, "This device is in $areaName restricted area!!!" as information 17 | insert into dataOut; 18 | from dataIn[geo:within(longitude,latitude,"$geoFenceGeoJSON")!=true] 19 | select id , latitude, longitude,timeStamp, type, speed, heading ,eventId , "NORMAL" as state, "" as information 20 | insert into dataOut; 21 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/conf/cep_info.json: -------------------------------------------------------------------------------- 1 | {"username" : "admin", "password" : "admin"} -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/conf/database.json: -------------------------------------------------------------------------------- 1 | {"username" : "wso2carbon", "password" : "wso2carbon"} -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/controllers/get_alerts_history.jag: -------------------------------------------------------------------------------- 1 | <% 2 | /* 3 | ~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 4 | ~ 5 | ~ WSO2 Inc. licenses this file to you under the Apache License, 6 | ~ Version 2.0 (the "License"); you may not use this file except 7 | ~ in compliance with the License. 8 | ~ You may obtain a copy of the License at 9 | ~ 10 | ~ http://www.apache.org/licenses/LICENSE-2.0 11 | ~ 12 | ~ Unless required by applicable law or agreed to in writing, 13 | ~ software distributed under the License is distributed on an 14 | ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | ~ KIND, either express or implied. See the License for the 16 | ~ specific language governing permissions and limitations 17 | ~ under the License. 18 | */ 19 | 20 | var db = require("../include/database.jag"); 21 | var configuration = require('../conf/database.json'); 22 | var log = new Log(); 23 | 24 | var db = new Database("jdbc:h2:repository/database/WSO2_GEO",configuration.username,configuration.password); 25 | var objectId = request.getParameter("objectId"); 26 | 27 | var getHistory = "SELECT * FROM alerts_history WHERE id = \'"+objectId+"\' ORDER BY timeStamp DESC LIMIT 50"; 28 | 29 | try{ 30 | var history = db.query(getHistory); 31 | response.contentType = "application/json"; 32 | response.characterEncoding = "UTF-8"; 33 | response.content = history; 34 | } 35 | catch(e){ 36 | log.error(e.toString()); 37 | } 38 | finally{ 39 | db.close(); 40 | } 41 | 42 | %> 43 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/L.Control.Locate.css: -------------------------------------------------------------------------------- 1 | /* Compatible with Leaflet 0.7 */ 2 | 3 | @import url('font/locate-fa.woff'); 4 | @import url('css/locate-fa.css'); 5 | @import url('css/animation.css'); 6 | 7 | .leaflet-touch .leaflet-bar-part-single { 8 | -webkit-border-radius: 7px 7px 7px 7px; 9 | border-radius: 7px 7px 7px 7px; 10 | border-bottom: none; 11 | } 12 | 13 | .leaflet-control-locate a { 14 | font-size: 1.4em; 15 | margin-left: 1px; 16 | color: #444; 17 | } 18 | 19 | .leaflet-control-locate.active a { 20 | color: #2074B6; 21 | } 22 | 23 | .leaflet-control-locate.active.following a { 24 | color: #FC8428; 25 | } 26 | 27 | .leaflet-touch .leaflet-control-locate { 28 | box-shadow: none; 29 | border: 2px solid rgba(0,0,0,0.2); 30 | background-clip: padding-box; 31 | } 32 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/L.Control.Locate.ie.css: -------------------------------------------------------------------------------- 1 | /* Conditional stylesheet for IE. */ 2 | @import url('css/locate-fa-ie7.css'); 3 | 4 | .leaflet-control-locate { 5 | border: 3px solid #999; 6 | } 7 | 8 | .leaflet-control-locate a { 9 | background-color: #eee; 10 | } 11 | 12 | .leaflet-control-locate a:hover { 13 | background-color: #fff; 14 | } 15 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/MarkerCluster.Default.css: -------------------------------------------------------------------------------- 1 | .marker-cluster-small { 2 | background-color: rgba(181, 226, 140, 0.6); 3 | } 4 | .marker-cluster-small div { 5 | background-color: rgba(110, 204, 57, 0.6); 6 | } 7 | 8 | .marker-cluster-medium { 9 | background-color: rgba(241, 211, 87, 0.6); 10 | } 11 | .marker-cluster-medium div { 12 | background-color: rgba(240, 194, 12, 0.6); 13 | } 14 | 15 | .marker-cluster-large { 16 | background-color: rgba(253, 156, 115, 0.6); 17 | } 18 | .marker-cluster-large div { 19 | background-color: rgba(241, 128, 23, 0.6); 20 | } 21 | 22 | /* IE 6-8 fallback colors */ 23 | .leaflet-oldie .marker-cluster-small { 24 | background-color: rgb(181, 226, 140); 25 | } 26 | .leaflet-oldie .marker-cluster-small div { 27 | background-color: rgb(110, 204, 57); 28 | } 29 | 30 | .leaflet-oldie .marker-cluster-medium { 31 | background-color: rgb(241, 211, 87); 32 | } 33 | .leaflet-oldie .marker-cluster-medium div { 34 | background-color: rgb(240, 194, 12); 35 | } 36 | 37 | .leaflet-oldie .marker-cluster-large { 38 | background-color: rgb(253, 156, 115); 39 | } 40 | .leaflet-oldie .marker-cluster-large div { 41 | background-color: rgb(241, 128, 23); 42 | } 43 | 44 | .marker-cluster { 45 | background-clip: padding-box; 46 | border-radius: 20px; 47 | } 48 | .marker-cluster div { 49 | width: 30px; 50 | height: 30px; 51 | margin-left: 5px; 52 | margin-top: 5px; 53 | 54 | text-align: center; 55 | border-radius: 15px; 56 | font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif; 57 | } 58 | .marker-cluster span { 59 | line-height: 30px; 60 | } -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/MarkerCluster.css: -------------------------------------------------------------------------------- 1 | .leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow { 2 | -webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in; 3 | -moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in; 4 | -o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in; 5 | transition: transform 0.3s ease-out, opacity 0.3s ease-in; 6 | } 7 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/bootstrap-wizard-lib/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2013 Panopta, Andrew Moffat 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19 | SOFTWARE. 20 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/css/locate-fa-codes.css: -------------------------------------------------------------------------------- 1 | 2 | .icon-location:before { content: '\e802'; } /* '' */ 3 | .icon-direction:before { content: '\e800'; } /* '' */ 4 | .icon-spinner:before { content: '\e801'; } /* '' */ -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/css/locate-fa-ie7-codes.css: -------------------------------------------------------------------------------- 1 | 2 | .icon-location { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } 3 | .icon-direction { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } 4 | .icon-spinner { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/css/locate-fa-ie7.css: -------------------------------------------------------------------------------- 1 | [class^="icon-"], [class*=" icon-"] { 2 | font-family: 'locate-fa'; 3 | font-style: normal; 4 | font-weight: normal; 5 | 6 | /* fix buttons height */ 7 | line-height: 1em; 8 | 9 | /* you can be more comfortable with increased icons size */ 10 | /* font-size: 120%; */ 11 | } 12 | 13 | .icon-location { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } 14 | .icon-direction { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } 15 | .icon-spinner { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/font/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Font license info 2 | 3 | 4 | ## Font Awesome 5 | 6 | Copyright (C) 2012 by Dave Gandy 7 | 8 | Author: Dave Gandy 9 | License: SIL () 10 | Homepage: http://fortawesome.github.com/Font-Awesome/ 11 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/font/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "locate-fa", 3 | "css_prefix_text": "icon-", 4 | "css_use_suffix": false, 5 | "hinting": true, 6 | "units_per_em": 1000, 7 | "ascent": 850, 8 | "glyphs": [ 9 | { 10 | "uid": "0d08dbb1dd648a43bdea81b7e6c9e036", 11 | "css": "location", 12 | "code": 59394, 13 | "src": "fontawesome" 14 | }, 15 | { 16 | "uid": "921e3974e54ff9e8b7cd906a3dc74636", 17 | "css": "direction", 18 | "code": 59392, 19 | "src": "fontawesome" 20 | }, 21 | { 22 | "uid": "cda0cdcfd38f5f1d9255e722dad42012", 23 | "css": "spinner", 24 | "code": 59393, 25 | "src": "fontawesome" 26 | } 27 | ] 28 | } -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/font/locate-fa.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/font/locate-fa.eot -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/font/locate-fa.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Copyright (C) 2014 by original authors @ fontello.com 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/font/locate-fa.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/font/locate-fa.ttf -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/font/locate-fa.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/font/locate-fa.woff -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/images/TODO.Move_this_images_to_assets_images_folder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/images/TODO.Move_this_images_to_assets_images_folder -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/images/layers-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/images/layers-2x.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/images/layers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/images/layers.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/images/marker-icon-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/images/marker-icon-2x.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/images/marker-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/images/marker-icon.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/images/marker-shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/images/marker-shadow.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/leaflet/L.Grid.css: -------------------------------------------------------------------------------- 1 | .leaflet-grid-label .lng { 2 | margin-left: 8px; 3 | -webkit-transform: rotate(90deg); 4 | transform: rotate(90deg); 5 | } 6 | 7 | .leaflet-grid-label .lat, 8 | .leaflet-grid-label .lng { 9 | text-shadow: -2px 0 #FFFFFF, 0 2px #FFFFFF, 2px 0 #FFFFFF, 0 -2px #FFFFFF; 10 | } 11 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/leaflet/images/spritesheet-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/leaflet/images/spritesheet-2x.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/leaflet/images/spritesheet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/leaflet/images/spritesheet.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/leaflet_fullscreen/fullscreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/leaflet_fullscreen/fullscreen.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/leaflet_fullscreen/fullscreen@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/leaflet_fullscreen/fullscreen@2x.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/leaflet_fullscreen/leaflet.fullscreen.css: -------------------------------------------------------------------------------- 1 | .leaflet-control-fullscreen a { 2 | background:#fff url(fullscreen.png) no-repeat 0 0; 3 | background-size:26px 52px; 4 | } 5 | .leaflet-fullscreen-on .leaflet-control-fullscreen a { 6 | background-position:0 -26px; 7 | } 8 | 9 | /* Do not combine these two rules; IE will break. */ 10 | .leaflet-container:-webkit-full-screen { 11 | width:100%!important; 12 | height:100%!important; 13 | } 14 | .leaflet-container.leaflet-fullscreen-on { 15 | width:100%!important; 16 | height:100%!important; 17 | } 18 | 19 | .leaflet-pseudo-fullscreen { 20 | position:fixed!important; 21 | width:100%!important; 22 | height:100%!important; 23 | top:0!important; 24 | left:0!important; 25 | z-index:99999; 26 | } 27 | 28 | @media 29 | (-webkit-min-device-pixel-ratio:2), 30 | (min-resolution:192dpi) { 31 | .leaflet-control-fullscreen a { 32 | background-image:url(fullscreen@2x.png); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/map.css: -------------------------------------------------------------------------------- 1 | 2 | .navbar { 3 | background-color: rgba(54, 51, 45, 0.7); 4 | background: rgba(54, 51, 45, 0.7); 5 | color: rgba(0, 0, 0, 0.8); 6 | border-radius: 0px 0px 0px 0px; 7 | -webkit-box-shadow: 0px 16px 29px -17px rgba(33, 20, 4, 1); 8 | -moz-box-shadow: 0px 16px 29px -17px rgba(33, 20, 4, 1); 9 | box-shadow: 0px 16px 29px -17px rgba(33, 20, 4, 1); 10 | border: none; 11 | margin: auto; 12 | z-index: 0; 13 | } 14 | 15 | .uk-notify { 16 | z-index: 2147483647 !important; 17 | 18 | } 19 | 20 | .leaflet-top { 21 | top: 30px !important; 22 | } 23 | #mapSearch { 24 | border: 0; 25 | } 26 | 27 | #container { 28 | position: fixed; 29 | top: 0px; 30 | } 31 | 32 | .leaflet-top { 33 | /*To prevent cutting off the top element by header bar in dashboard*/ 34 | top: 50px; 35 | } 36 | 37 | .leaflet-right { 38 | /* to prevent showing layers controller over objectInfor side pane */ 39 | z-index: 0; 40 | } 41 | 42 | .leaflet-popup-content { 43 | width: 200px; 44 | margin: 6px; 45 | } 46 | 47 | #objectInfoCloseButton:hover { 48 | cursor: pointer; 49 | color: firebrick; 50 | } 51 | 52 | .sectionJointStyle { 53 | stroke-dasharray: 3, 20; 54 | } -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 3 | * 4 | * WSO2 Inc. licenses this file to you under the Apache License, 5 | * Version 2.0 (the "License"); you may not use this file except 6 | * in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, 12 | * software distributed under the License is distributed on an 13 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | * KIND, either express or implied. See the License for the 15 | * specific language governing permissions and limitations 16 | * under the License. 17 | */ 18 | 19 | /*html, body {*/ 20 | /*height: 100%;*/ 21 | /*}*/ 22 | 23 | #map { 24 | height: 100%; 25 | width: 100%; 26 | } 27 | 28 | .sectionJointStyle { 29 | stroke-dasharray: 3, 20; 30 | } 31 | 32 | .leaflet-control-attribution.leaflet-control { 33 | font-size: 8px; 34 | } -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/css/uikit/LICENSES: -------------------------------------------------------------------------------- 1 | Copyright (c) YOOtheme GmbH 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/gadget.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "geo-dashboard", 3 | "title": "Geo Dashboard", 4 | "type": "widget", 5 | "thumbnail": "gadget/geo-dashboard/img/thumbnail.png", 6 | "settings": { 7 | "personalize": true 8 | }, 9 | "data": { 10 | "url": "gadget/geo-dashboard/index.xml" 11 | }, 12 | "styles": { 13 | "borders": false, 14 | "title": false 15 | }, 16 | "notify": { 17 | "select": { 18 | "type": "address", 19 | "description": "This notifies selected state" 20 | }, 21 | "cancel": { 22 | "type": "boolean", 23 | "description": "This notifies cancellation of state selection" 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/fav/wso2_fav.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/fav/wso2_fav.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/favicon-120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/favicon-120.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/favicon-152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/favicon-152.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/favicon-196.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/favicon-196.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/favicon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/favicon-76.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/favicon.ico -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/layers-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/layers-2x.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/layers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/layers.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/marker-icon-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/marker-icon-2x.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/marker-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/marker-icon.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/marker-shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/marker-shadow.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/STOP.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/STOP.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/VEHICLE.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/VEHICLE.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/arrow_alerted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/arrow_alerted.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/arrow_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/arrow_normal.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/arrow_offline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/arrow_offline.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/arrow_warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/arrow_warning.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/danger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/danger.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/default_icons/greenMarker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/default_icons/greenMarker.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/default_icons/marker-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/default_icons/marker-icon.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/default_icons/marker-shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/default_icons/marker-shadow.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/default_icons/pinkMarker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/default_icons/pinkMarker.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/default_icons/redMarker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/default_icons/redMarker.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/info.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/moving/device-alerted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/moving/device-alerted.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/moving/device-normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/moving/device-normal.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/moving/device-offline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/moving/device-offline.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/moving/device-warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/moving/device-warning.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/non_moving/device-alerted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/non_moving/device-alerted.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/non_moving/device-normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/non_moving/device-normal.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/non_moving/device-offline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/non_moving/device-offline.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/non_moving/device-warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/non_moving/device-warning.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/non_moving/stationary-alerted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/non_moving/stationary-alerted.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/non_moving/stationary-normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/non_moving/stationary-normal.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/non_moving/stationary-normal2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/non_moving/stationary-normal2.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/non_moving/stationary-offline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/non_moving/stationary-offline.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/non_moving/stationary-warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/non_moving/stationary-warning.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/default/moving/alerted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/default/moving/alerted.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/default/moving/normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/default/moving/normal.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/default/moving/offline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/default/moving/offline.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/default/moving/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/default/moving/warning.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/default/non-moving/alerted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/default/non-moving/alerted.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/default/non-moving/normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/default/non-moving/normal.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/default/non-moving/offline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/default/non-moving/offline.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/default/non-moving/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/default/non-moving/warning.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/stationary/non-moving/alerted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/stationary/non-moving/alerted.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/stationary/non-moving/normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/stationary/non-moving/normal.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/stationary/non-moving/normal2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/stationary/non-moving/normal2.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/stationary/non-moving/offline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/stationary/non-moving/offline.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/stationary/non-moving/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/stationary/non-moving/warning.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/stop/non-moving/alerted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/stop/non-moving/alerted.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/stop/non-moving/normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/stop/non-moving/normal.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/stop/non-moving/normal2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/stop/non-moving/normal2.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/stop/non-moving/offline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/stop/non-moving/offline.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/stop/non-moving/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/stop/non-moving/warning.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/vehicle/moving/alerted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/vehicle/moving/alerted.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/vehicle/moving/normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/vehicle/moving/normal.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/vehicle/moving/offline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/vehicle/moving/offline.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/vehicle/moving/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/vehicle/moving/warning.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/vehicle/non-moving/alerted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/vehicle/non-moving/alerted.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/vehicle/non-moving/normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/vehicle/non-moving/normal.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/vehicle/non-moving/offline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/vehicle/non-moving/offline.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/vehicle/non-moving/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/object-types/vehicle/non-moving/warning.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/offline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/offline.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/resize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/resize.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/resize_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/resize_2.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/stopIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/stopIcon.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/warn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/markers/warn.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/thumbnail.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/wso2-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/img/wso2-logo.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/include/commons.jag: -------------------------------------------------------------------------------- 1 | <% 2 | /* 3 | ~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 4 | ~ 5 | ~ WSO2 Inc. licenses this file to you under the Apache License, 6 | ~ Version 2.0 (the "License"); you may not use this file except 7 | ~ in compliance with the License. 8 | ~ You may obtain a copy of the License at 9 | ~ 10 | ~ http://www.apache.org/licenses/LICENSE-2.0 11 | ~ 12 | ~ Unless required by applicable law or agreed to in writing, 13 | ~ software distributed under the License is distributed on an 14 | ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | ~ KIND, either express or implied. See the License for the 16 | ~ specific language governing permissions and limitations 17 | ~ under the License. 18 | */ 19 | var escapeSiddhiql = function (s) { 20 | XML_CHAR_MAP = { 21 | '<': '<', 22 | '>': '>', 23 | '&': '&', 24 | '"': '"', 25 | "'": ''' 26 | }; 27 | return s.replace(/[<>&"']/g, function (ch) { 28 | return XML_CHAR_MAP[ch]; 29 | }); 30 | }; 31 | 32 | var cepInfo = function () { 33 | var configuration = require("../conf/cep_info.json"); 34 | return configuration; 35 | }; 36 | 37 | // TODO: move to new datastore api 38 | var dataStore = new MetadataStore("admin", "admin"); 39 | %> -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/include/database.jag: -------------------------------------------------------------------------------- 1 | <% 2 | /* 3 | ~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. 4 | ~ 5 | ~ WSO2 Inc. licenses this file to you under the Apache License, 6 | ~ Version 2.0 (the "License"); you may not use this file except 7 | ~ in compliance with the License. 8 | ~ You may obtain a copy of the License at 9 | ~ 10 | ~ http://www.apache.org/licenses/LICENSE-2.0 11 | ~ 12 | ~ Unless required by applicable law or agreed to in writing, 13 | ~ software distributed under the License is distributed on an 14 | ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | ~ KIND, either express or implied. See the License for the 16 | ~ specific language governing permissions and limitations 17 | ~ under the License. 18 | */ 19 | var configuration = require('../conf/database.json'); 20 | %> 21 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/js/bootstrap-wizard-lib/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2013 Panopta, Andrew Moffat 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19 | SOFTWARE. 20 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/js/bootstrap/BOOTSTRAP_LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2011-2014 Twitter, Inc 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/js/d3/C3_LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013 Masayuki Tanaka 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/js/d3/D3_LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2010-2014, Michael Bostock 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are met: 6 | 7 | * Redistributions of source code must retain the above copyright notice, this 8 | list of conditions and the following disclaimer. 9 | 10 | * Redistributions in binary form must reproduce the above copyright notice, 11 | this list of conditions and the following disclaimer in the documentation 12 | and/or other materials provided with the distribution. 13 | 14 | * The name Michael Bostock may not be used to endorse or promote products 15 | derived from this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 20 | DISCLAIMED. IN NO EVENT SHALL MICHAEL BOSTOCK BE LIABLE FOR ANY DIRECT, 21 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 22 | BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 24 | OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/js/leaflet/LICENSE_RaphaelLayer: -------------------------------------------------------------------------------- 1 | Copyright (C) 2012 Dynamic Methods Pty Ltd, David Howell 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/js/leaflet/MIT-LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright 2013 Ishmael Smyrnow 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining 4 | a copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, sublicense, and/or sell copies of the Software, and to 8 | permit persons to whom the Software is furnished to do so, subject to 9 | the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be 12 | included in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/js/leaflet/images/marker-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/js/leaflet/images/marker-icon.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/js/leaflet/images/marker-shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/js/leaflet/images/marker-shadow.png -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/js/uikit/LICENSES: -------------------------------------------------------------------------------- 1 | Copyright (c) YOOtheme GmbH 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/js/uikit/addons/form-password.min.js: -------------------------------------------------------------------------------- 1 | /*! UIkit 2.8.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ 2 | 3 | !function (a) { 4 | var b; 5 | jQuery && jQuery.UIkit && (b = a(jQuery, jQuery.UIkit)), "function" == typeof define && define.amd && define("uikit-form-password", ["uikit"], function () { 6 | return b || a(jQuery, jQuery.UIkit) 7 | }) 8 | }(function (a, b) { 9 | return b.component("formPassword", {defaults: {lblShow: "Show", lblHide: "Hide"}, init: function () { 10 | var a = this; 11 | this.on("click", function (b) { 12 | if (b.preventDefault(), a.input.length) { 13 | var c = a.input.attr("type"); 14 | a.input.attr("type", "text" == c ? "password" : "text"), a.element.text(a.options["text" == c ? "lblShow" : "lblHide"]) 15 | } 16 | }), this.input = this.element.next("input").length ? this.element.next("input") : this.element.prev("input"), this.element.text(this.options[this.input.is("[type='password']") ? "lblShow" : "lblHide"]), this.element.data("formPassword", this) 17 | }}), a(document).on("click.formpassword.uikit", "[data-uk-form-password]", function (c) { 18 | var d = a(this); 19 | if (!d.data("formPassword")) { 20 | c.preventDefault(); 21 | { 22 | b.formPassword(d, b.Utils.options(d.attr("data-uk-form-password"))) 23 | } 24 | d.trigger("click") 25 | } 26 | }), b.formPassword 27 | }); -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/GadgetGeoDashboard_1.0.0/geo-dashboard/js/uikit/addons/form-select.min.js: -------------------------------------------------------------------------------- 1 | /*! UIkit 2.8.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ 2 | 3 | !function (a) { 4 | var b; 5 | jQuery && jQuery.UIkit && (b = a(jQuery, jQuery.UIkit)), "function" == typeof define && define.amd && define("uikit-form-select", ["uikit"], function () { 6 | return b || a(jQuery, jQuery.UIkit) 7 | }) 8 | }(function (a, b) { 9 | return b.component("formSelect", {defaults: {target: ">span:first"}, init: function () { 10 | var a = this; 11 | this.target = this.find(this.options.target), this.select = this.find("select"), this.select.on("change", function () { 12 | var b = a.select[0], c = function () { 13 | try { 14 | a.target.text(b.options[b.selectedIndex].text) 15 | } catch (d) { 16 | } 17 | return c 18 | }; 19 | return c() 20 | }()), this.element.data("formSelect", this) 21 | }}), a(document).on("uk-domready", function () { 22 | a("[data-uk-form-select]").each(function () { 23 | var c = a(this); 24 | if (!c.data("formSelect")) { 25 | b.formSelect(c, b.Utils.options(c.attr("data-uk-form-select"))) 26 | } 27 | }) 28 | }), b.formSelect 29 | }); -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/Geo-ExecutionPlan-EventsFusionGenerateNotifications_1.0.0/Geo-ExecutionPlan-EventsFusionGenerateNotifications-1.0.0.siddhiql: -------------------------------------------------------------------------------- 1 | /* Enter a unique ExecutionPlan */ 2 | @Plan:name('Geo-ExecutionPlan-EventsFusionGenerateNotifications') 3 | 4 | /* Enter a unique description for ExecutionPlan */ 5 | -- @Plan:description('ExecutionPlan') 6 | 7 | /* define streams/tables and write queries here ... */ 8 | 9 | @Plan:trace('false') 10 | 11 | @Import('org.wso2.geo.ProcessedSpatialEvents:1.0.0') 12 | define stream dataIn (id string, latitude double, longitude double, timeStamp long, type string, speed float, heading float, eventId string, state string, information string ); 13 | 14 | @Export('org.wso2.geo.AlertsNotifications:1.0.0') 15 | define stream alertsOut ( id string, state string, information string, timeStamp long, latitude double, longitude double ); 16 | 17 | @Export('org.wso2.geo.FusedSpatialEvent:1.0.0') 18 | define stream dataOut ( id string, latitude double, longitude double, timeStamp long, type string, speed float, heading float, state string, information string, notify bool ); 19 | 20 | from dataIn#window.geodashboard:eventsFusion(eventId, state, information) 21 | insert into innerStream; 22 | 23 | from innerStream 24 | select id, latitude, longitude, timeStamp, type, speed, heading, state , information, geodashboard:needToNotify(id,information) as notify 25 | insert into dataOut; 26 | 27 | from dataOut[notify == true] 28 | select id,state,information,timeStamp, latitude, longitude 29 | insert into alertsOut; -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/Geo-ExecutionPlan-EventsFusionGenerateNotifications_1.0.0/artifact.xml: -------------------------------------------------------------------------------- 1 | 18 | 19 | 20 | Geo-ExecutionPlan-EventsFusionGenerateNotifications-1.0.0.siddhiql 21 | 22 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/Geo-ExecutionPlan-InputStandardizer_1.0.0/Geo-ExecutionPlan-InputStandardizer-1.0.0.siddhiql: -------------------------------------------------------------------------------- 1 | /* Enter a unique ExecutionPlan */ 2 | @Plan:name('Geo-ExecutionPlan-InputStandardizer') 3 | 4 | /* Enter a unique description for ExecutionPlan */ 5 | -- @Plan:description('ExecutionPlan') 6 | 7 | /* define streams/tables and write queries here ... */ 8 | 9 | @Plan:trace('false') 10 | 11 | @Import('org.wso2.geo.LocationStream:1.0.0') 12 | define stream dataIn (id string, timeStamp long, latitude double, longitude double, type string, speed float, heading float ); 13 | 14 | @Export('org.wso2.geo.StandardSpatialEvents:1.0.0') 15 | define stream dataOut ( id string, latitude double, longitude double, timeStamp long, type string, speed float, heading float, eventId string ); 16 | 17 | from dataIn 18 | select id, latitude, longitude, timeStamp, type ,speed, heading, UUID() as eventId 19 | insert into dataOut -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/Geo-ExecutionPlan-InputStandardizer_1.0.0/artifact.xml: -------------------------------------------------------------------------------- 1 | 18 | 19 | 20 | Geo-ExecutionPlan-InputStandardizer-1.0.0.siddhiql 21 | 22 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/Geo-ExecutionPlan-Pass_through_1.0.0/Geo-ExecutionPlan-Pass_through-1.0.0.siddhiql: -------------------------------------------------------------------------------- 1 | /* Enter a unique ExecutionPlan */ 2 | @Plan:name('Geo-ExecutionPlan-Pass_through') 3 | 4 | /* Enter a unique description for ExecutionPlan */ 5 | -- @Plan:description('ExecutionPlan') 6 | 7 | /* define streams/tables and write queries here ... */ 8 | 9 | @Import('org.wso2.geo.StandardSpatialEvents:1.0.0') 10 | define stream dataIn (id string, latitude double, longitude double, timeStamp long, type string, speed float, heading float, eventId string); 11 | 12 | @Export('org.wso2.geo.ProcessedSpatialEvents:1.0.0') 13 | define stream dataOut (id string, latitude double, longitude double, timeStamp long, type string, speed float, heading float, eventId string, state string, information string); 14 | 15 | from dataIn#geodashboard:subscribe() 16 | select id , latitude, longitude,timeStamp, type ,speed, heading ,eventId , "NORMAL" as state, "Normal driving pattern" as information 17 | insert into dataOut; -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/Geo-ExecutionPlan-Pass_through_1.0.0/artifact.xml: -------------------------------------------------------------------------------- 1 | 18 | 19 | 20 | Geo-ExecutionPlan-Pass_through-1.0.0.siddhiql 21 | 22 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/Geo-Publisher-RDBMS-GeoAlertNotifications_1.0.0/Geo-Publisher-RDBMS-GeoAlertNotifications-1.0.0.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | WSO2_GEO_DB 33 | alerts_history 34 | insert 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/Geo-Publisher-RDBMS-GeoAlertNotifications_1.0.0/artifact.xml: -------------------------------------------------------------------------------- 1 | 18 | 19 | 20 | Geo-Publisher-RDBMS-GeoAlertNotifications-1.0.0.xml 21 | 22 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/Geo-Publisher-WebSocketLocal-FusedSpacialEvent_1.0.0/Geo-Publisher-WebSocketLocal-FusedSpacialEvent-1.0.0.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | { 8 | "messageType" : "Point", 9 | "type": "Feature", 10 | "id": {{id}}, 11 | "properties": { 12 | "speed": {{speed}}, 13 | "heading": {{heading}}, 14 | "state": {{state}}, 15 | "information": {{information}}, 16 | "notify": {{notify}}, 17 | "type": {{type}} 18 | }, 19 | "geometry": { 20 | "type": "Point", 21 | "coordinates": [{{longitude}},{{latitude}}] 22 | } 23 | } 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/Geo-Publisher-WebSocketLocal-FusedSpacialEvent_1.0.0/artifact.xml: -------------------------------------------------------------------------------- 1 | 18 | 19 | 20 | Geo-Publisher-WebSocketLocal-FusedSpacialEvent-1.0.0.xml 21 | 22 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/Geo-Publisher-WebSocketLocal-GeoAlertNotifications_1.0.0/Geo-Publisher-WebSocketLocal-GeoAlertNotifications-1.0.0.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | { 9 | "messageType" : "Alert", 10 | "type": "Feature", 11 | "id": {{id}}, 12 | "state": {{state}}, 13 | "information": {{information}}, 14 | "longitude" : {{longitude}}, 15 | "latitude" : {{latitude}} 16 | } 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/Geo-Publisher-WebSocketLocal-GeoAlertNotifications_1.0.0/artifact.xml: -------------------------------------------------------------------------------- 1 | 18 | 19 | 20 | Geo-Publisher-WebSocketLocal-GeoAlertNotifications-1.0.0.xml 21 | 22 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/ThemeGeoDashboard_1.0.0/artifact.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | geo-dashboard 4 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/ThemeGeoDashboard_1.0.0/geo-dashboard/css/dashboard.css: -------------------------------------------------------------------------------- 1 | body.dashboard { 2 | padding-bottom: 38px; 3 | } 4 | 5 | .page-content { 6 | padding-bottom: 0; 7 | } 8 | 9 | .gadgets-grid { 10 | padding: 0; 11 | margin: 0; 12 | } 13 | 14 | .grid-stack > .grid-stack-item > .grid-stack-item-content { 15 | left: 0; 16 | right: 0; 17 | } 18 | 19 | .sidebar-wrapper.sidebar-nav { 20 | left: -260px !important; 21 | } 22 | 23 | .dashboard .page-content-wrapper { 24 | padding-left: 0 !important; 25 | } 26 | 27 | .sidebar-toggle-button { 28 | display: none; 29 | } 30 | 31 | #product-logo { 32 | display: inline-block !important; 33 | } 34 | 35 | .dashboard .page-header .page-title > h1 { 36 | padding: 15px 0 0 !important; 37 | } 38 | 39 | .grid-stack, 40 | .grid-stack > .grid-stack-item, 41 | .grid-stack .gadget-body.ues-component-body, 42 | .grid-stack .gadget-body.ues-component-body > div, 43 | .grid-stack .gadget-body.ues-component-body > div > span, 44 | .grid-stack .gadget-body.ues-component-body > div > span > iframe { 45 | height: 100% !important; 46 | } 47 | 48 | .grid-stack > .grid-stack-item { 49 | width: 100% !important; 50 | } -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/org.wso2.geo.AlertsNotifications_1.0.0/artifact.xml: -------------------------------------------------------------------------------- 1 | 2 | org.wso2.geo.AlertsNotifications-1.0.0.json 3 | 4 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/org.wso2.geo.AlertsNotifications_1.0.0/org.wso2.geo.AlertsNotifications-1.0.0.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "org.wso2.geo.AlertsNotifications", 3 | "version": "1.0.0", 4 | "nickName": "", 5 | "description": "Alerts which need to be notified to the user, output only when the alert information is changed.", 6 | "payloadData": [ 7 | { 8 | "name": "id", 9 | "type": "STRING" 10 | }, 11 | { 12 | "name": "state", 13 | "type": "STRING" 14 | }, 15 | { 16 | "name": "information", 17 | "type": "STRING" 18 | }, 19 | { 20 | "name": "timeStamp", 21 | "type": "LONG" 22 | }, 23 | { 24 | "name": "latitude", 25 | "type": "DOUBLE" 26 | }, 27 | { 28 | "name": "longitude", 29 | "type": "DOUBLE" 30 | } 31 | ] 32 | } -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/org.wso2.geo.FusedSpatialEvent_1.0.0/artifact.xml: -------------------------------------------------------------------------------- 1 | 18 | 19 | 20 | org.wso2.geo.FusedSpatialEvent-1.0.0.json 21 | 22 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/org.wso2.geo.FusedSpatialEvent_1.0.0/org.wso2.geo.FusedSpatialEvent-1.0.0.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "org.wso2.geo.FusedSpatialEvent", 3 | "version": "1.0.0", 4 | "nickName": "", 5 | "description": "", 6 | "payloadData": [ 7 | { 8 | "name": "id", 9 | "type": "STRING" 10 | }, 11 | { 12 | "name": "latitude", 13 | "type": "DOUBLE" 14 | }, 15 | { 16 | "name": "longitude", 17 | "type": "DOUBLE" 18 | }, 19 | { 20 | "name": "timeStamp", 21 | "type": "LONG" 22 | }, 23 | { 24 | "name": "type", 25 | "type": "STRING" 26 | }, 27 | { 28 | "name": "speed", 29 | "type": "FLOAT" 30 | }, 31 | { 32 | "name": "heading", 33 | "type": "FLOAT" 34 | }, 35 | { 36 | "name": "state", 37 | "type": "STRING" 38 | }, 39 | { 40 | "name": "information", 41 | "type": "STRING" 42 | }, 43 | { 44 | "name": "notify", 45 | "type": "BOOL" 46 | } 47 | ] 48 | } -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/org.wso2.geo.LocationStream_1.0.0/artifact.xml: -------------------------------------------------------------------------------- 1 | 18 | 19 | 20 | org.wso2.geo.LocationStream-1.0.0.json 21 | 22 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/org.wso2.geo.LocationStream_1.0.0/org.wso2.geo.LocationStream-1.0.0.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "org.wso2.geo.LocationStream", 3 | "version": "1.0.0", 4 | "nickName": "", 5 | "description": "", 6 | "payloadData": [ 7 | { 8 | "name": "id", 9 | "type": "STRING" 10 | }, 11 | { 12 | "name": "timeStamp", 13 | "type": "LONG" 14 | }, 15 | { 16 | "name": "latitude", 17 | "type": "DOUBLE" 18 | }, 19 | { 20 | "name": "longitude", 21 | "type": "DOUBLE" 22 | }, 23 | { 24 | "name": "type", 25 | "type": "STRING" 26 | }, 27 | { 28 | "name": "speed", 29 | "type": "FLOAT" 30 | }, 31 | { 32 | "name": "heading", 33 | "type": "FLOAT" 34 | } 35 | ] 36 | } -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/org.wso2.geo.ProcessedSpatialEvents_1.0.0/artifact.xml: -------------------------------------------------------------------------------- 1 | 18 | 19 | 20 | org.wso2.geo.ProcessedSpatialEvents-1.0.0.json 21 | 22 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/org.wso2.geo.ProcessedSpatialEvents_1.0.0/org.wso2.geo.ProcessedSpatialEvents-1.0.0.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "org.wso2.geo.ProcessedSpatialEvents", 3 | "version": "1.0.0", 4 | "nickName": "", 5 | "description": "", 6 | "payloadData": [ 7 | { 8 | "name": "id", 9 | "type": "STRING" 10 | }, 11 | { 12 | "name": "latitude", 13 | "type": "DOUBLE" 14 | }, 15 | { 16 | "name": "longitude", 17 | "type": "DOUBLE" 18 | }, 19 | { 20 | "name": "timeStamp", 21 | "type": "LONG" 22 | }, 23 | { 24 | "name": "type", 25 | "type": "STRING" 26 | }, 27 | { 28 | "name": "speed", 29 | "type": "FLOAT" 30 | }, 31 | { 32 | "name": "heading", 33 | "type": "FLOAT" 34 | }, 35 | { 36 | "name": "eventId", 37 | "type": "STRING" 38 | }, 39 | { 40 | "name": "state", 41 | "type": "STRING" 42 | }, 43 | { 44 | "name": "information", 45 | "type": "STRING" 46 | } 47 | ] 48 | } -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/org.wso2.geo.StandardSpatialEvents_1.0.0/artifact.xml: -------------------------------------------------------------------------------- 1 | 18 | 19 | 20 | org.wso2.geo.StandardSpatialEvents-1.0.0.json 21 | 22 | -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/capp/org.wso2.geo.StandardSpatialEvents_1.0.0/org.wso2.geo.StandardSpatialEvents-1.0.0.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "org.wso2.geo.StandardSpatialEvents", 3 | "version": "1.0.0", 4 | "nickName": "", 5 | "description": "Standardized event by spatial InputStandardizer execution plan", 6 | "payloadData": [ 7 | { 8 | "name": "id", 9 | "type": "STRING" 10 | }, 11 | { 12 | "name": "latitude", 13 | "type": "DOUBLE" 14 | }, 15 | { 16 | "name": "longitude", 17 | "type": "DOUBLE" 18 | }, 19 | { 20 | "name": "timeStamp", 21 | "type": "LONG" 22 | }, 23 | { 24 | "name": "type", 25 | "type": "STRING" 26 | }, 27 | { 28 | "name": "speed", 29 | "type": "FLOAT" 30 | }, 31 | { 32 | "name": "heading", 33 | "type": "FLOAT" 34 | }, 35 | { 36 | "name": "eventId", 37 | "type": "STRING" 38 | } 39 | ] 40 | } -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/resources/build.properties: -------------------------------------------------------------------------------- 1 | custom=true -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/resources/org_wso2_carbon_geo_dashboard-1.0.0.car: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wso2/carbon-event-processing/e9022151a342c18b834ddd69f0be782cf687602c/features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/resources/org_wso2_carbon_geo_dashboard-1.0.0.car -------------------------------------------------------------------------------- /features/geo-dashboard/org.wso2.carbon.geo.dashboard.feature/src/main/resources/p2.inf: -------------------------------------------------------------------------------- 1 | instructions.configure = \ 2 | org.eclipse.equinox.p2.touchpoint.natives.mkdir(path:${installFolder}/../../deployment/);\ 3 | org.eclipse.equinox.p2.touchpoint.natives.mkdir(path:${installFolder}/../../deployment/server/);\ 4 | org.eclipse.equinox.p2.touchpoint.natives.mkdir(path:${installFolder}/../../deployment/server/carbonapps/);\ 5 | org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.geo.dashboard_${feature.version}/org_wso2_carbon_geo_dashboard-1.0.0.car,target:${installFolder}/../../deployment/server/carbonapps/org_wso2_carbon_geo_dashboard-1.0.0.car,overwrite:true);\ 6 | org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.geo.dashboard_${feature.version}/geodashboard-datasources.xml,target:${installFolder}/../../conf/datasources/geodashboard-datasources.xml,overwrite:true);\ 7 | 8 | instructions.uninstall = \ 9 | org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../deployment/server/carbonapps/org_wso2_carbon_geo_dashboard-1.0.0.car,overwrite:true);\ 10 | org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../conf/geodashboard-datasources.xml);\ 11 | -------------------------------------------------------------------------------- /features/geo-dashboard/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 23 | carbon-event-processing 24 | org.wso2.carbon.event-processing 25 | 2.3.16-SNAPSHOT 26 | ../../pom.xml 27 | 28 | 29 | 4.0.0 30 | geo-dashboard-feature 31 | pom 32 | WSO2 Carbon - Geo Dashboard Feature 33 | http://maven.apache.org 34 | 35 | org.wso2.carbon.geo.dashboard.feature 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /features/siddhi-tryit/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 23 | carbon-event-processing 24 | org.wso2.carbon.event-processing 25 | 2.3.16-SNAPSHOT 26 | ../../pom.xml 27 | 28 | 29 | 4.0.0 30 | siddhi-tryit-feature 31 | pom 32 | WSO2 Carbon - Siddhi Tryit Feature 33 | http://maven.apache.org 34 | 35 | org.wso2.carbon.siddhi.tryit.feature 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /issue_template.md: -------------------------------------------------------------------------------- 1 | **Description:** 2 | 3 | 4 | **Suggested Labels:** 5 | 6 | 7 | **Suggested Assignees:** 8 | 9 | 10 | **Affected Product Version:** 11 | 12 | **OS, DB, other environment details and versions:** 13 | 14 | **Steps to reproduce:** 15 | 16 | 17 | **Related Issues:** 18 | --------------------------------------------------------------------------------