StackStorm / StackStorm/st2

Auto-load datastore k/v pairs during pack install

Open
#3,379 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature proposal
Dominant language
Python
Stars
6.5k
Forks
787
PR merge metrics
No merged PRs in 30d

Description

We are developing a hierarchical code structure where we have a "base" pack that contains common workflows, actions and scripts. Workflows and actions in this pack reference keys in the k/v store for various parameters.

Next in our hierarchy are "customer" packs that mainly contain unique values for the various keys in our "base" pack.

We would like to be able to automatically load the k/v pairs for these "customer" packs during pack installation.

One thought on Slack (lakstorm) was to store the k/v data in a JSON file, then import it during pack installation.

Also need to think about how to handle encrypted data (credentials and such)?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the pack installation flow and the existing key/value-store handling. Determine how customer-pack data should be represented and imported, including the unresolved treatment of encrypted credentials; done means installation loads the intended pairs safely and the behavior is covered by the project's relevant checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
json
Domain
backend, databases, devops, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.