-
Notifications
You must be signed in to change notification settings - Fork 387
feat(callsettings): add Fedramp support for callsettings #4582
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
base: next
Are you sure you want to change the base?
Conversation
|
As discussed please add sample app changes to call this init in sample app |
|
| async function getCallForwardAlwaysSetting() { | ||
| if (window.callSettings === undefined) { | ||
| callSettings = window.callSettings = CreateCallSettingsClient(webex, logger, enableProd); | ||
| await callSettings.init(); |
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.
I dont think this is required. CreateCallSettingsClient does everything.
| public async init(): Promise<void> { | ||
| // No initialization required for WxCall backend | ||
| return Promise.resolve(); |
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.
This seem redundant
| * Initialize the connector by setting up auth headers. | ||
| */ | ||
| public async init() { | ||
| this.authHeaders = await this.getAuthHeaders(); |
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.
This can be done where we are using this authHeaders, introducing a new init method just for this seems an overkill
| /** | ||
| * Initializes the call settings service. | ||
| */ | ||
| public async init(): Promise<void> { |
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.
I think we can avoid doing this.
- in UcmBackeendConnector you can get the authHeader when we call the method
- in WxCallBackendConncetor init is an empty resolution.
COMPLETES #< https://jira-eng-gpk2.cisco.com/jira/browse/SPARK-735619>
This pull request addresses
Add FedRAMP government compliance support to CallSettings client with dynamic URL switching, authorization headers, and async initialization pattern.
Add comprehensive unit tests for FedRAMP functionality
by making the following changes
This enables CallSettings to work in FedRAMP/government environments by:
Change Type
The following scenarios were tested
< ENUMERATE TESTS PERFORMED, WHETHER MANUAL OR AUTOMATED >
The GAI Coding Policy And Copyright Annotation Best Practices
I certified that
Make sure to have followed the contributing guidelines before submitting.