diff --git a/schemas/littlehorse/acls.proto b/schemas/littlehorse/acls.proto index c2c01a01f..dbc867d99 100644 --- a/schemas/littlehorse/acls.proto +++ b/schemas/littlehorse/acls.proto @@ -7,7 +7,7 @@ import "object_id.proto"; option go_package = ".;lhproto"; option java_multiple_files = true; option java_package = "io.littlehorse.sdk.common.proto"; -option csharp_namespace = "LittleHorse.Common.Proto"; +option csharp_namespace = "LittleHorse.Sdk.Common.Proto"; // A Principal represents the identity of a client of LittleHorse, whether human or // machine. The ACL's on the Principal control what actions the client is allowed diff --git a/schemas/littlehorse/common_enums.proto b/schemas/littlehorse/common_enums.proto index e0dba41e1..ec8ecf8fa 100644 --- a/schemas/littlehorse/common_enums.proto +++ b/schemas/littlehorse/common_enums.proto @@ -4,7 +4,7 @@ package littlehorse; option go_package = ".;lhproto"; option java_multiple_files = true; option java_package = "io.littlehorse.sdk.common.proto"; -option csharp_namespace = "LittleHorse.Common.Proto"; +option csharp_namespace = "LittleHorse.Sdk.Common.Proto"; // Status used for WfRun, ThreadRun, and NodeRun enum LHStatus { diff --git a/schemas/littlehorse/common_wfspec.proto b/schemas/littlehorse/common_wfspec.proto index 153ff1f77..913ddd7bf 100644 --- a/schemas/littlehorse/common_wfspec.proto +++ b/schemas/littlehorse/common_wfspec.proto @@ -10,7 +10,7 @@ import "object_id.proto"; option go_package = ".;lhproto"; option java_multiple_files = true; option java_package = "io.littlehorse.sdk.common.proto"; -option csharp_namespace = "LittleHorse.Common.Proto"; +option csharp_namespace = "LittleHorse.Sdk.Common.Proto"; // A VariableAssignment is used within a WfSpec to determine how a value should be // assigned in the context of a specific WfRun. For example, in a TASK node, you diff --git a/schemas/littlehorse/external_event.proto b/schemas/littlehorse/external_event.proto index 90e739560..bcc84e832 100644 --- a/schemas/littlehorse/external_event.proto +++ b/schemas/littlehorse/external_event.proto @@ -9,7 +9,7 @@ import "object_id.proto"; option go_package = ".;lhproto"; option java_multiple_files = true; option java_package = "io.littlehorse.sdk.common.proto"; -option csharp_namespace = "LittleHorse.Common.Proto"; +option csharp_namespace = "LittleHorse.Sdk.Common.Proto"; // An ExternalEvent represents A Thing That Happened outside the context of a WfRun. // Generally, an ExternalEvent is used to represent a document getting signed, an incident diff --git a/schemas/littlehorse/node_run.proto b/schemas/littlehorse/node_run.proto index 95e0ee592..57ce998e9 100644 --- a/schemas/littlehorse/node_run.proto +++ b/schemas/littlehorse/node_run.proto @@ -10,7 +10,7 @@ import "object_id.proto"; option go_package = ".;lhproto"; option java_multiple_files = true; option java_package = "io.littlehorse.sdk.common.proto"; -option csharp_namespace = "LittleHorse.Common.Proto"; +option csharp_namespace = "LittleHorse.Sdk.Common.Proto"; // A NodeRun is a running instance of a Node in a ThreadRun. Note that a NodeRun // is a Getable object, meaning it can be retried from the LittleHorse grpc API. diff --git a/schemas/littlehorse/object_id.proto b/schemas/littlehorse/object_id.proto index 302390f1e..4b4e5a689 100644 --- a/schemas/littlehorse/object_id.proto +++ b/schemas/littlehorse/object_id.proto @@ -8,7 +8,7 @@ import "common_enums.proto"; option go_package = ".;lhproto"; option java_multiple_files = true; option java_package = "io.littlehorse.sdk.common.proto"; -option csharp_namespace = "LittleHorse.Common.Proto"; +option csharp_namespace = "LittleHorse.Sdk.Common.Proto"; // The ID of a WfSpec. message WfSpecId { diff --git a/schemas/littlehorse/scheduled_wf_run.proto b/schemas/littlehorse/scheduled_wf_run.proto index 9b1cdce7a..4988e7ccd 100644 --- a/schemas/littlehorse/scheduled_wf_run.proto +++ b/schemas/littlehorse/scheduled_wf_run.proto @@ -9,7 +9,7 @@ import "variable.proto"; option go_package = ".;lhproto"; option java_multiple_files = true; option java_package = "io.littlehorse.sdk.common.proto"; -option csharp_namespace = "LittleHorse.Common.Proto"; +option csharp_namespace = "LittleHorse.Sdk.Common.Proto"; // A `ScheduledWfRun` is an object in the LittleHorse API that triggers a `WfRun` to be started // on a cron schedule. message ScheduledWfRun { diff --git a/schemas/littlehorse/service.proto b/schemas/littlehorse/service.proto index f3ad42b06..0abfe24ad 100644 --- a/schemas/littlehorse/service.proto +++ b/schemas/littlehorse/service.proto @@ -22,7 +22,7 @@ import "scheduled_wf_run.proto"; option go_package = ".;lhproto"; option java_multiple_files = true; option java_package = "io.littlehorse.sdk.common.proto"; -option csharp_namespace = "LittleHorse.Common.Proto"; +option csharp_namespace = "LittleHorse.Sdk.Common.Proto"; service LittleHorse { // Creates a TaskDef. diff --git a/schemas/littlehorse/task_def.proto b/schemas/littlehorse/task_def.proto index e6df37285..a91aba92d 100644 --- a/schemas/littlehorse/task_def.proto +++ b/schemas/littlehorse/task_def.proto @@ -9,7 +9,7 @@ import "object_id.proto"; option go_package = ".;lhproto"; option java_multiple_files = true; option java_package = "io.littlehorse.sdk.common.proto"; -option csharp_namespace = "LittleHorse.Common.Proto"; +option csharp_namespace = "LittleHorse.Sdk.Common.Proto"; // A TaskDef defines a blueprint for a TaskRun that can be dispatched to Task Workers. message TaskDef { diff --git a/schemas/littlehorse/task_run.proto b/schemas/littlehorse/task_run.proto index d87e84a74..e2fe83399 100644 --- a/schemas/littlehorse/task_run.proto +++ b/schemas/littlehorse/task_run.proto @@ -12,7 +12,7 @@ import "user_tasks.proto"; option go_package = ".;lhproto"; option java_multiple_files = true; option java_package = "io.littlehorse.sdk.common.proto"; -option csharp_namespace = "LittleHorse.Common.Proto"; +option csharp_namespace = "LittleHorse.Sdk.Common.Proto"; // A TaskRun resents a single instance of a TaskDef being executed. message TaskRun { diff --git a/schemas/littlehorse/user_tasks.proto b/schemas/littlehorse/user_tasks.proto index caf22d190..ba5caf3a3 100644 --- a/schemas/littlehorse/user_tasks.proto +++ b/schemas/littlehorse/user_tasks.proto @@ -10,7 +10,7 @@ import "variable.proto"; option go_package = ".;lhproto"; option java_multiple_files = true; option java_package = "io.littlehorse.sdk.common.proto"; -option csharp_namespace = "LittleHorse.Common.Proto"; +option csharp_namespace = "LittleHorse.Sdk.Common.Proto"; // UserTaskDef is the metadata blueprint for UserTaskRuns. message UserTaskDef { diff --git a/schemas/littlehorse/variable.proto b/schemas/littlehorse/variable.proto index 7f58f8609..3b9e6c9bc 100644 --- a/schemas/littlehorse/variable.proto +++ b/schemas/littlehorse/variable.proto @@ -8,7 +8,7 @@ import "object_id.proto"; option go_package = ".;lhproto"; option java_multiple_files = true; option java_package = "io.littlehorse.sdk.common.proto"; -option csharp_namespace = "LittleHorse.Common.Proto"; +option csharp_namespace = "LittleHorse.Sdk.Common.Proto"; // VariableValue is a structure containing a value in LittleHorse. It can be // used to pass input variables into a WfRun/ThreadRun/TaskRun/etc, as output diff --git a/schemas/littlehorse/wf_run.proto b/schemas/littlehorse/wf_run.proto index 0489fa744..22b4d01a5 100644 --- a/schemas/littlehorse/wf_run.proto +++ b/schemas/littlehorse/wf_run.proto @@ -9,7 +9,7 @@ import "object_id.proto"; option go_package = ".;lhproto"; option java_multiple_files = true; option java_package = "io.littlehorse.sdk.common.proto"; -option csharp_namespace = "LittleHorse.Common.Proto"; +option csharp_namespace = "LittleHorse.Sdk.Common.Proto"; // A WfRun is a running instance of a WfSpec. message WfRun { diff --git a/schemas/littlehorse/wf_spec.proto b/schemas/littlehorse/wf_spec.proto index 7553933a5..ca5dd27e0 100644 --- a/schemas/littlehorse/wf_spec.proto +++ b/schemas/littlehorse/wf_spec.proto @@ -10,7 +10,7 @@ import "object_id.proto"; option go_package = ".;lhproto"; option java_multiple_files = true; option java_package = "io.littlehorse.sdk.common.proto"; -option csharp_namespace = "LittleHorse.Common.Proto"; +option csharp_namespace = "LittleHorse.Sdk.Common.Proto"; // A `WfSpec` defines the logic for a workflow in LittleHorse. It is a metadata object // and is a blueprint for a `WfRun` execution. diff --git a/schemas/littlehorse/workflow_event.proto b/schemas/littlehorse/workflow_event.proto index 49338b2d2..5a140c3ed 100644 --- a/schemas/littlehorse/workflow_event.proto +++ b/schemas/littlehorse/workflow_event.proto @@ -10,7 +10,7 @@ import "common_enums.proto"; option go_package = ".;lhproto"; option java_multiple_files = true; option java_package = "io.littlehorse.sdk.common.proto"; -option csharp_namespace = "LittleHorse.Common.Proto"; +option csharp_namespace = "LittleHorse.Sdk.Common.Proto"; // A WorkflowEvent represents a "Thing That Happened" *INSIDE* a WfRun. It is DIFFERENT from // an ExternalEvent, because an ExternalEvent represents something that happened OUTSIDE the WfRun, diff --git a/sdk-dotnet/Examples/ExceptionsHandlerExample/MyWorker.cs b/sdk-dotnet/Examples/ExceptionsHandlerExample/MyWorker.cs index 810abaaa3..3e1885dfd 100644 --- a/sdk-dotnet/Examples/ExceptionsHandlerExample/MyWorker.cs +++ b/sdk-dotnet/Examples/ExceptionsHandlerExample/MyWorker.cs @@ -1,4 +1,4 @@ -using LittleHorse.Common.Proto; +using LittleHorse.Sdk.Common.Proto; using LittleHorse.Sdk.Worker; using LHTaskException = LittleHorse.Sdk.Exceptions.LHTaskException; diff --git a/sdk-dotnet/LittleHorse.Sdk.Tests/Helper/LHMappingHelperTest.cs b/sdk-dotnet/LittleHorse.Sdk.Tests/Helper/LHMappingHelperTest.cs index 96792231d..8abc1710a 100644 --- a/sdk-dotnet/LittleHorse.Sdk.Tests/Helper/LHMappingHelperTest.cs +++ b/sdk-dotnet/LittleHorse.Sdk.Tests/Helper/LHMappingHelperTest.cs @@ -1,6 +1,6 @@ using System; using System.Collections.Generic; -using LittleHorse.Common.Proto; +using LittleHorse.Sdk.Common.Proto; using LittleHorse.Sdk.Helper; using Google.Protobuf.WellKnownTypes; using LittleHorse.Sdk.Tests; diff --git a/sdk-dotnet/LittleHorse.Sdk.Tests/LHTaskSignatureTest.cs b/sdk-dotnet/LittleHorse.Sdk.Tests/LHTaskSignatureTest.cs index 5600a1218..b1bdc6138 100644 --- a/sdk-dotnet/LittleHorse.Sdk.Tests/LHTaskSignatureTest.cs +++ b/sdk-dotnet/LittleHorse.Sdk.Tests/LHTaskSignatureTest.cs @@ -1,5 +1,5 @@ using System.Collections.Generic; -using LittleHorse.Common.Proto; +using LittleHorse.Sdk.Common.Proto; using LittleHorse.Sdk; using LittleHorse.Sdk.Exceptions; using LittleHorse.Sdk.Worker; diff --git a/sdk-dotnet/LittleHorse.Sdk.Tests/Worker/VariableMappingTest.cs b/sdk-dotnet/LittleHorse.Sdk.Tests/Worker/VariableMappingTest.cs index 717dd96a8..a4389ef65 100644 --- a/sdk-dotnet/LittleHorse.Sdk.Tests/Worker/VariableMappingTest.cs +++ b/sdk-dotnet/LittleHorse.Sdk.Tests/Worker/VariableMappingTest.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using Google.Protobuf; using Type = System.Type; -using LittleHorse.Common.Proto; +using LittleHorse.Sdk.Common.Proto; using LittleHorse.Sdk.Exceptions; using LittleHorse.Sdk.Helper; using LittleHorse.Sdk.Worker; diff --git a/sdk-dotnet/LittleHorse.Sdk/Exceptions/LHTaskException.cs b/sdk-dotnet/LittleHorse.Sdk/Exceptions/LHTaskException.cs index 2c7b8b57e..b6469f729 100644 --- a/sdk-dotnet/LittleHorse.Sdk/Exceptions/LHTaskException.cs +++ b/sdk-dotnet/LittleHorse.Sdk/Exceptions/LHTaskException.cs @@ -1,4 +1,4 @@ -using LittleHorse.Common.Proto; +using LittleHorse.Sdk.Common.Proto; namespace LittleHorse.Sdk.Exceptions; diff --git a/sdk-dotnet/LittleHorse.Sdk/Helper/LHHelper.cs b/sdk-dotnet/LittleHorse.Sdk/Helper/LHHelper.cs index 1b55390e1..1e5c48020 100644 --- a/sdk-dotnet/LittleHorse.Sdk/Helper/LHHelper.cs +++ b/sdk-dotnet/LittleHorse.Sdk/Helper/LHHelper.cs @@ -1,5 +1,5 @@ using System.Text; -using LittleHorse.Common.Proto; +using LittleHorse.Sdk.Common.Proto; namespace LittleHorse.Sdk.Helper { diff --git a/sdk-dotnet/LittleHorse.Sdk/Helper/LHMappingHelper.cs b/sdk-dotnet/LittleHorse.Sdk/Helper/LHMappingHelper.cs index 6c225f16f..6af840f8d 100644 --- a/sdk-dotnet/LittleHorse.Sdk/Helper/LHMappingHelper.cs +++ b/sdk-dotnet/LittleHorse.Sdk/Helper/LHMappingHelper.cs @@ -1,11 +1,11 @@ using System.Collections; using Google.Protobuf; using Google.Protobuf.WellKnownTypes; -using LittleHorse.Common.Proto; +using LittleHorse.Sdk.Common.Proto; using LittleHorse.Sdk.Exceptions; using LittleHorse.Sdk.Utils; using LittleHorse.Sdk.Worker; -using TaskStatus = LittleHorse.Common.Proto.TaskStatus; +using TaskStatus = LittleHorse.Sdk.Common.Proto.TaskStatus; using Type = System.Type; namespace LittleHorse.Sdk.Helper diff --git a/sdk-dotnet/LittleHorse.Sdk/LHConfig.cs b/sdk-dotnet/LittleHorse.Sdk/LHConfig.cs index f1c6ca057..d800875c1 100644 --- a/sdk-dotnet/LittleHorse.Sdk/LHConfig.cs +++ b/sdk-dotnet/LittleHorse.Sdk/LHConfig.cs @@ -1,12 +1,12 @@ using Grpc.Core; using Grpc.Net.Client; using LittleHorse.Sdk.Authentication; -using LittleHorse.Common.Proto; using LittleHorse.Sdk.Utils; using Microsoft.Extensions.Logging; using System.Security.Cryptography.X509Certificates; using System.Net.Security; -using static LittleHorse.Common.Proto.LittleHorse; +using LittleHorse.Sdk.Common.Proto; +using static LittleHorse.Sdk.Common.Proto.LittleHorse; namespace LittleHorse.Sdk { diff --git a/sdk-dotnet/LittleHorse.Sdk/Worker/Internal/LHMethodParam.cs b/sdk-dotnet/LittleHorse.Sdk/Worker/Internal/LHMethodParam.cs index 41d613068..2c6a2ad9f 100644 --- a/sdk-dotnet/LittleHorse.Sdk/Worker/Internal/LHMethodParam.cs +++ b/sdk-dotnet/LittleHorse.Sdk/Worker/Internal/LHMethodParam.cs @@ -1,5 +1,5 @@ using System.Runtime.CompilerServices; -using LittleHorse.Common.Proto; +using LittleHorse.Sdk.Common.Proto; [assembly: InternalsVisibleTo("LittleHorse.Sdk.Tests")] diff --git a/sdk-dotnet/LittleHorse.Sdk/Worker/Internal/LHServerConnection.cs b/sdk-dotnet/LittleHorse.Sdk/Worker/Internal/LHServerConnection.cs index 0691e41f9..4a2b13928 100644 --- a/sdk-dotnet/LittleHorse.Sdk/Worker/Internal/LHServerConnection.cs +++ b/sdk-dotnet/LittleHorse.Sdk/Worker/Internal/LHServerConnection.cs @@ -1,8 +1,8 @@ using Grpc.Core; -using LittleHorse.Common.Proto; +using LittleHorse.Sdk.Common.Proto; using LittleHorse.Sdk.Helper; using Microsoft.Extensions.Logging; -using static LittleHorse.Common.Proto.LittleHorse; +using static LittleHorse.Sdk.Common.Proto.LittleHorse; namespace LittleHorse.Sdk.Worker.Internal { diff --git a/sdk-dotnet/LittleHorse.Sdk/Worker/Internal/LHServerConnectionManager.cs b/sdk-dotnet/LittleHorse.Sdk/Worker/Internal/LHServerConnectionManager.cs index f7677be94..4e49392a1 100644 --- a/sdk-dotnet/LittleHorse.Sdk/Worker/Internal/LHServerConnectionManager.cs +++ b/sdk-dotnet/LittleHorse.Sdk/Worker/Internal/LHServerConnectionManager.cs @@ -1,14 +1,14 @@ using System.Reflection; using Google.Protobuf.Collections; using Google.Protobuf.WellKnownTypes; -using LittleHorse.Common.Proto; +using LittleHorse.Sdk.Common.Proto; using LittleHorse.Sdk.Exceptions; using LittleHorse.Sdk.Helper; using Microsoft.Extensions.Logging; using Polly; -using static LittleHorse.Common.Proto.LittleHorse; +using static LittleHorse.Sdk.Common.Proto.LittleHorse; using LHTaskException = LittleHorse.Sdk.Exceptions.LHTaskException; -using TaskStatus = LittleHorse.Common.Proto.TaskStatus; +using TaskStatus = LittleHorse.Sdk.Common.Proto.TaskStatus; namespace LittleHorse.Sdk.Worker.Internal { diff --git a/sdk-dotnet/LittleHorse.Sdk/Worker/Internal/LHTask.cs b/sdk-dotnet/LittleHorse.Sdk/Worker/Internal/LHTask.cs index 4d809f723..1f7aecb66 100644 --- a/sdk-dotnet/LittleHorse.Sdk/Worker/Internal/LHTask.cs +++ b/sdk-dotnet/LittleHorse.Sdk/Worker/Internal/LHTask.cs @@ -1,7 +1,7 @@ using System.Reflection; -using LittleHorse.Common.Proto; +using LittleHorse.Sdk.Common.Proto; using LittleHorse.Sdk.Exceptions; -using static LittleHorse.Common.Proto.LittleHorse; +using static LittleHorse.Sdk.Common.Proto.LittleHorse; namespace LittleHorse.Sdk.Worker.Internal; diff --git a/sdk-dotnet/LittleHorse.Sdk/Worker/LHTaskSignature.cs b/sdk-dotnet/LittleHorse.Sdk/Worker/LHTaskSignature.cs index a9a6f7f01..f6fc5d9f4 100644 --- a/sdk-dotnet/LittleHorse.Sdk/Worker/LHTaskSignature.cs +++ b/sdk-dotnet/LittleHorse.Sdk/Worker/LHTaskSignature.cs @@ -1,5 +1,5 @@ using System.Reflection; -using LittleHorse.Common.Proto; +using LittleHorse.Sdk.Common.Proto; using LittleHorse.Sdk.Exceptions; using LittleHorse.Sdk.Helper; using LittleHorse.Sdk.Worker.Internal; diff --git a/sdk-dotnet/LittleHorse.Sdk/Worker/LHTaskWorker.cs b/sdk-dotnet/LittleHorse.Sdk/Worker/LHTaskWorker.cs index bcf69d4c1..ec3c9430b 100644 --- a/sdk-dotnet/LittleHorse.Sdk/Worker/LHTaskWorker.cs +++ b/sdk-dotnet/LittleHorse.Sdk/Worker/LHTaskWorker.cs @@ -1,10 +1,10 @@ using Grpc.Core; -using LittleHorse.Common.Proto; +using LittleHorse.Sdk.Common.Proto; using LittleHorse.Sdk.Exceptions; using LittleHorse.Sdk.Helper; using LittleHorse.Sdk.Worker.Internal; using Microsoft.Extensions.Logging; -using static LittleHorse.Common.Proto.LittleHorse; +using static LittleHorse.Sdk.Common.Proto.LittleHorse; namespace LittleHorse.Sdk.Worker { diff --git a/sdk-dotnet/LittleHorse.Sdk/Worker/LHWorkerContext.cs b/sdk-dotnet/LittleHorse.Sdk/Worker/LHWorkerContext.cs index 75991a537..94f4db2f9 100644 --- a/sdk-dotnet/LittleHorse.Sdk/Worker/LHWorkerContext.cs +++ b/sdk-dotnet/LittleHorse.Sdk/Worker/LHWorkerContext.cs @@ -1,4 +1,4 @@ -using LittleHorse.Common.Proto; +using LittleHorse.Sdk.Common.Proto; using LittleHorse.Sdk.Helper; namespace LittleHorse.Sdk.Worker diff --git a/sdk-dotnet/LittleHorse.Sdk/Worker/VariableMapping.cs b/sdk-dotnet/LittleHorse.Sdk/Worker/VariableMapping.cs index 02e958833..7e91a7e26 100644 --- a/sdk-dotnet/LittleHorse.Sdk/Worker/VariableMapping.cs +++ b/sdk-dotnet/LittleHorse.Sdk/Worker/VariableMapping.cs @@ -1,4 +1,4 @@ -using LittleHorse.Common.Proto; +using LittleHorse.Sdk.Common.Proto; using LittleHorse.Sdk.Exceptions; using LittleHorse.Sdk.Helper; using LittleHorse.Sdk.Utils;