-
Couldn't load subscription status.
- Fork 50
feat(store): migrate backend system file from .fioritools to .saptools #3768
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: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 36433c8 The changes in this PR will be included in the next version bump. This PR includes changesets to release 37 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
packages/odata-service-inquirer/test/unit/prompts/prompts.test.ts
Outdated
Show resolved
Hide resolved
packages/store/src/utils/index.ts
Outdated
| @@ -1,5 +1,6 @@ | |||
| import { homedir } from 'node:os'; | |||
| import path from 'node:path'; | |||
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.
Should you be using the named import here? i.e. import { join } from 'node:path';
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.
Looks like theres an incorrect import statement...
| import * as systemSelection from '../../src/prompts/datasources/sap-system/system-selection'; | ||
| import LoggerHelper from '../../src/prompts/logger-helper'; | ||
| import { PromptState } from '../../src/utils'; | ||
| import { Service } from '../../../fiori-mcp-server/src/tools/functionalities/page/service'; |
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.
Not sure this is the correct import ? fiori-mcp-server/ doesnt appear to be used.
| import { Service } from '../../../fiori-mcp-server/src/tools/functionalities/page/service'; |
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.
Thanks, auto import
|
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.
@cianmSAP Thanks for addressing comments.
Changes look good and covered by tests.
changeset ✅



Internal issue 35418
Backend systems are migrated from
.fioritoolsdir to a new.saptoolsfolderUpdates required to
@sap-ux/odata-service-inquirerto not callSystemServicedirectly and utilisegetServiceas a single point of entry. Reducing requirement to check for migration in all crud methods