-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #70 from dolittle/resources
Resources
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Copyright (c) Dolittle. All rights reserved. | ||
// Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
|
||
syntax = "proto3"; | ||
|
||
import "Fundamentals/Protobuf/Failure.proto"; | ||
import "Fundamentals/Services/CallContext.proto"; | ||
|
||
package dolittle.runtime.resources; | ||
|
||
option csharp_namespace = "Dolittle.Runtime.Resources.Contracts"; | ||
option go_package = "go.dolittle.io/contracts/runtime/resources"; | ||
|
||
message GetRequest { | ||
services.CallRequestContext callContext = 1; | ||
} | ||
|
||
message GetMongoDbResponse { | ||
string connectionString = 1; | ||
protobuf.Failure failure = 2; // not set if not failed | ||
} | ||
|
||
service Resources { | ||
rpc GetMongoDb(GetRequest) returns(GetMongoDbResponse); | ||
} |