Add AGPLv3 as a supported license

This commit is contained in:
Mark Vieira 2024-09-13 13:28:03 -07:00
parent a724c79326
commit a59c182f9f
No known key found for this signature in database
GPG key ID: 9F12FCE90D9350AB
10208 changed files with 51770 additions and 40981 deletions

View file

@ -378,10 +378,11 @@ license header unless instructed otherwise:
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
The top-level `x-pack` directory contains code covered by the [Elastic The top-level `x-pack` directory contains code covered by the [Elastic

View file

@ -1,7 +1,9 @@
Source code in this repository is covered by (i) a dual license under the Server Source code in this repository is covered by (i) a triple license under the "GNU
Side Public License, v 1 and the Elastic License 2.0 or (ii) an Apache License Affero General Public License v3.0 only", "the Server Side Public License, v 1",
2.0 compatible license or (iii) solely under the Elastic License 2.0, in each and the "Elastic License 2.0", or (ii) an "Apache License 2.0" compatible
case, as noted in the applicable header. The default throughout the repository license or (iii) solely under the "Elastic License 2.0", in each case, as noted
is a dual license under the Server Side Public License, v 1 and the Elastic in the applicable header. The default throughout the repository is a triple
License 2.0, unless the header specifies another license. Code that is licensed license under the "GNU Affero General Public License v3.0 only", "the Server
solely under the Elastic License 2.0 is found only in the x-pack folder. Side Public License, v 1", and the "Elastic License 2.0", unless the header
specifies another license. Code that is licensed solely under the "Elastic
License 2.0" is found only in the x-pack folder.

11
Vagrantfile vendored
View file

@ -4,11 +4,12 @@
# This Vagrantfile exists to test packaging. Read more about its use in the # This Vagrantfile exists to test packaging. Read more about its use in the
# vagrant section in TESTING.asciidoc. # vagrant section in TESTING.asciidoc.
# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one # Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
# or more contributor license agreements. Licensed under the Elastic License # or more contributor license agreements. Licensed under the "Elastic License
# 2.0 and the Server Side Public License, v 1; you may not use this file except # 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
# in compliance with, at your election, the Elastic License 2.0 or the Server # Public License v 1"; you may not use this file except in compliance with, at
# Side Public License, v 1. # your election, the "Elastic License 2.0", the "GNU Affero General Public
# License v3.0 only", or the "Server Side Public License, v 1".
define_opts = { define_opts = {
autostart: false autostart: false

View file

@ -3,10 +3,11 @@ import org.elasticsearch.gradle.internal.test.TestUtil
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
apply plugin: org.elasticsearch.gradle.internal.ElasticsearchJavaBasePlugin apply plugin: org.elasticsearch.gradle.internal.ElasticsearchJavaBasePlugin

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.bytes; package org.elasticsearch.benchmark.bytes;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.bytes; package org.elasticsearch.benchmark.bytes;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.bytes; package org.elasticsearch.benchmark.bytes;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.bytes; package org.elasticsearch.benchmark.bytes;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.bytes; package org.elasticsearch.benchmark.bytes;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.common.util; package org.elasticsearch.benchmark.common.util;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.compute.operator; package org.elasticsearch.benchmark.compute.operator;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.compute.operator; package org.elasticsearch.benchmark.compute.operator;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.compute.operator; package org.elasticsearch.benchmark.compute.operator;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.compute.operator; package org.elasticsearch.benchmark.compute.operator;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.compute.operator; package org.elasticsearch.benchmark.compute.operator;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.compute.operator; package org.elasticsearch.benchmark.compute.operator;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.compute.operator; package org.elasticsearch.benchmark.compute.operator;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.compute.operator; package org.elasticsearch.benchmark.compute.operator;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.fs; package org.elasticsearch.benchmark.fs;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.h3; package org.elasticsearch.benchmark.h3;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.h3; package org.elasticsearch.benchmark.h3;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.index.codec.tsdb; package org.elasticsearch.benchmark.index.codec.tsdb;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.index.codec.tsdb; package org.elasticsearch.benchmark.index.codec.tsdb;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.index.codec.tsdb; package org.elasticsearch.benchmark.index.codec.tsdb;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.index.codec.tsdb; package org.elasticsearch.benchmark.index.codec.tsdb;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.index.codec.tsdb; package org.elasticsearch.benchmark.index.codec.tsdb;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.index.codec.tsdb; package org.elasticsearch.benchmark.index.codec.tsdb;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.index.codec.tsdb; package org.elasticsearch.benchmark.index.codec.tsdb;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.index.codec.tsdb; package org.elasticsearch.benchmark.index.codec.tsdb;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.index.codec.tsdb.internal; package org.elasticsearch.benchmark.index.codec.tsdb.internal;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.index.codec.tsdb.internal; package org.elasticsearch.benchmark.index.codec.tsdb.internal;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.index.codec.tsdb.internal; package org.elasticsearch.benchmark.index.codec.tsdb.internal;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.index.codec.tsdb.internal; package org.elasticsearch.benchmark.index.codec.tsdb.internal;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.index.codec.tsdb.internal; package org.elasticsearch.benchmark.index.codec.tsdb.internal;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.index.codec.tsdb.internal; package org.elasticsearch.benchmark.index.codec.tsdb.internal;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.index.codec.tsdb.internal; package org.elasticsearch.benchmark.index.codec.tsdb.internal;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.index.codec.tsdb.internal; package org.elasticsearch.benchmark.index.codec.tsdb.internal;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.index.mapper; package org.elasticsearch.benchmark.index.mapper;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.index.mapper; package org.elasticsearch.benchmark.index.mapper;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.index.mapper; package org.elasticsearch.benchmark.index.mapper;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.index.mapper; package org.elasticsearch.benchmark.index.mapper;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.indices.breaker; package org.elasticsearch.benchmark.indices.breaker;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.indices.common; package org.elasticsearch.benchmark.indices.common;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.routing.allocation; package org.elasticsearch.benchmark.routing.allocation;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.routing.allocation; package org.elasticsearch.benchmark.routing.allocation;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.routing.allocation; package org.elasticsearch.benchmark.routing.allocation;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.routing.allocation; package org.elasticsearch.benchmark.routing.allocation;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.script; package org.elasticsearch.benchmark.script;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.search; package org.elasticsearch.benchmark.search;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.search.aggregations; package org.elasticsearch.benchmark.search.aggregations;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.search.aggregations; package org.elasticsearch.benchmark.search.aggregations;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.search.aggregations.bucket.terms; package org.elasticsearch.benchmark.search.aggregations.bucket.terms;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.search.aggregations.bucket.terms; package org.elasticsearch.benchmark.search.aggregations.bucket.terms;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.search.fetch.subphase; package org.elasticsearch.benchmark.search.fetch.subphase;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.spatial; package org.elasticsearch.benchmark.spatial;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.time; package org.elasticsearch.benchmark.time;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.vector; package org.elasticsearch.benchmark.vector;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.vector; package org.elasticsearch.benchmark.vector;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.benchmark.xcontent; package org.elasticsearch.benchmark.xcontent;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
import org.gradle.plugins.ide.eclipse.model.SourceFolder import org.gradle.plugins.ide.eclipse.model.SourceFolder

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
rootProject.name = 'build-conventions' rootProject.name = 'build-conventions'
@ -13,4 +14,4 @@ dependencyResolutionManagement {
from(files("../gradle/build.versions.toml")) from(files("../gradle/build.versions.toml"))
} }
} }
} }

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal.checkstyle; package org.elasticsearch.gradle.internal.checkstyle;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal.checkstyle; package org.elasticsearch.gradle.internal.checkstyle;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal.checkstyle; package org.elasticsearch.gradle.internal.checkstyle;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal.checkstyle; package org.elasticsearch.gradle.internal.checkstyle;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal.conventions; package org.elasticsearch.gradle.internal.conventions;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal.conventions; package org.elasticsearch.gradle.internal.conventions;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal.conventions; package org.elasticsearch.gradle.internal.conventions;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal.conventions; package org.elasticsearch.gradle.internal.conventions;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal.conventions; package org.elasticsearch.gradle.internal.conventions;
@ -55,4 +56,4 @@ public class LicensingPlugin implements Plugin<Project> {
return project.getVersion().toString().endsWith("-SNAPSHOT"); return project.getVersion().toString().endsWith("-SNAPSHOT");
} }
} }

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal.conventions; package org.elasticsearch.gradle.internal.conventions;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal.conventions; package org.elasticsearch.gradle.internal.conventions;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal.conventions; package org.elasticsearch.gradle.internal.conventions;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal.conventions; package org.elasticsearch.gradle.internal.conventions;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal.conventions.info; package org.elasticsearch.gradle.internal.conventions.info;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal.conventions.info; package org.elasticsearch.gradle.internal.conventions.info;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal.conventions.precommit; package org.elasticsearch.gradle.internal.conventions.precommit;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal.conventions.precommit; package org.elasticsearch.gradle.internal.conventions.precommit;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal.conventions.precommit; package org.elasticsearch.gradle.internal.conventions.precommit;
@ -66,15 +67,21 @@ public abstract class LicenseHeadersTask extends DefaultTask {
private final RegularFileProperty reportFile; private final RegularFileProperty reportFile;
private static List<License> conventionalLicenses = Arrays.asList( private static List<License> conventionalLicenses = Arrays.asList(
// Dual SSPLv1 and Elastic // Triple AGPL, SSPLv1 and Elastic
new License("DUAL", "SSPL+Elastic License", "the Elastic License 2.0 or the Server") new License(
"TRIPLE",
"AGLP+SSPL+Elastic License",
"2.0\", the \"GNU Affero General Public License v3.0 only\", and the \"Server Side"
)
); );
/** /**
* Allowed license families for this project. * Allowed license families for this project.
*/ */
@Input @Input
private List<String> approvedLicenses = new ArrayList<String>(Arrays.asList("SSPL+Elastic License", "Generated", "Vendored", "Apache LZ4-Java")); private List<String> approvedLicenses = new ArrayList<String>(
Arrays.asList("AGLP+SSPL+Elastic License", "Generated", "Vendored", "Apache LZ4-Java")
);
/** /**
* Files that should be excluded from the license header check. Use with extreme care, only in situations where the license on the * Files that should be excluded from the license header check. Use with extreme care, only in situations where the license on the
* source file is compatible with the codebase but we do not want to add the license to the list of approved headers (to avoid the * source file is compatible with the codebase but we do not want to add the license to the list of approved headers (to avoid the
@ -88,9 +95,7 @@ public abstract class LicenseHeadersTask extends DefaultTask {
@Inject @Inject
public LicenseHeadersTask(ObjectFactory objectFactory, ProjectLayout projectLayout) { public LicenseHeadersTask(ObjectFactory objectFactory, ProjectLayout projectLayout) {
additionalLicenses = objectFactory.listProperty(License.class).convention(conventionalLicenses); additionalLicenses = objectFactory.listProperty(License.class).convention(conventionalLicenses);
reportFile = objectFactory.fileProperty().convention( reportFile = objectFactory.fileProperty().convention(projectLayout.getBuildDirectory().file("reports/licenseHeaders/rat.xml"));
projectLayout.getBuildDirectory().file("reports/licenseHeaders/rat.xml")
);
setDescription("Checks sources for missing, incorrect, or unacceptable license headers"); setDescription("Checks sources for missing, incorrect, or unacceptable license headers");
} }
@ -138,6 +143,7 @@ public abstract class LicenseHeadersTask extends DefaultTask {
public ListProperty<License> getAdditionalLicenses() { public ListProperty<License> getAdditionalLicenses() {
return additionalLicenses; return additionalLicenses;
} }
/** /**
* Add a new license type. * Add a new license type.
* <p> * <p>
@ -174,9 +180,8 @@ public abstract class LicenseHeadersTask extends DefaultTask {
// Vendored Code // Vendored Code
matchers.add(subStringMatcher("VEN ", "Vendored", "@notice")); matchers.add(subStringMatcher("VEN ", "Vendored", "@notice"));
additionalLicenses.get().forEach(l -> additionalLicenses.get()
matchers.add(subStringMatcher(l.licenseFamilyCategory, l.licenseFamilyName, l.substringPattern)) .forEach(l -> matchers.add(subStringMatcher(l.licenseFamilyCategory, l.licenseFamilyName, l.substringPattern)));
);
reportConfiguration.setHeaderMatcher(new HeaderMatcherMultiplexer(matchers.toArray(IHeaderMatcher[]::new))); reportConfiguration.setHeaderMatcher(new HeaderMatcherMultiplexer(matchers.toArray(IHeaderMatcher[]::new)));
reportConfiguration.setApprovedLicenseNames(approvedLicenses.stream().map(license -> { reportConfiguration.setApprovedLicenseNames(approvedLicenses.stream().map(license -> {
@ -234,8 +239,7 @@ public abstract class LicenseHeadersTask extends DefaultTask {
private static List<String> unapprovedFiles(File xmlReportFile) { private static List<String> unapprovedFiles(File xmlReportFile) {
try { try {
NodeList resourcesNodes = createXmlDocumentBuilderFactory() NodeList resourcesNodes = createXmlDocumentBuilderFactory().newDocumentBuilder()
.newDocumentBuilder()
.parse(xmlReportFile) .parse(xmlReportFile)
.getElementsByTagName("resource"); .getElementsByTagName("resource");
return elementList(resourcesNodes).stream() return elementList(resourcesNodes).stream()

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal.conventions.precommit; package org.elasticsearch.gradle.internal.conventions.precommit;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal.conventions.precommit; package org.elasticsearch.gradle.internal.conventions.precommit;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal.conventions.precommit; package org.elasticsearch.gradle.internal.conventions.precommit;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal.conventions.precommit; package org.elasticsearch.gradle.internal.conventions.precommit;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal.conventions.precommit; package org.elasticsearch.gradle.internal.conventions.precommit;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal.conventions.util; package org.elasticsearch.gradle.internal.conventions.util;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
import org.apache.tools.ant.filters.ReplaceTokens import org.apache.tools.ant.filters.ReplaceTokens

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.fixtures package org.elasticsearch.gradle.fixtures

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.fixtures package org.elasticsearch.gradle.fixtures

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.fixtures; package org.elasticsearch.gradle.fixtures;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.fixtures package org.elasticsearch.gradle.fixtures
@ -66,7 +67,7 @@ class LocalRepositoryFixture extends ExternalResource {
artifact() artifact()
} }
} }
} }
""" """
} }

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal package org.elasticsearch.gradle.internal
@ -83,10 +84,11 @@ class BuildPluginFuncTest extends AbstractGradleFuncTest {
file('src/main/java/org/elasticsearch/SampleClass.java') << """\ file('src/main/java/org/elasticsearch/SampleClass.java') << """\
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch; package org.elasticsearch;

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal package org.elasticsearch.gradle.internal

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal package org.elasticsearch.gradle.internal

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal package org.elasticsearch.gradle.internal

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal package org.elasticsearch.gradle.internal

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal package org.elasticsearch.gradle.internal

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal package org.elasticsearch.gradle.internal

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal package org.elasticsearch.gradle.internal

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal package org.elasticsearch.gradle.internal

View file

@ -1,9 +1,10 @@
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License * or more contributor license agreements. Licensed under the "Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* in compliance with, at your election, the Elastic License 2.0 or the Server * Public License v 1"; you may not use this file except in compliance with, at
* Side Public License, v 1. * your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/ */
package org.elasticsearch.gradle.internal package org.elasticsearch.gradle.internal

Some files were not shown because too many files have changed in this diff Show more