Skip to content

Commit 017db1a

Browse files
Ashish AggarwalAshish Aggarwal
authored andcommitted
removing proto submodule and add haystack-commons dependency
1 parent c280efe commit 017db1a

File tree

6 files changed

+24
-90
lines changed

6 files changed

+24
-90
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,4 @@ hs_err_pid*
3939

4040
# IntelliJ Idea project files
4141
.idea/
42+
*.iml

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
[submodule "idl"]
2-
path = idl
3-
url = https://github.com/ExpediaDotCom/haystack-idl.git

core/pom.xml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,20 @@
3030
<artifactId>opentracing-util</artifactId>
3131
</dependency>
3232

33-
<dependency>
34-
<groupId>io.grpc</groupId>
35-
<artifactId>grpc-netty-shaded</artifactId>
36-
</dependency>
37-
38-
<dependency>
39-
<groupId>io.grpc</groupId>
40-
<artifactId>grpc-stub</artifactId>
41-
</dependency>
33+
<dependency>
34+
<groupId>io.grpc</groupId>
35+
<artifactId>grpc-netty-shaded</artifactId>
36+
</dependency>
37+
38+
<dependency>
39+
<groupId>io.grpc</groupId>
40+
<artifactId>grpc-protobuf</artifactId>
41+
</dependency>
42+
43+
<dependency>
44+
<groupId>io.grpc</groupId>
45+
<artifactId>grpc-stub</artifactId>
46+
</dependency>
4247

4348
<dependency>
4449
<groupId>org.apache.commons</groupId>

core/src/main/java/com/expedia/www/haystack/client/dispatchers/clients/GRPCAgentClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public GRPCAgentClientStreamObserver(Metrics metrics) {
9393
@Override
9494
public void onCompleted() {
9595
onCompletedCounter.increment();
96-
LOGGER.info("Dispatching span completed");
96+
LOGGER.debug("Dispatching span completed");
9797
}
9898

9999
@Override

pom.xml

Lines changed: 8 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
</developers>
3535

3636
<modules>
37-
<module>proto</module>
3837
<module>core</module>
3938
<module>integrations</module>
4039
<module>examples</module>
@@ -54,12 +53,12 @@
5453
<grpc.version>1.9.0</grpc.version>
5554
<jaxrs.version>2.1</jaxrs.version>
5655
<micrometer.version>1.0.1</micrometer.version>
56+
<haystack-commons.version>1.0.37</haystack-commons.version>
5757

5858
<!--Plugin Properties -->
5959
<maven-jacoco-plugin.version>0.7.9</maven-jacoco-plugin.version>
6060
<maven-compiler-plugin.version>3.6.1</maven-compiler-plugin.version>
6161
<maven-jar-plugin.version>3.0.2</maven-jar-plugin.version>
62-
<maven-protobuf-plugin.version>3.3.0.1</maven-protobuf-plugin.version>
6362
<maven-release-plugin.version>2.5.2</maven-release-plugin.version>
6463
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
6564
<maven-javadoc-plugin.version>2.10.4</maven-javadoc-plugin.version>
@@ -128,6 +127,13 @@
128127
<artifactId>grpc-stub</artifactId>
129128
<version>${grpc.version}</version>
130129
</dependency>
130+
131+
<dependency>
132+
<groupId>com.expedia.www</groupId>
133+
<artifactId>haystack-commons</artifactId>
134+
<version>${haystack-commons.version}</version>
135+
</dependency>
136+
131137
<dependency>
132138
<groupId>io.grpc</groupId>
133139
<artifactId>grpc-testing</artifactId>
@@ -229,39 +235,6 @@
229235
</configuration>
230236
</plugin>
231237

232-
<plugin>
233-
<groupId>com.github.os72</groupId>
234-
<artifactId>protoc-jar-maven-plugin</artifactId>
235-
<version>${maven-protobuf-plugin.version}</version>
236-
<executions>
237-
<execution>
238-
<phase>generate-sources</phase>
239-
<goals>
240-
<goal>run</goal>
241-
</goals>
242-
<configuration>
243-
<protocArtifact>com.google.protobuf:protoc:3.0.0</protocArtifact>
244-
<includeDirectories>
245-
<include>${project.parent.basedir}/idl/proto</include>
246-
</includeDirectories>
247-
<inputDirectories>
248-
<include>${project.parent.basedir}/idl/proto</include>
249-
</inputDirectories>
250-
<outputDirectory>${project.basedir}/target/generated-sources</outputDirectory>
251-
<outputTargets>
252-
<outputTarget>
253-
<type>java</type>
254-
</outputTarget>
255-
<outputTarget>
256-
<type>grpc-java</type>
257-
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.0.1</pluginArtifact>
258-
</outputTarget>
259-
</outputTargets>
260-
</configuration>
261-
</execution>
262-
</executions>
263-
</plugin>
264-
265238
<plugin>
266239
<groupId>org.apache.maven.plugins</groupId>
267240
<artifactId>maven-source-plugin</artifactId>

proto/pom.xml

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)