-
Notifications
You must be signed in to change notification settings - Fork 49
Feat: check if system has creds saved, add new messages, extend backendSystem #3720
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?
Feat: check if system has creds saved, add new messages, extend backendSystem #3720
Conversation
|
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.
@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}}", |
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.
"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." |
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.
"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.", |
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.
"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." |
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.
"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." |
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.
"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." |
|
// 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) { |
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 this condition should be inside (service.backendSystem && hostEnv !== hostEnvironment.bas
) otherwise it will always log, even on bas.
#3718