[Rename] refactor libs/dissect. (#263)
Refactor the `libs/dissect` module to rename the package name from `org.elasticsearch.dissect` to `org.opensearch.dissect` as part of the rename to OpenSearch work. Signed-off-by: Rabi Panda <adnapibar@gmail.com>
This commit is contained in:
parent
577e2b74aa
commit
0f34db0d88
|
@ -19,7 +19,7 @@
|
|||
|
||||
dependencies {
|
||||
testImplementation(project(":test:framework")) {
|
||||
exclude group: 'org.elasticsearch', module: 'elasticsearch-dissect'
|
||||
exclude group: 'org.opensearch', module: 'opensearch-dissect'
|
||||
}
|
||||
testImplementation "com.fasterxml.jackson.core:jackson-core:${versions.jackson}"
|
||||
testImplementation "com.fasterxml.jackson.core:jackson-annotations:${versions.jackson}"
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.dissect;
|
||||
package org.opensearch.dissect;
|
||||
|
||||
/**
|
||||
* Parent class for all dissect related exceptions. Consumers may catch this exception or more specific child exceptions.
|
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.dissect;
|
||||
package org.opensearch.dissect;
|
||||
|
||||
import java.util.EnumSet;
|
||||
import java.util.regex.Matcher;
|
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.dissect;
|
||||
package org.opensearch.dissect;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.dissect;
|
||||
package org.opensearch.dissect;
|
||||
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.util.ArrayList;
|
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.dissect;
|
||||
package org.opensearch.dissect;
|
||||
|
||||
import org.elasticsearch.test.ESTestCase;
|
||||
import org.hamcrest.CoreMatchers;
|
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.dissect;
|
||||
package org.opensearch.dissect;
|
||||
|
||||
import org.elasticsearch.common.collect.MapBuilder;
|
||||
import org.elasticsearch.test.ESTestCase;
|
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.dissect;
|
||||
package org.opensearch.dissect;
|
||||
|
||||
import com.fasterxml.jackson.databind.JsonNode;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
package org.opensearch.ingest.common;
|
||||
|
||||
import org.elasticsearch.dissect.DissectParser;
|
||||
import org.opensearch.dissect.DissectParser;
|
||||
import org.elasticsearch.ingest.AbstractProcessor;
|
||||
import org.elasticsearch.ingest.ConfigurationUtils;
|
||||
import org.elasticsearch.ingest.IngestDocument;
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
package org.opensearch.ingest.common;
|
||||
|
||||
import org.elasticsearch.OpenSearchParseException;
|
||||
import org.elasticsearch.dissect.DissectException;
|
||||
import org.opensearch.dissect.DissectException;
|
||||
import org.elasticsearch.ingest.RandomDocumentPicks;
|
||||
import org.elasticsearch.test.ESTestCase;
|
||||
import org.hamcrest.Matchers;
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
package org.opensearch.ingest.common;
|
||||
|
||||
import org.elasticsearch.common.collect.MapBuilder;
|
||||
import org.elasticsearch.dissect.DissectException;
|
||||
import org.opensearch.dissect.DissectException;
|
||||
import org.elasticsearch.ingest.IngestDocument;
|
||||
import org.elasticsearch.ingest.Processor;
|
||||
import org.elasticsearch.ingest.RandomDocumentPicks;
|
||||
|
@ -34,7 +34,7 @@ import static org.elasticsearch.ingest.IngestDocumentMatcher.assertIngestDocumen
|
|||
import static org.hamcrest.Matchers.equalTo;
|
||||
|
||||
/**
|
||||
* Basic tests for the {@link DissectProcessor}. See the {@link org.elasticsearch.dissect.DissectParser} test suite for a comprehensive
|
||||
* Basic tests for the {@link DissectProcessor}. See the {@link org.opensearch.dissect.DissectParser} test suite for a comprehensive
|
||||
* set of dissect tests.
|
||||
*/
|
||||
public class DissectProcessorTests extends ESTestCase {
|
||||
|
|
Loading…
Reference in New Issue