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

Commit

Permalink
[rpc/nativerpc] deprecate module
Browse files Browse the repository at this point in the history
  • Loading branch information
udoprog committed Oct 9, 2016
1 parent d48a9a3 commit a6905e4
Show file tree
Hide file tree
Showing 32 changed files with 0 additions and 2,383 deletions.
4 changes: 0 additions & 4 deletions heroic-all/pom.xml
Expand Up @@ -91,10 +91,6 @@
</dependency>

<!-- rpc implementations -->
<dependency>
<groupId>com.spotify.heroic.rpc</groupId>
<artifactId>heroic-rpc-nativerpc</artifactId>
</dependency>
<dependency>
<groupId>com.spotify.heroic.rpc</groupId>
<artifactId>heroic-rpc-grpc</artifactId>
Expand Down
Expand Up @@ -66,7 +66,6 @@ public class HeroicModules {

new com.spotify.heroic.consumer.collectd.Module(),

new com.spotify.heroic.rpc.nativerpc.Module(),
new com.spotify.heroic.rpc.grpc.Module(),
new com.spotify.heroic.rpc.jvm.Module(),

Expand Down
Expand Up @@ -29,7 +29,6 @@
import com.spotify.heroic.cluster.discovery.simple.SrvRecordDiscoveryModule;
import com.spotify.heroic.cluster.discovery.simple.StaticListDiscoveryModule;
import com.spotify.heroic.rpc.grpc.GrpcRpcProtocolModule;
import com.spotify.heroic.rpc.nativerpc.NativeRpcProtocolModule;

import java.net.URI;
import java.net.URISyntaxException;
Expand All @@ -51,9 +50,6 @@ public HeroicConfig.Builder build(final ExtraParameters params) throws Exception
case "grpc":
module.protocols(ImmutableList.of(GrpcRpcProtocolModule.builder().build()));
break;
case "nativerpc":
module.protocols(ImmutableList.of(NativeRpcProtocolModule.builder().build()));
break;
default:
throw new IllegalArgumentException("illegal value for protocol (" + protocol + ")");
}
Expand Down
Expand Up @@ -23,7 +23,6 @@ public void testAll() throws Exception {
"com.spotify.heroic.metric.bigtable.BigtableBackend",
"com.spotify.heroic.metric.datastax.DatastaxBackend",
"com.spotify.heroic.rpc.grpc.GrpcRpcProtocolServer",
"com.spotify.heroic.rpc.nativerpc.NativeRpcProtocolServer",
"com.spotify.heroic.shell.ShellServer",
"com.spotify.heroic.suggest.elasticsearch.SuggestBackendKV"
);
Expand All @@ -38,7 +37,6 @@ public void testAll() throws Exception {
"com.spotify.heroic.metric.bigtable.BigtableBackend",
"com.spotify.heroic.metric.datastax.DatastaxBackend",
"com.spotify.heroic.rpc.grpc.GrpcRpcProtocolServer",
"com.spotify.heroic.rpc.nativerpc.NativeRpcProtocolServer",
"com.spotify.heroic.shell.ShellServer",
"com.spotify.heroic.suggest.elasticsearch.SuggestBackendKV"
);
Expand Down
1 change: 0 additions & 1 deletion heroic-dist/src/test/resources/heroic-all.yml
Expand Up @@ -2,7 +2,6 @@ cluster:
tags:
role: test
protocols:
- type: nativerpc
- type: grpc

metadata:
Expand Down
6 changes: 0 additions & 6 deletions pom.xml
Expand Up @@ -32,7 +32,6 @@
<module>aggregation/cardinality</module>
<module>consumer/kafka</module>
<module>consumer/collectd</module>
<module>rpc/nativerpc</module>
<module>rpc/grpc</module>
<module>rpc/jvm</module>
<module>heroic-dist</module>
Expand Down Expand Up @@ -381,11 +380,6 @@
<artifactId>heroic-statistics-semantic</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.spotify.heroic.rpc</groupId>
<artifactId>heroic-rpc-nativerpc</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.spotify.heroic.rpc</groupId>
<artifactId>heroic-rpc-grpc</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions reporting/pom.xml
Expand Up @@ -103,11 +103,6 @@
</dependency>

<!-- rpc implementations -->
<dependency>
<groupId>com.spotify.heroic.rpc</groupId>
<artifactId>heroic-rpc-nativerpc</artifactId>
</dependency>

<dependency>
<groupId>com.spotify.heroic.rpc</groupId>
<artifactId>heroic-rpc-grpc</artifactId>
Expand Down
58 changes: 0 additions & 58 deletions rpc/nativerpc/pom.xml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit a6905e4

Please sign in to comment.