[Rename] modules/repository-url (#222)

This commit refactors the repository-url module as part of the Elasticsearch to OpenSearch renaming.

Signed-off-by: Rabi Panda <adnapibar@gmail.com>
This commit is contained in:
Rabi Panda 2021-03-08 08:33:44 -08:00 committed by Nick Knize
parent fca8a65c59
commit cf46c398d9
10 changed files with 19 additions and 19 deletions

View File

@ -17,17 +17,17 @@
* under the License.
*/
import org.elasticsearch.gradle.PropertyNormalization
import org.elasticsearch.gradle.info.BuildParams
import org.elasticsearch.gradle.test.AntFixture
import org.opensearch.gradle.PropertyNormalization
import org.opensearch.gradle.info.BuildParams
import org.opensearch.gradle.test.AntFixture
apply plugin: 'elasticsearch.yaml-rest-test'
apply plugin: 'elasticsearch.internal-cluster-test'
apply plugin: 'opensearch.yaml-rest-test'
apply plugin: 'opensearch.internal-cluster-test'
esplugin {
description 'Module for URL repository'
classname 'org.elasticsearch.plugin.repository.url.URLRepositoryPlugin'
classname 'org.opensearch.plugin.repository.url.URLRepositoryPlugin'
}
restResources {
@ -47,7 +47,7 @@ task urlFixture(type: AntFixture) {
}
env 'CLASSPATH', "${-> project.sourceSets.test.runtimeClasspath.asPath}"
executable = "${BuildParams.runtimeJavaHome}/bin/java"
args 'org.elasticsearch.repositories.url.URLFixture', baseDir, "${repositoryDir.absolutePath}"
args 'org.opensearch.repositories.url.URLFixture', baseDir, "${repositoryDir.absolutePath}"
}
yamlRestTest {
dependsOn urlFixture

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.repositories.url;
package org.opensearch.repositories.url;
import org.elasticsearch.action.admin.cluster.snapshots.create.CreateSnapshotResponse;
import org.elasticsearch.action.admin.cluster.snapshots.get.GetSnapshotsResponse;
@ -26,7 +26,7 @@ import org.elasticsearch.action.support.master.AcknowledgedResponse;
import org.elasticsearch.client.Client;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.common.unit.ByteSizeUnit;
import org.elasticsearch.plugin.repository.url.URLRepositoryPlugin;
import org.opensearch.plugin.repository.url.URLRepositoryPlugin;
import org.elasticsearch.plugins.Plugin;
import org.elasticsearch.repositories.fs.FsRepository;
import org.elasticsearch.snapshots.SnapshotState;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.common.blobstore.url;
package org.opensearch.common.blobstore.url;
import org.elasticsearch.common.SuppressForbidden;
import org.elasticsearch.common.blobstore.BlobContainer;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.common.blobstore.url;
package org.opensearch.common.blobstore.url;
import org.elasticsearch.common.blobstore.BlobContainer;
import org.elasticsearch.common.blobstore.BlobPath;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.plugin.repository.url;
package org.opensearch.plugin.repository.url;
import org.elasticsearch.cluster.service.ClusterService;
import org.elasticsearch.common.settings.Setting;
@ -27,7 +27,7 @@ import org.elasticsearch.indices.recovery.RecoverySettings;
import org.elasticsearch.plugins.Plugin;
import org.elasticsearch.plugins.RepositoryPlugin;
import org.elasticsearch.repositories.Repository;
import org.elasticsearch.repositories.url.URLRepository;
import org.opensearch.repositories.url.URLRepository;
import java.util.Arrays;
import java.util.Collections;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.repositories.url;
package org.opensearch.repositories.url;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
@ -26,7 +26,7 @@ import org.elasticsearch.cluster.service.ClusterService;
import org.elasticsearch.common.blobstore.BlobContainer;
import org.elasticsearch.common.blobstore.BlobPath;
import org.elasticsearch.common.blobstore.BlobStore;
import org.elasticsearch.common.blobstore.url.URLBlobStore;
import org.opensearch.common.blobstore.url.URLBlobStore;
import org.elasticsearch.common.settings.Setting;
import org.elasticsearch.common.settings.Setting.Property;
import org.elasticsearch.common.util.URIPattern;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.common.blobstore.url;
package org.opensearch.common.blobstore.url;
import com.sun.net.httpserver.HttpServer;
import org.elasticsearch.common.SuppressForbidden;

View File

@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.elasticsearch.repositories.url;
package org.opensearch.repositories.url;
import org.elasticsearch.test.fixture.AbstractHttpFixture;
import org.elasticsearch.common.SuppressForbidden;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.repositories.url;
package org.opensearch.repositories.url;
import org.elasticsearch.cluster.metadata.RepositoryMetadata;
import org.elasticsearch.common.settings.ClusterSettings;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.repositories.url;
package org.opensearch.repositories.url;
import com.carrotsearch.randomizedtesting.annotations.Name;
import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;