http://git-wip-us.apache.org/repos/asf/eagle/blob/6fd95d5c/eagle-core/eagle-alert-parent/eagle-alert/alert-coordinator/src/test/resources/validation/streamdefinitions.json ---------------------------------------------------------------------- diff --git a/eagle-core/eagle-alert-parent/eagle-alert/alert-coordinator/src/test/resources/validation/streamdefinitions.json b/eagle-core/eagle-alert-parent/eagle-alert/alert-coordinator/src/test/resources/validation/streamdefinitions.json deleted file mode 100644 index 7293755..0000000 --- a/eagle-core/eagle-alert-parent/eagle-alert/alert-coordinator/src/test/resources/validation/streamdefinitions.json +++ /dev/null @@ -1,2218 +0,0 @@ -[ - { - "streamId":"correlatedAlertStream", - "dataSource":"network_sherlock_alert_datasource", - "description":"The template correlated *OUTPUT* data stream schema for network correlation", - "validate":false, - "timeseries":false, - "columns":[ - { - "name":"docId", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"the docId for correlated alerts" - }, - { - "name":"firstOccurenceTime", - "type":"LONG", - "defaultValue":0, - "required":true, - "description":"firstOccurTime for correlated alert" - }, - { - "name":"endTime", - "type":"LONG", - "defaultValue":0, - "required":true, - "description":"the end time of correlated alert, 0 as default" - }, - { - "name":"alertKey", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"the alert key for correlated alert" - }, - { - "name":"parentKey", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"the parent key for correlated alert" - }, - { - "name":"state", - "type":"STRING", - "defaultValue":"closed", - "required":true, - "description":"the alert state" - }, - { - "name":"name", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"namespace", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"timestamp", - "type":"LONG", - "defaultValue":0, - "required":true, - "description":"" - }, - { - "name":"severity", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"severity for correlated alert" - }, - { - "name":"alertSource", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"streamName", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"entity", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"entityType", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"ip", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"pod", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"bubble", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"dc", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"component", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"componentType", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"status", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"alertSource", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"cause", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"message", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"linkedPort", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"linkedSwitch", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - } - ] - }, - { - "streamId":"deviceDownAlertStream", - "dataSource":"correlatedSource", - "description":"Stream definition for symptomatic parent alerts", - "validate":false, - "timeseries":false, - "columns":[ - { - "name":"docId", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"the docId for correlated alerts" - }, - { - "name":"parentKey", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"the parent key for correlated alert" - }, - { - "name":"state", - "type":"STRING", - "defaultValue":"closed", - "required":true, - "description":"the alert state" - }, - { - "name":"name", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"namespace", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"timestamp", - "type":"LONG", - "defaultValue":0, - "required":true, - "description":"" - }, - { - "name":"severity", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"severity for correlated alert" - }, - { - "name":"streamName", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"entity", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"pod", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"bubble", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"dc", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"cause", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"message", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - } - ] - }, - { - "streamId":"syslogEventStream", - "dataSource":"network_syslog_event_datasource", - "description":"the data stream for syslog events", - "validate":false, - "timeseries":false, - "columns":[ - { - "name":"timestamp", - "type":"LONG", - "defaultValue":0, - "required":true, - "description":"" - }, - { - "name":"name", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"namespace", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"dims_hostname", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"dims_appname", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"msg", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"procid", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"msgid", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"facility_code", - "type":"LONG", - "defaultValue":0, - "required":true, - "description":"" - }, - { - "name":"severity_code", - "type":"LONG", - "defaultValue":0, - "required":true, - "description":"" - }, - { - "name":"severity_name", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"pod", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"ip", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"bubble", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"entityType", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"productionLevel", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"state", - "type":"STRING", - "defaultValue":"closed", - "required":true, - "description":"" - }, - { - "name":"entity", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"status", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"dc", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"dedupCount", - "type":"LONG", - "defaultValue":0, - "required":false - }, - { - "name":"dedupFirstOccurrenceTime", - "type":"LONG", - "defaultValue":0, - "required":false - }, - { - "name":"alertKey", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"parentKey", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"alertSource", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"docId", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"the docId for aggregated alerts" - }, - { - "name":"component", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"componentType", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"linkedPort", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"linkedSwitch", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"localPort", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"cause", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"message", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - } - ] - }, - { - "streamId":"ncAlertStream", - "dataSource":"network_NC_alert_datasource", - "description":"the nerve center alert stream", - "validate":false, - "timeseries":false, - "columns":[ - { - "name":"timestamp", - "type":"LONG", - "defaultValue":0, - "required":true, - "description":"" - }, - { - "name":"name", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"namespace", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"alertKey", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"parentKey", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"dims_component", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"dims_pod", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"dims_bubble", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"dims_entity", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"dims_dc", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"severity", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"componentType", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"entityType", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"source", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"message", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"key", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"linkedSwitch", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"localPort", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"pod", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"alertSource", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"ip", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"component", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"linkedPort", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"bubble", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"state", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"entity", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"status", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"dc", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"dedupCount", - "type":"LONG", - "defaultValue":0, - "required":false - }, - { - "name":"dedupFirstOccurrenceTime", - "type":"LONG", - "defaultValue":0, - "required":false - }, - { - "name":"docId", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"the docId for aggregated alerts" - }, - { - "name":"monitor", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"cause", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - } - ] - }, - { - "streamId":"sherlockAlertStream", - "dataSource":"network_sherlock_alert_datasource", - "description":"the sherlock alert stream", - "validate":false, - "timeseries":false, - "columns":[ - { - "name":"docId", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"the docId for aggregated alerts" - }, - { - "name":"timestamp", - "type":"LONG", - "defaultValue":0, - "required":true, - "description":"" - }, - { - "name":"name", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"namespace", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"alertKey", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"parentKey", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"dims_device", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"dims_ifAlias", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"dims_bubble", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"dims_pod", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"dims_dc", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"source", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"currState", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"msg", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"prevState", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"type", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"kind", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"switchtype", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"debouncer_type", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"debouncer_value", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"current_value", - "type":"DOUBLE", - "defaultValue":0, - "required":true, - "description":"" - }, - { - "name":"current_execursion", - "type":"DOUBLE", - "defaultValue":0, - "required":true, - "description":"" - }, - { - "name":"threshold_execursion", - "type":"DOUBLE", - "defaultValue":0, - "required":true, - "description":"" - }, - { - "name":"operation", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"severity", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"componentType", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"linkedSwitch", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"localPort", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"pod", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"alertSource", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"entityType", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"ip", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"component", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"linkedPort", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"bubble", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"state", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"entity", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"status", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"dc", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"dedupCount", - "type":"LONG", - "defaultValue":0, - "required":false - }, - { - "name":"dedupFirstOccurrenceTime", - "type":"LONG", - "defaultValue":0, - "required":false - }, - { - "name":"cause", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"message", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - } - ] - }, - { - "streamId":"syslogAlertOutputStream", - "dataSource":"network_aggregate_alert_output_datasource", - "description":"the data stream for syslog events to loopback", - "validate":false, - "timeseries":false, - "columns":[ - { - "name":"timestamp", - "type":"LONG", - "defaultValue":0, - "required":true, - "description":"" - }, - { - "name":"name", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"namespace", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"hostname", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"appname", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"msg", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"procid", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"msgid", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"facility_code", - "type":"LONG", - "defaultValue":0, - "required":true, - "description":"" - }, - { - "name":"facility_name", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"severity_code", - "type":"LONG", - "defaultValue":0, - "required":true, - "description":"" - }, - { - "name":"severity", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"pod", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"ip", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"bubble", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"entityType", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"productionLevel", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"state", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"entity", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"status", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"dc", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"dedupCount", - "type":"LONG", - "defaultValue":0, - "required":false - }, - { - "name":"dedupFirstOccurrenceTime", - "type":"LONG", - "defaultValue":0, - "required":false - }, - { - "name":"alertKey", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"parentKey", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"alertSource", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"docId", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"the docId for aggregated alerts" - }, - { - "name":"policyId", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"streamId", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"streamName", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"cause", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"component", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"componentType", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"linkedPort", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"linkedSwitch", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"localPort", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"cause", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"message", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - } - ] - }, - { - "streamId":"ncAlertOutputStream", - "dataSource":"network_aggregate_alert_output_datasource", - "description":"the nerve center alert stream to loopback", - "validate":false, - "timeseries":false, - "columns":[ - { - "name":"timestamp", - "type":"LONG", - "defaultValue":0, - "required":true, - "description":"" - }, - { - "name":"name", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"namespace", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"alertKey", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"parentKey", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"severity", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"componentType", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"entityType", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"source", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"message", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"key", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"linkedSwitch", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"localPort", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"pod", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"alertSource", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"ip", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"component", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"linkedPort", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"bubble", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"state", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"entity", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"status", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"dc", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"dedupCount", - "type":"LONG", - "defaultValue":0, - "required":false - }, - { - "name":"dedupFirstOccurrenceTime", - "type":"LONG", - "defaultValue":0, - "required":false - }, - { - "name":"docId", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"the docId for aggregated alerts" - }, - { - "name":"policyId", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"streamId", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"streamName", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"monitor", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"cause", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - } - ] - }, - { - "streamId":"sherlockAlertOutputStream", - "dataSource":"network_aggregate_alert_output_datasource", - "description":"the sherlock alert stream to loopback", - "validate":false, - "timeseries":false, - "columns":[ - { - "name":"docId", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"the docId for aggregated alerts" - }, - { - "name":"timestamp", - "type":"LONG", - "defaultValue":0, - "required":true, - "description":"" - }, - { - "name":"name", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"namespace", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"alertKey", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"parentKey", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"device", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"ifAlias", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"source", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"currState", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"msg", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"prevState", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"type", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"kind", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"switchtype", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"debouncer_type", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"debouncer_value", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"current_value", - "type":"DOUBLE", - "defaultValue":0, - "required":true, - "description":"" - }, - { - "name":"current_execursion", - "type":"DOUBLE", - "defaultValue":0, - "required":true, - "description":"" - }, - { - "name":"threshold_execursion", - "type":"DOUBLE", - "defaultValue":0, - "required":true, - "description":"" - }, - { - "name":"operation", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"severity", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"componentType", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"linkedSwitch", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"localPort", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"pod", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"alertSource", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"entityType", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"ip", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"component", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"linkedPort", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"bubble", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"state", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"entity", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"status", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"dc", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"dedupCount", - "type":"LONG", - "defaultValue":0, - "required":false - }, - { - "name":"dedupFirstOccurrenceTime", - "type":"LONG", - "defaultValue":0, - "required":false - }, - { - "name":"policyId", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"streamId", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"streamName", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"cause", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"message", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - } - ] - }, - { - "streamId":"aggregatedAlertStream", - "dataSource":"network_aggregate_alert_output_datasource", - "description":"The template aggregated *OUTPUT* data stream schema for network aggregation", - "validate":false, - "timeseries":false, - "columns":[ - { - "name":"docId", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"the docId for aggregated alerts" - }, - { - "name":"firstOccurenceTime", - "type":"LONG", - "defaultValue":0, - "required":true, - "description":"firstOccurTime for aggregated alert" - }, - { - "name":"endTime", - "type":"LONG", - "defaultValue":0, - "required":true, - "description":"the end time of aggregated alert, 0 as default" - }, - { - "name":"alertKey", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"the alert key for aggregated alert" - }, - { - "name":"parentKey", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"the parent key for aggregated alert" - }, - { - "name":"state", - "type":"STRING", - "defaultValue":"closed", - "required":true, - "description":"the alert state" - }, - { - "name":"name", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"namespace", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"timestamp", - "type":"LONG", - "defaultValue":0, - "required":true, - "description":"" - }, - { - "name":"severity", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"severity for aggregated alert" - }, - { - "name":"alertSource", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"streamName", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"entity", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"entityType", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"ip", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"pod", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"bubble", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"dc", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"component", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"componentType", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"status", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"alertSource", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"cause", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"message", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"linkedPort", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"linkedSwitch", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - } - ] - }, - { - "streamId":"symptomaticAlertOutputStream", - "dataSource":"correlatedSource", - "description":"Stream definition for symptomatic child alerts", - "validate":false, - "timeseries":false, - "columns":[ - { - "name":"docId", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"the docId for correlated alerts" - }, - { - "name":"firstOccurenceTime", - "type":"LONG", - "defaultValue":0, - "required":true, - "description":"firstOccurTime for correlated alert" - }, - { - "name":"endTime", - "type":"LONG", - "defaultValue":0, - "required":true, - "description":"the end time of correlated alert, 0 as default" - }, - { - "name":"alertKey", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"the alert key for correlated alert" - }, - { - "name":"parentKey", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"the parent key for correlated alert" - }, - { - "name":"state", - "type":"STRING", - "defaultValue":"closed", - "required":true, - "description":"the alert state" - }, - { - "name":"name", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"namespace", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"timestamp", - "type":"LONG", - "defaultValue":0, - "required":true, - "description":"" - }, - { - "name":"severity", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"severity for correlated alert" - }, - { - "name":"alertSource", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"streamName", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"entity", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"entityType", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"ip", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"pod", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"bubble", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"dc", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"component", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"componentType", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"status", - "type":"STRING", - "defaultValue":"", - "required":false - }, - { - "name":"cause", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"message", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"linkedPort", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - }, - { - "name":"linkedSwitch", - "type":"STRING", - "defaultValue":"", - "required":true, - "description":"" - } - ] - } -] \ No newline at end of file
http://git-wip-us.apache.org/repos/asf/eagle/blob/6fd95d5c/eagle-core/eagle-alert-parent/eagle-alert/alert-coordinator/src/test/resources/validation/topologies.json ---------------------------------------------------------------------- diff --git a/eagle-core/eagle-alert-parent/eagle-alert/alert-coordinator/src/test/resources/validation/topologies.json b/eagle-core/eagle-alert-parent/eagle-alert/alert-coordinator/src/test/resources/validation/topologies.json deleted file mode 100644 index bf2e1d3..0000000 --- a/eagle-core/eagle-alert-parent/eagle-alert/alert-coordinator/src/test/resources/validation/topologies.json +++ /dev/null @@ -1,42 +0,0 @@ -[ - { - "name":"alertUnitTopology_1", - "numOfSpout":1, - "numOfAlertBolt":20, - "numOfGroupBolt":4, - "numOfPublishBolt":1, - "spoutId":"alertEngineSpout", - "pubBoltId":"alertPublishBolt", - "groupNodeIds":[ - "streamRouterBolt0", - "streamRouterBolt1", - "streamRouterBolt2", - "streamRouterBolt3" - ], - "alertBoltIds":[ - "alertBolt0", - "alertBolt9", - "alertBolt18", - "alertBolt19", - "alertBolt1", - "alertBolt12", - "alertBolt2", - "alertBolt13", - "alertBolt3", - "alertBolt10", - "alertBolt4", - "alertBolt11", - "alertBolt5", - "alertBolt16", - "alertBolt6", - "alertBolt17", - "alertBolt7", - "alertBolt14", - "alertBolt8", - "alertBolt15" - ], - "spoutParallelism":1, - "groupParallelism":1, - "alertParallelism":1 - } -] \ No newline at end of file http://git-wip-us.apache.org/repos/asf/eagle/blob/6fd95d5c/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/.gitignore ---------------------------------------------------------------------- diff --git a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/.gitignore b/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/.gitignore deleted file mode 100644 index 415b892..0000000 --- a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -logs/ -target/ -/target/ http://git-wip-us.apache.org/repos/asf/eagle/blob/6fd95d5c/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/kafka-console-consumer.sh ---------------------------------------------------------------------- diff --git a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/kafka-console-consumer.sh b/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/kafka-console-consumer.sh deleted file mode 100755 index 21f669d..0000000 --- a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/kafka-console-consumer.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -exec $(dirname $0)/run-class.sh kafka.tools.ConsoleConsumer "$@" - http://git-wip-us.apache.org/repos/asf/eagle/blob/6fd95d5c/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/kafka-producer.sh ---------------------------------------------------------------------- diff --git a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/kafka-producer.sh b/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/kafka-producer.sh deleted file mode 100755 index 59068de..0000000 --- a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/kafka-producer.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -if [ "x$EAGLE_HEAP_OPTS" = "x" ]; then - export EAGLE_HEAP_OPTS="-Xmx512M" -fi - -exec $(dirname $0)/run-class.sh org.apache.eagle.contrib.kafka.ProducerTool "$@" \ No newline at end of file http://git-wip-us.apache.org/repos/asf/eagle/blob/6fd95d5c/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/kafka-server-start.sh ---------------------------------------------------------------------- diff --git a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/kafka-server-start.sh b/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/kafka-server-start.sh deleted file mode 100755 index a5c0ed0..0000000 --- a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/kafka-server-start.sh +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/bash -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -if [ $# -lt 1 ]; -then - echo "USAGE: $0 [-daemon] conf/kafka-server.properties [--override property=value]*" - exit 1 -fi - -base_dir=$(dirname $0) - -if [ "x$LOG4J_OPTS" = "x" ]; then - export KAFKA_LOG4J_OPTS="-Dlog4j.configuration=file:$base_dir/../conf/log4j.properties" -fi - -if [ "x$HEAP_OPTS" = "x" ]; then - export EAGLE_HEAP_OPTS="-Xmx1G -Xms1G" -fi - -EXTRA_ARGS="-name kafkaServer -loggc" - -COMMAND=$1 -case $COMMAND in - -daemon) - EXTRA_ARGS="-daemon "$EXTRA_ARGS - shift - ;; - *) - ;; -esac - -$base_dir/kafka-server-status.sh 1>/dev/null 2>&1 -if [ "$?" == "" ];then - echo "Kafka is still running, please stop firstly before starting" - exit 0 -else - exec $base_dir/run-class.sh $EXTRA_ARGS kafka.Kafka "$@" -fi \ No newline at end of file http://git-wip-us.apache.org/repos/asf/eagle/blob/6fd95d5c/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/kafka-server-status.sh ---------------------------------------------------------------------- diff --git a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/kafka-server-status.sh b/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/kafka-server-status.sh deleted file mode 100755 index c794425..0000000 --- a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/kafka-server-status.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -PIDS=$(ps ax | grep -i 'kafka\.Kafka' | grep java | grep -v grep | awk '{print $1}') - -if [ -z "$PIDS" ]; then - echo "No kafka server is running" - exit 1 -else - echo "Kafka server is running at $PIDS" - exit 0 -fi \ No newline at end of file http://git-wip-us.apache.org/repos/asf/eagle/blob/6fd95d5c/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/kafka-server-stop.sh ---------------------------------------------------------------------- diff --git a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/kafka-server-stop.sh b/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/kafka-server-stop.sh deleted file mode 100755 index 9de6d76..0000000 --- a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/kafka-server-stop.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -PIDS=$(ps ax | grep -i 'kafka\.Kafka' | grep java | grep -v grep | awk '{print $1}') - -if [ -z "$PIDS" ]; then - echo "No kafka server to stop" - exit 1 -else - kill -s TERM $PIDS -fi \ No newline at end of file http://git-wip-us.apache.org/repos/asf/eagle/blob/6fd95d5c/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/kafka-topics.sh ---------------------------------------------------------------------- diff --git a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/kafka-topics.sh b/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/kafka-topics.sh deleted file mode 100755 index 6f40511..0000000 --- a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/kafka-topics.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -exec $(dirname $0)/run-class.sh kafka.admin.TopicCommand "$@" \ No newline at end of file http://git-wip-us.apache.org/repos/asf/eagle/blob/6fd95d5c/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/run-class.sh ---------------------------------------------------------------------- diff --git a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/run-class.sh b/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/run-class.sh deleted file mode 100755 index 8886bae..0000000 --- a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/run-class.sh +++ /dev/null @@ -1,112 +0,0 @@ -#!/bin/bash - -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -if [ $# -lt 1 ]; -then - echo "USAGE: $0 [-daemon] [-name servicename] [-loggc] classname [opts]" - exit 1 -fi - -project_base=$(dirname $0)/.. - -for file in $project_base/target/lib/*;do - export CLASSPATH=$file:$CLASSPATH -done -for file in $project_base/target/*.jar;do - export CLASSPATH=$file:$CLASSPATH -done - -if [ -z "JMX_OPTS" ]; then - export JMX_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false " -fi - -# Log directory to use -if [ "x$LOG_DIR" = "x" ]; then - LOG_DIR="$project_base/logs" -fi - -# create logs directory -if [ ! -d "$LOG_DIR" ]; then - mkdir -p "$LOG_DIR" -fi - -# Log4j settings -if [ -z "$LOG4J_OPTS" ]; then - # Log to console. This is a tool. - LOG4J_OPTS="-Dlog4j.configuration=file:$project_base/conf/cli-log4j.properties" -else - # create logs directory - if [ ! -d "$LOG_DIR" ]; then - mkdir -p "$LOG_DIR" - fi -fi - -# Which java to use -if [ -z "$JAVA_HOME" ]; then - JAVA="java" -else - JAVA="$JAVA_HOME/bin/java" -fi - -# Memory options -if [ -z "$HEAP_OPTS" ]; then - HEAP_OPTS="-Xmx256M" -fi - -# JVM performance options -if [ -z "$JVM_PERFORMANCE_OPTS" ]; then - JVM_PERFORMANCE_OPTS="-server -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+DisableExplicitGC -Djava.awt.headless=true" -fi - -while [ $# -gt 0 ]; do - COMMAND=$1 - case $COMMAND in - -name) - DAEMON_NAME=$2 - CONSOLE_OUTPUT_FILE=$LOG_DIR/$DAEMON_NAME.out - shift 2 - ;; - -loggc) - if [ -z "$GC_LOG_OPTS" ]; then - GC_LOG_ENABLED="true" - fi - shift - ;; - -daemon) - DAEMON_MODE="true" - shift - ;; - *) - break - ;; - esac -done - -# GC options -GC_FILE_SUFFIX='-gc.log' -GC_LOG_FILE_NAME='' -if [ "x$GC_LOG_ENABLED" = "xtrue" ]; then - GC_LOG_FILE_NAME=$DAEMON_NAME$GC_FILE_SUFFIX - GC_LOG_OPTS="-Xloggc:$LOG_DIR/$GC_LOG_FILE_NAME -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps " -fi - -# Launch mode -if [ "x$DAEMON_MODE" = "xtrue" ]; then - nohup $JAVA $HEAP_OPTS $JVM_PERFORMANCE_OPTS $GC_LOG_OPTS $EAGLE_JMX_OPTS $LOG4J_OPTS -cp $CLASSPATH $EAGLE_OPTS "$@" > "$CONSOLE_OUTPUT_FILE" 2>&1 < /dev/null & -else - exec $JAVA $HEAP_OPTS $JVM_PERFORMANCE_OPTS $GC_LOG_OPTS $EAGLE_JMX_OPTS $LOG4J_OPTS -cp $CLASSPATH $EAGLE_OPTS "$@" -fi \ No newline at end of file http://git-wip-us.apache.org/repos/asf/eagle/blob/6fd95d5c/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-coordinator.sh ---------------------------------------------------------------------- diff --git a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-coordinator.sh b/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-coordinator.sh deleted file mode 100755 index 1f5bea0..0000000 --- a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-coordinator.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -cd $(dirname $0)/../../alert-coordinator - -mvn jetty:run http://git-wip-us.apache.org/repos/asf/eagle/blob/6fd95d5c/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-integration1.sh ---------------------------------------------------------------------- diff --git a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-integration1.sh b/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-integration1.sh deleted file mode 100755 index c1ce025..0000000 --- a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-integration1.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -echo $(dirname $0) - -#start topology -echo "starting topology..." -cd $(dirname $0)/../../alert-engine/ - - -echo " as dev tests, tail -f test.log | grep AlertStreamEvent for alert stream....." - -mvn test -Dtest=org.apache.eagle.alert.engine.e2e.Integration1 | tee test.log - -# tail log output -# tail -f test.log | grep AlertStreamEvent - http://git-wip-us.apache.org/repos/asf/eagle/blob/6fd95d5c/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-integration2.sh ---------------------------------------------------------------------- diff --git a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-integration2.sh b/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-integration2.sh deleted file mode 100755 index f70446c..0000000 --- a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-integration2.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -echo $(dirname $0) - -export MAVEN_OPTS=-Xms256M -Xmx1024M - -#start topology -echo "starting topology..." -cd $(dirname $0)/../../alert-engine/ - - -echo " as dev tests, tail -f test.log | grep AlertStreamEvent for alert stream....." - - -mvn test -Dtest=org.apache.eagle.alert.engine.e2e.Integration2 | tee test.log - -# tail log output -# tail -f test.log | grep AlertStreamEvent - http://git-wip-us.apache.org/repos/asf/eagle/blob/6fd95d5c/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-metadata.sh ---------------------------------------------------------------------- diff --git a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-metadata.sh b/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-metadata.sh deleted file mode 100755 index 1732c04..0000000 --- a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-metadata.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -cd $(dirname $0)/../../alert-metadata-parent/alert-metadata-service - -mvn jetty:run http://git-wip-us.apache.org/repos/asf/eagle/blob/6fd95d5c/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-sampleclient1.sh ---------------------------------------------------------------------- diff --git a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-sampleclient1.sh b/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-sampleclient1.sh deleted file mode 100755 index df60739..0000000 --- a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-sampleclient1.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -cd $(dirname $0)/../../alert-assembly/ - -java -cp ${MAVEN_REPO}/org/apache/storm/storm-core/0.9.3/storm-core-0.9.3.jar:target/alert-engine-0.0.1-SNAPSHOT-alert-assembly.jar org.apache.eagle.alert.engine.e2e.SampleClient1 - http://git-wip-us.apache.org/repos/asf/eagle/blob/6fd95d5c/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-sampleclient2.sh ---------------------------------------------------------------------- diff --git a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-sampleclient2.sh b/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-sampleclient2.sh deleted file mode 100755 index 4b96d5d..0000000 --- a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-sampleclient2.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -cd $(dirname $0)/../../alert-assembly/ - -java -cp ${MAVEN_REPO}/org/apache/storm/storm-core/0.9.3/storm-core-0.9.3.jar:target/alert-engine-0.0.1-SNAPSHOT-alert-assembly.jar org.apache.eagle.alert.engine.e2e.SampleClient2 - http://git-wip-us.apache.org/repos/asf/eagle/blob/6fd95d5c/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-zk-kafka.sh ---------------------------------------------------------------------- diff --git a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-zk-kafka.sh b/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-zk-kafka.sh deleted file mode 100755 index c58de65..0000000 --- a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/start-zk-kafka.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env bash - -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -cd $(dirname $0)/.. - -echo "Starting zookeeper" -bin/zookeeper-server-start.sh -daemon conf/zookeeper-server.properties -sleep 1 -bin/zookeeper-server-status.sh - -echo "Starting kafka" -bin/kafka-server-start.sh -daemon conf/kafka-server.properties -sleep 1 -bin/kafka-server-status.sh \ No newline at end of file http://git-wip-us.apache.org/repos/asf/eagle/blob/6fd95d5c/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/stop-zk-kafka.sh ---------------------------------------------------------------------- diff --git a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/stop-zk-kafka.sh b/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/stop-zk-kafka.sh deleted file mode 100755 index dc8a898..0000000 --- a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/stop-zk-kafka.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env bash - -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -cd $(dirname $0)/.. - -echo "Stopping zookeeper" -bin/zookeeper-server-stop.sh -daemon conf/zookeeper-server.properties -sleep 1 -bin/zookeeper-server-status.sh - -echo "Stopping kafka" -bin/kafka-server-stop.sh -daemon conf/kafka-server.properties -sleep 1 -bin/kafka-server-status.sh \ No newline at end of file http://git-wip-us.apache.org/repos/asf/eagle/blob/6fd95d5c/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/zookeeper-server-start.sh ---------------------------------------------------------------------- diff --git a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/zookeeper-server-start.sh b/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/zookeeper-server-start.sh deleted file mode 100755 index a68c271..0000000 --- a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/zookeeper-server-start.sh +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/bash -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -if [ $# -lt 1 ]; -then - echo "USAGE: $0 [-daemon] conf/zookeeper-server.properties" - exit 1 -fi -base_dir=$(dirname $0) - -if [ "x$LOG4J_OPTS" = "x" ]; then - export LOG4J_OPTS="-Dlog4j.configuration=file:$base_dir/../conf/log4j.properties" -fi - -if [ "x$EAGLE_HEAP_OPTS" = "x" ]; then - export EAGLE_HEAP_OPTS="-Xmx512M -Xms512M" -fi - -EXTRA_ARGS="-name zookeeper -loggc" - -COMMAND=$1 -case $COMMAND in - -daemon) - EXTRA_ARGS="-daemon "$EXTRA_ARGS - shift - ;; - *) - ;; -esac - -$base_dir/zookeeper-server-status.sh 1>/dev/null 2>&1 -if [ "$?" == "" ];then - echo "Zookeeper is still running, please stop firstly before starting" - exit 0 -else - exec $base_dir/run-class.sh $EXTRA_ARGS org.apache.zookeeper.server.quorum.QuorumPeerMain "$@" -fi \ No newline at end of file http://git-wip-us.apache.org/repos/asf/eagle/blob/6fd95d5c/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/zookeeper-server-status.sh ---------------------------------------------------------------------- diff --git a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/zookeeper-server-status.sh b/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/zookeeper-server-status.sh deleted file mode 100755 index 223a310..0000000 --- a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/zookeeper-server-status.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -PIDS=$(ps ax | grep java | grep -i QuorumPeerMain | grep -v grep | awk '{print $1}') - -if [ -z "$PIDS" ]; then - echo "No zookeeper server is running" - exit 1 -else - echo "Zookeeper server is running at $PIDS" - exit 0 -fi \ No newline at end of file http://git-wip-us.apache.org/repos/asf/eagle/blob/6fd95d5c/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/zookeeper-server-stop.sh ---------------------------------------------------------------------- diff --git a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/zookeeper-server-stop.sh b/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/zookeeper-server-stop.sh deleted file mode 100755 index 4155182..0000000 --- a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/bin/zookeeper-server-stop.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh - -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -PIDS=$(ps ax | grep java | grep -i QuorumPeerMain | grep -v grep | awk '{print $1}') - -if [ -z "$PIDS" ]; then - echo "No zookeeper server to stop" - exit 1 -else - kill -s TERM $PIDS -fi \ No newline at end of file http://git-wip-us.apache.org/repos/asf/eagle/blob/6fd95d5c/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/conf/cli-log4j.properties ---------------------------------------------------------------------- diff --git a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/conf/cli-log4j.properties b/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/conf/cli-log4j.properties deleted file mode 100644 index 9c6875d..0000000 --- a/eagle-core/eagle-alert-parent/eagle-alert/alert-devtools/conf/cli-log4j.properties +++ /dev/null @@ -1,19 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -log4j.rootLogger=INFO, stdout -# standard output -log4j.appender.stdout=org.apache.log4j.ConsoleAppender -log4j.appender.stdout.layout=org.apache.log4j.PatternLayout -log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %p [%t] %c{2}[%L]: %m%n \ No newline at end of file
