Skip to content

feat: Add config-manager push variables - #71

Closed
dallinjsevy wants to merge 1 commit into
mainfrom
feature/config-manager-push-variables
Closed

feat: Add config-manager push variables#71
dallinjsevy wants to merge 1 commit into
mainfrom
feature/config-manager-push-variables

Conversation

@dallinjsevy

Copy link
Copy Markdown

No description provided.

@dallinjsevy
dallinjsevy force-pushed the feature/config-manager-push-variables branch 5 times, most recently from 0cd3706 to 23639d6 Compare March 25, 2026 21:48
@dallinjsevy
dallinjsevy marked this pull request as draft March 25, 2026 21:50
@akynaston

Copy link
Copy Markdown

@dallinjsevy, I'm trying to focus on config-manager PRs Preston hasn't commented on yet: was this one eventually going to be brought out of draft? Can I help on this PR and/or proceed with a review after moving it out of draft?

@akynaston

Copy link
Copy Markdown

Note: PR is on hold. fr-config manager handles variables and secrets a little different; Preston and team to make some decisions.

@dallinjsevy
dallinjsevy force-pushed the feature/config-manager-push-variables branch from 23639d6 to a01c783 Compare June 10, 2026 21:00
@dallinjsevy
dallinjsevy marked this pull request as ready for review June 16, 2026 16:47
@dallinjsevy
dallinjsevy force-pushed the feature/config-manager-push-variables branch from a01c783 to d8e66aa Compare June 18, 2026 17:18
@dallinjsevy
dallinjsevy force-pushed the feature/config-manager-push-variables branch from c72fe6b to 0c0827a Compare July 23, 2026 15:32

@phalestrivir phalestrivir left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure to clean up the unused mocks when you are done getting tests passing. There are a bunch that need to be deleted, and with the flag changes I suggested in the comments below you will likely have more that need to be deleted since you will need to re-record.

Comment thread esvs/variables/esv-connector-timeout-reset-counter.json Outdated
Comment thread esvs/variables/esv-email-welcome.json Outdated
Comment thread src/cli/config-manager/config-manager-push/config-manager-push-variables.ts Outdated
Comment thread src/cli/FrodoCommand.ts Outdated
Comment thread src/cli/FrodoCommand.ts Outdated
Comment thread test/e2e/mocks/default_2470140894/recording.har Outdated
Comment thread test/e2e/config-manager-push-variables.e2e.test.js Outdated
Comment thread test/e2e/config-manager-push-variables.e2e.test.js Outdated
Comment thread test/e2e/config-manager-push-variables.e2e.test.js Outdated
Comment thread test/e2e/config-manager-push-variables.e2e.test.js Outdated
@phalestrivir

Copy link
Copy Markdown

Another thing, we will want to add the -F, --force flag to this command, since it's in config-manager. I'll work with @skootrivir to see about getting that change in so we can have it for this PR (but worst case scenario we can merge this in and add the -F, --force flag later, but it would be nice to have it in this PR).

@dallinjsevy
dallinjsevy force-pushed the feature/config-manager-push-variables branch from c47732d to d7f350f Compare August 13, 2026 19:37
Comment thread src/cli/idm/idm-export.ts Outdated
Comment thread src/cli/idm/idm-import.ts Outdated
Comment thread src/cli/idm/idm-schema-object-export.ts
Comment thread src/configManagerOps/FrConfigAccessConfigOps.ts Outdated
Comment thread src/configManagerOps/FrConfigAuditOps.ts Outdated
Comment thread src/configManagerOps/FrConfigVariableOps.ts Outdated
Comment thread src/configManagerOps/FrConfigVariableOps.ts
{
"_id": "esv-connector-timeout-reset-counter",
"description": "",
"expressionType": "string",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, you need to delete it from AIC first, and then re-import it as an int, since you can't change an existing ESV's type. I would like it to be int since we already have a string type ESV, so I want to make sure something like an int would import as well. You may also want to create another ESV for testing that is an object type since that one would be interesting to test as well, although it's probably not necessary, as long as we have at least two. They are technically all stored as strings in AIC, but the difference comes when they get used in scripts in AIC, but I just want to make sure that something that isn't a string type will still be imported correctly.

Comment thread test/e2e/config-manager-push-variables.e2e.test.js Outdated
@dallinjsevy
dallinjsevy force-pushed the feature/config-manager-push-variables branch 2 times, most recently from 0e4c91f to d3679fb Compare August 18, 2026 16:46

@phalestrivir phalestrivir left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure all the tests are passing, since there are some test updates that are missing from the PR still.

Comment thread src/cli/idm/idm-import.ts Outdated
Comment thread src/cli/idm/idm-export.ts
Comment thread src/cli/idm/idm-import.ts
Comment thread src/cli/promote/promote.ts

@phalestrivir phalestrivir left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Squash your commits before submitting the PR against Rockcarver, and don't forget to undraft this PR: rockcarver/frodo-lib#625

@dallinjsevy
dallinjsevy force-pushed the feature/config-manager-push-variables branch from 77fb78a to d15e7b2 Compare August 18, 2026 20:36
@phalestrivir

Copy link
Copy Markdown

Created PR against Rockcarver

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

Successfully merging this pull request may close these issues.

3 participants