-
Notifications
You must be signed in to change notification settings - Fork 26
MassTransit retry functionality #2220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 28 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
40bff1b
Bump Particular.Packaging from 4.1.0 to 4.2.0 in /src
dependabot[bot] 03152f8
Bump Microsoft.NET.Test.Sdk from 17.11.1 to 17.12.0 in /src
dependabot[bot] acf512f
Bump actions/upload-artifact from 4.4.3 to 4.5.0
dependabot[bot] 98fc4b3
Bump actions/setup-dotnet from 4.1.0 to 4.2.0
dependabot[bot] 6eb6bdb
Bump actions/upload-artifact from 4.5.0 to 4.6.0
dependabot[bot] 6b74f6a
Merge remote-tracking branch 'public_origin/master'
johnsimons 8f2bff1
Disable sync and dependabot
johnsimons 77941f8
conditionally show messages according to configuration definition of …
PhilBastian b3db99d
escape forward slashes in endpoint names
PhilBastian d151611
support filtering out endpoints from non-heartbeat supporting connect…
PhilBastian 28df921
reflect new configuration shape
PhilBastian d6da487
don't show unmonitored endpoints on the monitoring screen, even if th…
PhilBastian 0b0d2ec
handle intent header not existing
PhilBastian f5684f0
show masstransit message if pending retries is enabled
PhilBastian 9f32227
include new api property in tests
PhilBastian e65010a
restore awaiting config before loading message
PhilBastian 340d559
remove text "Note:" since it's styled as a note
PhilBastian f519cb3
A small fix
johnsimons 0f2e91c
Adding masstransit connector tab
johnsimons 960a4d8
Hide "Open in ServiceInsight" and "Flow diagram" in ServicePulse
johnsimons f9c08e8
Remove supports_heartbeats
johnsimons dbc9e42
Add link to learn about connector
johnsimons 7432751
style using existing colours and formats, and change pixel sizing to em
PhilBastian 64bca49
handle long queue names
PhilBastian 7bc8871
sizing and format of queue names and logs
PhilBastian 9ca8157
replace non-production references for masstransit with early access
PhilBastian abd14ed
allow for no monitoring url in settings
PhilBastian 4d6d608
Merge branch 'master' into mass_transit_customisation
PhilBastian cf44963
Revert "Disable sync and dependabot"
johnsimons 8c8e63e
A few small changes based on code review
johnsimons 3258c7d
Don't add proxy config for monitoring if monitoring is disabled
johnsimons File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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 hidden or 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 hidden or 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
99 changes: 99 additions & 0 deletions
99
src/Frontend/src/components/configuration/MassTransitConnector.vue
This file contains hidden or 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,99 @@ | ||
| <script setup lang="ts"> | ||
| import { useConfiguration } from "@/composables/configuration"; | ||
| import moment from "moment"; | ||
|
|
||
| const configuration = useConfiguration(); | ||
| // "Wed, Jan 15th 2025 10:56:21 +10:00", | ||
| function formatDate(date: string) { | ||
| return moment(date).local().format("LLLL"); //.format("ddd, MMM Do YYYY HH:mm:ss Z"); | ||
| } | ||
| </script> | ||
|
|
||
| <template> | ||
| <div class="box" v-if="configuration?.mass_transit_connector !== undefined"> | ||
| <div class="row margin-bottom-10"> | ||
| <h4> | ||
| Connector Version: <span class="version-format">{{ configuration.mass_transit_connector.version }}</span> | ||
| </h4> | ||
| </div> | ||
| <div class="row margin-bottom-10"> | ||
| <h4>List of error queues configured in the connector.</h4> | ||
| <div class="queues-container"> | ||
| <div class="row margin-gap hover-highlight" v-for="queue in configuration.mass_transit_connector.error_queues" :key="queue.name"> | ||
| <div :title="queue.name">{{ queue.name }}</div> | ||
| <div class="error-color" v-if="!queue.ingesting">Not ingesting</div> | ||
| <div class="ok-color" v-else>Ok</div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| <div class="row"> | ||
| <h4>The entries below are the most recent warning and error-level events recorded on the ServiceControl Connector.</h4> | ||
| <div class="logs-container"> | ||
| <div class="row margin-gap hover-highlight" v-for="log in [...configuration.mass_transit_connector.logs].reverse()" :key="log.date"> | ||
| <div class="col-2">{{ formatDate(log.date) }}</div> | ||
| <div class="col-1" :class="`${log.level.toLowerCase()}-color`">{{ log.level }}</div> | ||
| <div class="col-9" :class="`${log.level.toLowerCase()}-color`"> | ||
| <pre>{{ log.message }}</pre> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| <div class="box" v-else> | ||
| <p>MassTransit Connector for ServiceControl is not configured.</p> | ||
| <p><a target="_blank" href="https://particular.net/learn-more-about-masstransit-connector">Learn more about the MassTransit Connector.</a></p> | ||
| </div> | ||
| </template> | ||
|
|
||
| <style scoped> | ||
| .hover-highlight:hover { | ||
| background-color: #ededed; | ||
| } | ||
|
|
||
| .margin-gap { | ||
| margin-bottom: 3px; | ||
| } | ||
|
|
||
| .queues-container { | ||
| max-width: 100%; | ||
| width: fit-content; | ||
| padding: 0.75rem; | ||
| } | ||
| .queues-container .row { | ||
| display: grid; | ||
| grid-template-columns: 5fr minmax(10em, 1fr); | ||
| } | ||
| .queues-container .row div { | ||
| overflow-wrap: anywhere; | ||
| } | ||
|
|
||
| .logs-container { | ||
| padding: 0.75rem; | ||
| } | ||
| .version-format { | ||
| font-weight: bold; | ||
| } | ||
| .box > .row:not(:last-child) { | ||
| padding-bottom: 0.5rem; | ||
| border-bottom: 1px solid #ccc; | ||
| margin-bottom: 0.5rem; | ||
| } | ||
|
|
||
| .logs-container pre { | ||
| all: revert; | ||
| margin: 0; | ||
| font-size: 0.9rem; | ||
| overflow-wrap: break-word; | ||
| text-wrap: auto; | ||
| } | ||
|
|
||
| .warning-color { | ||
| color: var(--bs-warning); | ||
| } | ||
| .error-color { | ||
| color: var(--bs-danger); | ||
| } | ||
| .ok-color { | ||
| color: var(--bs-success); | ||
| } | ||
| </style> |
This file contains hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.