Skip to content

Commit

Permalink
some refactor
Browse files Browse the repository at this point in the history
Signed-off-by: Sarthak Aggarwal <[email protected]>
  • Loading branch information
sarthakaggarwal97 committed Jan 24, 2024
1 parent a54e293 commit 0df2826
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
- id: build-previous
uses: ./.github/actions/run-bwc-suite
with:
plugin-previous-branch: "2.10"
plugin-previous-branch: "2.11"
plugin-next-branch: "current_branch"
report-artifact-name: bwc-${{ matrix.platform }}-jdk${{ matrix.jdk }}
username: admin
Expand Down
6 changes: 3 additions & 3 deletions bwc-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ loggerUsageCheck.enabled = false
testingConventions.enabled = false
validateNebulaPom.enabled = false

String previousVersion = System.getProperty("bwc.version.previous", "2.10.0.0")
String previousVersion = System.getProperty("bwc.version.previous", "2.11.0.0")
String nextVersion = System.getProperty("bwc.version.next", "3.0.0.0")

String bwcVersion = previousVersion
Expand Down Expand Up @@ -119,14 +119,14 @@ def String extractVersion(versionStr) {
}))
nodes.each { node ->
def plugins = node.plugins
println plugins
def firstPlugin = plugins.get(0)
plugins.remove(0)
plugins.add(firstPlugin)
println plugins

node.setting("network.bind_host", "127.0.0.1")
node.setting("network.publish_host", "127.0.0.1")
node.setting("network.host", "127.0.0.1")
node.setting("discovery.seed_hosts", ["127.0.0.1"] as String)
}

setting 'path.repo', "${buildDir}/cluster/shared/repo/${baseName}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* compatible open source license.
*/

package org.opensearch.security.bwc;
package org.opensearch.customcodecs.bwc;

public enum ClusterType {
OLD,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
package org.opensearch.security.bwc;
package org.opensearch.customcodecs.bwc;

import java.io.IOException;
import java.util.HashMap;
Expand Down Expand Up @@ -44,7 +44,7 @@
import org.opensearch.common.settings.Settings;
import org.opensearch.common.util.concurrent.ThreadContext;
import org.opensearch.common.util.io.IOUtils;
import org.opensearch.security.bwc.helper.RestHelper;
import org.opensearch.customcodecs.bwc.helper.RestHelper;
import org.opensearch.test.rest.OpenSearchRestTestCase;

import static org.hamcrest.Matchers.anyOf;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* compatible open source license.
*
*/
package org.opensearch.security.bwc;
package org.opensearch.customcodecs.bwc;

import java.util.Map;
import java.util.Objects;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* compatible open source license.
*/

package org.opensearch.security.bwc.helper;
package org.opensearch.customcodecs.bwc.helper;

import java.io.IOException;
import java.util.ArrayList;
Expand Down

0 comments on commit 0df2826

Please sign in to comment.