Skip to content

Commit

Permalink
Merge pull request opensearch-project#10 from owaiskazi19/organize-pr…
Browse files Browse the repository at this point in the history
…oject

Updated namespace opensearchSDK -> org.opensearch.sdk
  • Loading branch information
owaiskazi19 authored May 19, 2022
2 parents b731582 + 71a1cca commit 6798107
Show file tree
Hide file tree
Showing 20 changed files with 28 additions and 24 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ext {
apply plugin: 'application'
apply from: 'gradle/formatting.gradle'

mainClassName = 'opensearchSDK.ExtensionsRunner'
mainClassName = 'org.opensearch.sdk.ExtensionsRunner'

group 'org.example'
version '1.0-SNAPSHOT'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* compatible open source license.
*/

package opensearchSDK;
package org.opensearch.sdk;

import org.opensearch.common.SuppressForbidden;
import org.opensearch.common.unit.TimeValue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* GitHub history for details.
*/

package opensearchSDK;
package org.opensearch.sdk;

public class ExtensionSettings {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* GitHub history for details.
*/

package opensearchSDK;
package org.opensearch.sdk;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.dataformat.yaml.YAMLFactory;
Expand Down Expand Up @@ -39,8 +39,8 @@
import org.opensearch.transport.TransportService;
import org.opensearch.transport.TransportSettings;

import opensearchSDK.transport.netty4.Netty4Transport;
import opensearchSDK.transport.netty4.SharedGroupFactory;
import org.opensearch.sdk.netty4.Netty4Transport;
import org.opensearch.sdk.netty4.SharedGroupFactory;

import org.opensearch.transport.TransportInterceptor;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/
package opensearchSDK.transport.netty4;
package org.opensearch.sdk.netty4;

import io.netty.channel.socket.nio.NioServerSocketChannel;
import io.netty.util.internal.SocketUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
* GitHub history for details.
*/

package opensearchSDK.transport.netty4;
package org.opensearch.sdk.netty4;

import io.netty.buffer.ByteBuf;
import io.netty.channel.Channel;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* GitHub history for details.
*/

package opensearchSDK.transport.netty4;
package org.opensearch.sdk.netty4;

import io.netty.buffer.ByteBuf;
import io.netty.channel.*;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* GitHub history for details.
*/

package opensearchSDK.transport.netty4;
package org.opensearch.sdk.netty4;

import io.netty.channel.Channel;
import io.netty.channel.socket.nio.NioSocketChannel;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* GitHub history for details.
*/

package opensearchSDK.transport.netty4;
package org.opensearch.sdk.netty4;

import io.netty.channel.Channel;
import io.netty.channel.ChannelFuture;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* GitHub history for details.
*/

package opensearchSDK.transport.netty4;
package org.opensearch.sdk.netty4;

import io.netty.channel.Channel;
import org.opensearch.action.ActionListener;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* GitHub history for details.
*/

package opensearchSDK.transport.netty4;
package org.opensearch.sdk.netty4;

import io.netty.bootstrap.Bootstrap;
import io.netty.bootstrap.ServerBootstrap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* GitHub history for details.
*/

package opensearchSDK.transport.netty4;
package org.opensearch.sdk.netty4;

import io.netty.buffer.ByteBuf;
import io.netty.buffer.CompositeByteBuf;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* GitHub history for details.
*/

package opensearchSDK.transport.netty4;
package org.opensearch.sdk.netty4;

import io.netty.buffer.*;
import io.netty.channel.Channel;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* GitHub history for details.
*/

package opensearchSDK.transport.netty4;
package org.opensearch.sdk.netty4;

import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandler;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* GitHub history for details.
*/

package opensearchSDK.transport.netty4;
package org.opensearch.sdk.netty4;

import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.logging.LogLevel;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* GitHub history for details.
*/

package opensearchSDK.transport.netty4;
package org.opensearch.sdk.netty4;

import io.netty.channel.EventLoopGroup;
import io.netty.channel.nio.NioEventLoopGroup;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
* GitHub history for details.
*/

package org.opensearch.sdk;

import static org.mockito.Mockito.times;

import java.io.IOException;
Expand All @@ -19,8 +21,6 @@
import org.opensearch.test.OpenSearchTestCase;
import org.opensearch.transport.TransportService;

import opensearchSDK.ExtensionsRunner;

public class TestMainScript extends OpenSearchTestCase {

private ExtensionsRunner extensionsRunner;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
* GitHub history for details.
*/

package org.opensearch.sdk;

import java.io.IOException;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
Expand All @@ -18,8 +20,7 @@
import org.opensearch.threadpool.ThreadPool;
import org.opensearch.transport.TransportSettings;

import opensearchSDK.ExtensionsRunner;
import opensearchSDK.transport.netty4.Netty4Transport;
import org.opensearch.sdk.netty4.Netty4Transport;

public class TestNetty4Transport extends OpenSearchTestCase {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
* GitHub history for details.
*/

package org.opensearch.sdk;

import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.ThreadFactory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
* GitHub history for details.
*/

package org.opensearch.sdk;

import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.opensearch.common.component.Lifecycle;
Expand All @@ -19,8 +21,7 @@
import org.opensearch.transport.TransportService;
import org.opensearch.transport.TransportSettings;

import opensearchSDK.ExtensionsRunner;
import opensearchSDK.transport.netty4.Netty4Transport;
import org.opensearch.sdk.netty4.Netty4Transport;

import java.net.*;
import java.io.*;
Expand Down

0 comments on commit 6798107

Please sign in to comment.