Skip to content

Commit

Permalink
Merge pull request #70 from dolittle/resources
Browse files Browse the repository at this point in the history
Resources
  • Loading branch information
woksin authored Nov 10, 2021
2 parents 2d290cc + 43d09be commit 5157900
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Source/Runtime/Resources/Resources.proto
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);
}

0 comments on commit 5157900

Please sign in to comment.