Skip to content

Commit

Permalink
Add license and notice files
Browse files Browse the repository at this point in the history
  • Loading branch information
f-galland committed Oct 10, 2024
1 parent e5ecc50 commit 6cced11
Show file tree
Hide file tree
Showing 16 changed files with 2,326 additions and 3 deletions.
7 changes: 4 additions & 3 deletions plugins/command-manager/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ def versions = [
httpclient5: "5.4",
httpcore5: "5.3",
slf4j: "1.7.36",
log4j: "2.23.1"
log4j: "2.23.1",
conscrypt: "2.5.2"
]

dependencies {
Expand All @@ -64,6 +65,7 @@ dependencies {
api "org.apache.httpcomponents.core5:httpcore5:${versions.httpcore5}"
api "org.apache.logging.log4j:log4j-slf4j-impl:${versions.log4j}"
api "org.slf4j:slf4j-api:${versions.slf4j}"
api "org.conscrypt:conscrypt-openjdk-uber:${versions.conscrypt}"
}

// This requires an additional Jar not published as part of build-tools
Expand Down Expand Up @@ -136,5 +138,4 @@ task updateVersion {
// String tokenization to support -SNAPSHOT
ant.replaceregexp(file: 'build.gradle', match: '"opensearch.version", "\\d.*"', replace: '"opensearch.version", "' + newVersion.tokenize('-')[0] + '-SNAPSHOT"', flags: 'g', byline: true)
}
}

}
558 changes: 558 additions & 0 deletions plugins/command-manager/licenses/conscrypt-openjdk-uber-LICENSE.txt

Large diffs are not rendered by default.

Empty file.
558 changes: 558 additions & 0 deletions plugins/command-manager/licenses/httpclient5-LICENSE.txt

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions plugins/command-manager/licenses/httpclient5-NOTICE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Apache HttpComponents Client
Copyright 1999-2023 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).

This product includes a copy of in https://publicsuffix.org/list/effective_tld_names.dat
in httpclient5/src/test/resources/org/publicsuffix/list/effective_tld_names.dat
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at https://mozilla.org/MPL/2.0/.
558 changes: 558 additions & 0 deletions plugins/command-manager/licenses/httpcore5-LICENSE.txt

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions plugins/command-manager/licenses/httpcore5-NOTICE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Apache HttpComponents Client
Copyright 1999-2023 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).

This product includes a copy of in https://publicsuffix.org/list/effective_tld_names.dat
in httpclient5/src/test/resources/org/publicsuffix/list/effective_tld_names.dat
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at https://mozilla.org/MPL/2.0/.
558 changes: 558 additions & 0 deletions plugins/command-manager/licenses/httpcore5-h2-LICENSE.txt

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions plugins/command-manager/licenses/httpcore5-h2-NOTICE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Apache HttpComponents Client
Copyright 1999-2023 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).

This product includes a copy of in https://publicsuffix.org/list/effective_tld_names.dat
in httpclient5/src/test/resources/org/publicsuffix/list/effective_tld_names.dat
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at https://mozilla.org/MPL/2.0/.
21 changes: 21 additions & 0 deletions plugins/command-manager/licenses/log4j-slf4j-impl-LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Copyright (c) 2004-2022 QOS.ch Sarl (Switzerland)
All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Empty file.
21 changes: 21 additions & 0 deletions plugins/command-manager/licenses/slf4j-api-LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Copyright (c) 2004-2023 QOS.ch
All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Empty file.
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
package com.wazuh.commandmanager.config.reader;

public class ConfigReader {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,4 @@ public void close() {
this.client.close(CloseMode.GRACEFUL);
}
}

Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
package com.wazuh.commandmanager.scheduler;

import com.wazuh.commandmanager.config.reader.ConfigReader;
Expand Down

0 comments on commit 6cced11

Please sign in to comment.