Permalink
Browse files

Add missing license headers

Fixes EUCA-4167
  • Loading branch information...
gholms committed Nov 20, 2012
1 parent 96bc79d commit 3730b5a17d4a4801d8eeba063e242c3f65ef3c78
Showing with 1,473 additions and 33 deletions.
  1. +49 −0 clc/eucadmin/eucadmin/patched_gzip.py
  2. +20 −3 clc/modules/core/src/main/java/edu/ucsb/eucalyptus/cloud/HeadAccessDeniedException.java
  3. +20 −3 clc/modules/core/src/main/java/edu/ucsb/eucalyptus/cloud/HeadExceptionInterface.java
  4. +20 −3 clc/modules/core/src/main/java/edu/ucsb/eucalyptus/cloud/HeadNoSuchBucketException.java
  5. +20 −3 clc/modules/core/src/main/java/edu/ucsb/eucalyptus/cloud/HeadNoSuchEntityException.java
  6. +20 −0 clc/modules/msgs/src/main/java/com/eucalyptus/system/log/EucaHierarchy.java
  7. +20 −0 clc/modules/msgs/src/main/java/com/eucalyptus/system/log/EucaLogger.java
  8. +20 −1 clc/modules/msgs/src/main/java/com/eucalyptus/system/log/EucaLoggerFactory.java
  9. +20 −0 clc/modules/msgs/src/main/java/com/eucalyptus/system/log/EucaLoggingEvent.java
  10. +20 −0 clc/modules/msgs/src/main/java/com/eucalyptus/system/log/EucaLoggingOutputStream.java
  11. +20 −1 clc/modules/msgs/src/main/java/com/eucalyptus/system/log/EucaPatternLayout.java
  12. +21 −2 clc/modules/msgs/src/main/java/com/eucalyptus/system/log/EucaPatternParser.java
  13. +20 −0 clc/modules/msgs/src/main/java/com/eucalyptus/system/log/EucaRootLogger.java
  14. +20 −0 clc/modules/msgs/src/main/java/com/eucalyptus/system/log/NullEucaLogger.java
  15. +20 −0 clc/modules/reporting/src/main/java/com/eucalyptus/reporting/ReportType.java
  16. +20 −0 clc/modules/reporting/src/main/java/com/eucalyptus/reporting/art/generator/ArtGenerator.java
  17. +20 −0 ...modules/reporting/src/main/java/com/eucalyptus/reporting/art/generator/ElasticIpArtGenerator.java
  18. +20 −1 clc/modules/reporting/src/main/java/com/eucalyptus/reporting/art/renderer/ElasticIpRenderer.java
  19. +20 −3 clc/modules/reporting/src/main/java/com/eucalyptus/reporting/art/renderer/document/CsvDocument.java
  20. +21 −1 clc/modules/reporting/src/main/java/com/eucalyptus/reporting/art/renderer/document/Document.java
  21. +20 −0 clc/modules/reporting/src/test/java/com/eucalyptus/reporting/FalseDataGenerator.java
  22. +20 −1 ...hooting/src/main/java/com/eucalyptus/troubleshooting/changelisteners/DBCheckPollTimeListener.java
  23. +20 −0 ...ooting/src/main/java/com/eucalyptus/troubleshooting/changelisteners/DBCheckThresholdListener.java
  24. +20 −1 ...rc/main/java/com/eucalyptus/troubleshooting/changelisteners/LogFileDiskCheckPollTimeListener.java
  25. +20 −1 ...c/main/java/com/eucalyptus/troubleshooting/changelisteners/LogFileDiskCheckThresholdListener.java
  26. +20 −0 ...roubleshooting/src/main/java/com/eucalyptus/troubleshooting/changelisteners/LogLevelListener.java
  27. +20 −1 ...ing/src/main/java/com/eucalyptus/troubleshooting/changelisteners/MemoryCheckPollTimeListener.java
  28. +20 −1 ...ooting/src/main/java/com/eucalyptus/troubleshooting/changelisteners/MemoryCheckRatioListener.java
  29. +20 −1 .../main/java/com/eucalyptus/troubleshooting/changelisteners/PermGenMemoryCheckPollTimeListener.java
  30. +20 −1 ...src/main/java/com/eucalyptus/troubleshooting/changelisteners/PermGenMemoryCheckRatioListener.java
  31. +20 −0 ...leshooting/src/main/java/com/eucalyptus/troubleshooting/changelisteners/TriggerFaultListener.java
  32. +20 −0 ...modules/troubleshooting/src/main/java/com/eucalyptus/troubleshooting/checker/DBResourceCheck.java
  33. +20 −0 ...dules/troubleshooting/src/main/java/com/eucalyptus/troubleshooting/checker/DiskResourceCheck.java
  34. +20 −0 clc/modules/troubleshooting/src/main/java/com/eucalyptus/troubleshooting/checker/MemoryCheck.java
  35. +20 −0 ...ules/troubleshooting/src/main/java/com/eucalyptus/troubleshooting/checker/PermGenMemoryCheck.java
  36. +20 −0 ...oubleshooting/src/main/java/com/eucalyptus/troubleshooting/checker/schedule/DBCheckScheduler.java
  37. +20 −0 ...ting/src/main/java/com/eucalyptus/troubleshooting/checker/schedule/LogFileDiskCheckScheduler.java
  38. +20 −0 ...eshooting/src/main/java/com/eucalyptus/troubleshooting/checker/schedule/MemoryCheckScheduler.java
  39. +20 −0 ...ng/src/main/java/com/eucalyptus/troubleshooting/checker/schedule/PermGenMemoryCheckScheduler.java
  40. +25 −0 console/eucaconsole/__init__.py
  41. +25 −0 console/eucaconsole/api.py
  42. +25 −1 console/eucaconsole/botoclcinterface.py
  43. +25 −0 console/eucaconsole/botojsonencoder.py
  44. +25 −0 console/eucaconsole/cache.py
  45. +25 −0 console/eucaconsole/cachingclcinterface.py
  46. +25 −0 console/eucaconsole/clcinterface.py
  47. +25 −0 console/eucaconsole/configloader.py
  48. +25 −0 console/eucaconsole/mockclcinterface.py
  49. +25 −0 console/eucaconsole/response.py
  50. +25 −2 console/eucaconsole/threads.py
  51. +25 −0 console/eucaconsole/token.py
  52. +24 −0 console/setup.py
  53. +25 −0 console/static/custom/format_properties.py
  54. +25 −0 console/tests/proxy/addresstests.py
  55. +25 −0 console/tests/proxy/grouptests.py
  56. +25 −0 console/tests/proxy/image_registration.py
  57. +25 −0 console/tests/proxy/imagetests.py
  58. +25 −0 console/tests/proxy/instancetests.py
  59. +25 −0 console/tests/proxy/keypairtests.py
  60. +25 −0 console/tests/proxy/loadtest.py
  61. +25 −0 console/tests/proxy/snapshottests.py
  62. +24 −0 console/tests/proxy/uiproxyclient.py
  63. +25 −0 console/tests/proxy/volumetests.py
  64. +25 −0 console/tests/proxy/zonetests.py
  65. +19 −0 devel/groovy.sh
  66. +20 −2 tools/nc-hooks/libvirt-check.sh
@@ -8,6 +8,55 @@
# based on Andrew Kuchling's minigzip.py distributed with the zlib module
+# Original copyright statement:
+# PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
+# --------------------------------------------
+#
+# 1. This LICENSE AGREEMENT is between the Python Software Foundation
+# ("PSF"), and the Individual or Organization ("Licensee") accessing
+# and otherwise using this software ("Python") in source or binary
+# form and its associated documentation.
+#
+# 2. Subject to the terms and conditions of this License Agreement,
+# PSF hereby grants Licensee a nonexclusive, royalty-free, world-wide
+# license to reproduce, analyze, test, perform and/or display
+# publicly, prepare derivative works, distribute, and otherwise
+# use Python alone or in any derivative version, provided, however,
+# that PSF's License Agreement and PSF's notice of copyright, i.e.,
+# "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
+# 2009 Python Software Foundation; All Rights Reserved" are retained
+# in Python alone or in any derivative version prepared by Licensee.
+#
+# 3. In the event Licensee prepares a derivative work that is based
+# on or incorporates Python or any part thereof, and wants to make
+# the derivative work available to others as provided herein, then
+# Licensee hereby agrees to include in any such work a brief summary
+# of the changes made to Python.
+#
+# 4. PSF is making Python available to Licensee on an "AS IS" basis.
+# PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED.
+# BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS
+# ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR
+# ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT INFRINGE
+# ANY THIRD PARTY RIGHTS.
+#
+# 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
+# FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
+# A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, OR
+# ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
+#
+# 6. This License Agreement will automatically terminate upon a
+# material breach of its terms and conditions.
+#
+# 7. Nothing in this License Agreement shall be deemed to create any
+# relationship of agency, partnership, or joint venture between PSF
+# and Licensee. This License Agreement does not grant permission to
+# use PSF trademarks or trade name in a trademark sense to endorse
+# or promote products or services of Licensee, or any third party.
+#
+# 8. By copying, installing or otherwise using Python, Licensee agrees
+# to be bound by the terms and conditions of this License Agreement.
+
import struct, sys, time
import zlib
import __builtin__
@@ -1,10 +1,27 @@
+/*************************************************************************
+ * Copyright 2009-2012 Eucalyptus Systems, Inc.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 3 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see http://www.gnu.org/licenses/.
+ *
+ * Please contact Eucalyptus Systems, Inc., 6755 Hollister Ave., Goleta
+ * CA 93117, USA or visit http://www.eucalyptus.com/licenses/ if you need
+ * additional information or have any questions.
+ ************************************************************************/
+
package edu.ucsb.eucalyptus.cloud;
/**
* Fix for EUCA-2782. Exception type to be used by HEAD requests when access to the specified entity is forbidden
- *
- * @author Swathi Gangisetty
- *
*/
@SuppressWarnings("serial")
public class HeadAccessDeniedException extends AccessDeniedException implements HeadExceptionInterface {
@@ -1,11 +1,28 @@
+/*************************************************************************
+ * Copyright 2009-2012 Eucalyptus Systems, Inc.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 3 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see http://www.gnu.org/licenses/.
+ *
+ * Please contact Eucalyptus Systems, Inc., 6755 Hollister Ave., Goleta
+ * CA 93117, USA or visit http://www.eucalyptus.com/licenses/ if you need
+ * additional information or have any questions.
+ ************************************************************************/
+
package edu.ucsb.eucalyptus.cloud;
/**
* Fix for EUCA-2782. Interface for exceptions generated by HEAD requests in Walrus. Exceptions originating from the Walrus HEAD requests should implement this
* interface. The purpose of this interface is to detect the type of exception in Walrus Outbound Handler before constructing the HTTP response body.
- *
- * @author Swathi Gangisetty
- *
*/
public interface HeadExceptionInterface {
@@ -1,10 +1,27 @@
+/*************************************************************************
+ * Copyright 2009-2012 Eucalyptus Systems, Inc.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 3 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see http://www.gnu.org/licenses/.
+ *
+ * Please contact Eucalyptus Systems, Inc., 6755 Hollister Ave., Goleta
+ * CA 93117, USA or visit http://www.eucalyptus.com/licenses/ if you need
+ * additional information or have any questions.
+ ************************************************************************/
+
package edu.ucsb.eucalyptus.cloud;
/**
* Fix for EUCA-2782. Exception type to be used by HEAD requests when the specified bucket does not exist
- *
- * @author Swathi Gangisetty
- *
*/
@SuppressWarnings("serial")
public class HeadNoSuchBucketException extends NoSuchBucketException implements HeadExceptionInterface {
@@ -1,10 +1,27 @@
+/*************************************************************************
+ * Copyright 2009-2012 Eucalyptus Systems, Inc.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 3 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see http://www.gnu.org/licenses/.
+ *
+ * Please contact Eucalyptus Systems, Inc., 6755 Hollister Ave., Goleta
+ * CA 93117, USA or visit http://www.eucalyptus.com/licenses/ if you need
+ * additional information or have any questions.
+ ************************************************************************/
+
package edu.ucsb.eucalyptus.cloud;
/**
* Fix for EUCA-2782. Exception type to be used by HEAD requests when the specified entity does not exist
- *
- * @author Swathi Gangisetty
- *
*/
@SuppressWarnings("serial")
public class HeadNoSuchEntityException extends NoSuchEntityException implements HeadExceptionInterface {
@@ -1,3 +1,23 @@
+/*************************************************************************
+ * Copyright 2009-2012 Eucalyptus Systems, Inc.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 3 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see http://www.gnu.org/licenses/.
+ *
+ * Please contact Eucalyptus Systems, Inc., 6755 Hollister Ave., Goleta
+ * CA 93117, USA or visit http://www.eucalyptus.com/licenses/ if you need
+ * additional information or have any questions.
+ ************************************************************************/
+
package com.eucalyptus.system.log;
import org.apache.log4j.Hierarchy;
@@ -1,3 +1,23 @@
+/*************************************************************************
+ * Copyright 2009-2012 Eucalyptus Systems, Inc.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 3 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see http://www.gnu.org/licenses/.
+ *
+ * Please contact Eucalyptus Systems, Inc., 6755 Hollister Ave., Goleta
+ * CA 93117, USA or visit http://www.eucalyptus.com/licenses/ if you need
+ * additional information or have any questions.
+ ************************************************************************/
+
package com.eucalyptus.system.log;
import org.apache.log4j.Logger;
@@ -1,3 +1,23 @@
+/*************************************************************************
+ * Copyright 2009-2012 Eucalyptus Systems, Inc.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 3 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see http://www.gnu.org/licenses/.
+ *
+ * Please contact Eucalyptus Systems, Inc., 6755 Hollister Ave., Goleta
+ * CA 93117, USA or visit http://www.eucalyptus.com/licenses/ if you need
+ * additional information or have any questions.
+ ************************************************************************/
+
package com.eucalyptus.system.log;
import org.apache.log4j.Logger;
@@ -11,5 +31,4 @@ public EucaLoggerFactory() {
public Logger makeNewLoggerInstance(String name) {
return new EucaLogger(name);
}
-
}
@@ -1,3 +1,23 @@
+/*************************************************************************
+ * Copyright 2009-2012 Eucalyptus Systems, Inc.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 3 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see http://www.gnu.org/licenses/.
+ *
+ * Please contact Eucalyptus Systems, Inc., 6755 Hollister Ave., Goleta
+ * CA 93117, USA or visit http://www.eucalyptus.com/licenses/ if you need
+ * additional information or have any questions.
+ ************************************************************************/
+
package com.eucalyptus.system.log;
import java.util.Map;
@@ -1,3 +1,23 @@
+/*************************************************************************
+ * Copyright 2009-2012 Eucalyptus Systems, Inc.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 3 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see http://www.gnu.org/licenses/.
+ *
+ * Please contact Eucalyptus Systems, Inc., 6755 Hollister Ave., Goleta
+ * CA 93117, USA or visit http://www.eucalyptus.com/licenses/ if you need
+ * additional information or have any questions.
+ ************************************************************************/
+
package com.eucalyptus.system.log;
import java.io.IOException;
@@ -1,3 +1,23 @@
+/*************************************************************************
+ * Copyright 2009-2012 Eucalyptus Systems, Inc.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 3 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see http://www.gnu.org/licenses/.
+ *
+ * Please contact Eucalyptus Systems, Inc., 6755 Hollister Ave., Goleta
+ * CA 93117, USA or visit http://www.eucalyptus.com/licenses/ if you need
+ * additional information or have any questions.
+ ************************************************************************/
+
package com.eucalyptus.system.log;
import org.apache.log4j.PatternLayout;
@@ -16,5 +36,4 @@ public EucaPatternLayout(String pattern) {
protected PatternParser createPatternParser(String pattern) {
return new EucaPatternParser(pattern);
}
-
}
@@ -1,3 +1,23 @@
+/*************************************************************************
+ * Copyright 2009-2012 Eucalyptus Systems, Inc.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 3 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see http://www.gnu.org/licenses/.
+ *
+ * Please contact Eucalyptus Systems, Inc., 6755 Hollister Ave., Goleta
+ * CA 93117, USA or visit http://www.eucalyptus.com/licenses/ if you need
+ * additional information or have any questions.
+ ************************************************************************/
+
package com.eucalyptus.system.log;
import java.text.DecimalFormat;
@@ -58,5 +78,4 @@ public String convert(LoggingEvent event) {
}
}
}
-
-}
+}
@@ -1,3 +1,23 @@
+/*************************************************************************
+ * Copyright 2009-2012 Eucalyptus Systems, Inc.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 3 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see http://www.gnu.org/licenses/.
+ *
+ * Please contact Eucalyptus Systems, Inc., 6755 Hollister Ave., Goleta
+ * CA 93117, USA or visit http://www.eucalyptus.com/licenses/ if you need
+ * additional information or have any questions.
+ ************************************************************************/
+
package com.eucalyptus.system.log;
import org.apache.log4j.Level;
Oops, something went wrong.

0 comments on commit 3730b5a

Please sign in to comment.