-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* First Exchange command to create and delete * Fix Plurals * Add semaphore to sync the close Signed-off-by: Gabriele Santomaggio <[email protected]> --------- Signed-off-by: Gabriele Santomaggio <[email protected]>
- Loading branch information
1 parent
edfd006
commit 15b7132
Showing
34 changed files
with
542 additions
and
216 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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
all: format test | ||
|
||
format: | ||
dotnet format $(CURDIR)/rabbitmq-amqp-dotnet-client.sln | ||
|
||
build: | ||
dotnet build $(CURDIR)/Build.csproj | ||
|
||
test: build | ||
dotnet test -c Debug $(CURDIR)/Tests/Tests.csproj --no-build --logger:"console;verbosity=detailed" /p:AltCover=true | ||
|
||
rabbitmq-server-start: | ||
./.ci/ubuntu/gha-setup.sh start | ||
|
||
rabbitmq-server-stop: | ||
./.ci/ubuntu/gha-setup.sh stop | ||
|
||
|
||
# TODO: | ||
## publish the documentation on github pages | ||
## you should execute this command only on the `main` branch | ||
# publish-github-pages: | ||
# ## Create the PDF | ||
# docker run -it -v $(shell pwd)/docs/:/client_doc/ asciidoctor/docker-asciidoctor /bin/bash -c "cd /client_doc/asciidoc && asciidoctor-pdf index.adoc" | ||
# ## Create the HTML | ||
# docker run -it -v $(shell pwd)/docs/:/client_doc/ asciidoctor/docker-asciidoctor /bin/bash -c "cd /client_doc/asciidoc && asciidoctor index.adoc" | ||
# ## copy the PDF and HTML to temp folder | ||
# rm -rf docs/temp | ||
# mkdir -p docs/temp | ||
# cp docs/asciidoc/index.pdf docs/temp/dotnet-stream-client.pdf | ||
# cp docs/asciidoc/index.html docs/temp/index.html | ||
# ## check out the gh-pages branch | ||
# git checkout gh-pages | ||
# ## copy the PDF and HTML to the root folder | ||
# mv docs/temp/dotnet-stream-client.pdf stable/dotnet-stream-client.pdf | ||
# mv docs/temp/index.html stable/htmlsingle/index.html | ||
# ## commit and push | ||
# git add stable/dotnet-stream-client.pdf | ||
# git add stable/htmlsingle/index.html | ||
# git commit -m "Update the documentation" | ||
# git push origin gh-pages | ||
# ## go back to the main branch | ||
# git checkout main |
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 |
---|---|---|
|
@@ -10,4 +10,4 @@ public interface IAddressBuilder<out T> | |
T Queue(string queue); | ||
|
||
T Key(string key); | ||
} | ||
} |
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 |
---|---|---|
|
@@ -6,4 +6,4 @@ public interface IConnection | |
{ | ||
IManagement Management(); | ||
Task ConnectAsync(); | ||
} | ||
} |
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 |
---|---|---|
|
@@ -16,4 +16,4 @@ public interface IConnectionSettings | |
string Scheme(); | ||
|
||
string ConnectionName(); | ||
} | ||
} |
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 |
---|---|---|
|
@@ -16,4 +16,4 @@ public interface IMessage | |
string Subject(); | ||
IMessage Subject(string subject); | ||
|
||
} | ||
} |
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 |
---|---|---|
|
@@ -9,4 +9,4 @@ public interface ITopologyListener | |
void Clear(); | ||
|
||
int QueueCount(); | ||
} | ||
} |
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
Oops, something went wrong.