-
Notifications
You must be signed in to change notification settings - Fork 5
CCM-17337: publish supplier configuration event #568
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
Open
stevebux
wants to merge
6
commits into
main
Choose a base branch
from
feature/CCM-17337-Publish-Supplier-Configuration-Event
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
438a8a8
Use valid IDs in test config
stevebux cea9dc0
Rename files to match IDs
stevebux 113b103
Rename publish supplier config repo
stevebux 466ef9f
Hardcode internal ref - DO NOT CHECK IN
stevebux 10a1fa0
Fix check for table name
stevebux 0ab715a
Fix error logging
stevebux 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 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -211,8 +211,9 @@ jobs: | |
| .github/scripts/dispatch_internal_repo_workflow.sh \ | ||
| --infraRepoName "$(echo ${{ github.repository }} | cut -d'/' -f2)" \ | ||
| --releaseVersion ${{ github.head_ref || github.ref_name }} \ | ||
| --targetWorkflow "publish-supplier-config.yaml" \ | ||
| --targetWorkflow "publish-supplier-config-to-ddb.yaml" \ | ||
| --targetEnvironment "${{ steps.set-environment.outputs.environment_name }}" \ | ||
| --internalRef "feature/CCM-17337-Publish-Supplier-Configuration-Event" \ | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Temporary, to be removed before checking in |
||
| --targetComponent "config" \ | ||
| --targetAccountGroup "nhs-notify-suppliers-dev" \ | ||
| --tableName "supplier-config" \ | ||
|
|
||
4 changes: 2 additions & 2 deletions
4
...location/supplier1-volumeGroup-test1.json → ...ocation/supplier1-volume-group-test1.json
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 |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| { | ||
| "allocationPercentage": 30, | ||
| "id": "supplier1-volumeGroup-test1", | ||
| "id": "supplier1-volume-group-test1", | ||
| "status": "PROD", | ||
| "supplier": "supplier1", | ||
| "volumeGroup": "volumeGroup-test1" | ||
| "volumeGroup": "volume-group-test1" | ||
| } |
4 changes: 2 additions & 2 deletions
4
...location/supplier1-volumeGroup-test2.json → ...ocation/supplier1-volume-group-test2.json
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 |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| { | ||
| "allocationPercentage": 100, | ||
| "id": "supplier1-volumeGroup-test2", | ||
| "id": "supplier1-volume-group-test2", | ||
| "status": "PROD", | ||
| "supplier": "supplier1", | ||
| "volumeGroup": "volumeGroup-test2" | ||
| "volumeGroup": "volume-group-test2" | ||
| } |
4 changes: 2 additions & 2 deletions
4
...location/supplier1-volumeGroup-test3.json → ...ocation/supplier1-volume-group-test3.json
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 |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| { | ||
| "allocationPercentage": 100, | ||
| "id": "supplier1-volumeGroup-test3", | ||
| "id": "supplier1-volume-group-test3", | ||
| "status": "PROD", | ||
| "supplier": "supplier1", | ||
| "volumeGroup": "volumeGroup-test3" | ||
| "volumeGroup": "volume-group-test3" | ||
| } |
4 changes: 2 additions & 2 deletions
4
...location/supplier2-volumeGroup-test1.json → ...ocation/supplier2-volume-group-test1.json
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 |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| { | ||
| "allocationPercentage": 70, | ||
| "id": "supplier2-volumeGroup-test1", | ||
| "id": "supplier2-volume-group-test1", | ||
| "status": "PROD", | ||
| "supplier": "supplier2", | ||
| "volumeGroup": "volumeGroup-test1" | ||
| "volumeGroup": "volume-group-test1" | ||
| } |
2 changes: 1 addition & 1 deletion
2
...liers/volume-group/volumeGroup-test1.json → ...iers/volume-group/volume-group-test1.json
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
2 changes: 1 addition & 1 deletion
2
...liers/volume-group/volumeGroup-test2.json → ...iers/volume-group/volume-group-test2.json
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
2 changes: 1 addition & 1 deletion
2
...liers/volume-group/volumeGroup-test3.json → ...iers/volume-group/volume-group-test3.json
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.github/workflows/publish-supplier-config-to-event-bridge.yaml ?
Or is this just pinning it to the DDB action until there are equivalent listeners?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've concluded that the build job should continue to use the publish-to-ddb action. The main reason behind that decision is that the event bus in the NHS Notify Shared Infra account is only aware of static environments - there are no routing rules allowing delivery of events to the dynamic environments that are spun up for each PR.