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 - Introduce FLP Configuration generator for Adaptation Projects #2727

Closed
3 tasks
mmilko01 opened this issue Dec 19, 2024 · 0 comments
Closed
3 tasks

Comments

@mmilko01
Copy link
Contributor

mmilko01 commented Dec 19, 2024

As a developer,
I want to be able to do the FLP configuration for adaptation projects with a standalone generator,
so that adding the FLP configuration is optional during generation of the project and could be maintained later

Description

With this new feature it will be possible to skip adding the FLP configuration for adaptation projects and provide the possibility to add it at a later point via the new FLP configuration tile in Application Info page.

Technical Design

New package

@sap-ux/adp-flp-config-sub-generator

Authentication prompts reuse

Reusable prompts for username and password should be added to @sap-ux/inquirer-common.

Flow

Prerequisite

Connection to backend system
- Reuse @sap-ux/system-access module to create connection to backend system.
- For advanced error handling (showing links to Guided Answers) @sap-ux/inquirer-common module will be used.
- When the credentials are not configured in the Destination/System, a page for prompting username and password is added as a first step to the generator.
Image

FLP configuration
  • The merged manifest is needed for the setup of the FLP Configuration prompts, thus it is fetched from the backend system.
  • Prompts from @sap-ux/flp-config-inquirer will be reused (introduced with FEATURE - FLP Configuration inquirer #2565).
    Image
  • @sap-ux/adp-tooling writing is reused to modify project files.

Acceptance Criteria

GivenWhenThen format (https://martinfowler.com/bliki/GivenWhenThen.html)

Given I have an Adaptation Project
when I execute FLP Configuration tile in Application Info page
then a standalone wizard for adding FLP Configuration will be opened.

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