diff --git a/testing/indexer-test-gcp/src/test/java/org/opengroup/osdu/step_definitions/index/mapping/RunTest.java b/testing/indexer-test-gcp/src/test/java/org/opengroup/osdu/step_definitions/index/mapping/RunTest.java deleted file mode 100644 index 0e241327b72e1e9f527ef68973c2c4b850fc13ec..0000000000000000000000000000000000000000 --- a/testing/indexer-test-gcp/src/test/java/org/opengroup/osdu/step_definitions/index/mapping/RunTest.java +++ /dev/null @@ -1,13 +0,0 @@ -package org.opengroup.osdu.step_definitions.index.mapping; - -import cucumber.api.CucumberOptions; -import cucumber.api.junit.Cucumber; -import org.junit.runner.RunWith; - -@RunWith(Cucumber.class) -@CucumberOptions( - features = "src/test/resources/features/updateindex/UpdateIndexMapping.feature", - glue = {"classpath:org.opengroup.osdu.step_definitions/index/mapping"}, - format = {"pretty", "junit:target/cucumber-reports/TEST-updateindexmapping.xml"}) -public class RunTest { -} \ No newline at end of file diff --git a/testing/indexer-test-gcp/src/test/java/org/opengroup/osdu/step_definitions/index/mapping/Steps.java b/testing/indexer-test-gcp/src/test/java/org/opengroup/osdu/step_definitions/index/mapping/Steps.java deleted file mode 100644 index 13ed238141d4df089d2427476ca9f5c0548a1978..0000000000000000000000000000000000000000 --- a/testing/indexer-test-gcp/src/test/java/org/opengroup/osdu/step_definitions/index/mapping/Steps.java +++ /dev/null @@ -1,72 +0,0 @@ -package org.opengroup.osdu.step_definitions.index.mapping; - -import lombok.extern.java.Log; -import org.opengroup.osdu.common.MappingSteps; -import org.opengroup.osdu.util.GCPHTTPClient; - -import cucumber.api.Scenario; -import cucumber.api.java.Before; -import cucumber.api.DataTable; -import cucumber.api.java.en.Given; -import cucumber.api.java.en.Then; -import cucumber.api.java.en.When; - -import java.util.stream.StreamSupport; - -@Log -public class Steps extends MappingSteps { - - public Steps() { - super(new GCPHTTPClient()); - } - - @Before - public void before(Scenario scenario) { - this.scenario = scenario; - this.httpClient = new GCPHTTPClient(); - } - - @Given("^the elastic search is initialized with the following data$") - public void the_elastic_search_is_initialized_with_the_following_data(DataTable dataTable) { - super.the_elastic_search_is_initialized_with_the_following_data(dataTable); - } - - @When("^I update \"([^\"]*)\" in \"([^\"]*)\" ,\"([^\"]*)\" to enable multifield indexing$") - public void i_update_in_to_enable_multifield_indexing(String fieldNameVal, String index1, String index2) throws Throwable { - super.i_update_in_to_enable_multifield_indexing(fieldNameVal, index1, index2); - } - - @When("^I send request to tenant \"(.*?)\"$") - public void i_send_request_to_tenant(String tenant) { - super.i_send_request_to_tenant(tenant); - } - - @Then("^I should get (\\d+) response$") - public void i_should_get_response(int responseCode) throws Throwable { - super.i_should_get_response(responseCode); - } - - @When("^I send \"(.*?)\" with \"(.*?)\"$") - public void i_send_with(String query, String kind) { - super.i_send_with(query, kind); - } - @When("^I send None with \"(.*?)\"$") - public void i_send_None_with(String kind) { - super.i_send_None_with(kind); - } - @When("^I want to aggregate by \"(.*?)\"$") - public void i_aggregate_by(String aggField) throws Throwable { - super.i_aggregate_by(aggField); - } - - @Then("^I should get in response (\\d+) records$") - public void i_should_get_in_response_records(int resultCount) { - super.i_should_get_in_response_records(resultCount); - } - - @Then("^I want to validate mapping by \"([^\"]*)\" ,\"([^\"]*)\" and \"([^\"]*)\" and \"([^\"]*)\"$") - public void i_want_to_validate_mapping(String indexOne, String indexTwo,String fieldName,String type) throws Throwable { - super.i_want_to_validate_mapping(indexOne, indexTwo, fieldName, type); - } - -} \ No newline at end of file