Skip to content

Commit

Permalink
Merge pull request #348 from umccr/update-srm-convention-bs-runs-upload
Browse files Browse the repository at this point in the history
Updated BasespaceRunsUploadManager event rule with SequenceRunManager convention
  • Loading branch information
victorskl authored Jun 12, 2024
2 parents cf6f17f + 24d250b commit a0c281a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The two steps of the statemachine are:
1. Generate a V2 Samplesheet and reupload it
2. Launch an ICAv1 tes task that runs the bs runs upload command

This statemachine will subscribe to the orcabus.srm events and trigger the statemachine when a new run is detected.
This statemachine will subscribe to the `orcabus.sequencerunmanager` events and trigger the statemachine when a new run is detected.

![](images/bs_runs_upload_manager.png)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@ export class BsRunsUploadManagerConstruct extends Construct {
const rule = new events.Rule(this, 'bs_runs_upload_event_rule', {
eventBus: props.eventBusObj,
eventPattern: {
source: ['orcabus.srm'],
source: ['orcabus.sequencerunmanager'],
detailType: ['SequenceRunStateChange'],
detail: {
status: ['succeeded'],
status: [{ 'equals-ignore-case': 'SUCCEEDED' }],
},
},
});
Expand Down

0 comments on commit a0c281a

Please sign in to comment.