You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@edgent.apache.org by dl...@apache.org on 2016/12/14 19:23:58 UTC

[08/50] [abbrv] incubator-edgent git commit: add more license headers

add more license headers

Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-edgent/commit/c7a51296
Tree: http://git-wip-us.apache.org/repos/asf/incubator-edgent/tree/c7a51296
Diff: http://git-wip-us.apache.org/repos/asf/incubator-edgent/diff/c7a51296

Branch: refs/heads/master
Commit: c7a5129633bb77cee82a515c3887d008515fa428
Parents: cc4bf72
Author: Dale LaBossiere <dl...@us.ibm.com>
Authored: Fri Nov 11 17:50:40 2016 -0500
Committer: Dale LaBossiere <dl...@us.ibm.com>
Committed: Fri Nov 11 17:50:40 2016 -0500

----------------------------------------------------------------------
 .travis.yml                                       | 17 +++++++++++++++++
 build.gradle                                      | 10 +++++++---
 connectors/command/src/test/scripts/sinkcmd       | 16 ++++++++++++++++
 .../servlets/webapp_content/WEB-INF/console.xml   | 16 ++++++++++++++++
 console/servlets/webapp_content/html/index.html   | 16 ++++++++++++++++
 .../webapp_content/resources/css/main.css         | 18 ++++++++++++++++++
 .../webapp_content/resources/css/metrics.css      | 18 ++++++++++++++++++
 .../resources/json/samplegraph.json               | 18 ++++++++++++++++++
 .../resources/json/samplegraph_health.json        | 18 ++++++++++++++++++
 9 files changed, 144 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/c7a51296/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 0c5e6fc..31171ba 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,3 +1,20 @@
+#                                                                                                                                                                                                  
+# 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.                                                                                                                                                                   
+#                                                                                                                                                                                                  
+
 language: java
 
 matrix:

http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/c7a51296/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index ab71bfc..f3211c3 100644
--- a/build.gradle
+++ b/build.gradle
@@ -736,9 +736,13 @@ task srcReleaseTarGz(type: Tar) {
   exclude '**/build/'           // gradle generated artifacts
   exclude '**/externalJars/'    // gradle generated artifacts for eclipse
   exclude '**/bin/'             // eclipse generated artifacts
-  exclude '**/classes/'         // ant generated artifacts
-  exclude '**/*.class'          // exclude class files
-  exclude 'target/**'		// exclude target
+  exclude '**/classes/'         // old ant generated artifacts
+  exclude '**/classes.in/'      // our retrolambda processing cruft
+  exclude '**/classes.out/'     // our retrolambda processing cruft
+  exclude '**/*.class'          // final backstop just in case
+  exclude 'target/**'           // old ant generated artifacts
+  exclude 'connectors/jdbc/derby.log'         // test cruft
+  exclude 'connectors/jdbc/JdbcStreamsTestDb' // test cruft
   doLast {
     ant.checksum algorithm: 'md5', file: archivePath
     ant.checksum algorithm: 'sha-512', fileext: '.sha', file: archivePath

http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/c7a51296/connectors/command/src/test/scripts/sinkcmd
----------------------------------------------------------------------
diff --git a/connectors/command/src/test/scripts/sinkcmd b/connectors/command/src/test/scripts/sinkcmd
index 09e767b..2bce206 100644
--- a/connectors/command/src/test/scripts/sinkcmd
+++ b/connectors/command/src/test/scripts/sinkcmd
@@ -1,4 +1,20 @@
 #!/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.                                                                                                                                                                   
+#                                                                                                                                                                                                  
 
 # echo stdin to stdout.  terminate after <terminateCount> lines
 USAGE="$0 [<terminateCount>]"

http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/c7a51296/console/servlets/webapp_content/WEB-INF/console.xml
----------------------------------------------------------------------
diff --git a/console/servlets/webapp_content/WEB-INF/console.xml b/console/servlets/webapp_content/WEB-INF/console.xml
index 6485208..f152998 100644
--- a/console/servlets/webapp_content/WEB-INF/console.xml
+++ b/console/servlets/webapp_content/WEB-INF/console.xml
@@ -1,3 +1,19 @@
+<!--
+ 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.
+ -->
 <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee 
          http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"

http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/c7a51296/console/servlets/webapp_content/html/index.html
----------------------------------------------------------------------
diff --git a/console/servlets/webapp_content/html/index.html b/console/servlets/webapp_content/html/index.html
index f310059..ecef02a 100644
--- a/console/servlets/webapp_content/html/index.html
+++ b/console/servlets/webapp_content/html/index.html
@@ -1,3 +1,19 @@
+<!--
+ 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.
+ -->
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us">

http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/c7a51296/console/servlets/webapp_content/resources/css/main.css
----------------------------------------------------------------------
diff --git a/console/servlets/webapp_content/resources/css/main.css b/console/servlets/webapp_content/resources/css/main.css
index dc122e6..7498ab0 100644
--- a/console/servlets/webapp_content/resources/css/main.css
+++ b/console/servlets/webapp_content/resources/css/main.css
@@ -1,3 +1,21 @@
+/**
+* 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.
+*/
 .node circle {
  	fill-opacity: 1.0;
  	shape-rendering: crispEdges;

http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/c7a51296/console/servlets/webapp_content/resources/css/metrics.css
----------------------------------------------------------------------
diff --git a/console/servlets/webapp_content/resources/css/metrics.css b/console/servlets/webapp_content/resources/css/metrics.css
index faa72a2..be24aa0 100644
--- a/console/servlets/webapp_content/resources/css/metrics.css
+++ b/console/servlets/webapp_content/resources/css/metrics.css
@@ -1,3 +1,21 @@
+/**
+* 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.
+*/
 svg {
 	font: 12px sans-serif;
 }

http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/c7a51296/console/servlets/webapp_content/resources/json/samplegraph.json
----------------------------------------------------------------------
diff --git a/console/servlets/webapp_content/resources/json/samplegraph.json b/console/servlets/webapp_content/resources/json/samplegraph.json
index b535630..73a204e 100644
--- a/console/servlets/webapp_content/resources/json/samplegraph.json
+++ b/console/servlets/webapp_content/resources/json/samplegraph.json
@@ -1,3 +1,21 @@
+/*
+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.
+*/
 {
     "nodes": [
     {"name": "Stats"},

http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/c7a51296/console/servlets/webapp_content/resources/json/samplegraph_health.json
----------------------------------------------------------------------
diff --git a/console/servlets/webapp_content/resources/json/samplegraph_health.json b/console/servlets/webapp_content/resources/json/samplegraph_health.json
index c6651ac..241bb2a 100644
--- a/console/servlets/webapp_content/resources/json/samplegraph_health.json
+++ b/console/servlets/webapp_content/resources/json/samplegraph_health.json
@@ -1,3 +1,21 @@
+/*
+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.
+*/
 {
     "nodes": [
     {"name": "Stats", "health": 1},