Skip to content
This repository has been archived by the owner on Mar 13, 2021. It is now read-only.

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ericbottard committed Feb 13, 2018
1 parent 1c5667d commit 4711c1c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ VOLUME /tmp
COPY target/dependency/BOOT-INF/lib /app/lib
COPY target/dependency/META-INF /app/META-INF
COPY target/dependency/BOOT-INF/classes /app
ENV SPRING_CLOUD_STREAM_BINDER_FILE_PREFIX /pipes
ENTRYPOINT ["java","-Xmx128m","-Djava.security.egd=file:/dev/./urandom","-XX:TieredStopAtLevel=1","-noverify","-cp","app:app/lib/*","io.projectriff.invoker.JavaFunctionInvokerApplication"]
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<spring-cloud-stream-file.version>1.0.0.M1</spring-cloud-stream-file.version>
<reactor.version>3.2.0.M1</reactor.version>
<spring-cloud.version>Edgware.RELEASE</spring-cloud.version>
<spring-cloud-function.version>1.0.0.BUILD-SNAPSHOT</spring-cloud-function.version>
Expand Down
6 changes: 1 addition & 5 deletions src/test/java/io/projectriff/invoker/GrpcTestClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,10 @@ public class GrpcTestClient {
private final ManagedChannel channel;
private final MessageFunctionStub asyncStub;

/** Construct client for accessing RouteGuide server at {@code host:port}. */
public GrpcTestClient(String host, int port) {
this(ManagedChannelBuilder.forAddress(host, port).usePlaintext(true));
}

/**
* Construct client for accessing RouteGuide server using the existing channel.
*/
public GrpcTestClient(ManagedChannelBuilder<?> channelBuilder) {
channel = channelBuilder.build();
asyncStub = MessageFunctionGrpc.newStub(channel);
Expand Down Expand Up @@ -100,4 +96,4 @@ public void onCompleted() {
latch.await(10, TimeUnit.SECONDS);
return value;
}
}
}

0 comments on commit 4711c1c

Please sign in to comment.