Skip to content

Commit 822e4fb

Browse files
dbbaughezelinh
authored andcommitted
Fixes copyright headers (#117)
Signed-off-by: Drew Baugher <46505179+dbbaughe@users.noreply.github.com> Signed-off-by: Zelin Hao <zelinhao@amazon.com>
1 parent c5476b6 commit 822e4fb

File tree

133 files changed

+135
-2843
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+135
-2843
lines changed

build.gradle

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
/*
2+
* Copyright OpenSearch Contributors
23
* SPDX-License-Identifier: Apache-2.0
3-
*
4-
* The OpenSearch Contributors require contributions made to
5-
* this file be licensed under the Apache-2.0 license or a
6-
* compatible open source license.
7-
*
8-
* Modifications Copyright OpenSearch Contributors. See
9-
* GitHub history for details.
104
*/
115

126
buildscript {

detekt.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
---
22
#
3+
# Copyright OpenSearch Contributors
34
# SPDX-License-Identifier: Apache-2.0
45
#
5-
# The OpenSearch Contributors require contributions made to
6-
# this file be licensed under the Apache-2.0 license or a
7-
# compatible open source license.
8-
#
9-
# Modifications Copyright OpenSearch Contributors. See
10-
# GitHub history for details.
11-
#
126

137
style:
148
ForbiddenComment:

settings.gradle

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
/*
2+
* Copyright OpenSearch Contributors
23
* SPDX-License-Identifier: Apache-2.0
3-
*
4-
* The OpenSearch Contributors require contributions made to
5-
* this file be licensed under the Apache-2.0 license or a
6-
* compatible open source license.
7-
*
8-
* Modifications Copyright OpenSearch Contributors. See
9-
* GitHub history for details.
104
*/
115

126
rootProject.name = 'common-utils'

spotless.license.java

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,5 @@
11
/*
2+
* Copyright OpenSearch Contributors
23
* SPDX-License-Identifier: Apache-2.0
3-
*
4-
* The OpenSearch Contributors require contributions made to
5-
* this file be licensed under the Apache-2.0 license or a
6-
* compatible open source license.
7-
*
8-
* Modifications Copyright OpenSearch Contributors. See
9-
* GitHub history for details.
10-
*/
11-
12-
/*
13-
* Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
14-
*
15-
* Licensed under the Apache License, Version 2.0 (the "License").
16-
* You may not use this file except in compliance with the License.
17-
* A copy of the License is located at
18-
*
19-
* http://www.apache.org/licenses/LICENSE-2.0
20-
*
21-
* or in the "license" file accompanying this file. This file is distributed
22-
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
23-
* express or implied. See the License for the specific language governing
24-
* permissions and limitations under the License.
254
*/
265

src/main/java/org/opensearch/commons/ConfigConstants.java

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,6 @@
11
/*
2+
* Copyright OpenSearch Contributors
23
* SPDX-License-Identifier: Apache-2.0
3-
*
4-
* The OpenSearch Contributors require contributions made to
5-
* this file be licensed under the Apache-2.0 license or a
6-
* compatible open source license.
7-
*
8-
* Modifications Copyright OpenSearch Contributors. See
9-
* GitHub history for details.
10-
*/
11-
12-
/*
13-
* Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
14-
*
15-
* Licensed under the Apache License, Version 2.0 (the "License").
16-
* You may not use this file except in compliance with the License.
17-
* A copy of the License is located at
18-
*
19-
* http://www.apache.org/licenses/LICENSE-2.0
20-
*
21-
* or in the "license" file accompanying this file. This file is distributed
22-
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
23-
* express or implied. See the License for the specific language governing
24-
* permissions and limitations under the License.
254
*/
265

276
package org.opensearch.commons;

src/main/java/org/opensearch/commons/InjectSecurity.java

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,6 @@
11
/*
2+
* Copyright OpenSearch Contributors
23
* SPDX-License-Identifier: Apache-2.0
3-
*
4-
* The OpenSearch Contributors require contributions made to
5-
* this file be licensed under the Apache-2.0 license or a
6-
* compatible open source license.
7-
*
8-
* Modifications Copyright OpenSearch Contributors. See
9-
* GitHub history for details.
10-
*/
11-
12-
/*
13-
* Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
14-
*
15-
* Licensed under the Apache License, Version 2.0 (the "License").
16-
* You may not use this file except in compliance with the License.
17-
* A copy of the License is located at
18-
*
19-
* http://www.apache.org/licenses/LICENSE-2.0
20-
*
21-
* or in the "license" file accompanying this file. This file is distributed
22-
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
23-
* express or implied. See the License for the specific language governing
24-
* permissions and limitations under the License.
254
*/
265

276
package org.opensearch.commons;

src/main/java/org/opensearch/commons/authuser/AuthUserRequestBuilder.java

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,6 @@
11
/*
2+
* Copyright OpenSearch Contributors
23
* SPDX-License-Identifier: Apache-2.0
3-
*
4-
* The OpenSearch Contributors require contributions made to
5-
* this file be licensed under the Apache-2.0 license or a
6-
* compatible open source license.
7-
*
8-
* Modifications Copyright OpenSearch Contributors. See
9-
* GitHub history for details.
10-
*/
11-
12-
/*
13-
* Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
14-
*
15-
* Licensed under the Apache License, Version 2.0 (the "License").
16-
* You may not use this file except in compliance with the License.
17-
* A copy of the License is located at
18-
*
19-
* http://www.apache.org/licenses/LICENSE-2.0
20-
*
21-
* or in the "license" file accompanying this file. This file is distributed
22-
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
23-
* express or implied. See the License for the specific language governing
24-
* permissions and limitations under the License.
254
*/
265

276
package org.opensearch.commons.authuser;

src/main/java/org/opensearch/commons/authuser/User.java

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,6 @@
11
/*
2+
* Copyright OpenSearch Contributors
23
* SPDX-License-Identifier: Apache-2.0
3-
*
4-
* The OpenSearch Contributors require contributions made to
5-
* this file be licensed under the Apache-2.0 license or a
6-
* compatible open source license.
7-
*
8-
* Modifications Copyright OpenSearch Contributors. See
9-
* GitHub history for details.
10-
*/
11-
12-
/*
13-
* Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
14-
*
15-
* Licensed under the Apache License, Version 2.0 (the "License").
16-
* You may not use this file except in compliance with the License.
17-
* A copy of the License is located at
18-
*
19-
* http://www.apache.org/licenses/LICENSE-2.0
20-
*
21-
* or in the "license" file accompanying this file. This file is distributed
22-
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
23-
* express or implied. See the License for the specific language governing
24-
* permissions and limitations under the License.
254
*/
265

276
package org.opensearch.commons.authuser;

src/main/java/org/opensearch/commons/destination/message/LegacyBaseMessage.java

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,6 @@
11
/*
2+
* Copyright OpenSearch Contributors
23
* SPDX-License-Identifier: Apache-2.0
3-
*
4-
* The OpenSearch Contributors require contributions made to
5-
* this file be licensed under the Apache-2.0 license or a
6-
* compatible open source license.
7-
*
8-
* Modifications Copyright OpenSearch Contributors. See
9-
* GitHub history for details.
10-
*/
11-
12-
/*
13-
* Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
14-
*
15-
* Licensed under the Apache License, Version 2.0 (the "License").
16-
* You may not use this file except in compliance with the License.
17-
* A copy of the License is located at
18-
*
19-
* http://www.apache.org/licenses/LICENSE-2.0
20-
*
21-
* or in the "license" file accompanying this file. This file is distributed
22-
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
23-
* express or implied. See the License for the specific language governing
24-
* permissions and limitations under the License.
254
*/
265

276
package org.opensearch.commons.destination.message;

src/main/java/org/opensearch/commons/destination/message/LegacyChimeMessage.java

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,6 @@
11
/*
2+
* Copyright OpenSearch Contributors
23
* SPDX-License-Identifier: Apache-2.0
3-
*
4-
* The OpenSearch Contributors require contributions made to
5-
* this file be licensed under the Apache-2.0 license or a
6-
* compatible open source license.
7-
*
8-
* Modifications Copyright OpenSearch Contributors. See
9-
* GitHub history for details.
10-
*/
11-
12-
/*
13-
* Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
14-
*
15-
* Licensed under the Apache License, Version 2.0 (the "License").
16-
* You may not use this file except in compliance with the License.
17-
* A copy of the License is located at
18-
*
19-
* http://www.apache.org/licenses/LICENSE-2.0
20-
*
21-
* or in the "license" file accompanying this file. This file is distributed
22-
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
23-
* express or implied. See the License for the specific language governing
24-
* permissions and limitations under the License.
254
*/
265

276
package org.opensearch.commons.destination.message;

0 commit comments

Comments
 (0)