Skip to content
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

FEATURE - Warn if backend annotations could not be retrieved for Fiori elements V2 application #2778

Open
3 tasks
korotkovao opened this issue Jan 14, 2025 · 0 comments
Assignees

Comments

@korotkovao
Copy link
Contributor

As a Fiori developer, I'd like to be alerted if no backend annotations could be loaded for my chosen service when generating a Fiori elements application using the Fiori generator, so that I can try and resolve the issue before generating.

Description

Some customer support issues have been the result of invalid destination configuration, where the service could be successfully loaded, but the backend annotations for the V2 service could not be. In a situation where the customer does not preview the application locally, this issue may only be detected after deployment to production, making it more difficult to diagnose.

When generating a Fiori elements application (not freestyle) it is reasonable to assume that there are backend annotations available. Therefore we should warn the user when no annotations can be retrieved.


Design

Interaction
Fiori generator:

  • User selects a Fiori elements template and navigates to the data source step.
  • User provides a V2 service for use with the Fiori elements application. Service metadata is retrieved successfully.
  • If there no backend annotations available, a warning is provided beneath the selected service:

⚠️ No backend annotations associated with this service were retrieved and may result in an invalid application being created

Acceptance Criteria

  • Given I choose a Fiori elements template and provide a v2 service during generation, if the backend annotations for that service could not be retrieved, then I will see a new warning message under the service:

⚠️ No backend annotations associated with this service were retrieved and may result in an invalid application being created

Notes

Tasks

  • Unit Tests added
  • Test Cases defined
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

No branches or pull requests

1 participant