Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ make run-client-gateway MESSAGE="hello"
go run example/client/gateway/main.go -message "hello"

# Or using grpcurl
grpcurl -plaintext -d '{"message": "hello"}' localhost:8081 uber.devexp.submitqueue.gateway.SubmitQueueGateway/Ping
grpcurl -plaintext -d '{"message": "hello"}' localhost:8081 uber.submitqueue.gateway.SubmitQueueGateway/Ping
```

For detailed instructions, see [example/README.md](example/README.md).
Expand Down Expand Up @@ -336,7 +336,7 @@ make proto
3. **Or use grpcurl:**
```bash
grpcurl -plaintext -d '{"message": "hello"}' \
localhost:8081 uber.devexp.submitqueue.gateway.SubmitQueueGateway/Ping
localhost:8081 uber.submitqueue.gateway.SubmitQueueGateway/Ping
```

#### Testing All Services
Expand Down
12 changes: 6 additions & 6 deletions example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,23 +91,23 @@ go install github.com/fullstorydev/grpcurl/cmd/grpcurl@latest

```bash
# Ping
grpcurl -plaintext -d '{"message": "hello"}' localhost:8081 uber.devexp.submitqueue.gateway.SubmitQueueGateway/Ping
grpcurl -plaintext -d '{"message": "hello"}' localhost:8082 uber.devexp.submitqueue.orchestrator.SubmitQueueOrchestrator/Ping
grpcurl -plaintext -d '{"message": "hello"}' localhost:8081 uber.submitqueue.gateway.SubmitQueueGateway/Ping
grpcurl -plaintext -d '{"message": "hello"}' localhost:8082 uber.submitqueue.orchestrator.SubmitQueueOrchestrator/Ping

# List services
grpcurl -plaintext localhost:8081 list
grpcurl -plaintext localhost:8082 list

# Describe a service
grpcurl -plaintext localhost:8081 describe uber.devexp.submitqueue.gateway.SubmitQueueGateway
grpcurl -plaintext localhost:8082 describe uber.devexp.submitqueue.orchestrator.SubmitQueueOrchestrator
grpcurl -plaintext localhost:8081 describe uber.submitqueue.gateway.SubmitQueueGateway
grpcurl -plaintext localhost:8082 describe uber.submitqueue.orchestrator.SubmitQueueOrchestrator
```

## API Reference

### Gateway Service

**Service**: `uber.devexp.submitqueue.gateway.SubmitQueueGateway`
**Service**: `uber.submitqueue.gateway.SubmitQueueGateway`
**Proto**: `gateway/proto/gateway.proto`

| Method | Description |
Expand All @@ -117,7 +117,7 @@ grpcurl -plaintext localhost:8082 describe uber.devexp.submitqueue.orchestrator.

### Orchestrator Service

**Service**: `uber.devexp.submitqueue.orchestrator.SubmitQueueOrchestrator`
**Service**: `uber.submitqueue.orchestrator.SubmitQueueOrchestrator`
**Proto**: `orchestrator/proto/orchestrator.proto`

| Method | Description |
Expand Down
4 changes: 2 additions & 2 deletions gateway/proto/gateway.proto
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
syntax = "proto3";

package uber.devexp.submitqueue.gateway;
package uber.submitqueue.gateway;

option go_package = "github.com/uber/submitqueue/gateway/protopb";
option java_multiple_files = true;
option java_outer_classname = "GatewayProto";
option java_package = "com.uber.devexp.submitqueue.gateway";
option java_package = "com.uber.submitqueue.gateway";

// ***************
// API domain definitions.
Expand Down
62 changes: 31 additions & 31 deletions gateway/protopb/gateway.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

66 changes: 33 additions & 33 deletions gateway/protopb/gateway.pb.yarpc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions gateway/protopb/gateway_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading