Skip to content

Commit

Permalink
[#59][gRPC inter communication][cleaned up not needed any more models]
Browse files Browse the repository at this point in the history
  • Loading branch information
asubb committed Jun 5, 2020
1 parent 5cac740 commit fa7cd84
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 46 deletions.
2 changes: 1 addition & 1 deletion docs/dev/internal-communication.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ Internal Communication

All internal calls are performed via gRPC. The `:proto` project encapsulates the protocol protobuf `*.proto` files as well as Client implementations (which are wrappers around cumbersome prtobuf builders mainly) and helper methods for service implementations.

The proto-generated files are not committed to repository, but added into a build classpath whenever they are presented. To generate those files invoke `generateProto` gradle task, also you would need to run it every time you change proto-files.
The proto-generated files are not committed to repository, but added into a build classpath whenever they are presented. To generate those files invoke `generateProto` gradle task, also you would need to run it every time you change proto-files.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ import kotlin.collections.joinToString
import kotlin.collections.map
import kotlin.collections.toList

data class BushEndpoint(
val bushKey: BushKey,
val location: String,
val pods: List<PodKey>
)

class Facilitator(
private val threadsNumber: Int,
private val communicatorPort: Int? = null,
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ class FacilitatorGrpcServiceSpec : Spek({
facilitator.close()
}

val json = Json(JsonConfiguration.Stable, TopologySerializer.paramsModule)

describe("Planting") {
val pods1 = listOf(440.sine().trim(1000).toDevNull()).buildTopology().buildPods()
val pods2 = listOf(880.sine().trim(500).toDevNull()).buildTopology().buildPods()
Expand Down

0 comments on commit fa7cd84

Please sign in to comment.