Skip to content

Commit

Permalink
Revert "Updates license headers (#1829)"
Browse files Browse the repository at this point in the history
This reverts commit f431ec2.
  • Loading branch information
cliu123 authored Jun 8, 2022
1 parent f431ec2 commit 3b40cf7
Show file tree
Hide file tree
Showing 397 changed files with 3,933 additions and 2,397 deletions.
8 changes: 0 additions & 8 deletions config/checkstyle/sun_checks.xml
Original file line number Diff line number Diff line change
Expand Up @@ -204,12 +204,4 @@
<property name="severity" value="warning"/>
</module>

<!-- Checks for Headers to not contain old license text -->
<module name="RegexpSingleline">
<property name="format" value="\*( Portions)? Copyright OpenSearch Contributors"/>
<property name="ignoreCase" value="true"/>
<property name="message" value="Incorrect license header" />
<property name="severity" value="error"/>
</module>

</module>
16 changes: 10 additions & 6 deletions plugin-security.policy
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,18 @@
*/

/*
* SPDX-License-Identifier: Apache-2.0
* Portions Copyright OpenSearch Contributors
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "license" file accompanying this file. This file 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.
*/


Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright OpenSearch Contributors
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "license" file accompanying this file. This file 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.
*/

package com.amazon.dlic.auth.http.jwt;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright OpenSearch Contributors
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "license" file accompanying this file. This file 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.
*/

package com.amazon.dlic.auth.http.jwt;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright OpenSearch Contributors
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "license" file accompanying this file. This file 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.
*/

package com.amazon.dlic.auth.http.jwt.keybyoidc;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright OpenSearch Contributors
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "license" file accompanying this file. This file 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.
*/

package com.amazon.dlic.auth.http.jwt.keybyoidc;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright OpenSearch Contributors
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "license" file accompanying this file. This file 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.
*/

package com.amazon.dlic.auth.http.jwt.keybyoidc;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright OpenSearch Contributors
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "license" file accompanying this file. This file 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.
*/

package com.amazon.dlic.auth.http.jwt.keybyoidc;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright OpenSearch Contributors
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "license" file accompanying this file. This file 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.
*/

package com.amazon.dlic.auth.http.jwt.keybyoidc;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright OpenSearch Contributors
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "license" file accompanying this file. This file 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.
*/

package com.amazon.dlic.auth.http.jwt.keybyoidc;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright OpenSearch Contributors
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "license" file accompanying this file. This file 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.
*/

package com.amazon.dlic.auth.http.jwt.keybyoidc;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright OpenSearch Contributors
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "license" file accompanying this file. This file 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.
*/

package com.amazon.dlic.auth.http.jwt.keybyoidc;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright OpenSearch Contributors
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "license" file accompanying this file. This file 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.
*/

package com.amazon.dlic.auth.http.jwt.oidc.json;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright OpenSearch Contributors
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "license" file accompanying this file. This file 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.
*/

package com.amazon.dlic.auth.http.kerberos;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright OpenSearch Contributors
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "license" file accompanying this file. This file 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.
*/

package com.amazon.dlic.auth.http.kerberos.util;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright OpenSearch Contributors
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "license" file accompanying this file. This file 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.
*/

package com.amazon.dlic.auth.http.kerberos.util;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright OpenSearch Contributors
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "license" file accompanying this file. This file 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.
*/

package com.amazon.dlic.auth.http.saml;
Expand Down
Loading

0 comments on commit 3b40cf7

Please sign in to comment.