Skip to content

Commit 3dda295

Browse files
Merge pull request #198 from code0-tech/196-action-service-rework
Action Service Rework
2 parents 75588d8 + eb9dcfd commit 3dda295

3 files changed

Lines changed: 8 additions & 45 deletions

File tree

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ services that Sagittarius must implement as a server.
6666
│ └── test_execution - Service and Types for the test execution
6767
└── shared
6868
├── data_type - Defines types for data types
69-
├── event - Defines types for events
7069
├── flow - Defines types for flows
7170
├── flow_definition - Defines a definition for a Flow
7271
├── runtime_function - Defines types for runtime functions

proto/aquila/aquila.action.proto

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ package aquila;
77
import "shared.struct.proto";
88
import "shared.runtime_function.proto";
99
import "shared.data_type.proto";
10+
import "shared.flow_definition.proto";
1011
import "shared.translation.proto";
11-
import "shared.event.proto";
1212

1313
// Event that gets admitted by an action
1414
message Event {
@@ -22,12 +22,15 @@ message Event {
2222
message Configuration {
2323
// Action identifier
2424
string identifier = 1;
25+
string version = 2;
26+
2527
// Flow Configuration
26-
repeated shared.RuntimeFunctionDefinition function_definitions = 2;
27-
// Event Configuration
28-
repeated shared.EventType event_types = 3;
28+
repeated shared.RuntimeFunctionDefinition function_definitions = 3;
29+
repeated shared.DefinitionDataType data_types = 4;
30+
repeated shared.FlowType flow_types = 5;
31+
2932
// Application Configuration
30-
repeated ActionConfiguration action_configurations = 4;
33+
repeated ActionConfiguration action_configurations = 6;
3134
}
3235

3336
message ActionConfiguration {

proto/shared/shared.event.proto

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)