Skip to content

Commit

Permalink
compile fix
Browse files Browse the repository at this point in the history
Signed-off-by: Petar Dzepina <[email protected]>
  • Loading branch information
petardz committed May 31, 2023
1 parent 31338f9 commit 4b7d6a2
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 50 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,6 @@ import org.opensearch.action.admin.indices.alias.IndicesAliasesRequest
import org.opensearch.client.ResponseException
import org.opensearch.client.RestClient
import org.opensearch.commons.rest.SecureRestClientBuilder
import org.opensearch.indexmanagement.BULK_WRITE_INDEX
import org.opensearch.indexmanagement.CREATE_INDEX
import org.opensearch.indexmanagement.GET_INDEX_MAPPING
import org.opensearch.indexmanagement.IndexManagementPlugin
import org.opensearch.indexmanagement.MANAGED_INDEX
import org.opensearch.indexmanagement.PUT_INDEX_MAPPING
import org.opensearch.indexmanagement.SEARCH_INDEX
import org.opensearch.indexmanagement.SecurityRestTestCase
import org.opensearch.indexmanagement.WRITE_INDEX
import org.opensearch.indexmanagement.IndexManagementPlugin
import org.opensearch.indexmanagement.SecurityRestTestCase
import org.opensearch.indexmanagement.indexstatemanagement.action.AliasAction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import org.junit.After
import org.junit.Before
import org.opensearch.client.RestClient
import org.opensearch.commons.rest.SecureRestClientBuilder
import org.opensearch.indexmanagement.SecurityRestTestCase
import org.opensearch.indexmanagement.common.model.dimension.DateHistogram
import org.opensearch.indexmanagement.common.model.dimension.Terms
import org.opensearch.indexmanagement.indexstatemanagement.action.RollupAction
Expand All @@ -34,29 +35,12 @@ import org.opensearch.indexmanagement.rollup.model.metric.Max
import org.opensearch.indexmanagement.rollup.model.metric.Min
import org.opensearch.indexmanagement.rollup.model.metric.Sum
import org.opensearch.indexmanagement.rollup.model.metric.ValueCount
import org.opensearch.indexmanagement.security.ADD_POLICY
import org.opensearch.indexmanagement.security.BULK_WRITE_INDEX
import org.opensearch.indexmanagement.security.CREATE_INDEX
import org.opensearch.indexmanagement.security.DELETE_POLICY
import org.opensearch.indexmanagement.security.EXPLAIN_INDEX
import org.opensearch.indexmanagement.security.EXPLAIN_ROLLUP
import org.opensearch.indexmanagement.security.GET_INDEX_MAPPING
import org.opensearch.indexmanagement.security.GET_POLICIES
import org.opensearch.indexmanagement.security.GET_POLICY
import org.opensearch.indexmanagement.security.GET_ROLLUP
import org.opensearch.indexmanagement.security.INDEX_ROLLUP
import org.opensearch.indexmanagement.security.MANAGED_INDEX
import org.opensearch.indexmanagement.security.PUT_INDEX_MAPPING
import org.opensearch.indexmanagement.security.SEARCH_INDEX
import org.opensearch.indexmanagement.security.UPDATE_ROLLUP
import org.opensearch.indexmanagement.security.WRITE_INDEX
import org.opensearch.indexmanagement.security.WRITE_POLICY
import org.opensearch.indexmanagement.waitFor
import org.opensearch.rest.RestStatus
import org.opensearch.test.junit.annotations.TestLogging
import java.time.Instant
import java.time.temporal.ChronoUnit
import java.util.Locale
import org.opensearch.indexmanagement.SecurityRestTestCase

@TestLogging("level:DEBUG", reason = "Debug for tests.")
class IndexStateManagementSecurityBehaviorIT : SecurityRestTestCase() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@ import org.opensearch.indexmanagement.indexstatemanagement.model.Policy
import org.opensearch.indexmanagement.indexstatemanagement.model.State
import org.opensearch.indexmanagement.indexstatemanagement.randomErrorNotification
import org.opensearch.indexmanagement.indexstatemanagement.transport.action.addpolicy.AddPolicyAction
import org.opensearch.indexmanagement.security.BULK_WRITE_INDEX
import org.opensearch.indexmanagement.security.CREATE_INDEX
import org.opensearch.indexmanagement.security.GET_INDEX_MAPPING
import org.opensearch.indexmanagement.security.MANAGED_INDEX
import org.opensearch.indexmanagement.security.PUT_INDEX_MAPPING
import org.opensearch.indexmanagement.security.SEARCH_INDEX
import org.opensearch.indexmanagement.security.WRITE_INDEX
import org.opensearch.rest.RestStatus
import org.opensearch.test.OpenSearchTestCase
import org.opensearch.test.junit.annotations.TestLogging
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,6 @@ import org.opensearch.commons.rest.SecureRestClientBuilder
import org.opensearch.indexmanagement.SecurityRestTestCase
import org.opensearch.indexmanagement.common.model.dimension.Terms
import org.opensearch.indexmanagement.indexstatemanagement.settings.ManagedIndexSettings
import org.opensearch.indexmanagement.security.BULK_WRITE_INDEX
import org.opensearch.indexmanagement.security.CREATE_INDEX
import org.opensearch.indexmanagement.security.DELETE_TRANSFORM
import org.opensearch.indexmanagement.security.EXPLAIN_INDEX
import org.opensearch.indexmanagement.security.EXPLAIN_TRANSFORM
import org.opensearch.indexmanagement.security.GET_INDEX_MAPPING
import org.opensearch.indexmanagement.security.GET_TRANSFORM
import org.opensearch.indexmanagement.security.GET_TRANSFORMS
import org.opensearch.indexmanagement.security.HEALTH
import org.opensearch.indexmanagement.security.MANAGED_INDEX
import org.opensearch.indexmanagement.security.PUT_INDEX_MAPPING
import org.opensearch.indexmanagement.security.SEARCH_INDEX
import org.opensearch.indexmanagement.security.START_TRANSFORM
import org.opensearch.indexmanagement.security.STOP_TRANSFORM
import org.opensearch.indexmanagement.security.TRANSFORM_ACTION
import org.opensearch.indexmanagement.security.WRITE_INDEX
import org.opensearch.indexmanagement.transform.model.Transform
import org.opensearch.indexmanagement.transform.model.TransformMetadata
import org.opensearch.indexmanagement.transform.randomTransform
Expand Down

0 comments on commit 4b7d6a2

Please sign in to comment.