forked from openMF/web-app
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #213 from one-acre-fund/SER-3281-SentryIntegration
Ser 3281 sentry integration
- Loading branch information
Showing
14 changed files
with
87 additions
and
54 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 |
---|---|---|
|
@@ -58,3 +58,6 @@ testem.log | |
# System Files | ||
.DS_Store | ||
Thumbs.db | ||
|
||
# Sentry Config File | ||
.sentryclirc |
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
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 |
---|---|---|
|
@@ -37,6 +37,8 @@ export const environment = { | |
matomoSiteUrl: window['env']['matomoSiteUrl'] || 'http://localhost', | ||
// Loan submission button disabled timeout in seconds | ||
loanSubmitButtonDisabledTimeOut: window['env']['loanSubmitButtonDisabledTimeOut'] || 5, | ||
sentryDsn: window['env']['sentryDsn'] || 'https://[email protected]/4508318875844608' | ||
|
||
}; | ||
|
||
// Server URL | ||
|
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 |
---|---|---|
|
@@ -22,12 +22,12 @@ export const environment = { | |
apiVersion: window['env']['apiVersion'] || '/v1', | ||
serverUrl: '', | ||
oauth: { | ||
enabled: true, // For connecting to Mifos X using OAuth2 Authentication change the value to true | ||
enabled: true, // For connecting to Mifos X using OAuth2 Authentication change the value to true | ||
serverUrl: window['env']['authServerUrl'] || 'https://accounts.qa.oneacrefund.org', | ||
realm: window['env']['keycloakRealm'] || 'OneAcreFund', | ||
client_id: window['env']['keycloakClientId'] || 'fineract', | ||
tokenUrl: window['env']['keycloakTokenUrl'] || `https://loans.qa.oneacrefund.org/auth/realms/OneAcreFund/protocol/openid-connect/token`, | ||
redirectUri: window['env']['homeURL'] || 'http://localhost:4200/home' | ||
redirectUri: window['env']['homeURL'] || 'http://localhost:4200/home', | ||
}, | ||
defaultLanguage: window['env']['defaultLanguage'] || 'en-US', | ||
supportedLanguages: window['env']['supportedLanguages'] || 'en-US,fr-FR', | ||
|
@@ -37,6 +37,8 @@ export const environment = { | |
matomoSiteUrl: window['env']['matomoSiteUrl'] || 'https://analytics.qa.oneacrefund.org', | ||
// Loan submission button disabled timeout in seconds | ||
loanSubmitButtonDisabledTimeOut: window['env']['loanSubmitButtonDisabledTimeOut'] || 5, | ||
sentryDsn: window['env']['sentryDsn'] || | ||
'https://[email protected]/test', | ||
}; | ||
|
||
// Server URL | ||
|
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 |
---|---|---|
@@ -1,38 +1,39 @@ | ||
// `.env.ts` is generated by the `npm run env` command | ||
import env from "./.env"; | ||
import env from './.env'; | ||
import { commonEnvironments } from "./environment.common"; | ||
|
||
export const environment = { | ||
...commonEnvironments, | ||
production: true, | ||
// For connecting to server running elsewhere update the tenant identifier | ||
fineractPlatformTenantId: window["env"]["fineractPlatformTenantId"] || "default", | ||
fineractPlatformTenantId: window['env']['fineractPlatformTenantId'] || 'default', | ||
// For connecting to others servers running elsewhere update the base API URL | ||
baseApiUrls: | ||
window["env"]["fineractApiUrls"] || | ||
"https://dev.mifos.io,https://demo.mifos.io,https://qa.mifos.io,https://staging.mifos.io,https://mobile.mifos.io,https://loans.integration.oneacrefund.org,https://localhost:8443", | ||
window['env']['fineractApiUrls'] || | ||
'https://dev.mifos.io,https://demo.mifos.io,https://qa.mifos.io,https://staging.mifos.io,https://mobile.mifos.io,https://loans.integration.oneacrefund.org,https://localhost:8443', | ||
// For connecting to server running elsewhere set the base API URL | ||
baseApiUrl: window["env"]["fineractApiUrl"] || "https://loans.integration.oneacrefund.org", | ||
baseApiUrl: window['env']['fineractApiUrl'] || 'https://loans.integration.oneacrefund.org', | ||
allowServerSwitch: env.allow_switching_backend_instance, | ||
apiProvider: window["env"]["apiProvider"] || "/fineract-provider/api", | ||
apiVersion: window["env"]["apiVersion"] || "/v1", | ||
serverUrl: "", | ||
apiProvider: window['env']['apiProvider'] || '/fineract-provider/api', | ||
apiVersion: window['env']['apiVersion'] || '/v1', | ||
serverUrl: '', | ||
oauth: { | ||
enabled: true, // For connecting to Mifos X using OAuth2 Authentication change the value to true | ||
serverUrl: window["env"]["authServerUrl"] || "https://accounts.integration.oneacrefund.org", | ||
realm: window['env']['keycloakRealm'] || "OneAcreFund", | ||
client_id: window['env']['keycloakClientId'] || "fineract", | ||
serverUrl: window['env']['authServerUrl'] || 'https://accounts.integration.oneacrefund.org', | ||
realm: window['env']['keycloakRealm'] || 'OneAcreFund', | ||
client_id: window['env']['keycloakClientId'] || 'fineract', | ||
tokenUrl: window['env']['keycloakTokenUrl'] || "https://loans.integration.oneacrefund.org/auth/realms/OneAcreFund/protocol/openid-connect/token", | ||
redirectUri: window["env"]["homeURL"] || "http://localhost:4200/home", | ||
redirectUri: window['env']['homeURL'] || 'http://localhost:4200/home', | ||
}, | ||
defaultLanguage: window["env"]["defaultLanguage"] || "en-US", | ||
supportedLanguages: window["env"]["supportedLanguages"] || "en-US,fr-FR", | ||
headOfficeID: window["env"]["headOfficeID"] || "1", | ||
defaultLanguage: window['env']['defaultLanguage'] || 'en-US', | ||
supportedLanguages: window['env']['supportedLanguages'] || 'en-US,fr-FR', | ||
headOfficeID: window['env']['headOfficeID'] || '1', | ||
//Matomo instance config | ||
matomoSiteId: window['env']['matomoSiteId'] || 1, | ||
matomoSiteUrl: window['env']['matomoSiteUrl'] || 'https://analytics.integration.oneacrefund.org', | ||
// Loan submission button disabled timeout in seconds | ||
loanSubmitButtonDisabledTimeOut: window['env']['loanSubmitButtonDisabledTimeOut'] || 5, | ||
sentryDsn: window['env']['sentryDsn'] || 'https://[email protected]/test', | ||
}; | ||
|
||
// Server URL | ||
|
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 |
---|---|---|
|
@@ -37,6 +37,8 @@ export const environment = { | |
matomoSiteUrl: window['env']['matomoSiteUrl'] || 'https://analytics.integration.oneacrefund.org', | ||
// Loan submission button disabled timeout in seconds | ||
loanSubmitButtonDisabledTimeOut: window['env']['loanSubmitButtonDisabledTimeOut'] || 5, | ||
sentryDsn: window['env']['sentryDsn'] || 'https://[email protected]/4508318875844608' | ||
|
||
}; | ||
|
||
// Server URL | ||
|
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