Skip to content

Commit 4baf75c

Browse files
authored
correct copyright notice; remove old copyright from ODFE (opensearch-project#257)
* correct copyright notice; remove old copyright from ODFE Signed-off-by: Yaliang Wu <ylwu@amazon.com> * fix compiling error and flaky test
1 parent 56572e1 commit 4baf75c

File tree

408 files changed

+8
-6079
lines changed

Some content is hidden

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

408 files changed

+8
-6079
lines changed

NOTICE.txt

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
1-
OpenSearch
2-
Copyright 2021 OpenSearch Contributors
3-
4-
This product includes software developed by
5-
Elasticsearch (http://www.elastic.co).
6-
Copyright 2009-2018 Elasticsearch
1+
OpenSearch (https://opensearch.org/)
2+
Copyright OpenSearch Contributors

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ This project is licensed under the [Apache v2.0 License](LICENSE.txt).
5151

5252
## Copyright
5353

54-
Copyright 2020-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
54+
Copyright OpenSearch Contributors. See [NOTICE](NOTICE.txt) for details.

build.gradle

-15
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,6 @@
99
* GitHub history for details.
1010
*/
1111

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.
25-
*/
26-
2712
import java.util.concurrent.Callable
2813
import org.opensearch.gradle.test.RestIntegTestTask
2914
import org.opensearch.gradle.testclusters.StandaloneRestIntegTestTask

gradle/wrapper/gradle-wrapper.properties

-15
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,6 @@
88
* Modifications Copyright OpenSearch Contributors. See
99
* GitHub history for details.
1010
*/
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.
25-
*/
2611

2712
distributionBase=GRADLE_USER_HOME
2813
distributionPath=wrapper/dists

settings.gradle

-15
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,4 @@
99
* GitHub history for details.
1010
*/
1111

12-
/*
13-
* Copyright 2019 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.
25-
*/
26-
2712
rootProject.name = 'opensearch-anomaly-detection'

src/main/java/org/opensearch/ad/AbstractProfileRunner.java

-15
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,6 @@
99
* GitHub history for details.
1010
*/
1111

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.
25-
*/
26-
2712
package org.opensearch.ad;
2813

2914
import java.util.Locale;

src/main/java/org/opensearch/ad/AnomalyDetectorJobRunner.java

-15
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,6 @@
99
* GitHub history for details.
1010
*/
1111

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.
25-
*/
26-
2712
package org.opensearch.ad;
2813

2914
import static org.opensearch.action.DocWriteResponse.Result.CREATED;

src/main/java/org/opensearch/ad/AnomalyDetectorPlugin.java

-15
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,6 @@
99
* GitHub history for details.
1010
*/
1111

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.
25-
*/
26-
2712
package org.opensearch.ad;
2813

2914
import static java.util.Collections.unmodifiableList;

src/main/java/org/opensearch/ad/AnomalyDetectorProfileRunner.java

-15
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,6 @@
99
* GitHub history for details.
1010
*/
1111

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.
25-
*/
26-
2712
package org.opensearch.ad;
2813

2914
import static org.opensearch.ad.constant.CommonErrorMessages.FAIL_TO_FIND_DETECTOR_MSG;

src/main/java/org/opensearch/ad/AnomalyDetectorRunner.java

-15
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,6 @@
99
* GitHub history for details.
1010
*/
1111

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.
25-
*/
26-
2712
package org.opensearch.ad;
2813

2914
import java.io.IOException;

src/main/java/org/opensearch/ad/CleanState.java

-15
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,6 @@
99
* GitHub history for details.
1010
*/
1111

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.
25-
*/
26-
2712
package org.opensearch.ad;
2813

2914
/**

src/main/java/org/opensearch/ad/DetectorModelSize.java

-15
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,6 @@
99
* GitHub history for details.
1010
*/
1111

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.
25-
*/
26-
2712
package org.opensearch.ad;
2813

2914
import java.util.Map;

src/main/java/org/opensearch/ad/EntityProfileRunner.java

-15
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,6 @@
99
* GitHub history for details.
1010
*/
1111

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.
25-
*/
26-
2712
package org.opensearch.ad;
2813

2914
import static org.opensearch.ad.model.AnomalyDetector.ANOMALY_DETECTORS_INDEX;

src/main/java/org/opensearch/ad/ExpiringState.java

-15
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,6 @@
99
* GitHub history for details.
1010
*/
1111

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.
25-
*/
26-
2712
package org.opensearch.ad;
2813

2914
import java.time.Duration;

src/main/java/org/opensearch/ad/MaintenanceState.java

-15
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,6 @@
99
* GitHub history for details.
1010
*/
1111

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.
25-
*/
26-
2712
package org.opensearch.ad;
2813

2914
import java.time.Duration;

src/main/java/org/opensearch/ad/MemoryTracker.java

-15
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,6 @@
99
* GitHub history for details.
1010
*/
1111

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.
25-
*/
26-
2712
package org.opensearch.ad;
2813

2914
import static org.opensearch.ad.settings.AnomalyDetectorSettings.MODEL_MAX_SIZE_PERCENTAGE;

src/main/java/org/opensearch/ad/Name.java

-15
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,6 @@
99
* GitHub history for details.
1010
*/
1111

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.
25-
*/
26-
2712
package org.opensearch.ad;
2813

2914
import java.util.Collection;

src/main/java/org/opensearch/ad/NodeState.java

-15
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,6 @@
99
* GitHub history for details.
1010
*/
1111

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.
25-
*/
26-
2712
package org.opensearch.ad;
2813

2914
import java.time.Clock;

src/main/java/org/opensearch/ad/NodeStateManager.java

-15
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,6 @@
99
* GitHub history for details.
1010
*/
1111

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.
25-
*/
26-
2712
package org.opensearch.ad;
2813

2914
import static org.opensearch.ad.settings.AnomalyDetectorSettings.BACKOFF_MINUTES;

0 commit comments

Comments
 (0)