Commit 133d4005 authored by mohammad.salama's avatar mohammad.salama

GRPC Working - Not Integrated with Coodinator - Coordinator Search is Fine

parent 70965093
......@@ -10,136 +10,21 @@
</component>
<component name="ChangeListManager">
<list default="true" id="b8bcd35c-99f3-44c8-a866-59f81c3c8bd0" name="Changes" comment="">
<change afterPath="$PROJECT_DIR$/src/main/java/org/AutoHealerAndClusterSearch/GRPCConnection/GRPCClient/GRPCClient.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/main/java/org/AutoHealerAndClusterSearch/GRPCConnection/GRPCServer/GRPCServer.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/main/java/org/AutoHealerAndClusterSearch/GRPCConnection/Main.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/main/java/GRPCConnection/GRPCClient/GRPCClient.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/main/java/WebSide/WebClient.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/main/java/WebSide/WebServer.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/org/AutoHealerAndClusterSearch/AutoHealerAndClusterSearch/Coordinator.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/org/AutoHealerAndClusterSearch/AutoHealerAndClusterSearch/Coordinator.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/logs/app.log" beforeDir="false" afterPath="$PROJECT_DIR$/logs/app.log" afterDir="false" />
<change beforePath="$PROJECT_DIR$/out/artifacts/Distributed_Search_jar/Distributed-Search.jar" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/org/AutoHealerAndClusterSearch/AutoHealerAndClusterSearch/ServiceRegistry.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/org/AutoHealerAndClusterSearch/AutoHealerAndClusterSearch/ServiceRegistry.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/org/AutoHealerAndClusterSearch/GRPCConnection/Server.java" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/proto/QuerySerice.proto" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/proto/SearchService.proto" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/.idea/artifacts/Distributed_Search_jar.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/.idea/compiler.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/.idea/encodings.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/.idea/jarRepositories.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/.idea/misc.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/.idea/uiDesigner.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/.idea/vcs.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/.idea/workspace.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/Distributed-Search.jar" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/QuerySerice.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/ReadMe.txt" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/SearchFiles/f (1).txt" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/SearchFiles/f (2).txt" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/SearchFiles/f (3).txt" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/SearchFiles/f (4).txt" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/SearchFiles/f (5).txt" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/SearchFiles/f (6).txt" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/SearchFiles/f (7).txt" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/SearchFiles/f (8).txt" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/logs/app.log" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/org/AutoHealerAndClusterSearch/GRPCConnection/GRPCClient/GRPCClient.java" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/org/AutoHealerAndClusterSearch/GRPCConnection/GRPCServer/GRPCServer.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/GRPCConnection/GRPCServer/GRPCServer.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/org/AutoHealerAndClusterSearch/GRPCConnection/Main.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/GRPCConnection/Main.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/AutoHealerAndClusterSearch/Coordinator$1.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/AutoHealerAndClusterSearch/Coordinator$1.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/AutoHealerAndClusterSearch/Coordinator.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/AutoHealerAndClusterSearch/Coordinator.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/GRPCConnection/Server.class" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/QuerySerice.class" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/SearchReply$Builder.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/SearchReply$Builder.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/SearchReply.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/SearchReply.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/SearchRequest$Builder.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/SearchRequest$Builder.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/SearchRequest.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/SearchRequest.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/SearchServiceGrpc$MethodHandlers.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/SearchServiceGrpc$MethodHandlers.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/SearchServiceGrpc$SearchServiceBaseDescriptorSupplier.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/SearchServiceGrpc$SearchServiceBaseDescriptorSupplier.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/SearchServiceGrpc$SearchServiceBlockingStub.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/SearchServiceGrpc$SearchServiceBlockingStub.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/SearchServiceGrpc$SearchServiceFutureStub.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/SearchServiceGrpc$SearchServiceFutureStub.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/SearchServiceGrpc$SearchServiceImplBase.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/SearchServiceGrpc$SearchServiceImplBase.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/SearchServiceGrpc$SearchServiceStub.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/SearchServiceGrpc$SearchServiceStub.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/SearchServiceGrpc.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/SearchServiceGrpc.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/out/artifacts/Distributed_Search_jar/Distributed-Search.jar" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/pom.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/src/main/proto/QuerySerice.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/src/main/resources/META-INF/MANIFEST.MF" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/src/main/resources/logback.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/classes/QuerySerice.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/grpc-1.0-SNAPSHOT.jar" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/maven-archiver/pom.properties" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/annotations.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/auth.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/backend.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/billing.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/client.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/config_change.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/consumer.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/context.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/control.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/distribution.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/documentation.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/endpoint.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/field_behavior.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/http.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/httpbody.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/label.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/launch_stage.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/log.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/logging.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/metric.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/monitored_resource.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/monitoring.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/quota.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/resource.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/service.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/source_info.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/system_parameter.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/api/usage.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/cloud/audit/audit_log.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/geo/type/viewport.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/logging/type/http_request.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/logging/type/log_severity.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/longrunning/operations.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/rpc/code.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/rpc/context/attribute_context.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/rpc/error_details.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/rpc/status.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/type/calendar_period.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/type/color.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/type/date.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/type/datetime.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/type/dayofweek.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/type/expr.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/type/fraction.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/type/latlng.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/type/money.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/type/postal_address.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/type/quaternion.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/c409d5ec6f213a3cb0716fd0dc6274f4/google/type/timeofday.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/d423df9b08b4032c870ca004e4d830d9/grpc/binlog/v1/binarylog.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/d423df9b08b4032c870ca004e4d830d9/grpc/channelz/v1/channelz.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/d423df9b08b4032c870ca004e4d830d9/grpc/health/v1/health.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/d423df9b08b4032c870ca004e4d830d9/grpc/reflection/v1alpha/reflection.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/f5d93146751c9f41b62e133f32442593/google/protobuf/any.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/f5d93146751c9f41b62e133f32442593/google/protobuf/api.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/f5d93146751c9f41b62e133f32442593/google/protobuf/compiler/plugin.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/f5d93146751c9f41b62e133f32442593/google/protobuf/descriptor.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/f5d93146751c9f41b62e133f32442593/google/protobuf/duration.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/f5d93146751c9f41b62e133f32442593/google/protobuf/empty.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/f5d93146751c9f41b62e133f32442593/google/protobuf/field_mask.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/f5d93146751c9f41b62e133f32442593/google/protobuf/source_context.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/f5d93146751c9f41b62e133f32442593/google/protobuf/struct.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/f5d93146751c9f41b62e133f32442593/google/protobuf/timestamp.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/f5d93146751c9f41b62e133f32442593/google/protobuf/type.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-dependencies/f5d93146751c9f41b62e133f32442593/google/protobuf/wrappers.proto" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-plugins/protoc-3.17.2-windows-x86_64.exe" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/target/protoc-plugins/protoc-gen-grpc-java-1.39.0-windows-x86_64.exe" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/generated-sources/protobuf/grpc-java/org/AutoHealerAndClusterSearch/SearchServiceGrpc.java" beforeDir="false" afterPath="$PROJECT_DIR$/target/generated-sources/protobuf/grpc-java/org/AutoHealerAndClusterSearch/SearchServiceGrpc.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/generated-sources/protobuf/java/org/AutoHealerAndClusterSearch/QuerySerice.java" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/generated-sources/protobuf/java/org/AutoHealerAndClusterSearch/SearchReply.java" beforeDir="false" afterPath="$PROJECT_DIR$/target/generated-sources/protobuf/java/org/AutoHealerAndClusterSearch/SearchReply.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/generated-sources/protobuf/java/org/AutoHealerAndClusterSearch/SearchReplyOrBuilder.java" beforeDir="false" afterPath="$PROJECT_DIR$/target/generated-sources/protobuf/java/org/AutoHealerAndClusterSearch/SearchReplyOrBuilder.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/generated-sources/protobuf/java/org/AutoHealerAndClusterSearch/SearchRequest.java" beforeDir="false" afterPath="$PROJECT_DIR$/target/generated-sources/protobuf/java/org/AutoHealerAndClusterSearch/SearchRequest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/generated-sources/protobuf/java/org/AutoHealerAndClusterSearch/SearchRequestOrBuilder.java" beforeDir="false" afterPath="$PROJECT_DIR$/target/generated-sources/protobuf/java/org/AutoHealerAndClusterSearch/SearchRequestOrBuilder.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/grpc-1.0-SNAPSHOT.jar" beforeDir="false" afterPath="$PROJECT_DIR$/target/grpc-1.0-SNAPSHOT.jar" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/maven-archiver/pom.properties" beforeDir="false" afterPath="$PROJECT_DIR$/target/maven-archiver/pom.properties" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst" beforeDir="false" afterPath="$PROJECT_DIR$/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst" beforeDir="false" afterPath="$PROJECT_DIR$/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/AutoHealerAndClusterSearch/ServiceRegistry$1.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/AutoHealerAndClusterSearch/ServiceRegistry$1.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/AutoHealerAndClusterSearch/ServiceRegistry.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/AutoHealerAndClusterSearch/ServiceRegistry.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/org/AutoHealerAndClusterSearch/GRPCConnection/Main.class" beforeDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
......@@ -179,9 +64,10 @@
&quot;RunOnceActivity.OpenProjectViewOnStart&quot;: &quot;true&quot;,
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
&quot;SHARE_PROJECT_CONFIGURATION_FILES&quot;: &quot;true&quot;,
&quot;ToolWindowRun.ShowToolbar&quot;: &quot;false&quot;,
&quot;jdk.selected.JAVA_MODULE&quot;: &quot;17 (2)&quot;,
&quot;last_opened_file_path&quot;: &quot;D:/HIAST/FIY/FS/Distributed Systems/Lab/8/Distributed-Search/src/main/java&quot;,
&quot;project.structure.last.edited&quot;: &quot;Modules&quot;,
&quot;project.structure.last.edited&quot;: &quot;Artifacts&quot;,
&quot;project.structure.proportion&quot;: &quot;0.15&quot;,
&quot;project.structure.side.proportion&quot;: &quot;0.2&quot;,
&quot;settings.editor.selected.configurable&quot;: &quot;reference.settings.project.maven.repository.indices&quot;
......@@ -209,7 +95,20 @@
<command value="mvn clean install" />
</option>
</component>
<component name="RunManager" selected="Application.Node4">
<component name="RunManager" selected="Application.Node1">
<configuration name="Main" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="org.AutoHealerAndClusterSearch.GRPCConnection.Main" />
<module name="Distributed-Search" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="org.AutoHealerAndClusterSearch.GRPCConnection.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration name="Node1" type="Application" factoryName="Application">
<option name="MAIN_CLASS_NAME" value="org.AutoHealerAndClusterSearch.AutoHealerAndClusterSearch.Application" />
<module name="Distributed-Search" />
......@@ -238,12 +137,24 @@
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration name="Distributed-Search.jar" type="JarApplication" temporary="true">
<option name="JAR_PATH" value="$PROJECT_DIR$/out/artifacts/Distributed_Search_jar/Distributed-Search.jar" />
<method v="2" />
</configuration>
<list>
<item itemvalue="Application.Node1" />
<item itemvalue="Application.Node2" />
<item itemvalue="Application.Node3" />
<item itemvalue="Application.Node4" />
<item itemvalue="Application.Main" />
<item itemvalue="JAR Application.Distributed-Search.jar" />
</list>
<recent_temporary>
<list>
<item itemvalue="JAR Application.Distributed-Search.jar" />
<item itemvalue="Application.Main" />
</list>
</recent_temporary>
</component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
<component name="SvnConfiguration">
......
......@@ -131,3 +131,27 @@
2024-01-27 12:10:30,056 INFO org.AutoHealerAndClusterSearch.AutoHealerAndClusterSearch.Coordinator [main-EventThread] Server started on port 2354
2024-01-27 12:10:35,732 INFO org.AutoHealerAndClusterSearch.AutoHealerAndClusterSearch.TransientWorker [main] Coordinator connected: /127.0.0.1
2024-01-27 12:10:51,522 WARN org.AutoHealerAndClusterSearch.AutoHealerAndClusterSearch.Coordinator [Thread-4] No Nodes Are Working , Search Cannot Be Done
2024-01-27 19:00:09,903 INFO org.AutoHealerAndClusterSearch.GRPCConnection.Main [main] Starting Main using Java 17.0.5 on M-Salameh with PID 2444 (D:\HIAST\FIY\FS\Distributed Systems\Lab\8\Distributed-Search\target\classes started by M_Salameh in D:\HIAST\FIY\FS\Distributed Systems\Lab\8\Distributed-Search)
2024-01-27 19:00:09,905 DEBUG org.AutoHealerAndClusterSearch.GRPCConnection.Main [main] Running with Spring Boot v2.6.8, Spring v5.3.20
2024-01-27 19:00:09,907 INFO org.AutoHealerAndClusterSearch.GRPCConnection.Main [main] No active profile set, falling back to 1 default profile: "default"
2024-01-27 19:00:11,779 INFO org.AutoHealerAndClusterSearch.GRPCConnection.Main [main] Started Main in 2.576 seconds (JVM running for 3.489)
2024-01-29 09:20:28,446 INFO org.AutoHealerAndClusterSearch.GRPCConnection.Main [main] Starting Main using Java 17.0.5 on M-Salameh with PID 16012 (D:\HIAST\FIY\FS\Distributed Systems\Lab\8\Distributed-Search\target\classes started by M_Salameh in D:\HIAST\FIY\FS\Distributed Systems\Lab\8\Distributed-Search)
2024-01-29 09:20:28,450 DEBUG org.AutoHealerAndClusterSearch.GRPCConnection.Main [main] Running with Spring Boot v2.6.8, Spring v5.3.20
2024-01-29 09:20:28,452 INFO org.AutoHealerAndClusterSearch.GRPCConnection.Main [main] No active profile set, falling back to 1 default profile: "default"
2024-01-29 09:20:30,684 INFO org.AutoHealerAndClusterSearch.GRPCConnection.Main [main] Started Main in 2.984 seconds (JVM running for 4.189)
2024-01-29 09:24:42,946 INFO org.AutoHealerAndClusterSearch.GRPCConnection.Main [main] Starting Main using Java 17.0.5 on M-Salameh with PID 5264 (D:\HIAST\FIY\FS\Distributed Systems\Lab\8\Distributed-Search\target\classes started by M_Salameh in D:\HIAST\FIY\FS\Distributed Systems\Lab\8\Distributed-Search)
2024-01-29 09:24:42,949 DEBUG org.AutoHealerAndClusterSearch.GRPCConnection.Main [main] Running with Spring Boot v2.6.8, Spring v5.3.20
2024-01-29 09:24:42,952 INFO org.AutoHealerAndClusterSearch.GRPCConnection.Main [main] No active profile set, falling back to 1 default profile: "default"
2024-01-29 09:24:45,323 INFO org.AutoHealerAndClusterSearch.GRPCConnection.Main [main] Started Main in 3.056 seconds (JVM running for 4.142)
2024-01-29 09:25:14,697 INFO org.AutoHealerAndClusterSearch.GRPCConnection.Main [main] Starting Main using Java 17.0.5 on M-Salameh with PID 7988 (D:\HIAST\FIY\FS\Distributed Systems\Lab\8\Distributed-Search\target\classes started by M_Salameh in D:\HIAST\FIY\FS\Distributed Systems\Lab\8\Distributed-Search)
2024-01-29 09:25:14,701 DEBUG org.AutoHealerAndClusterSearch.GRPCConnection.Main [main] Running with Spring Boot v2.6.8, Spring v5.3.20
2024-01-29 09:25:14,703 INFO org.AutoHealerAndClusterSearch.GRPCConnection.Main [main] No active profile set, falling back to 1 default profile: "default"
2024-01-29 09:25:17,240 INFO org.AutoHealerAndClusterSearch.GRPCConnection.Main [main] Started Main in 3.236 seconds (JVM running for 4.153)
2024-01-29 09:43:09,535 INFO org.AutoHealerAndClusterSearch.GRPCConnection.Main [main] Starting Main using Java 17.0.5 on M-Salameh with PID 13280 (D:\HIAST\FIY\FS\Distributed Systems\Lab\8\Distributed-Search\target\classes started by M_Salameh in D:\HIAST\FIY\FS\Distributed Systems\Lab\8\Distributed-Search)
2024-01-29 09:43:09,539 DEBUG org.AutoHealerAndClusterSearch.GRPCConnection.Main [main] Running with Spring Boot v2.6.8, Spring v5.3.20
2024-01-29 09:43:09,540 INFO org.AutoHealerAndClusterSearch.GRPCConnection.Main [main] No active profile set, falling back to 1 default profile: "default"
2024-01-29 09:43:11,919 INFO org.AutoHealerAndClusterSearch.GRPCConnection.Main [main] Started Main in 3.086 seconds (JVM running for 4.044)
2024-01-29 09:44:50,403 INFO org.AutoHealerAndClusterSearch.GRPCConnection.Main [main] Starting Main using Java 17.0.5 on M-Salameh with PID 840 (D:\HIAST\FIY\FS\Distributed Systems\Lab\8\Distributed-Search\target\classes started by M_Salameh in D:\HIAST\FIY\FS\Distributed Systems\Lab\8\Distributed-Search)
2024-01-29 09:44:50,406 DEBUG org.AutoHealerAndClusterSearch.GRPCConnection.Main [main] Running with Spring Boot v2.6.8, Spring v5.3.20
2024-01-29 09:44:50,408 INFO org.AutoHealerAndClusterSearch.GRPCConnection.Main [main] No active profile set, falling back to 1 default profile: "default"
2024-01-29 09:44:52,777 INFO org.AutoHealerAndClusterSearch.GRPCConnection.Main [main] Started Main in 3.099 seconds (JVM running for 4.058)
package GRPCConnection.GRPCClient;
import io.grpc.ManagedChannel;
import io.grpc.ManagedChannelBuilder;
import org.AutoHealerAndClusterSearch.SearchReply;
import org.AutoHealerAndClusterSearch.SearchRequest;
import org.AutoHealerAndClusterSearch.SearchServiceGrpc;
import java.util.List;
/**
* the client here will be the web server
* configure it later
* */
public class GRPCClient
{
public static void main(String[] args)
{
ManagedChannel channel = ManagedChannelBuilder.
forAddress("localhost" , 6565).
usePlaintext().build();
SearchServiceGrpc.SearchServiceBlockingStub stub = SearchServiceGrpc.newBlockingStub(channel);
SearchRequest request = SearchRequest.newBuilder().setQuery("Hello There !!").build();
SearchReply reply = stub.search(request);
List<String> stringList = reply.getFilesList();
for (String s: stringList)
{
System.out.println(s);
}
}
}
package org.AutoHealerAndClusterSearch.GRPCConnection.GRPCServer;
package GRPCConnection.GRPCServer;
import io.grpc.stub.StreamObserver;
import org.AutoHealerAndClusterSearch.AutoHealerAndClusterSearch.Coordinator;
......@@ -10,10 +10,10 @@ import org.lognet.springboot.grpc.GRpcService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ExecutionException;
/**
* the server of GRPC is the coordinator
......@@ -24,30 +24,32 @@ import java.util.concurrent.ExecutionException;
public class GRPCServer extends SearchServiceGrpc.SearchServiceImplBase
{
private Coordinator coordinator;
public GRPCServer(Coordinator coordinator)
/* public GRPCServer(Coordinator coordinator)
{
this.coordinator = coordinator;
}
Logger logger = LoggerFactory.getLogger(GRPCServer.class);
}*/
//Logger logger = LoggerFactory.getLogger(GRPCServer.class);
@Override
public void search(SearchRequest request, StreamObserver<SearchReply> responseObserver)
{
logger.info("Request Has Arrived , Query is :" + request.getQuery());
//logger.info("Request Has Arrived , Query is :" + request.getQuery());
List<String> ans = new ArrayList<>();
try
String x = request.getQuery();
ans.add("Sorry Something Went Wrong " + x);
/*try
{
ans = coordinator.search(request.getQuery());
}
catch (IOException | InterruptedException | KeeperException | ExecutionException e)
{
logger.error("Error In GRPC While Getting answers for Query");
ans.add("Sorry Something Went Wrong");
//throw new RuntimeException(e);
}
}*/
SearchReply reply = SearchReply.newBuilder().addAllFiles(ans).build();
responseObserver.onNext(reply);
......
package org.AutoHealerAndClusterSearch.GRPCConnection;
package GRPCConnection;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
......
package WebSide;
public class WebClient
{
}
package WebSide;
public class WebServer {
}
package org.AutoHealerAndClusterSearch.AutoHealerAndClusterSearch;
import org.AutoHealerAndClusterSearch.GRPCConnection.GRPCServer.GRPCServer;
import org.apache.zookeeper.*;
import org.apache.zookeeper.data.Stat;
import org.slf4j.Logger;
......
package org.AutoHealerAndClusterSearch.GRPCConnection.GRPCClient;
/**
* the client here will be the web server
* configure it later
* */
public class GRPCClient
{
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment