-
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.
Persist the broker between cli runs (#68)
* Removed Broker.fs and its references The Broker.fs file has been deleted, along with all its code. References to this file in the UnMango.Tdl.FSharp.fsproj have also been removed. This change simplifies the project structure by eliminating unnecessary components. * Refactor client creation and rename modules - Replaced the method for creating a client channel in Handlers.cs - Renamed Client.fs to GrpcClient.fs, updating all references accordingly - Renamed Library.fs to Util.fs, updating all references accordingly - Updated module name from UnMango.Tdl.Client to UnMango.Tdl.GrpcClient * Updated F# code formatting The F# code has been reformatted for better readability. The changes include: - Adjusted the indentation style in .editorconfig for F# files. - Simplified async expressions by removing unnecessary newlines and brackets. - Reformatted function definitions to make them more concise. - Cleaned up some test cases by removing extra lines and spaces. * Refactor Docker image creation condition The conditional compilation directive for creating Docker images has been replaced with a runtime check. Now, the image creation process only occurs if the environment is set to 'Release'. This change enhances code readability and maintainability. * Refactored container creation and added label-based search Significant changes include: - Refactoring of the Container class to use static factory methods for instantiation. - Addition of a method in the Docker class to find containers based on labels. - Modification of the Docker.Start method to include label parameters when creating a container. - Changes in EnsureBroker class to check for socket existence before starting, and addition of labels during container start.
- Loading branch information
1 parent
73dc0f5
commit 68e31a0
Showing
14 changed files
with
99 additions
and
175 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
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
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 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module UnMango.Tdl.Client | ||
module UnMango.Tdl.GrpcClient | ||
|
||
open System | ||
open System.IO | ||
|
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
File renamed without changes.
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,4 +1,4 @@ | ||
module Program | ||
|
||
[<EntryPoint>] | ||
let main _ = 0 | ||
module Program | ||
|
||
[<EntryPoint>] | ||
let main _ = 0 |
Oops, something went wrong.