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

FEAT : Connection/Secret provider/handler to define generic configuration for Activities #6291

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jdevillard
Copy link
Contributor

@jdevillard jdevillard commented Jan 13, 2025

This PR is a first proposition about the features #6230.

The aim is to provide an easy way to :

  • allow user to define in a repository a complex object regarding the configuration of an activity (for example , a connection that use userAccount, userKey, Url which can be reuse for multiple activities.
  • map the complex object to the properties of the activity (to allow the dev to retrieve and use the different values)

The configuration is done using a repository which can be implementing using a keyvault or other.
The mapping is done using a middleware before the execution of the activity.
The configuration need then some screens and UI Hint to be configured in the Elsa.Studio.

For now the items available are :

  • InMemory repository implementation
  • mapping middleware
  • basic CRUD api
  • Database repository
  • refresh configuration notification

A link to the Studio PR will be add once available.


This change is Reviewable

@jdevillard jdevillard added the enhancement New feature or request label Jan 13, 2025
@jdevillard jdevillard force-pushed the enh/Connections branch 3 times, most recently from 8df635c to fe83739 Compare January 14, 2025 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant