mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-27 23:49:13 +00:00
This change adds the initial version of a new CLI tool `opensearch-upgrade` as part of the OpenSearch distribution. This tool is meant for assisting during an upgrade from an existing Elasticsearch v7.10.2/v6.8.0 node to OpenSearch. It automates the process of importing existing configurations and installing of core plugins. Signed-off-by: Rabi Panda <adnapibar@gmail.com>
32 lines
937 B
Groovy
32 lines
937 B
Groovy
/*
|
|
* 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.
|
|
*
|
|
*/
|
|
|
|
apply plugin: 'opensearch.build'
|
|
|
|
archivesBaseName = 'opensearch-upgrade-cli'
|
|
|
|
dependencies {
|
|
compileOnly project(":server")
|
|
compileOnly project(":libs:opensearch-cli")
|
|
implementation "com.fasterxml.jackson.core:jackson-core:${versions.jackson}"
|
|
implementation "com.fasterxml.jackson.core:jackson-databind:${versions.jackson}"
|
|
implementation "com.fasterxml.jackson.core:jackson-annotations:${versions.jackson}"
|
|
testImplementation project(":test:framework")
|
|
testImplementation 'com.google.jimfs:jimfs:1.2'
|
|
testRuntimeOnly 'com.google.guava:guava:30.1.1-jre'
|
|
}
|
|
|
|
tasks.named("dependencyLicenses").configure {
|
|
mapping from: /jackson-.*/, to: 'jackson'
|
|
}
|
|
|
|
test {
|
|
systemProperty 'tests.security.manager', 'false'
|
|
}
|