Skip to content

Commit

Permalink
Merge pull request #165 from CDCgov/prod-setup_final_final
Browse files Browse the repository at this point in the history
Use CA PHL's ReportStream Sender
  • Loading branch information
halprin authored Sep 18, 2024
2 parents 5123da6 + f6f9bc7 commit cb980ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion operations/template/app.tf
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ resource "azurerm_linux_web_app" "sftp" {
AZURE_STORAGE_CONNECTION_STRING = azurerm_storage_account.storage.primary_blob_connection_string
REPORT_STREAM_URL_PREFIX = "https://${local.rs_domain_prefix}prime.cdc.gov"
AZURE_KEY_VAULT_URI = azurerm_key_vault.key_storage.vault_uri
CA_PHL_CLIENT_NAME = "flexion.simulated-lab"
CA_PHL_CLIENT_NAME = "ca-phl.etor-nbs-results"
QUEUE_MAX_DELIVERY_ATTEMPTS = azurerm_eventgrid_system_topic_event_subscription.topic_sub.retry_policy.0.max_delivery_attempts # making the Azure container <-> queue retry count be in sync with the queue <-> application retry count..
}

Expand Down
2 changes: 1 addition & 1 deletion src/senders/report_stream_sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (sender Sender) getToken() (string, error) {
}

data := url.Values{
"scope": {"flexion.*.report"},
"scope": {"ca-phl.*.report"},
"grant_type": {"client_credentials"},
"client_assertion_type": {"urn:ietf:params:oauth:client-assertion-type:jwt-bearer"},
"client_assertion": {senderJwt},
Expand Down

0 comments on commit cb980ab

Please sign in to comment.