Skip to content

Conversation

mikicvi-SAP
Copy link
Contributor

#3718

  • New prop for backendSystem type to track if creds should be saved
  • Check if the system has credentials stored; if not, don't save
    • Log in end phase of the Fiori generator if not saving
  • Show the message attached to the system selection if system does not have credentials stored

@mikicvi-SAP mikicvi-SAP self-assigned this Oct 10, 2025
Copy link

changeset-bot bot commented Oct 10, 2025

⚠️ No Changeset found

Latest commit: 4764c2f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@mikicvi-SAP mikicvi-SAP marked this pull request as ready for review October 10, 2025 10:45
@mikicvi-SAP mikicvi-SAP requested a review from a team as a code owner October 10, 2025 10:45
Copy link
Contributor

@lfindlaysap lfindlaysap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mikicvi-SAP, here are my suggestions.

"attemptingToExecutePostGenerationCommand": "Attempting to execute command after app generation: {{- command}}",
"installSkippedOptionSpecified": "Option `--skipInstall` was specified. Installation of dependencies will be skipped.",
"generatorExiting": "Application generation exiting due to error: {{error}}"
"generatorExiting": "Application generation exiting due to error: {{error}}",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"generatorExiting": "Application generation exiting due to error: {{error}}",
"generatorExiting": "Application generation was cancelled due to the error: {{error}}.",

"installSkippedOptionSpecified": "Option `--skipInstall` was specified. Installation of dependencies will be skipped.",
"generatorExiting": "Application generation exiting due to error: {{error}}"
"generatorExiting": "Application generation exiting due to error: {{error}}",
"noCredentialsBackendSystem": "No credentials found for backend system: {{system}}. Skipping storing credentials."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"noCredentialsBackendSystem": "No credentials found for backend system: {{system}}. Skipping storing credentials."
"noCredentialsBackendSystem": "No credentials were found for the back-end system: {{system}}. Skipping storing credentials."

"hint": "Select a system configuration.",
"message": "System",
"authenticationFailedUpdateCredentials": "Authentication failed. Please try updating the credentials."
"authenticationFailedUpdateCredentials": "Authentication failed. Please try updating the credentials.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"authenticationFailedUpdateCredentials": "Authentication failed. Please try updating the credentials.",
"authenticationFailedUpdateCredentials": "Authentication failed. Check your credentials are correct and try again.",

"message": "System",
"authenticationFailedUpdateCredentials": "Authentication failed. Please try updating the credentials."
"authenticationFailedUpdateCredentials": "Authentication failed. Please try updating the credentials.",
"noStoredCredentials": "This stored system has no credentials. Please provide them. They will not be saved with system details."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"noStoredCredentials": "This stored system has no credentials. Please provide them. They will not be saved with system details."
"noStoredCredentials": "This stored system has no credentials. Please provide them. They will not be saved with the system details."

"checkDestinationAuthConfig": "Please check the SAP BTP destination authentication configuration.",
"choiceNameNone": "None"
"choiceNameNone": "None",
"passwordStoreWarning": "Passwords are stored in the OS credential manager and protected by its security policies."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"passwordStoreWarning": "Passwords are stored in the OS credential manager and protected by its security policies."
"passwordStoreWarning": "Passwords are stored in your operating system's credential manager and are protected by its security policies."

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
69.2% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

// No need to await, we cannot recover anyway
// eslint-disable-next-line @typescript-eslint/no-floating-promises
storeService.write(service.backendSystem);
} else if (service.backendSystem?.newOrUpdated === false) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this condition should be inside (service.backendSystem && hostEnv !== hostEnvironment.bas) otherwise it will always log, even on bas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants