Closed adamwhitlock1 closed 2 years ago
9 files total are referencing this function in 5 apps plus platform
src/applications/combined-debt-portal/combined/actions/debts.js
debtMockResponse
src/applications/debt-letters/actions/index.js
debtMockResponseVBMS
instead of network requestsrc/applications/financial-status-report/actions/index.js
debtMockResponse
src/applications/medical-copays/containers/OverviewPage.jsx
debtMockResponse
src/applications/personalization/profile/README.md
just docs mentioning its usagesrc/platform/user/profile/utilities/index.js
src/platform/user/profile/vap-svc/selectors.js
src/platform/user/profile/vap-svc/actions/transactions.js
src/platform/user/profile/vap-svc/util/local-vapsvc.js
CONSCLUSION:
Considering that not only is Profile using the function but 4 other apps are using it, then it probably is a good idea to keep it for now and at this point only transactional requests are using it within the profile. Personal information updates are not using it, and notifications are also not using it at this time.
Since no transactional work is being done at this time, then I'd say we hold off on creating any more work around this, and continue to use the mock server that is in place for work going forward and leave this legacy code as is until it is deemed that it needs to be updated specifically.
User Story
isVAProfileServiceConfigured
function locally to build new featurespersonalization/profile
directoryDescription
Using the
isVAProfileServiceConfigured
n function does not allow efficient e2e or local developer experience in that network calls are not made, and the function has to be changed/commented out or manipulated when working on new features.The ideal would be to maintain a source of truth for network requests through the use of a mock api folder or to fully mock out responses through the betamocks in vets-api.
Tasks
Acceptance Criteria