|
1 | 1 | .. _license:
|
2 | 2 |
|
3 | 3 | ==============
|
4 |
| -Apache License |
| 4 | +MIT License |
5 | 5 | ==============
|
6 | 6 |
|
7 |
| -:Version: 2.0 |
8 |
| -:Date: January 2004 |
9 |
| -:URL: http://www.apache.org/licenses/ |
10 |
| - |
11 |
| - |
12 |
| -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION |
13 |
| ------------------------------------------------------------- |
14 |
| - |
15 |
| -1. Definitions. |
16 |
| ---------------- |
17 |
| - |
18 |
| -**"License"** shall mean the terms and conditions for use, reproduction, and |
19 |
| -distribution as defined by Sections 1 through 9 of this document. |
20 |
| - |
21 |
| -**"Licensor"** shall mean the copyright owner or entity authorized by the |
22 |
| -copyright owner that is granting the License. |
23 |
| - |
24 |
| -**"Legal Entity"** shall mean the union of the acting entity and all other |
25 |
| -entities that control, are controlled by, or are under common control with that |
26 |
| -entity. For the purposes of this definition, "control" means *(i)* the power, |
27 |
| -direct or indirect, to cause the direction or management of such entity, |
28 |
| -whether by contract or otherwise, or *(ii)* ownership of fifty percent (50%) or |
29 |
| -more of the outstanding shares, or *(iii)* beneficial ownership of such entity. |
30 |
| - |
31 |
| -**"You"** (or **"Your"**) shall mean an individual or Legal Entity exercising |
32 |
| -permissions granted by this License. |
33 |
| - |
34 |
| -**"Source"** form shall mean the preferred form for making modifications, |
35 |
| -including but not limited to software source code, documentation source, and |
36 |
| -configuration files. |
37 |
| - |
38 |
| -**"Object"** form shall mean any form resulting from mechanical transformation |
39 |
| -or translation of a Source form, including but not limited to compiled object |
40 |
| -code, generated documentation, and conversions to other media types. |
41 |
| - |
42 |
| -**"Work"** shall mean the work of authorship, whether in Source or Object form, |
43 |
| -made available under the License, as indicated by a copyright notice that is |
44 |
| -included in or attached to the work (an example is provided in the Appendix |
45 |
| -below). |
46 |
| - |
47 |
| -**"Derivative Works"** shall mean any work, whether in Source or Object form, |
48 |
| -that is based on (or derived from) the Work and for which the editorial |
49 |
| -revisions, annotations, elaborations, or other modifications represent, as a |
50 |
| -whole, an original work of authorship. For the purposes of this License, |
51 |
| -Derivative Works shall not include works that remain separable from, or merely |
52 |
| -link (or bind by name) to the interfaces of, the Work and Derivative Works |
53 |
| -thereof. |
54 |
| - |
55 |
| -**"Contribution"** shall mean any work of authorship, including the original |
56 |
| -version of the Work and any modifications or additions to that Work or |
57 |
| -Derivative Works thereof, that is intentionally submitted to Licensor for |
58 |
| -inclusion in the Work by the copyright owner or by an individual or Legal |
59 |
| -Entity authorized to submit on behalf of the copyright owner. For the purposes |
60 |
| -of this definition, "submitted" means any form of electronic, verbal, or |
61 |
| -written communication sent to the Licensor or its representatives, including |
62 |
| -but not limited to communication on electronic mailing lists, source code |
63 |
| -control systems, and issue tracking systems that are managed by, or on behalf |
64 |
| -of, the Licensor for the purpose of discussing and improving the Work, but |
65 |
| -excluding communication that is conspicuously marked or otherwise designated in |
66 |
| -writing by the copyright owner as "Not a Contribution." |
67 |
| - |
68 |
| -**"Contributor"** shall mean Licensor and any individual or Legal Entity on |
69 |
| -behalf of whom a Contribution has been received by Licensor and subsequently |
70 |
| -incorporated within the Work. |
71 |
| - |
72 |
| -2. Grant of Copyright License. |
73 |
| ------------------------------- |
74 |
| - |
75 |
| -Subject to the terms and conditions of this License, each Contributor hereby |
76 |
| -grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, |
77 |
| -irrevocable copyright license to reproduce, prepare Derivative Works of, |
78 |
| -publicly display, publicly perform, sublicense, and distribute the Work and |
79 |
| -such Derivative Works in Source or Object form. |
80 |
| - |
81 |
| -3. Grant of Patent License. |
82 |
| ---------------------------- |
83 |
| - |
84 |
| -Subject to the terms and conditions of this License, each Contributor hereby |
85 |
| -grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, |
86 |
| -irrevocable (except as stated in this section) patent license to make, have |
87 |
| -made, use, offer to sell, sell, import, and otherwise transfer the Work, where |
88 |
| -such license applies only to those patent claims licensable by such Contributor |
89 |
| -that are necessarily infringed by their Contribution(s) alone or by combination |
90 |
| -of their Contribution(s) with the Work to which such Contribution(s) was |
91 |
| -submitted. If You institute patent litigation against any entity (including a |
92 |
| -cross-claim or counterclaim in a lawsuit) alleging that the Work or a |
93 |
| -Contribution incorporated within the Work constitutes direct or contributory |
94 |
| -patent infringement, then any patent licenses granted to You under this License |
95 |
| -for that Work shall terminate as of the date such litigation is filed. |
96 |
| - |
97 |
| -4. Redistribution. |
98 |
| ------------------- |
99 |
| - |
100 |
| -You may reproduce and distribute copies of the Work or Derivative Works thereof |
101 |
| -in any medium, with or without modifications, and in Source or Object form, |
102 |
| -provided that You meet the following conditions: |
103 |
| - |
104 |
| -- You must give any other recipients of the Work or Derivative Works a copy of |
105 |
| - this License; and |
106 |
| - |
107 |
| -- You must cause any modified files to carry prominent notices stating that You |
108 |
| - changed the files; and |
109 |
| - |
110 |
| -- You must retain, in the Source form of any Derivative Works that You |
111 |
| - distribute, all copyright, patent, trademark, and attribution notices from |
112 |
| - the Source form of the Work, excluding those notices that do not pertain to |
113 |
| - any part of the Derivative Works; and |
114 |
| - |
115 |
| -- If the Work includes a ``"NOTICE"`` text file as part of its distribution, |
116 |
| - then any Derivative Works that You distribute must include a readable copy of |
117 |
| - the attribution notices contained within such ``NOTICE`` file, excluding |
118 |
| - those notices that do not pertain to any part of the Derivative Works, in at |
119 |
| - least one of the following places: within a ``NOTICE`` text file distributed |
120 |
| - as part of the Derivative Works; within the Source form or documentation, if |
121 |
| - provided along with the Derivative Works; or, within a display generated by |
122 |
| - the Derivative Works, if and wherever such third-party notices normally |
123 |
| - appear. The contents of the ``NOTICE`` file are for informational purposes |
124 |
| - only and do not modify the License. You may add Your own attribution notices |
125 |
| - within Derivative Works that You distribute, alongside or as an addendum to |
126 |
| - the ``NOTICE`` text from the Work, provided that such additional attribution |
127 |
| - notices cannot be construed as modifying the License. You may add Your own |
128 |
| - copyright statement to Your modifications and may provide additional or |
129 |
| - different license terms and conditions for use, reproduction, or distribution |
130 |
| - of Your modifications, or for any such Derivative Works as a whole, provided |
131 |
| - Your use, reproduction, and distribution of the Work otherwise complies with |
132 |
| - the conditions stated in this License. |
133 |
| - |
134 |
| -5. Submission of Contributions. |
135 |
| -------------------------------- |
136 |
| - |
137 |
| -Unless You explicitly state otherwise, any Contribution intentionally submitted |
138 |
| -for inclusion in the Work by You to the Licensor shall be under the terms and |
139 |
| -conditions of this License, without any additional terms or conditions. |
140 |
| -Notwithstanding the above, nothing herein shall supersede or modify the terms |
141 |
| -of any separate license agreement you may have executed with Licensor regarding |
142 |
| -such Contributions. |
143 |
| - |
144 |
| -6. Trademarks. |
145 |
| --------------- |
146 |
| - |
147 |
| -This License does not grant permission to use the trade names, trademarks, |
148 |
| -service marks, or product names of the Licensor, except as required for |
149 |
| -reasonable and customary use in describing the origin of the Work and |
150 |
| -reproducing the content of the ``NOTICE`` file. |
151 |
| - |
152 |
| -7. Disclaimer of Warranty. |
153 |
| --------------------------- |
154 |
| - |
155 |
| -Unless required by applicable law or agreed to in writing, Licensor provides |
156 |
| -the Work (and each Contributor provides its Contributions) on an **"AS IS" |
157 |
| -BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND**, either express or |
158 |
| -implied, including, without limitation, any warranties or conditions of |
159 |
| -**TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR |
160 |
| -PURPOSE**. You are solely responsible for determining the appropriateness of |
161 |
| -using or redistributing the Work and assume any risks associated with Your |
162 |
| -exercise of permissions under this License. |
163 |
| - |
164 |
| -8. Limitation of Liability. |
165 |
| ---------------------------- |
166 |
| - |
167 |
| -In no event and under no legal theory, whether in tort (including negligence), |
168 |
| -contract, or otherwise, unless required by applicable law (such as deliberate |
169 |
| -and grossly negligent acts) or agreed to in writing, shall any Contributor be |
170 |
| -liable to You for damages, including any direct, indirect, special, incidental, |
171 |
| -or consequential damages of any character arising as a result of this License |
172 |
| -or out of the use or inability to use the Work (including but not limited to |
173 |
| -damages for loss of goodwill, work stoppage, computer failure or malfunction, |
174 |
| -or any and all other commercial damages or losses), even if such Contributor |
175 |
| -has been advised of the possibility of such damages. |
176 |
| - |
177 |
| -9. Accepting Warranty or Additional Liability. |
178 |
| ----------------------------------------------- |
179 |
| - |
180 |
| -While redistributing the Work or Derivative Works thereof, You may choose to |
181 |
| -offer, and charge a fee for, acceptance of support, warranty, indemnity, or |
182 |
| -other liability obligations and/or rights consistent with this License. |
183 |
| -However, in accepting such obligations, You may act only on Your own behalf and |
184 |
| -on Your sole responsibility, not on behalf of any other Contributor, and only |
185 |
| -if You agree to indemnify, defend, and hold each Contributor harmless for any |
186 |
| -liability incurred by, or claims asserted against, such Contributor by reason |
187 |
| -of your accepting any such warranty or additional liability. |
188 |
| - |
189 |
| -**END OF TERMS AND CONDITIONS** |
190 |
| - |
191 |
| -APPENDIX: How to apply the Apache License to your work |
192 |
| ------------------------------------------------------- |
193 |
| - |
194 |
| -To apply the Apache License to your work, attach the following boilerplate |
195 |
| -notice, with the fields enclosed by brackets "[]" replaced with your own |
196 |
| -identifying information. (Don't include the brackets!) The text should be |
197 |
| -enclosed in the appropriate comment syntax for the file format. We also |
198 |
| -recommend that a file or class name and description of purpose be included on |
199 |
| -the same "printed page" as the copyright notice for easier identification within |
200 |
| -third-party archives. :: |
201 |
| - |
202 |
| - Copyright [yyyy] [name of copyright owner] |
203 |
| - |
204 |
| - Licensed under the Apache License, Version 2.0 (the "License"); |
205 |
| - you may not use this file except in compliance with the License. |
206 |
| - You may obtain a copy of the License at |
207 |
| - |
208 |
| - http://www.apache.org/licenses/LICENSE-2.0 |
209 |
| - |
210 |
| - Unless required by applicable law or agreed to in writing, software |
211 |
| - distributed under the License is distributed on an "AS IS" BASIS, |
212 |
| - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
213 |
| - See the License for the specific language governing permissions and |
214 |
| - limitations under the License. |
| 7 | +Copyright [2020] Hewlett Packard Enterprise Development LP |
| 8 | + |
| 9 | +Permission is hereby granted, free of charge, to any person obtaining a |
| 10 | +copy of this software and associated documentation files (the "Software"), |
| 11 | +to deal in the Software without restriction, including without limitation |
| 12 | +the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 13 | +and/or sell copies of the Software, and to permit persons to whom the |
| 14 | +Software is furnished to do so, subject to the following conditions: |
| 15 | + |
| 16 | +The above copyright notice and this permission notice shall be included |
| 17 | +in all copies or substantial portions of the Software. |
| 18 | + |
| 19 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 20 | +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 21 | +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 22 | +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR |
| 23 | +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
| 24 | +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 25 | +OTHER DEALINGS IN THE SOFTWARE. |
0 commit comments