-
Notifications
You must be signed in to change notification settings - Fork 0
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 #5 from code0-tech/feat/external-actions
Introduce actions protocol
- Loading branch information
Showing
16 changed files
with
214 additions
and
151 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 |
---|---|---|
|
@@ -11,4 +11,6 @@ | |
.rspec_status | ||
|
||
# generated ruby files | ||
lib/tucana/actions/*.rb | ||
lib/tucana/internal/*.rb | ||
lib/tucana/shared/*.rb |
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
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
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
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 |
---|---|---|
@@ -1,3 +1,11 @@ | ||
pub mod internal { | ||
include!("internal/internal.rs"); | ||
include!("generated/internal.rs"); | ||
} | ||
|
||
pub mod actions { | ||
include!("generated/actions.rs"); | ||
} | ||
|
||
pub mod shared { | ||
include!("generated/shared.rs"); | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,21 @@ | ||
syntax = "proto3"; | ||
|
||
import "definitions.proto"; | ||
|
||
option ruby_package = "Tucana::Actions"; | ||
|
||
package actions; | ||
|
||
message InformationRequest { | ||
string identifier = 1; | ||
repeated shared.RuntimeFunctionDefinition function_definition = 2; | ||
repeated shared.RuntimeParameterDefinition parameter_definition = 3; | ||
} | ||
|
||
message InformationResponse { | ||
bool success = 1; | ||
} | ||
|
||
service ActionTransferService { | ||
rpc Transfer (stream InformationRequest) returns (InformationResponse); | ||
} |
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 @@ | ||
syntax = "proto3"; | ||
import "definitions.proto"; | ||
|
||
option ruby_package = "Tucana::Internal"; | ||
|
||
package internal; | ||
|
||
message ActionLogonRequest { | ||
string identifier = 1; | ||
repeated shared.RuntimeFunctionDefinition function_definition = 2; | ||
repeated shared.RuntimeParameterDefinition parameter_definition = 3; | ||
} | ||
|
||
message ActionLogonResponse {} | ||
|
||
message ActionLogoffRequest { | ||
string identifier = 1; | ||
} | ||
|
||
message ActionLogoffResponse {} | ||
|
||
service ActionService { | ||
rpc Logon (ActionLogonRequest) returns (ActionLogonResponse); | ||
rpc Logoff (ActionLogoffRequest) returns (ActionLogoffResponse); | ||
} |
Oops, something went wrong.