You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spot.apache.org by na...@apache.org on 2017/03/07 18:10:46 UTC
[2/4] incubator-spot git commit: Add ASF license header to all source;
restore MIT license to one included JS file; remove redundant LICENSE files;
add basic NOTICE
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/flow/js/storyboard.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/flow/js/storyboard.js b/spot-oa/ui/flow/js/storyboard.js
index 7103941..6970553 100755
--- a/spot-oa/ui/flow/js/storyboard.js
+++ b/spot-oa/ui/flow/js/storyboard.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
const React = require('react');
const ReactDOM = require('react-dom');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/flow/js/suspicious.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/flow/js/suspicious.js b/spot-oa/ui/flow/js/suspicious.js
index 316ee94..cb6b0fa 100755
--- a/spot-oa/ui/flow/js/suspicious.js
+++ b/spot-oa/ui/flow/js/suspicious.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
const React = require('react');
const ReactDOM = require('react-dom');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/flow/js/threat-investigation.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/flow/js/threat-investigation.js b/spot-oa/ui/flow/js/threat-investigation.js
index 98b96ea..7bdfe20 100755
--- a/spot-oa/ui/flow/js/threat-investigation.js
+++ b/spot-oa/ui/flow/js/threat-investigation.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
const React = require('react');
const ReactDOM = require('react-dom');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/flow/storyboard.html
----------------------------------------------------------------------
diff --git a/spot-oa/ui/flow/storyboard.html b/spot-oa/ui/flow/storyboard.html
index f0dccb7..0ebf859 100755
--- a/spot-oa/ui/flow/storyboard.html
+++ b/spot-oa/ui/flow/storyboard.html
@@ -1,4 +1,21 @@
<!DOCTYPE html>
+<!--
+ ~ 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.
+ -->
+
<html>
<head>
<title>NetFlow :: Storyboard</title>
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/flow/suspicious.html
----------------------------------------------------------------------
diff --git a/spot-oa/ui/flow/suspicious.html b/spot-oa/ui/flow/suspicious.html
index d755474..f475f4b 100755
--- a/spot-oa/ui/flow/suspicious.html
+++ b/spot-oa/ui/flow/suspicious.html
@@ -1,4 +1,21 @@
<!DOCTYPE html>
+<!--
+ ~ 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.
+ -->
+
<html>
<head>
<title>Netflow :: Suspicious</title>
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/flow/threat-investigation.html
----------------------------------------------------------------------
diff --git a/spot-oa/ui/flow/threat-investigation.html b/spot-oa/ui/flow/threat-investigation.html
index b5bb053..97d70f3 100755
--- a/spot-oa/ui/flow/threat-investigation.html
+++ b/spot-oa/ui/flow/threat-investigation.html
@@ -1,4 +1,21 @@
<!DOCTYPE html>
+<!--
+ ~ 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.
+ -->
+
<html>
<head>
<title>Netflow :: Threat Investigation</title>
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/ingest-summary.html
----------------------------------------------------------------------
diff --git a/spot-oa/ui/ingest-summary.html b/spot-oa/ui/ingest-summary.html
index 0bfc189..bbc9877 100755
--- a/spot-oa/ui/ingest-summary.html
+++ b/spot-oa/ui/ingest-summary.html
@@ -1,4 +1,21 @@
<!DOCTYPE html>
+<!--
+ ~ 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.
+ -->
+
<html>
<head>
<title>Ingest Summary</title>
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/ipython/custom/custom.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/ipython/custom/custom.js b/spot-oa/ui/ipython/custom/custom.js
index ad09824..2496d59 100755
--- a/spot-oa/ui/ipython/custom/custom.js
+++ b/spot-oa/ui/ipython/custom/custom.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
/**
* Trigger reload event on parent document
*/
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/actions/EdInActions.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/actions/EdInActions.js b/spot-oa/ui/js/actions/EdInActions.js
index e1a7075..4e9d4e8 100755
--- a/spot-oa/ui/js/actions/EdInActions.js
+++ b/spot-oa/ui/js/actions/EdInActions.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
var SpotDispatcher = require('../dispatchers/SpotDispatcher');
var SpotActions = require('./SpotActions');
var SpotConstants = require('../constants/SpotConstants');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/actions/InSumActions.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/actions/InSumActions.js b/spot-oa/ui/js/actions/InSumActions.js
index ea15715..ea5cbe0 100755
--- a/spot-oa/ui/js/actions/InSumActions.js
+++ b/spot-oa/ui/js/actions/InSumActions.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
const SpotDispatcher = require('../dispatchers/SpotDispatcher');
const SpotConstants = require('../constants/SpotConstants');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/actions/SpotActions.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/actions/SpotActions.js b/spot-oa/ui/js/actions/SpotActions.js
index a8f7a1f..a70f2a9 100755
--- a/spot-oa/ui/js/actions/SpotActions.js
+++ b/spot-oa/ui/js/actions/SpotActions.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
var $ = require('jquery');
var SpotDispatcher = require('../dispatchers/SpotDispatcher');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/actions/StoryboardActions.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/actions/StoryboardActions.js b/spot-oa/ui/js/actions/StoryboardActions.js
index c5a7181..bf60b7c 100755
--- a/spot-oa/ui/js/actions/StoryboardActions.js
+++ b/spot-oa/ui/js/actions/StoryboardActions.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
var SpotDispatcher = require('../dispatchers/SpotDispatcher');
var SpotConstants = require('../constants/SpotConstants');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/actions/__tests__/EdInActions.test.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/actions/__tests__/EdInActions.test.js b/spot-oa/ui/js/actions/__tests__/EdInActions.test.js
index 68775c8..0732997 100644
--- a/spot-oa/ui/js/actions/__tests__/EdInActions.test.js
+++ b/spot-oa/ui/js/actions/__tests__/EdInActions.test.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
jest.mock('../../dispatchers/SpotDispatcher');
jest.mock('../SpotActions');
jest.mock('../../utils/SpotUtils');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/actions/__tests__/SpotActions.test.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/actions/__tests__/SpotActions.test.js b/spot-oa/ui/js/actions/__tests__/SpotActions.test.js
index 296261c..ebaf30c 100644
--- a/spot-oa/ui/js/actions/__tests__/SpotActions.test.js
+++ b/spot-oa/ui/js/actions/__tests__/SpotActions.test.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
jest.mock('../../dispatchers/SpotDispatcher');
jest.mock('../../utils/SpotUtils');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/actions/__tests__/StoryboardActions.test.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/actions/__tests__/StoryboardActions.test.js b/spot-oa/ui/js/actions/__tests__/StoryboardActions.test.js
index 7162e96..377e6fd 100644
--- a/spot-oa/ui/js/actions/__tests__/StoryboardActions.test.js
+++ b/spot-oa/ui/js/actions/__tests__/StoryboardActions.test.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
jest.mock('../../dispatchers/SpotDispatcher');
const SpotConstants = require('../../constants/SpotConstants');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/components/ChartMixin.react.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/components/ChartMixin.react.js b/spot-oa/ui/js/components/ChartMixin.react.js
index af3e537..210c3c9 100755
--- a/spot-oa/ui/js/components/ChartMixin.react.js
+++ b/spot-oa/ui/js/components/ChartMixin.react.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
const React = require('react');
const $ = require('jquery');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/components/ContentLoaderMixin.react.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/components/ContentLoaderMixin.react.js b/spot-oa/ui/js/components/ContentLoaderMixin.react.js
index 2fde98b..ba1b98e 100755
--- a/spot-oa/ui/js/components/ContentLoaderMixin.react.js
+++ b/spot-oa/ui/js/components/ContentLoaderMixin.react.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
var React = require('react');
var ContentLoaderMixin = {
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/components/DateInput.react.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/components/DateInput.react.js b/spot-oa/ui/js/components/DateInput.react.js
index fbdf415..72f89b4 100755
--- a/spot-oa/ui/js/components/DateInput.react.js
+++ b/spot-oa/ui/js/components/DateInput.react.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
var $ = require('jquery');
var React = require('react');
var ReactDOM = require('react-dom');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/components/DendrogramMixin.react.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/components/DendrogramMixin.react.js b/spot-oa/ui/js/components/DendrogramMixin.react.js
index 37fa323..f99a87a 100755
--- a/spot-oa/ui/js/components/DendrogramMixin.react.js
+++ b/spot-oa/ui/js/components/DendrogramMixin.react.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
var $ = require('jquery');
const Base64 = require('js-base64').Base64;
var d3 = require('d3');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/components/DetailsGridMixin.react.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/components/DetailsGridMixin.react.js b/spot-oa/ui/js/components/DetailsGridMixin.react.js
index 2ebb61c..1213581 100755
--- a/spot-oa/ui/js/components/DetailsGridMixin.react.js
+++ b/spot-oa/ui/js/components/DetailsGridMixin.react.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
var DetailsGridMixin = {
emptySetMessage: 'Please select one row from Suspicious Frame',
getInitialState: function ()
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/components/ExecutiveThreatBriefingPanel.react.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/components/ExecutiveThreatBriefingPanel.react.js b/spot-oa/ui/js/components/ExecutiveThreatBriefingPanel.react.js
index 6687325..e1964c5 100755
--- a/spot-oa/ui/js/components/ExecutiveThreatBriefingPanel.react.js
+++ b/spot-oa/ui/js/components/ExecutiveThreatBriefingPanel.react.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
var React = require('react');
var ContentLoaderMixin = require('./ContentLoaderMixin.react');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/components/GridPanelMixin.react.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/components/GridPanelMixin.react.js b/spot-oa/ui/js/components/GridPanelMixin.react.js
index 99df28f..c116dd4 100755
--- a/spot-oa/ui/js/components/GridPanelMixin.react.js
+++ b/spot-oa/ui/js/components/GridPanelMixin.react.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
var React = require('react');
var GridPanelMixin = {
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/components/IPythonNotebookPanel.react.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/components/IPythonNotebookPanel.react.js b/spot-oa/ui/js/components/IPythonNotebookPanel.react.js
index f8e59dc..424d6ce 100755
--- a/spot-oa/ui/js/components/IPythonNotebookPanel.react.js
+++ b/spot-oa/ui/js/components/IPythonNotebookPanel.react.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
var React = require('react');
var SpotActions = require('../actions/SpotActions');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/components/IngestSummaryPanel.react.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/components/IngestSummaryPanel.react.js b/spot-oa/ui/js/components/IngestSummaryPanel.react.js
index 06c83bd..6e2b98d 100755
--- a/spot-oa/ui/js/components/IngestSummaryPanel.react.js
+++ b/spot-oa/ui/js/components/IngestSummaryPanel.react.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
const $ = require('jquery');
const d3 = require('d3');
const React = require('react');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/components/OptionPicker.react.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/components/OptionPicker.react.js b/spot-oa/ui/js/components/OptionPicker.react.js
index f8e748d..44f4166 100644
--- a/spot-oa/ui/js/components/OptionPicker.react.js
+++ b/spot-oa/ui/js/components/OptionPicker.react.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
const React = require('react');
const RadioPicker = React.createClass({
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/components/Panel.react.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/components/Panel.react.js b/spot-oa/ui/js/components/Panel.react.js
index 5c759ba..732b62b 100755
--- a/spot-oa/ui/js/components/Panel.react.js
+++ b/spot-oa/ui/js/components/Panel.react.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
var React = require('react');
var assign = require('object-assign');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/components/PanelRow.react.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/components/PanelRow.react.js b/spot-oa/ui/js/components/PanelRow.react.js
index bea398e..ca10d38 100755
--- a/spot-oa/ui/js/components/PanelRow.react.js
+++ b/spot-oa/ui/js/components/PanelRow.react.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
var React = require('react');
var SpotStore = require('../stores/SpotStore');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/components/PolloNetworkViewMixin.react.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/components/PolloNetworkViewMixin.react.js b/spot-oa/ui/js/components/PolloNetworkViewMixin.react.js
index df74c04..09b684c 100755
--- a/spot-oa/ui/js/components/PolloNetworkViewMixin.react.js
+++ b/spot-oa/ui/js/components/PolloNetworkViewMixin.react.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
const Base64 = require('js-base64').Base64;
const d3Interpolate = require('d3-interpolate');
const SpotUtils = require('../utils/SpotUtils');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/components/SuspiciousGridMixin.react.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/components/SuspiciousGridMixin.react.js b/spot-oa/ui/js/components/SuspiciousGridMixin.react.js
index a8a9708..e42ad8d 100755
--- a/spot-oa/ui/js/components/SuspiciousGridMixin.react.js
+++ b/spot-oa/ui/js/components/SuspiciousGridMixin.react.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
var $ = require('jquery');
var React = require('react');
var ReactDOM = require('react-dom');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/components/TimelineMixin.react.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/components/TimelineMixin.react.js b/spot-oa/ui/js/components/TimelineMixin.react.js
index 74e2cbb..8d28830 100755
--- a/spot-oa/ui/js/components/TimelineMixin.react.js
+++ b/spot-oa/ui/js/components/TimelineMixin.react.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
const $ = require('jquery');
const d3 = require('d3');
const React = require('react');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/constants/SpotConstants.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/constants/SpotConstants.js b/spot-oa/ui/js/constants/SpotConstants.js
index e4a711d..08f3335 100755
--- a/spot-oa/ui/js/constants/SpotConstants.js
+++ b/spot-oa/ui/js/constants/SpotConstants.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
const SpotConstants = {
PIPELINE_NETFLOW: 'flow',
PIPELINE_DNS: 'dns',
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/cubehelix/cubehelix.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/cubehelix/cubehelix.js b/spot-oa/ui/js/cubehelix/cubehelix.js
index 69ae021..4a68fa0 100755
--- a/spot-oa/ui/js/cubehelix/cubehelix.js
+++ b/spot-oa/ui/js/cubehelix/cubehelix.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
(function() {
var radians = Math.PI / 180;
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/dispatchers/SpotDispatcher.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/dispatchers/SpotDispatcher.js b/spot-oa/ui/js/dispatchers/SpotDispatcher.js
index 20d5d20..ea57c1c 100755
--- a/spot-oa/ui/js/dispatchers/SpotDispatcher.js
+++ b/spot-oa/ui/js/dispatchers/SpotDispatcher.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
var Dispatcher = require('flux').Dispatcher;
// Create dispatcher instance$
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/ingest-summary.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/ingest-summary.js b/spot-oa/ui/js/ingest-summary.js
index 04f2872..f907477 100755
--- a/spot-oa/ui/js/ingest-summary.js
+++ b/spot-oa/ui/js/ingest-summary.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
const React = require('react');
const ReactDOM = require('react-dom');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/stores/IngestSummaryStore.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/stores/IngestSummaryStore.js b/spot-oa/ui/js/stores/IngestSummaryStore.js
index ca8a439..0f3d4a9 100755
--- a/spot-oa/ui/js/stores/IngestSummaryStore.js
+++ b/spot-oa/ui/js/stores/IngestSummaryStore.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
const assign = require('object-assign');
const d3 = require('d3');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/stores/JsonStore.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/stores/JsonStore.js b/spot-oa/ui/js/stores/JsonStore.js
index 3a3aefc..2c7fa74 100755
--- a/spot-oa/ui/js/stores/JsonStore.js
+++ b/spot-oa/ui/js/stores/JsonStore.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
const $ = require('jquery');
const RestStore = require('./RestStore');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/stores/RestStore.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/stores/RestStore.js b/spot-oa/ui/js/stores/RestStore.js
index 5aee412..16e8203 100755
--- a/spot-oa/ui/js/stores/RestStore.js
+++ b/spot-oa/ui/js/stores/RestStore.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
var $ = require('jquery');
var assign = require('object-assign');
var d3 = require('d3');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/stores/SpotStore.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/stores/SpotStore.js b/spot-oa/ui/js/stores/SpotStore.js
index 6ff4d21..488f4dc 100755
--- a/spot-oa/ui/js/stores/SpotStore.js
+++ b/spot-oa/ui/js/stores/SpotStore.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
var EventEmitter = require('events').EventEmitter;
var assign = require('object-assign');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/stores/__tests__/JsonStore.test.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/stores/__tests__/JsonStore.test.js b/spot-oa/ui/js/stores/__tests__/JsonStore.test.js
index 7041c96..1a0eb81 100644
--- a/spot-oa/ui/js/stores/__tests__/JsonStore.test.js
+++ b/spot-oa/ui/js/stores/__tests__/JsonStore.test.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
jest.mock('jquery');
const $ = require('jquery');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/stores/__tests__/RestStore.test.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/stores/__tests__/RestStore.test.js b/spot-oa/ui/js/stores/__tests__/RestStore.test.js
index 4d2558e..8a2e4cd 100644
--- a/spot-oa/ui/js/stores/__tests__/RestStore.test.js
+++ b/spot-oa/ui/js/stores/__tests__/RestStore.test.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
jest.mock('jquery');
const $ = require('jquery');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/stores/__tests__/SpotStore.test.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/stores/__tests__/SpotStore.test.js b/spot-oa/ui/js/stores/__tests__/SpotStore.test.js
index dec8b10..67ec57a 100644
--- a/spot-oa/ui/js/stores/__tests__/SpotStore.test.js
+++ b/spot-oa/ui/js/stores/__tests__/SpotStore.test.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
const SpotStore = require('../SpotStore');
test('Date handlers are working OK', () => {
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/tooltip.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/tooltip.js b/spot-oa/ui/js/tooltip.js
index 40380ee..edc4b6f 100755
--- a/spot-oa/ui/js/tooltip.js
+++ b/spot-oa/ui/js/tooltip.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
$(function () {
$('body').tooltip({
selector: '.spot-text-wrapper[data-toggle]',
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/utils/CategoryLayout.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/utils/CategoryLayout.js b/spot-oa/ui/js/utils/CategoryLayout.js
index cdad575..7ac0d5c 100755
--- a/spot-oa/ui/js/utils/CategoryLayout.js
+++ b/spot-oa/ui/js/utils/CategoryLayout.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
class CategoryLayout {
constructor() {
this._size = [1,1];
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/utils/DateUtils.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/utils/DateUtils.js b/spot-oa/ui/js/utils/DateUtils.js
index 21eab95..82be435 100644
--- a/spot-oa/ui/js/utils/DateUtils.js
+++ b/spot-oa/ui/js/utils/DateUtils.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
var DateUtils = {
/**
* @param {Date} date A base point in time for calculation
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/utils/SpotUtils.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/utils/SpotUtils.js b/spot-oa/ui/js/utils/SpotUtils.js
index 947fb0d..0549c74 100755
--- a/spot-oa/ui/js/utils/SpotUtils.js
+++ b/spot-oa/ui/js/utils/SpotUtils.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
const Base64 = require('js-base64').Base64;
const ID_REPLACE = '=';
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/utils/__tests__/CategoryLayout.test.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/utils/__tests__/CategoryLayout.test.js b/spot-oa/ui/js/utils/__tests__/CategoryLayout.test.js
index e6020ef..16dbc68 100644
--- a/spot-oa/ui/js/utils/__tests__/CategoryLayout.test.js
+++ b/spot-oa/ui/js/utils/__tests__/CategoryLayout.test.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
const CategoryLayout = require('../CategoryLayout');
test('Default layout properties', () => {
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/utils/__tests__/DateUtils.test.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/utils/__tests__/DateUtils.test.js b/spot-oa/ui/js/utils/__tests__/DateUtils.test.js
index 276d17d..a622f0c 100644
--- a/spot-oa/ui/js/utils/__tests__/DateUtils.test.js
+++ b/spot-oa/ui/js/utils/__tests__/DateUtils.test.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
const DateUtils = require('../DateUtils');
function d2s(date) {
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/js/utils/__tests__/SpotUtils.test.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/js/utils/__tests__/SpotUtils.test.js b/spot-oa/ui/js/utils/__tests__/SpotUtils.test.js
index 74c96e5..9ccd8cd 100644
--- a/spot-oa/ui/js/utils/__tests__/SpotUtils.test.js
+++ b/spot-oa/ui/js/utils/__tests__/SpotUtils.test.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
const DateUtils = require('../DateUtils');
const SpotUtils = require('../SpotUtils');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/proxy/js/components/DetailsPanel.react.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/proxy/js/components/DetailsPanel.react.js b/spot-oa/ui/proxy/js/components/DetailsPanel.react.js
index 1c053a0..6e5a93e 100755
--- a/spot-oa/ui/proxy/js/components/DetailsPanel.react.js
+++ b/spot-oa/ui/proxy/js/components/DetailsPanel.react.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
var React = require('react');
var DetailsGridMixin = require('../../../js/components/DetailsGridMixin.react');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/proxy/js/components/FilterInput.react.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/proxy/js/components/FilterInput.react.js b/spot-oa/ui/proxy/js/components/FilterInput.react.js
index c931159..666fc3e 100755
--- a/spot-oa/ui/proxy/js/components/FilterInput.react.js
+++ b/spot-oa/ui/proxy/js/components/FilterInput.react.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
var React = require('react');
var EdInActions = require('../../../js/actions/EdInActions');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/proxy/js/components/IncidentProgressionPanel.react.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/proxy/js/components/IncidentProgressionPanel.react.js b/spot-oa/ui/proxy/js/components/IncidentProgressionPanel.react.js
index 6a80b86..67adb5e 100755
--- a/spot-oa/ui/proxy/js/components/IncidentProgressionPanel.react.js
+++ b/spot-oa/ui/proxy/js/components/IncidentProgressionPanel.react.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
const $ = require('jquery');
const d3 = require('d3');
require('d3-tip')(d3);
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/proxy/js/components/NetworkViewPanel.react.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/proxy/js/components/NetworkViewPanel.react.js b/spot-oa/ui/proxy/js/components/NetworkViewPanel.react.js
index d74e670..7862c63 100755
--- a/spot-oa/ui/proxy/js/components/NetworkViewPanel.react.js
+++ b/spot-oa/ui/proxy/js/components/NetworkViewPanel.react.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
const $ = require('jquery');
const assign = require('object-assign');
const d3 = require('d3');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/proxy/js/components/SuspiciousPanel.react.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/proxy/js/components/SuspiciousPanel.react.js b/spot-oa/ui/proxy/js/components/SuspiciousPanel.react.js
index cdc48ed..95a9024 100755
--- a/spot-oa/ui/proxy/js/components/SuspiciousPanel.react.js
+++ b/spot-oa/ui/proxy/js/components/SuspiciousPanel.react.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
var React = require('react');
const ReactDOMServer = require('react-dom/server');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/proxy/js/components/TimelinePanel.react.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/proxy/js/components/TimelinePanel.react.js b/spot-oa/ui/proxy/js/components/TimelinePanel.react.js
index 64befaa..01dcb41 100755
--- a/spot-oa/ui/proxy/js/components/TimelinePanel.react.js
+++ b/spot-oa/ui/proxy/js/components/TimelinePanel.react.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
const React = require('react') ;
const TimelineStore = require('../stores/TimelineStore');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/proxy/js/constants/ProxyConstants.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/proxy/js/constants/ProxyConstants.js b/spot-oa/ui/proxy/js/constants/ProxyConstants.js
index b077e7d..ed19357 100755
--- a/spot-oa/ui/proxy/js/constants/ProxyConstants.js
+++ b/spot-oa/ui/proxy/js/constants/ProxyConstants.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
var ProxyConstants = {
// API URLS
API_SUSPICIOUS: '../../data/proxy/${date}/proxy_scores.tsv',
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/proxy/js/stores/CommentsStore.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/proxy/js/stores/CommentsStore.js b/spot-oa/ui/proxy/js/stores/CommentsStore.js
index 08ca648..a31456c 100755
--- a/spot-oa/ui/proxy/js/stores/CommentsStore.js
+++ b/spot-oa/ui/proxy/js/stores/CommentsStore.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
var assign = require('object-assign');
var d3 = require('d3');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/proxy/js/stores/DetailsStore.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/proxy/js/stores/DetailsStore.js b/spot-oa/ui/proxy/js/stores/DetailsStore.js
index d3c5277..a3c2a4d 100755
--- a/spot-oa/ui/proxy/js/stores/DetailsStore.js
+++ b/spot-oa/ui/proxy/js/stores/DetailsStore.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
var assign = require('object-assign');
var d3 = require('d3');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/proxy/js/stores/IncidentProgressionStore.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/proxy/js/stores/IncidentProgressionStore.js b/spot-oa/ui/proxy/js/stores/IncidentProgressionStore.js
index 0b2ee06..a35bb70 100755
--- a/spot-oa/ui/proxy/js/stores/IncidentProgressionStore.js
+++ b/spot-oa/ui/proxy/js/stores/IncidentProgressionStore.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
var assign = require('object-assign');
var SpotDispatcher = require('../../../js/dispatchers/SpotDispatcher');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/proxy/js/stores/SuspiciousStore.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/proxy/js/stores/SuspiciousStore.js b/spot-oa/ui/proxy/js/stores/SuspiciousStore.js
index c548427..7c0bfe1 100755
--- a/spot-oa/ui/proxy/js/stores/SuspiciousStore.js
+++ b/spot-oa/ui/proxy/js/stores/SuspiciousStore.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
var assign = require('object-assign');
var d3 = require('d3');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/proxy/js/stores/TimelineStore.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/proxy/js/stores/TimelineStore.js b/spot-oa/ui/proxy/js/stores/TimelineStore.js
index 61f2bb9..fa6c704 100755
--- a/spot-oa/ui/proxy/js/stores/TimelineStore.js
+++ b/spot-oa/ui/proxy/js/stores/TimelineStore.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
const assign = require('object-assign');
const d3 = require('d3');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/proxy/js/storyboard.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/proxy/js/storyboard.js b/spot-oa/ui/proxy/js/storyboard.js
index 7b67242..f642f30 100755
--- a/spot-oa/ui/proxy/js/storyboard.js
+++ b/spot-oa/ui/proxy/js/storyboard.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
require("babel-polyfill");
const React = require('react');
const ReactDOM = require('react-dom');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/proxy/js/suspicious.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/proxy/js/suspicious.js b/spot-oa/ui/proxy/js/suspicious.js
index 84260d9..95912c8 100755
--- a/spot-oa/ui/proxy/js/suspicious.js
+++ b/spot-oa/ui/proxy/js/suspicious.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
const React = require('react');
const ReactDOM = require('react-dom');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/proxy/js/threat-investigation.js
----------------------------------------------------------------------
diff --git a/spot-oa/ui/proxy/js/threat-investigation.js b/spot-oa/ui/proxy/js/threat-investigation.js
index 875c497..208f2ee 100755
--- a/spot-oa/ui/proxy/js/threat-investigation.js
+++ b/spot-oa/ui/proxy/js/threat-investigation.js
@@ -1,3 +1,5 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.
+
const React = require('react');
const ReactDOM = require('react-dom');
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/proxy/storyboard.html
----------------------------------------------------------------------
diff --git a/spot-oa/ui/proxy/storyboard.html b/spot-oa/ui/proxy/storyboard.html
index 2ed4a08..cabd387 100755
--- a/spot-oa/ui/proxy/storyboard.html
+++ b/spot-oa/ui/proxy/storyboard.html
@@ -1,4 +1,21 @@
<!DOCTYPE html>
+<!--
+ ~ 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.
+ -->
+
<html>
<head>
<title>Proxy :: Storyboard</title>
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/proxy/suspicious.html
----------------------------------------------------------------------
diff --git a/spot-oa/ui/proxy/suspicious.html b/spot-oa/ui/proxy/suspicious.html
index 74145f3..1d77322 100755
--- a/spot-oa/ui/proxy/suspicious.html
+++ b/spot-oa/ui/proxy/suspicious.html
@@ -1,4 +1,21 @@
<!DOCTYPE html>
+<!--
+ ~ 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.
+ -->
+
<html>
<head>
<title>Proxy :: Suspicious</title>
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-oa/ui/proxy/threat-investigation.html
----------------------------------------------------------------------
diff --git a/spot-oa/ui/proxy/threat-investigation.html b/spot-oa/ui/proxy/threat-investigation.html
index 45c5326..98c3ca4 100755
--- a/spot-oa/ui/proxy/threat-investigation.html
+++ b/spot-oa/ui/proxy/threat-investigation.html
@@ -1,4 +1,21 @@
<!DOCTYPE html>
+<!--
+ ~ 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.
+ -->
+
<html>
<head>
<title>Proxy :: Threat Investigation</title>
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-setup/LICENSE.txt
----------------------------------------------------------------------
diff --git a/spot-setup/LICENSE.txt b/spot-setup/LICENSE.txt
deleted file mode 100644
index 261eeb9..0000000
--- a/spot-setup/LICENSE.txt
+++ /dev/null
@@ -1,201 +0,0 @@
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed 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.
http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/abe8447c/spot-setup/hdfs_setup.sh
----------------------------------------------------------------------
diff --git a/spot-setup/hdfs_setup.sh b/spot-setup/hdfs_setup.sh
index 4d61574..8eb9ae3 100755
--- a/spot-setup/hdfs_setup.sh
+++ b/spot-setup/hdfs_setup.sh
@@ -1,5 +1,22 @@
#!/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.
+#
+
DSOURCES=('flow' 'dns' 'proxy')
DFOLDERS=('binary' 'hive' 'stage')
source /etc/spot.conf