From c402a057c96741ce599b0451eb058882403103ec Mon Sep 17 00:00:00 2001 From: Dallin Sevy Date: Thu, 9 Apr 2026 12:55:36 -0600 Subject: [PATCH 1/3] feat: Add config-manager push restart command --- .../config-manager-push-restart.ts | 63 ++++ .../config-manager-push.ts | 3 +- src/configManagerOps/FRConfigRestart.ts | 40 ++ .../config-manager-pus-restart.test.js.snap | 28 ++ .../en/config-manager-pus-restart.test.js | 10 + ...nfig-manager-push-restart.e2e.test.js.snap | 9 + .../config-manager-push-restart.e2e.test.js | 89 +++++ .../0_890022063/am_1076162899/recording.har | 312 ++++++++++++++++ .../environment_1072573434/recording.har | 344 ++++++++++++++++++ .../oauth2_393036114/recording.har | 146 ++++++++ .../openidm_3290118515/recording.har | 310 ++++++++++++++++ .../am_1076162899/recording.har | 312 ++++++++++++++++ .../environment_1072573434/recording.har | 331 +++++++++++++++++ .../oauth2_393036114/recording.har | 146 ++++++++ .../openidm_3290118515/recording.har | 310 ++++++++++++++++ .../am_1076162899/recording.har | 312 ++++++++++++++++ .../environment_1072573434/recording.har | 331 +++++++++++++++++ .../oauth2_393036114/recording.har | 146 ++++++++ .../openidm_3290118515/recording.har | 310 ++++++++++++++++ .../am_1076162899/recording.har | 312 ++++++++++++++++ .../environment_1072573434/recording.har | 344 ++++++++++++++++++ .../oauth2_393036114/recording.har | 146 ++++++++ .../openidm_3290118515/recording.har | 310 ++++++++++++++++ 23 files changed, 4663 insertions(+), 1 deletion(-) create mode 100644 src/cli/config-manager/config-manager-push/config-manager-push-restart.ts create mode 100644 src/configManagerOps/FRConfigRestart.ts create mode 100644 test/client_cli/en/__snapshots__/config-manager-pus-restart.test.js.snap create mode 100644 test/client_cli/en/config-manager-pus-restart.test.js create mode 100644 test/e2e/__snapshots__/config-manager-push-restart.e2e.test.js.snap create mode 100644 test/e2e/config-manager-push-restart.e2e.test.js create mode 100644 test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/am_1076162899/recording.har create mode 100644 test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/environment_1072573434/recording.har create mode 100644 test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/oauth2_393036114/recording.har create mode 100644 test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/openidm_3290118515/recording.har create mode 100644 test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/am_1076162899/recording.har create mode 100644 test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/environment_1072573434/recording.har create mode 100644 test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/oauth2_393036114/recording.har create mode 100644 test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/openidm_3290118515/recording.har create mode 100644 test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/am_1076162899/recording.har create mode 100644 test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/environment_1072573434/recording.har create mode 100644 test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/oauth2_393036114/recording.har create mode 100644 test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/openidm_3290118515/recording.har create mode 100644 test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/am_1076162899/recording.har create mode 100644 test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/environment_1072573434/recording.har create mode 100644 test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/oauth2_393036114/recording.har create mode 100644 test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/openidm_3290118515/recording.har diff --git a/src/cli/config-manager/config-manager-push/config-manager-push-restart.ts b/src/cli/config-manager/config-manager-push/config-manager-push-restart.ts new file mode 100644 index 000000000..de2ef69fb --- /dev/null +++ b/src/cli/config-manager/config-manager-push/config-manager-push-restart.ts @@ -0,0 +1,63 @@ +import { frodo } from '@rockcarver/frodo-lib'; + +import { configManagerRestart } from '../../../configManagerOps/FRConfigRestart'; +import { getTokens } from '../../../ops/AuthenticateOps'; +import { printMessage, verboseMessage } from '../../../utils/Console'; +import { FrodoCommand } from '../../FrodoCommand'; + +const { CLOUD_DEPLOYMENT_TYPE_KEY, FORGEOPS_DEPLOYMENT_TYPE_KEY } = + frodo.utils.constants; + +const deploymentTypes = [ + CLOUD_DEPLOYMENT_TYPE_KEY, + FORGEOPS_DEPLOYMENT_TYPE_KEY, +]; + +export default function setup() { + const program = new FrodoCommand( + 'frodo config-manager push restart', + [], + deploymentTypes + ); + program + .description('Restart the environment.') + .addOption( + program.createOption('-s, --status', 'Check restart status only.') + ) + .addOption( + program.createOption('-c, --check', 'Only restart if ESVs need loading.') + ) + .addOption( + program.createOption('-w, --wait', 'Wait for restart to complete.') + ) + .action(async (host, realm, user, password, options, command) => { + command.handleDefaultArgsAndOpts( + host, + realm, + user, + password, + options, + command + ); + if (await getTokens(false, true, deploymentTypes)) { + verboseMessage('Restarting Tenant'); + const outcome = await configManagerRestart( + options.check, + options.status, + options.wait + ); + if (!outcome) process.exitCode = 1; + } + // unrecognized combination of options or no options + else { + printMessage( + 'Unrecognized combination of options or no options...', + 'error' + ); + + process.exitCode = 1; + program.help(); + } + }); + return program; +} diff --git a/src/cli/config-manager/config-manager-push/config-manager-push.ts b/src/cli/config-manager/config-manager-push/config-manager-push.ts index cf423832d..363c395ef 100644 --- a/src/cli/config-manager/config-manager-push/config-manager-push.ts +++ b/src/cli/config-manager/config-manager-push/config-manager-push.ts @@ -13,6 +13,7 @@ import Locales from './config-manager-push-locales'; import ManagedObjects from './config-manager-push-managed-objects'; import OrgPrivileges from './config-manager-push-org-privileges'; import PasswordPolicy from './config-manager-push-password-policy'; +import Restart from './config-manager-push-restart'; import Schedules from './config-manager-push-schedules'; import ServiceObjects from './config-manager-push-service-objects'; import TermsAndConditions from './config-manager-push-terms-and-conditions'; @@ -43,6 +44,6 @@ export default function setup() { program.addCommand(UiConfig().name('ui-config')); program.addCommand(Authentication().name('authentication')); program.addCommand(ConnectorDefinitions().name('connector-definitions')); - + program.addCommand(Restart().name('restart')); return program; } diff --git a/src/configManagerOps/FRConfigRestart.ts b/src/configManagerOps/FRConfigRestart.ts new file mode 100644 index 000000000..197307c23 --- /dev/null +++ b/src/configManagerOps/FRConfigRestart.ts @@ -0,0 +1,40 @@ +import { frodo } from '@rockcarver/frodo-lib'; + +import { printError, printMessage } from '../utils/Console'; + +const { checkForUpdates, applyUpdates } = frodo.cloud.startup; + +export async function configManagerRestart( + status?: boolean, + check?: boolean, + wait?: boolean +): Promise { + try { + if (check) { + const updates = await checkForUpdates(); + const updateCount = + (updates.secrets?.length || 0) + (updates.variables?.length || 0); + if (updateCount > 0) { + printMessage(`${updateCount} update(s) need to be applied`); + } else { + printMessage('No updates need to be applied'); + } + return true; + } + + if (status) { + const updates = await checkForUpdates(); + const updateCount = + (updates.secrets?.length || 0) + (updates.variables?.length || 0); + if (updateCount === 0) { + printMessage('All ESVs loaded - not restarting'); + return true; + } + } + const outcome = await applyUpdates(wait || false); + return outcome; + } catch (error) { + printError(error, 'Error restarting environment'); + return false; + } +} diff --git a/test/client_cli/en/__snapshots__/config-manager-pus-restart.test.js.snap b/test/client_cli/en/__snapshots__/config-manager-pus-restart.test.js.snap new file mode 100644 index 000000000..ced03ba74 --- /dev/null +++ b/test/client_cli/en/__snapshots__/config-manager-pus-restart.test.js.snap @@ -0,0 +1,28 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`CLI help interface for 'config-manager push restart' should be expected english 1`] = ` +"Usage: frodo config-manager push restart [options] [host] [realm] [username] [password] + +[Experimental] Restart the environment. + +Arguments: + host AM base URL, e.g.: https://cdk.iam.example.com/am. To use a + connection profile, just specify a unique substring or + alias. + realm Realm. Specify realm as '/' for the root realm or 'realm' or + '/parent/child' otherwise. (default: "alpha" for Identity + Cloud tenants, "/" otherwise.) + username Username to login with. Must be an admin user with + appropriate rights to manage authentication journeys/trees. + password Password. + +Options: + -c, --check Only restart if ESVs need loading. + -s, --status Check restart status only. + -w, --wait Wait for restart to complete. + -h, --help Help + -hh, --help-more Help with all options. + -hhh, --help-all Help with all options, environment variables, and usage + examples. +" +`; diff --git a/test/client_cli/en/config-manager-pus-restart.test.js b/test/client_cli/en/config-manager-pus-restart.test.js new file mode 100644 index 000000000..bea065651 --- /dev/null +++ b/test/client_cli/en/config-manager-pus-restart.test.js @@ -0,0 +1,10 @@ +import cp from 'child_process'; +import { promisify } from 'util'; + +const exec = promisify(cp.exec); +const CMD = 'frodo config-manager push restart --help'; +const { stdout } = await exec(CMD); + +test("CLI help interface for 'config-manager push restart' should be expected english", async () => { + expect(stdout).toMatchSnapshot(); +}); \ No newline at end of file diff --git a/test/e2e/__snapshots__/config-manager-push-restart.e2e.test.js.snap b/test/e2e/__snapshots__/config-manager-push-restart.e2e.test.js.snap new file mode 100644 index 000000000..7257f6abe --- /dev/null +++ b/test/e2e/__snapshots__/config-manager-push-restart.e2e.test.js.snap @@ -0,0 +1,9 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`frodo config-manager push restart "frodo config-manager push restart -c": should check for updates and then apply them to the cloud tenant" 1`] = `""`; + +exports[`frodo config-manager push restart "frodo config-manager push restart -s": should check for updates to apply to the cloud tenant" 1`] = `""`; + +exports[`frodo config-manager push restart "frodo config-manager push restart -w": should restart the cloud tenant and wait until restart is complete to exit command." 1`] = `""`; + +exports[`frodo config-manager push restart "frodo config-manager push restart": should restart the cloud tenant" 1`] = `""`; diff --git a/test/e2e/config-manager-push-restart.e2e.test.js b/test/e2e/config-manager-push-restart.e2e.test.js new file mode 100644 index 000000000..3233f7123 --- /dev/null +++ b/test/e2e/config-manager-push-restart.e2e.test.js @@ -0,0 +1,89 @@ +/** + * Follow this process to write e2e tests for the CLI project: + * + * 1. Test if all the necessary mocks for your tests already exist. + * In mock mode, run the command you want to test with the same arguments + * and parameters exactly as you want to test it, for example: + * + * $ FRODO_MOCK=1 frodo conn save https://openam-frodo-dev.forgeblocks.com/am volker.scheuber@forgerock.com Sup3rS3cr3t! + * + * If your command completes without errors and with the expected results, + * all the required mocks already exist and you are good to write your + * test and skip to step #4. + * + * If, however, your command fails and you see errors like the one below, + * you know you need to record the mock responses first: + * + * [Polly] [adapter:node-http] Recording for the following request is not found and `recordIfMissing` is `false`. + * + * 2. Record mock responses for your exact command. + * In mock record mode, run the command you want to test with the same arguments + * and parameters exactly as you want to test it, for example: + * + * $ FRODO_MOCK=record frodo conn save https://openam-frodo-dev.forgeblocks.com/am volker.scheuber@forgerock.com Sup3rS3cr3t! + * + * Wait until you see all the Polly instances (mock recording adapters) have + * shutdown before you try to run step #1 again. + * Messages like these indicate mock recording adapters shutting down: + * + * Polly instance 'conn/4' stopping in 3s... + * Polly instance 'conn/4' stopping in 2s... + * Polly instance 'conn/save/3' stopping in 3s... + * Polly instance 'conn/4' stopping in 1s... + * Polly instance 'conn/save/3' stopping in 2s... + * Polly instance 'conn/4' stopped. + * Polly instance 'conn/save/3' stopping in 1s... + * Polly instance 'conn/save/3' stopped. + * + * 3. Validate your freshly recorded mock responses are complete and working. + * Re-run the exact command you want to test in mock mode (see step #1). + * + * 4. Write your test. + * Make sure to use the exact command including number of arguments and params. + * + * 5. Commit both your test and your new recordings to the repository. + * Your tests are likely going to reside outside the frodo-lib project but + * the recordings must be committed to the frodo-lib project. + */ + +/* +// Cloud +FRODO_MOCK=record FRODO_NO_CACHE=1 FRODO_HOST=https://openam-frodo-dev.forgeblocks.com/am frodo config-manager push restart +FRODO_MOCK=record FRODO_NO_CACHE=1 FRODO_HOST=https://openam-frodo-dev.forgeblocks.com/am frodo config-manager push restart -s +FRODO_MOCK=record FRODO_NO_CACHE=1 FRODO_HOST=https://openam-frodo-dev.forgeblocks.com/am frodo config-manager push restart -c +FRODO_MOCK=record FRODO_NO_CACHE=1 FRODO_HOST=https://openam-frodo-dev.forgeblocks.com/am frodo config-manager push restart -w +*/ + +import cp from 'child_process'; +import { promisify } from 'util'; +import { getEnv, removeAnsiEscapeCodes } from './utils/TestUtils'; +import { connection as c } from './utils/TestConfig'; + +const exec = promisify(cp.exec); + +process.env['FRODO_MOCK'] = '1'; +const cloudEnv = getEnv(c); + + +describe('frodo config-manager push restart', () => { + test(`"frodo config-manager push restart": should restart the cloud tenant"`, async () => { + const CMD = `frodo config-manager push restart`; + const { stdout } = await exec(CMD, cloudEnv); + expect(removeAnsiEscapeCodes(stdout)).toMatchSnapshot(); + }); + test(`"frodo config-manager push restart -s": should check for updates to apply to the cloud tenant"`, async () => { + const CMD = `frodo config-manager push restart -s`; + const { stdout } = await exec(CMD, cloudEnv); + expect(removeAnsiEscapeCodes(stdout)).toMatchSnapshot(); + }); + test(`"frodo config-manager push restart -c": should check for updates and then apply them to the cloud tenant"`, async () => { + const CMD = `frodo config-manager push restart -c`; + const { stdout } = await exec(CMD, cloudEnv); + expect(removeAnsiEscapeCodes(stdout)).toMatchSnapshot(); + }); + test(`"frodo config-manager push restart -w": should restart the cloud tenant and wait until restart is complete to exit command."`, async () => { + const CMD = `frodo config-manager push restart -w`; + const { stdout } = await exec(CMD, cloudEnv); + expect(removeAnsiEscapeCodes(stdout)).toMatchSnapshot(); + }); +}); \ No newline at end of file diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/am_1076162899/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/am_1076162899/recording.har new file mode 100644 index 000000000..8bc438638 --- /dev/null +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/am_1076162899/recording.har @@ -0,0 +1,312 @@ +{ + "log": { + "_recordingName": "config-manager/push/restart/0/am", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.6" + }, + "entries": [ + { + "_id": "ccd7a5defd0fdeaa986a2b54642d911a", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-e8142cb6-6afd-44a5-8baa-a31885868e5a" + }, + { + "name": "accept-api-version", + "value": "resource=1.1" + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 388, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://openam-frodo-dev.forgeblocks.com/am/json/serverinfo/*" + }, + "response": { + "bodySize": 615, + "content": { + "mimeType": "application/json;charset=UTF-8", + "size": 615, + "text": "{\"_id\":\"*\",\"_rev\":\"1955877839\",\"domains\":[],\"protectedUserAttributes\":[\"telephoneNumber\",\"mail\"],\"cookieName\":\"6ac6499e9da2071\",\"secureCookie\":true,\"forgotPassword\":\"false\",\"forgotUsername\":\"false\",\"kbaEnabled\":\"false\",\"selfRegistration\":\"false\",\"lang\":\"en-US\",\"successfulUserRegistrationDestination\":\"default\",\"socialImplementations\":[],\"referralsEnabled\":\"false\",\"zeroPageLogin\":{\"enabled\":false,\"refererWhitelist\":[],\"allowedWithoutReferer\":true},\"realm\":\"/\",\"xuiUserSessionValidationEnabled\":true,\"fileBasedConfiguration\":true,\"userIdAttributes\":[],\"cloudOnlyFeaturesEnabled\":true,\"oauth2AIAgentsEnabled\":false}" + }, + "cookies": [], + "headers": [ + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "content-security-policy-report-only", + "value": "frame-ancestors 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "cache-control", + "value": "no-store" + }, + { + "name": "content-api-version", + "value": "resource=1.1" + }, + { + "name": "content-security-policy", + "value": "default-src 'none';frame-ancestors 'none';sandbox" + }, + { + "name": "cross-origin-opener-policy", + "value": "same-origin" + }, + { + "name": "cross-origin-resource-policy", + "value": "same-origin" + }, + { + "name": "etag", + "value": "\"1955877839\"" + }, + { + "name": "expires", + "value": "0" + }, + { + "name": "pragma", + "value": "no-cache" + }, + { + "name": "content-type", + "value": "application/json;charset=UTF-8" + }, + { + "name": "content-length", + "value": "615" + }, + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:08:05 GMT" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-e8142cb6-6afd-44a5-8baa-a31885868e5a" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + } + ], + "headersSize": 787, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:08:05.677Z", + "time": 251, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 251 + } + }, + { + "_id": "6125d0328ad0dcaee55f73fd8b22ca14", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-e8142cb6-6afd-44a5-8baa-a31885868e5a" + }, + { + "name": "accept-api-version", + "value": "resource=1.0" + }, + { + "name": "authorization", + "value": "Bearer " + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 1959, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://openam-frodo-dev.forgeblocks.com/am/json/serverinfo/version" + }, + "response": { + "bodySize": 276, + "content": { + "mimeType": "application/json;charset=UTF-8", + "size": 276, + "text": "{\"_id\":\"version\",\"_rev\":\"-1876078088\",\"version\":\"9.0.0-SNAPSHOT\",\"fullVersion\":\"ForgeRock Access Management 9.0.0-SNAPSHOT Build 2a2686af9631bd8d8866c92ea2411814899acefd (2026-March-30 15:23)\",\"revision\":\"2a2686af9631bd8d8866c92ea2411814899acefd\",\"date\":\"2026-March-30 15:23\"}" + }, + "cookies": [], + "headers": [ + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "content-security-policy-report-only", + "value": "frame-ancestors 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "cache-control", + "value": "no-store" + }, + { + "name": "content-api-version", + "value": "resource=1.0" + }, + { + "name": "content-security-policy", + "value": "default-src 'none';frame-ancestors 'none';sandbox" + }, + { + "name": "cross-origin-opener-policy", + "value": "same-origin" + }, + { + "name": "cross-origin-resource-policy", + "value": "same-origin" + }, + { + "name": "etag", + "value": "\"-1876078088\"" + }, + { + "name": "expires", + "value": "0" + }, + { + "name": "pragma", + "value": "no-cache" + }, + { + "name": "content-type", + "value": "application/json;charset=UTF-8" + }, + { + "name": "content-length", + "value": "276" + }, + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:08:07 GMT" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-e8142cb6-6afd-44a5-8baa-a31885868e5a" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + } + ], + "headersSize": 788, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:08:07.384Z", + "time": 118, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 118 + } + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/environment_1072573434/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/environment_1072573434/recording.har new file mode 100644 index 000000000..21232da64 --- /dev/null +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/environment_1072573434/recording.har @@ -0,0 +1,344 @@ +{ + "log": { + "_recordingName": "config-manager/push/restart/0/environment", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.6" + }, + "entries": [ + { + "_id": "ccc7ec61c2094114d7917814bb19b83b", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "accept-api-version", + "value": "protocol=1.0,resource=1.0" + }, + { + "name": "authorization", + "value": "Bearer " + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 1910, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://openam-frodo-dev.forgeblocks.com/environment/scopes/service-accounts" + }, + "response": { + "bodySize": 1975, + "content": { + "mimeType": "application/json; charset=utf-8", + "size": 1975, + "text": "[{\"scope\":\"fr:am:*\",\"description\":\"All Access Management APIs\"},{\"scope\":\"fr:autoaccess:*\",\"description\":\"All Auto Access APIs\"},{\"scope\":\"fr:idc:analytics:*\",\"description\":\"All Analytics APIs\"},{\"scope\":\"fr:idc:certificate:*\",\"description\":\"All TLS certificate APIs\",\"childScopes\":[{\"scope\":\"fr:idc:certificate:read\",\"description\":\"Read TLS certificates\"}]},{\"scope\":\"fr:idc:content-security-policy:*\",\"description\":\"All content security policy APIs\",\"childScopes\":[{\"scope\":\"fr:idc:content-security-policy:read\",\"description\":\"Read content security policy\"}]},{\"scope\":\"fr:idc:cookie-domain:*\",\"description\":\"All cookie domain APIs\",\"childScopes\":[{\"scope\":\"fr:idc:cookie-domain:read\",\"description\":\"Read cookie domains\"}]},{\"scope\":\"fr:idc:custom-domain:*\",\"description\":\"All custom domain APIs\",\"childScopes\":[{\"scope\":\"fr:idc:custom-domain:read\",\"description\":\"Read custom domains\"}]},{\"scope\":\"fr:idc:dataset:*\",\"description\":\"All dataset deletion APIs\",\"childScopes\":[{\"scope\":\"fr:idc:dataset:read\",\"description\":\"Read dataset deletions\"}]},{\"scope\":\"fr:idc:esv:*\",\"description\":\"All ESV APIs\",\"childScopes\":[{\"scope\":\"fr:idc:esv:read\",\"description\":\"Read ESVs, excluding values of secrets\"},{\"scope\":\"fr:idc:esv:update\",\"description\":\"Create, modify, and delete ESVs\"},{\"scope\":\"fr:idc:esv:restart\",\"description\":\"Restart workloads that consume ESVs\"}]},{\"scope\":\"fr:idc:promotion:*\",\"description\":\"All configuration promotion APIs\",\"childScopes\":[{\"scope\":\"fr:idc:promotion:read\",\"description\":\"Read configuration promotion\"}]},{\"scope\":\"fr:idc:release:*\",\"description\":\"All product release APIs\",\"childScopes\":[{\"scope\":\"fr:idc:release:read\",\"description\":\"Read product release\"}]},{\"scope\":\"fr:idc:sso-cookie:*\",\"description\":\"All SSO cookie APIs\",\"childScopes\":[{\"scope\":\"fr:idc:sso-cookie:read\",\"description\":\"Read SSO cookie\"}]},{\"scope\":\"fr:idc:ws:admin\",\"description\":\"All PingFederate APIs\"},{\"scope\":\"fr:idm:*\",\"description\":\"All Identity Management APIs\"}]" + }, + "cookies": [], + "headers": [ + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "content-type", + "value": "application/json; charset=utf-8" + }, + { + "name": "content-length", + "value": "1975" + }, + { + "name": "etag", + "value": "W/\"7b7-9oeZSONSS8Sn+SSr15TXAygvvcE\"" + }, + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:08:07 GMT" + }, + { + "name": "x-forgerock-transactionid", + "value": "2d1dc42c-5f61-4701-a606-29d2cda85fde" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + } + ], + "headersSize": 413, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:08:07.507Z", + "time": 111, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 111 + } + }, + { + "_id": "b5680c863538492bb4fa6020d2e8e068", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "accept-api-version", + "value": "protocol=1.0,resource=1.0" + }, + { + "name": "authorization", + "value": "Bearer " + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 1894, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://openam-frodo-dev.forgeblocks.com/environment/startup" + }, + "response": { + "bodySize": 26, + "content": { + "mimeType": "application/json", + "size": 26, + "text": "{\"restartStatus\":\"ready\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:08:07 GMT" + }, + { + "name": "content-length", + "value": "26" + }, + { + "name": "x-forgerock-transactionid", + "value": "81b81e61-5902-4bfc-9d0a-03ab294a347e" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + } + ], + "headersSize": 324, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:08:07.710Z", + "time": 277, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 277 + } + }, + { + "_id": "3b77ccc66e1a72d4eb051085c282ed9f", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 4, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "accept-api-version", + "value": "protocol=1.0,resource=1.0" + }, + { + "name": "authorization", + "value": "Bearer " + }, + { + "name": "content-length", + "value": "4" + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 1930, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [] + }, + "queryString": [ + { + "name": "_action", + "value": "restart" + } + ], + "url": "https://openam-frodo-dev.forgeblocks.com/environment/startup?_action=restart" + }, + "response": { + "bodySize": 31, + "content": { + "mimeType": "application/json", + "size": 31, + "text": "{\"restartStatus\":\"restarting\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:08:08 GMT" + }, + { + "name": "content-length", + "value": "31" + }, + { + "name": "x-forgerock-transactionid", + "value": "e2819b66-c79e-46f3-810c-fd6d8a884c2c" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + } + ], + "headersSize": 324, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:08:07.994Z", + "time": 260, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 260 + } + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/oauth2_393036114/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/oauth2_393036114/recording.har new file mode 100644 index 000000000..898ee105a --- /dev/null +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/oauth2_393036114/recording.har @@ -0,0 +1,146 @@ +{ + "log": { + "_recordingName": "config-manager/push/restart/0/oauth2", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.6" + }, + "entries": [ + { + "_id": "ff75519a93ccab829f8ee8cf5e92b49f", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 1362, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/x-www-form-urlencoded" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-e8142cb6-6afd-44a5-8baa-a31885868e5a" + }, + { + "name": "accept-api-version", + "value": "protocol=2.1,resource=1.0" + }, + { + "name": "content-length", + "value": "1362" + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 443, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/x-www-form-urlencoded", + "params": [], + "text": "assertion=&client_id=service-account&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer&scope=fr:idc:ws:admin fr:am:* fr:autoaccess:* fr:idc:esv:* fr:idc:analytics:* fr:idc:custom-domain:* fr:idc:release:* fr:idc:sso-cookie:* fr:idc:content-security-policy:* fr:idc:certificate:* fr:idm:* fr:idc:dataset:* fr:idc:cookie-domain:* fr:idc:promotion:*" + }, + "queryString": [], + "url": "https://openam-frodo-dev.forgeblocks.com/am/oauth2/access_token" + }, + "response": { + "bodySize": 1863, + "content": { + "mimeType": "application/json;charset=UTF-8", + "size": 1863, + "text": "{\"access_token\":\"\",\"scope\":\"fr:idc:ws:admin fr:am:* fr:autoaccess:* fr:idc:esv:* fr:idc:analytics:* fr:idc:custom-domain:* fr:idc:release:* fr:idc:sso-cookie:* fr:idc:content-security-policy:* fr:idc:certificate:* fr:idm:* fr:idc:dataset:* fr:idc:cookie-domain:* fr:idc:promotion:*\",\"token_type\":\"Bearer\",\"expires_in\":898}" + }, + "cookies": [], + "headers": [ + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "content-security-policy-report-only", + "value": "frame-ancestors 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "cache-control", + "value": "no-store" + }, + { + "name": "pragma", + "value": "no-cache" + }, + { + "name": "content-type", + "value": "application/json;charset=UTF-8" + }, + { + "name": "content-length", + "value": "1863" + }, + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:08:07 GMT" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-e8142cb6-6afd-44a5-8baa-a31885868e5a" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + } + ], + "headersSize": 561, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:08:05.940Z", + "time": 1438, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 1438 + } + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/openidm_3290118515/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/openidm_3290118515/recording.har new file mode 100644 index 000000000..f83ed6db5 --- /dev/null +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/openidm_3290118515/recording.har @@ -0,0 +1,310 @@ +{ + "log": { + "_recordingName": "config-manager/push/restart/0/openidm", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.6" + }, + "entries": [ + { + "_id": "9cb8561357870863838a9948da32d1e8", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-e8142cb6-6afd-44a5-8baa-a31885868e5a" + }, + { + "name": "authorization", + "value": "Bearer " + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 1971, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [ + { + "name": "_fields", + "value": "*" + } + ], + "url": "https://openam-frodo-dev.forgeblocks.com/openidm/managed/svcacct/810dd2f4-874b-4aad-9e0a-f8a57789f182?_fields=%2A" + }, + "response": { + "bodySize": 1408, + "content": { + "mimeType": "application/json;charset=utf-8", + "size": 1408, + "text": "{\"_id\":\"810dd2f4-874b-4aad-9e0a-f8a57789f182\",\"_rev\":\"4773460a-f4b4-4472-a12b-8c7b7ad4fd76-9686\",\"accountStatus\":\"active\",\"name\":\"Frodo-SA-1773261131370\",\"description\":\"phales@trivir.com's Frodo Service Account\",\"scopes\":[\"fr:am:*\",\"fr:idc:analytics:*\",\"fr:autoaccess:*\",\"fr:idc:certificate:*\",\"fr:idc:content-security-policy:*\",\"fr:idc:cookie-domain:*\",\"fr:idc:custom-domain:*\",\"fr:idc:dataset:*\",\"fr:idc:esv:*\",\"fr:idm:*\",\"fr:idc:promotion:*\",\"fr:idc:release:*\",\"fr:idc:sso-cookie:*\",\"fr:idc:ws:admin\"],\"jwks\":\"{\\\"keys\\\":[{\\\"kty\\\":\\\"RSA\\\",\\\"kid\\\":\\\"GIyq6foAjk7VGtM7NyJQZMEUxtAgSe02sjjgp4ey4go\\\",\\\"alg\\\":\\\"RS256\\\",\\\"e\\\":\\\"AQAB\\\",\\\"n\\\":\\\"rBa78YjWw5-Hkd2rP8uuY2fikjMf9FVeP2AUabFL2qqgVCJxs035yKQDlMAYAFnKaSUXME0vXhZKNkP5ZsWdYAl_sS-0o8HBO4AQk8dXSB--NnkPd0S-6c-sb01oy5tet1WFiKI8dfhzH9KZ65oy3ouzaSsnTjIpFQNMVaq1qQE3m2gPnmwMoRQZdP_hClkXMTtkdRapTL_cdxw7tYGGwpjFz2IJRX-fjFpE79NZdQ_dUaeWOm3tnoHAHjh01IrFu7qlT0o5Bf7-gDvoXU3eYAy5D9LcZAeXr8DiEqK-2aBltV43JSk-Z119DQhRUOFOVMlfbZzHYcWlMgPHBnneleAzChhaDnTxd3NGfqF329wfxQHUaGdj7-eVlXEEYIxmzVwFOiEK0ogEtyvkrlYqQiarxSGt1teNShBpb2QtKL4UPLh7ufxe6K961QuL-FmCkKbjGFxYY0PTegeIsf3rYTNKJRpADC9rGPDF67c5yuMbbBZU9G_GRq5Lj8yS5vG94oCM7PGmKzxxavS7neBu0BH6cqn_u6kuvbfcLtmszo7JqMnY6SqPIp0PU1wfizkjeXKG0s_6rtqQ57pH5IpZTUYwCrtkqcOLEColrUwort43MY12P-ELDuq-IaZFRxJWn8A9dqplVJzOQViUfHHtTVu5W2KiumLSXsxWUsQTb8E\\\"}]}\",\"maxCachingTime\":\"15\",\"maxIdleTime\":\"15\",\"maxSessionTime\":\"15\",\"quotaLimit\":\"5\"}" + }, + "cookies": [], + "headers": [ + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:08:07 GMT" + }, + { + "name": "vary", + "value": "Origin" + }, + { + "name": "cache-control", + "value": "no-store" + }, + { + "name": "content-security-policy", + "value": "default-src 'none';frame-ancestors 'none';sandbox" + }, + { + "name": "content-type", + "value": "application/json;charset=utf-8" + }, + { + "name": "cross-origin-opener-policy", + "value": "same-origin" + }, + { + "name": "cross-origin-resource-policy", + "value": "same-origin" + }, + { + "name": "etag", + "value": "\"4773460a-f4b4-4472-a12b-8c7b7ad4fd76-9686\"" + }, + { + "name": "expires", + "value": "0" + }, + { + "name": "pragma", + "value": "no-cache" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "x-frame-options", + "value": "DENY" + }, + { + "name": "content-length", + "value": "1408" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-e8142cb6-6afd-44a5-8baa-a31885868e5a" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + } + ], + "headersSize": 682, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:08:07.420Z", + "time": 187, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 187 + } + }, + { + "_id": "9cb8561357870863838a9948da32d1e8", + "_order": 1, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-e8142cb6-6afd-44a5-8baa-a31885868e5a" + }, + { + "name": "authorization", + "value": "Bearer " + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 1971, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [ + { + "name": "_fields", + "value": "*" + } + ], + "url": "https://openam-frodo-dev.forgeblocks.com/openidm/managed/svcacct/810dd2f4-874b-4aad-9e0a-f8a57789f182?_fields=%2A" + }, + "response": { + "bodySize": 1408, + "content": { + "mimeType": "application/json;charset=utf-8", + "size": 1408, + "text": "{\"_id\":\"810dd2f4-874b-4aad-9e0a-f8a57789f182\",\"_rev\":\"4773460a-f4b4-4472-a12b-8c7b7ad4fd76-9686\",\"accountStatus\":\"active\",\"name\":\"Frodo-SA-1773261131370\",\"description\":\"phales@trivir.com's Frodo Service Account\",\"scopes\":[\"fr:am:*\",\"fr:idc:analytics:*\",\"fr:autoaccess:*\",\"fr:idc:certificate:*\",\"fr:idc:content-security-policy:*\",\"fr:idc:cookie-domain:*\",\"fr:idc:custom-domain:*\",\"fr:idc:dataset:*\",\"fr:idc:esv:*\",\"fr:idm:*\",\"fr:idc:promotion:*\",\"fr:idc:release:*\",\"fr:idc:sso-cookie:*\",\"fr:idc:ws:admin\"],\"jwks\":\"{\\\"keys\\\":[{\\\"kty\\\":\\\"RSA\\\",\\\"kid\\\":\\\"GIyq6foAjk7VGtM7NyJQZMEUxtAgSe02sjjgp4ey4go\\\",\\\"alg\\\":\\\"RS256\\\",\\\"e\\\":\\\"AQAB\\\",\\\"n\\\":\\\"rBa78YjWw5-Hkd2rP8uuY2fikjMf9FVeP2AUabFL2qqgVCJxs035yKQDlMAYAFnKaSUXME0vXhZKNkP5ZsWdYAl_sS-0o8HBO4AQk8dXSB--NnkPd0S-6c-sb01oy5tet1WFiKI8dfhzH9KZ65oy3ouzaSsnTjIpFQNMVaq1qQE3m2gPnmwMoRQZdP_hClkXMTtkdRapTL_cdxw7tYGGwpjFz2IJRX-fjFpE79NZdQ_dUaeWOm3tnoHAHjh01IrFu7qlT0o5Bf7-gDvoXU3eYAy5D9LcZAeXr8DiEqK-2aBltV43JSk-Z119DQhRUOFOVMlfbZzHYcWlMgPHBnneleAzChhaDnTxd3NGfqF329wfxQHUaGdj7-eVlXEEYIxmzVwFOiEK0ogEtyvkrlYqQiarxSGt1teNShBpb2QtKL4UPLh7ufxe6K961QuL-FmCkKbjGFxYY0PTegeIsf3rYTNKJRpADC9rGPDF67c5yuMbbBZU9G_GRq5Lj8yS5vG94oCM7PGmKzxxavS7neBu0BH6cqn_u6kuvbfcLtmszo7JqMnY6SqPIp0PU1wfizkjeXKG0s_6rtqQ57pH5IpZTUYwCrtkqcOLEColrUwort43MY12P-ELDuq-IaZFRxJWn8A9dqplVJzOQViUfHHtTVu5W2KiumLSXsxWUsQTb8E\\\"}]}\",\"maxCachingTime\":\"15\",\"maxIdleTime\":\"15\",\"maxSessionTime\":\"15\",\"quotaLimit\":\"5\"}" + }, + "cookies": [], + "headers": [ + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:08:07 GMT" + }, + { + "name": "vary", + "value": "Origin" + }, + { + "name": "cache-control", + "value": "no-store" + }, + { + "name": "content-security-policy", + "value": "default-src 'none';frame-ancestors 'none';sandbox" + }, + { + "name": "content-type", + "value": "application/json;charset=utf-8" + }, + { + "name": "cross-origin-opener-policy", + "value": "same-origin" + }, + { + "name": "cross-origin-resource-policy", + "value": "same-origin" + }, + { + "name": "etag", + "value": "\"4773460a-f4b4-4472-a12b-8c7b7ad4fd76-9686\"" + }, + { + "name": "expires", + "value": "0" + }, + { + "name": "pragma", + "value": "no-cache" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "x-frame-options", + "value": "DENY" + }, + { + "name": "content-length", + "value": "1408" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-e8142cb6-6afd-44a5-8baa-a31885868e5a" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + } + ], + "headersSize": 682, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:08:07.625Z", + "time": 75, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 75 + } + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/am_1076162899/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/am_1076162899/recording.har new file mode 100644 index 000000000..cf54e6212 --- /dev/null +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/am_1076162899/recording.har @@ -0,0 +1,312 @@ +{ + "log": { + "_recordingName": "config-manager/push/restart/0_c/am", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.6" + }, + "entries": [ + { + "_id": "ccd7a5defd0fdeaa986a2b54642d911a", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-d9b4d27e-da28-4c92-856e-15822ed96806" + }, + { + "name": "accept-api-version", + "value": "resource=1.1" + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 388, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://openam-frodo-dev.forgeblocks.com/am/json/serverinfo/*" + }, + "response": { + "bodySize": 615, + "content": { + "mimeType": "application/json;charset=UTF-8", + "size": 615, + "text": "{\"_id\":\"*\",\"_rev\":\"1955877839\",\"domains\":[],\"protectedUserAttributes\":[\"telephoneNumber\",\"mail\"],\"cookieName\":\"6ac6499e9da2071\",\"secureCookie\":true,\"forgotPassword\":\"false\",\"forgotUsername\":\"false\",\"kbaEnabled\":\"false\",\"selfRegistration\":\"false\",\"lang\":\"en-US\",\"successfulUserRegistrationDestination\":\"default\",\"socialImplementations\":[],\"referralsEnabled\":\"false\",\"zeroPageLogin\":{\"enabled\":false,\"refererWhitelist\":[],\"allowedWithoutReferer\":true},\"realm\":\"/\",\"xuiUserSessionValidationEnabled\":true,\"fileBasedConfiguration\":true,\"userIdAttributes\":[],\"cloudOnlyFeaturesEnabled\":true,\"oauth2AIAgentsEnabled\":false}" + }, + "cookies": [], + "headers": [ + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "content-security-policy-report-only", + "value": "frame-ancestors 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "cache-control", + "value": "no-store" + }, + { + "name": "content-api-version", + "value": "resource=1.1" + }, + { + "name": "content-security-policy", + "value": "default-src 'none';frame-ancestors 'none';sandbox" + }, + { + "name": "cross-origin-opener-policy", + "value": "same-origin" + }, + { + "name": "cross-origin-resource-policy", + "value": "same-origin" + }, + { + "name": "etag", + "value": "\"1955877839\"" + }, + { + "name": "expires", + "value": "0" + }, + { + "name": "pragma", + "value": "no-cache" + }, + { + "name": "content-type", + "value": "application/json;charset=UTF-8" + }, + { + "name": "content-length", + "value": "615" + }, + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:09:11 GMT" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-d9b4d27e-da28-4c92-856e-15822ed96806" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + } + ], + "headersSize": 787, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:09:11.066Z", + "time": 119, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 119 + } + }, + { + "_id": "6125d0328ad0dcaee55f73fd8b22ca14", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-d9b4d27e-da28-4c92-856e-15822ed96806" + }, + { + "name": "accept-api-version", + "value": "resource=1.0" + }, + { + "name": "authorization", + "value": "Bearer " + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 1959, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://openam-frodo-dev.forgeblocks.com/am/json/serverinfo/version" + }, + "response": { + "bodySize": 276, + "content": { + "mimeType": "application/json;charset=UTF-8", + "size": 276, + "text": "{\"_id\":\"version\",\"_rev\":\"-1876078088\",\"version\":\"9.0.0-SNAPSHOT\",\"fullVersion\":\"ForgeRock Access Management 9.0.0-SNAPSHOT Build 2a2686af9631bd8d8866c92ea2411814899acefd (2026-March-30 15:23)\",\"revision\":\"2a2686af9631bd8d8866c92ea2411814899acefd\",\"date\":\"2026-March-30 15:23\"}" + }, + "cookies": [], + "headers": [ + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "content-security-policy-report-only", + "value": "frame-ancestors 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "cache-control", + "value": "no-store" + }, + { + "name": "content-api-version", + "value": "resource=1.0" + }, + { + "name": "content-security-policy", + "value": "default-src 'none';frame-ancestors 'none';sandbox" + }, + { + "name": "cross-origin-opener-policy", + "value": "same-origin" + }, + { + "name": "cross-origin-resource-policy", + "value": "same-origin" + }, + { + "name": "etag", + "value": "\"-1876078088\"" + }, + { + "name": "expires", + "value": "0" + }, + { + "name": "pragma", + "value": "no-cache" + }, + { + "name": "content-type", + "value": "application/json;charset=UTF-8" + }, + { + "name": "content-length", + "value": "276" + }, + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:09:11 GMT" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-d9b4d27e-da28-4c92-856e-15822ed96806" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + } + ], + "headersSize": 788, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:09:11.379Z", + "time": 93, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 93 + } + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/environment_1072573434/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/environment_1072573434/recording.har new file mode 100644 index 000000000..438c61eba --- /dev/null +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/environment_1072573434/recording.har @@ -0,0 +1,331 @@ +{ + "log": { + "_recordingName": "config-manager/push/restart/0_c/environment", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.6" + }, + "entries": [ + { + "_id": "ccc7ec61c2094114d7917814bb19b83b", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "accept-api-version", + "value": "protocol=1.0,resource=1.0" + }, + { + "name": "authorization", + "value": "Bearer " + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 1910, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://openam-frodo-dev.forgeblocks.com/environment/scopes/service-accounts" + }, + "response": { + "bodySize": 1975, + "content": { + "mimeType": "application/json; charset=utf-8", + "size": 1975, + "text": "[{\"scope\":\"fr:am:*\",\"description\":\"All Access Management APIs\"},{\"scope\":\"fr:autoaccess:*\",\"description\":\"All Auto Access APIs\"},{\"scope\":\"fr:idc:analytics:*\",\"description\":\"All Analytics APIs\"},{\"scope\":\"fr:idc:certificate:*\",\"description\":\"All TLS certificate APIs\",\"childScopes\":[{\"scope\":\"fr:idc:certificate:read\",\"description\":\"Read TLS certificates\"}]},{\"scope\":\"fr:idc:content-security-policy:*\",\"description\":\"All content security policy APIs\",\"childScopes\":[{\"scope\":\"fr:idc:content-security-policy:read\",\"description\":\"Read content security policy\"}]},{\"scope\":\"fr:idc:cookie-domain:*\",\"description\":\"All cookie domain APIs\",\"childScopes\":[{\"scope\":\"fr:idc:cookie-domain:read\",\"description\":\"Read cookie domains\"}]},{\"scope\":\"fr:idc:custom-domain:*\",\"description\":\"All custom domain APIs\",\"childScopes\":[{\"scope\":\"fr:idc:custom-domain:read\",\"description\":\"Read custom domains\"}]},{\"scope\":\"fr:idc:dataset:*\",\"description\":\"All dataset deletion APIs\",\"childScopes\":[{\"scope\":\"fr:idc:dataset:read\",\"description\":\"Read dataset deletions\"}]},{\"scope\":\"fr:idc:esv:*\",\"description\":\"All ESV APIs\",\"childScopes\":[{\"scope\":\"fr:idc:esv:read\",\"description\":\"Read ESVs, excluding values of secrets\"},{\"scope\":\"fr:idc:esv:update\",\"description\":\"Create, modify, and delete ESVs\"},{\"scope\":\"fr:idc:esv:restart\",\"description\":\"Restart workloads that consume ESVs\"}]},{\"scope\":\"fr:idc:promotion:*\",\"description\":\"All configuration promotion APIs\",\"childScopes\":[{\"scope\":\"fr:idc:promotion:read\",\"description\":\"Read configuration promotion\"}]},{\"scope\":\"fr:idc:release:*\",\"description\":\"All product release APIs\",\"childScopes\":[{\"scope\":\"fr:idc:release:read\",\"description\":\"Read product release\"}]},{\"scope\":\"fr:idc:sso-cookie:*\",\"description\":\"All SSO cookie APIs\",\"childScopes\":[{\"scope\":\"fr:idc:sso-cookie:read\",\"description\":\"Read SSO cookie\"}]},{\"scope\":\"fr:idc:ws:admin\",\"description\":\"All PingFederate APIs\"},{\"scope\":\"fr:idm:*\",\"description\":\"All Identity Management APIs\"}]" + }, + "cookies": [], + "headers": [ + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "content-type", + "value": "application/json; charset=utf-8" + }, + { + "name": "content-length", + "value": "1975" + }, + { + "name": "etag", + "value": "W/\"7b7-9oeZSONSS8Sn+SSr15TXAygvvcE\"" + }, + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:09:11 GMT" + }, + { + "name": "x-forgerock-transactionid", + "value": "5832725f-8ed1-4892-91c2-1e1163d6eab3" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + } + ], + "headersSize": 413, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:09:11.482Z", + "time": 83, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 83 + } + }, + { + "_id": "a24d647eb74a9e69a6b0bd9ed23dc6ce", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "accept-api-version", + "value": "protocol=1.0,resource=1.0" + }, + { + "name": "authorization", + "value": "Bearer " + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 1894, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://openam-frodo-dev.forgeblocks.com/environment/secrets" + }, + "response": { + "bodySize": 802, + "content": { + "mimeType": "application/json", + "size": 802, + "text": "{\"pagedResultsCookie\":null,\"remainingPagedResults\":-1,\"result\":[{\"_id\":\"esv-test\",\"activeVersion\":\"3\",\"description\":\"test\",\"encoding\":\"generic\",\"lastChangeDate\":\"2026-04-13T17:24:40.840844Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"loadedVersion\":\"3\",\"useInPlaceholders\":true},{\"_id\":\"esv-test-2\",\"activeVersion\":\"2\",\"description\":\"\",\"encoding\":\"generic\",\"lastChangeDate\":\"2026-04-15T20:02:34.484574Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"loadedVersion\":\"2\",\"useInPlaceholders\":true},{\"_id\":\"esv-test-3\",\"activeVersion\":\"3\",\"description\":\"\",\"encoding\":\"generic\",\"lastChangeDate\":\"2026-04-15T20:05:34.35818Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"loadedVersion\":\"3\",\"useInPlaceholders\":true}],\"resultCount\":3,\"totalPagedResults\":-1,\"totalPagedResultsPolicy\":\"NONE\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:09:11 GMT" + }, + { + "name": "content-length", + "value": "802" + }, + { + "name": "x-forgerock-transactionid", + "value": "b5775021-4d8d-4f28-8afa-323713f805e0" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + } + ], + "headersSize": 325, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:09:11.689Z", + "time": 207, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 207 + } + }, + { + "_id": "3e8d5f28d2136edf1b00c2f955eaa5fa", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "accept-api-version", + "value": "protocol=1.0,resource=1.0" + }, + { + "name": "authorization", + "value": "Bearer " + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 1896, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://openam-frodo-dev.forgeblocks.com/environment/variables" + }, + "response": { + "bodySize": 1154, + "content": { + "mimeType": "application/json", + "size": 1154, + "text": "{\"pagedResultsCookie\":null,\"remainingPagedResults\":-1,\"result\":[{\"_id\":\"esv-frodo-test-variable-1\",\"description\":\"description1\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-03-11T21:03:06.985865Z\",\"lastChangedBy\":\"Frodo-SA-1773261131370\",\"loaded\":true,\"valueBase64\":\"dmFsdWUx\"},{\"_id\":\"esv-frodo-test-variable-2\",\"description\":\"description2\",\"expressionType\":\"int\",\"lastChangeDate\":\"2026-03-11T21:03:09.552101Z\",\"lastChangedBy\":\"Frodo-SA-1773261131370\",\"loaded\":true,\"valueBase64\":\"NDI=\"},{\"_id\":\"esv-test-variable\",\"description\":\"test\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-03-25T21:11:19.814977Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"valueBase64\":\"dGVzdA==\"},{\"_id\":\"esv-test-variable-3\",\"description\":\"\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-04-15T19:21:33.037658Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"valueBase64\":\"dGVzdA==\"},{\"_id\":\"esv-test-variable-4\",\"description\":\"\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-04-15T19:23:26.107957Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"valueBase64\":\"dGVzdA==\"}],\"resultCount\":5,\"totalPagedResults\":-1,\"totalPagedResultsPolicy\":\"NONE\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:09:12 GMT" + }, + { + "name": "content-length", + "value": "1154" + }, + { + "name": "x-forgerock-transactionid", + "value": "8c6ce929-8f76-4638-8240-cf1fbbc94847" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + } + ], + "headersSize": 326, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:09:11.903Z", + "time": 277, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 277 + } + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/oauth2_393036114/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/oauth2_393036114/recording.har new file mode 100644 index 000000000..f86cd9550 --- /dev/null +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/oauth2_393036114/recording.har @@ -0,0 +1,146 @@ +{ + "log": { + "_recordingName": "config-manager/push/restart/0_c/oauth2", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.6" + }, + "entries": [ + { + "_id": "ff75519a93ccab829f8ee8cf5e92b49f", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 1362, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/x-www-form-urlencoded" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-d9b4d27e-da28-4c92-856e-15822ed96806" + }, + { + "name": "accept-api-version", + "value": "protocol=2.1,resource=1.0" + }, + { + "name": "content-length", + "value": "1362" + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 443, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/x-www-form-urlencoded", + "params": [], + "text": "assertion=&client_id=service-account&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer&scope=fr:idc:ws:admin fr:am:* fr:autoaccess:* fr:idc:esv:* fr:idc:analytics:* fr:idc:custom-domain:* fr:idc:release:* fr:idc:sso-cookie:* fr:idc:content-security-policy:* fr:idc:certificate:* fr:idm:* fr:idc:dataset:* fr:idc:cookie-domain:* fr:idc:promotion:*" + }, + "queryString": [], + "url": "https://openam-frodo-dev.forgeblocks.com/am/oauth2/access_token" + }, + "response": { + "bodySize": 1863, + "content": { + "mimeType": "application/json;charset=UTF-8", + "size": 1863, + "text": "{\"access_token\":\"\",\"scope\":\"fr:idc:ws:admin fr:am:* fr:autoaccess:* fr:idc:esv:* fr:idc:analytics:* fr:idc:custom-domain:* fr:idc:release:* fr:idc:sso-cookie:* fr:idc:content-security-policy:* fr:idc:certificate:* fr:idm:* fr:idc:dataset:* fr:idc:cookie-domain:* fr:idc:promotion:*\",\"token_type\":\"Bearer\",\"expires_in\":899}" + }, + "cookies": [], + "headers": [ + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "content-security-policy-report-only", + "value": "frame-ancestors 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "cache-control", + "value": "no-store" + }, + { + "name": "pragma", + "value": "no-cache" + }, + { + "name": "content-type", + "value": "application/json;charset=UTF-8" + }, + { + "name": "content-length", + "value": "1863" + }, + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:09:11 GMT" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-d9b4d27e-da28-4c92-856e-15822ed96806" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + } + ], + "headersSize": 561, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:09:11.198Z", + "time": 174, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 174 + } + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/openidm_3290118515/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/openidm_3290118515/recording.har new file mode 100644 index 000000000..96bf5ac0f --- /dev/null +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/openidm_3290118515/recording.har @@ -0,0 +1,310 @@ +{ + "log": { + "_recordingName": "config-manager/push/restart/0_c/openidm", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.6" + }, + "entries": [ + { + "_id": "9cb8561357870863838a9948da32d1e8", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-d9b4d27e-da28-4c92-856e-15822ed96806" + }, + { + "name": "authorization", + "value": "Bearer " + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 1971, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [ + { + "name": "_fields", + "value": "*" + } + ], + "url": "https://openam-frodo-dev.forgeblocks.com/openidm/managed/svcacct/810dd2f4-874b-4aad-9e0a-f8a57789f182?_fields=%2A" + }, + "response": { + "bodySize": 1408, + "content": { + "mimeType": "application/json;charset=utf-8", + "size": 1408, + "text": "{\"_id\":\"810dd2f4-874b-4aad-9e0a-f8a57789f182\",\"_rev\":\"4773460a-f4b4-4472-a12b-8c7b7ad4fd76-9686\",\"accountStatus\":\"active\",\"name\":\"Frodo-SA-1773261131370\",\"description\":\"phales@trivir.com's Frodo Service Account\",\"scopes\":[\"fr:am:*\",\"fr:idc:analytics:*\",\"fr:autoaccess:*\",\"fr:idc:certificate:*\",\"fr:idc:content-security-policy:*\",\"fr:idc:cookie-domain:*\",\"fr:idc:custom-domain:*\",\"fr:idc:dataset:*\",\"fr:idc:esv:*\",\"fr:idm:*\",\"fr:idc:promotion:*\",\"fr:idc:release:*\",\"fr:idc:sso-cookie:*\",\"fr:idc:ws:admin\"],\"jwks\":\"{\\\"keys\\\":[{\\\"kty\\\":\\\"RSA\\\",\\\"kid\\\":\\\"GIyq6foAjk7VGtM7NyJQZMEUxtAgSe02sjjgp4ey4go\\\",\\\"alg\\\":\\\"RS256\\\",\\\"e\\\":\\\"AQAB\\\",\\\"n\\\":\\\"rBa78YjWw5-Hkd2rP8uuY2fikjMf9FVeP2AUabFL2qqgVCJxs035yKQDlMAYAFnKaSUXME0vXhZKNkP5ZsWdYAl_sS-0o8HBO4AQk8dXSB--NnkPd0S-6c-sb01oy5tet1WFiKI8dfhzH9KZ65oy3ouzaSsnTjIpFQNMVaq1qQE3m2gPnmwMoRQZdP_hClkXMTtkdRapTL_cdxw7tYGGwpjFz2IJRX-fjFpE79NZdQ_dUaeWOm3tnoHAHjh01IrFu7qlT0o5Bf7-gDvoXU3eYAy5D9LcZAeXr8DiEqK-2aBltV43JSk-Z119DQhRUOFOVMlfbZzHYcWlMgPHBnneleAzChhaDnTxd3NGfqF329wfxQHUaGdj7-eVlXEEYIxmzVwFOiEK0ogEtyvkrlYqQiarxSGt1teNShBpb2QtKL4UPLh7ufxe6K961QuL-FmCkKbjGFxYY0PTegeIsf3rYTNKJRpADC9rGPDF67c5yuMbbBZU9G_GRq5Lj8yS5vG94oCM7PGmKzxxavS7neBu0BH6cqn_u6kuvbfcLtmszo7JqMnY6SqPIp0PU1wfizkjeXKG0s_6rtqQ57pH5IpZTUYwCrtkqcOLEColrUwort43MY12P-ELDuq-IaZFRxJWn8A9dqplVJzOQViUfHHtTVu5W2KiumLSXsxWUsQTb8E\\\"}]}\",\"maxCachingTime\":\"15\",\"maxIdleTime\":\"15\",\"maxSessionTime\":\"15\",\"quotaLimit\":\"5\"}" + }, + "cookies": [], + "headers": [ + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:09:11 GMT" + }, + { + "name": "vary", + "value": "Origin" + }, + { + "name": "cache-control", + "value": "no-store" + }, + { + "name": "content-security-policy", + "value": "default-src 'none';frame-ancestors 'none';sandbox" + }, + { + "name": "content-type", + "value": "application/json;charset=utf-8" + }, + { + "name": "cross-origin-opener-policy", + "value": "same-origin" + }, + { + "name": "cross-origin-resource-policy", + "value": "same-origin" + }, + { + "name": "etag", + "value": "\"4773460a-f4b4-4472-a12b-8c7b7ad4fd76-9686\"" + }, + { + "name": "expires", + "value": "0" + }, + { + "name": "pragma", + "value": "no-cache" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "x-frame-options", + "value": "DENY" + }, + { + "name": "content-length", + "value": "1408" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-d9b4d27e-da28-4c92-856e-15822ed96806" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + } + ], + "headersSize": 682, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:09:11.425Z", + "time": 201, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 201 + } + }, + { + "_id": "9cb8561357870863838a9948da32d1e8", + "_order": 1, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-d9b4d27e-da28-4c92-856e-15822ed96806" + }, + { + "name": "authorization", + "value": "Bearer " + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 1971, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [ + { + "name": "_fields", + "value": "*" + } + ], + "url": "https://openam-frodo-dev.forgeblocks.com/openidm/managed/svcacct/810dd2f4-874b-4aad-9e0a-f8a57789f182?_fields=%2A" + }, + "response": { + "bodySize": 1408, + "content": { + "mimeType": "application/json;charset=utf-8", + "size": 1408, + "text": "{\"_id\":\"810dd2f4-874b-4aad-9e0a-f8a57789f182\",\"_rev\":\"4773460a-f4b4-4472-a12b-8c7b7ad4fd76-9686\",\"accountStatus\":\"active\",\"name\":\"Frodo-SA-1773261131370\",\"description\":\"phales@trivir.com's Frodo Service Account\",\"scopes\":[\"fr:am:*\",\"fr:idc:analytics:*\",\"fr:autoaccess:*\",\"fr:idc:certificate:*\",\"fr:idc:content-security-policy:*\",\"fr:idc:cookie-domain:*\",\"fr:idc:custom-domain:*\",\"fr:idc:dataset:*\",\"fr:idc:esv:*\",\"fr:idm:*\",\"fr:idc:promotion:*\",\"fr:idc:release:*\",\"fr:idc:sso-cookie:*\",\"fr:idc:ws:admin\"],\"jwks\":\"{\\\"keys\\\":[{\\\"kty\\\":\\\"RSA\\\",\\\"kid\\\":\\\"GIyq6foAjk7VGtM7NyJQZMEUxtAgSe02sjjgp4ey4go\\\",\\\"alg\\\":\\\"RS256\\\",\\\"e\\\":\\\"AQAB\\\",\\\"n\\\":\\\"rBa78YjWw5-Hkd2rP8uuY2fikjMf9FVeP2AUabFL2qqgVCJxs035yKQDlMAYAFnKaSUXME0vXhZKNkP5ZsWdYAl_sS-0o8HBO4AQk8dXSB--NnkPd0S-6c-sb01oy5tet1WFiKI8dfhzH9KZ65oy3ouzaSsnTjIpFQNMVaq1qQE3m2gPnmwMoRQZdP_hClkXMTtkdRapTL_cdxw7tYGGwpjFz2IJRX-fjFpE79NZdQ_dUaeWOm3tnoHAHjh01IrFu7qlT0o5Bf7-gDvoXU3eYAy5D9LcZAeXr8DiEqK-2aBltV43JSk-Z119DQhRUOFOVMlfbZzHYcWlMgPHBnneleAzChhaDnTxd3NGfqF329wfxQHUaGdj7-eVlXEEYIxmzVwFOiEK0ogEtyvkrlYqQiarxSGt1teNShBpb2QtKL4UPLh7ufxe6K961QuL-FmCkKbjGFxYY0PTegeIsf3rYTNKJRpADC9rGPDF67c5yuMbbBZU9G_GRq5Lj8yS5vG94oCM7PGmKzxxavS7neBu0BH6cqn_u6kuvbfcLtmszo7JqMnY6SqPIp0PU1wfizkjeXKG0s_6rtqQ57pH5IpZTUYwCrtkqcOLEColrUwort43MY12P-ELDuq-IaZFRxJWn8A9dqplVJzOQViUfHHtTVu5W2KiumLSXsxWUsQTb8E\\\"}]}\",\"maxCachingTime\":\"15\",\"maxIdleTime\":\"15\",\"maxSessionTime\":\"15\",\"quotaLimit\":\"5\"}" + }, + "cookies": [], + "headers": [ + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:09:11 GMT" + }, + { + "name": "vary", + "value": "Origin" + }, + { + "name": "cache-control", + "value": "no-store" + }, + { + "name": "content-security-policy", + "value": "default-src 'none';frame-ancestors 'none';sandbox" + }, + { + "name": "content-type", + "value": "application/json;charset=utf-8" + }, + { + "name": "cross-origin-opener-policy", + "value": "same-origin" + }, + { + "name": "cross-origin-resource-policy", + "value": "same-origin" + }, + { + "name": "etag", + "value": "\"4773460a-f4b4-4472-a12b-8c7b7ad4fd76-9686\"" + }, + { + "name": "expires", + "value": "0" + }, + { + "name": "pragma", + "value": "no-cache" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "x-frame-options", + "value": "DENY" + }, + { + "name": "content-length", + "value": "1408" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-d9b4d27e-da28-4c92-856e-15822ed96806" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + } + ], + "headersSize": 682, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:09:11.572Z", + "time": 109, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 109 + } + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/am_1076162899/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/am_1076162899/recording.har new file mode 100644 index 000000000..7a8b59181 --- /dev/null +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/am_1076162899/recording.har @@ -0,0 +1,312 @@ +{ + "log": { + "_recordingName": "config-manager/push/restart/0_s/am", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.6" + }, + "entries": [ + { + "_id": "ccd7a5defd0fdeaa986a2b54642d911a", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-ad5f9e58-5e47-43c9-ad9f-0280162d7cbf" + }, + { + "name": "accept-api-version", + "value": "resource=1.1" + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 388, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://openam-frodo-dev.forgeblocks.com/am/json/serverinfo/*" + }, + "response": { + "bodySize": 615, + "content": { + "mimeType": "application/json;charset=UTF-8", + "size": 615, + "text": "{\"_id\":\"*\",\"_rev\":\"1955877839\",\"domains\":[],\"protectedUserAttributes\":[\"telephoneNumber\",\"mail\"],\"cookieName\":\"6ac6499e9da2071\",\"secureCookie\":true,\"forgotPassword\":\"false\",\"forgotUsername\":\"false\",\"kbaEnabled\":\"false\",\"selfRegistration\":\"false\",\"lang\":\"en-US\",\"successfulUserRegistrationDestination\":\"default\",\"socialImplementations\":[],\"referralsEnabled\":\"false\",\"zeroPageLogin\":{\"enabled\":false,\"refererWhitelist\":[],\"allowedWithoutReferer\":true},\"realm\":\"/\",\"xuiUserSessionValidationEnabled\":true,\"fileBasedConfiguration\":true,\"userIdAttributes\":[],\"cloudOnlyFeaturesEnabled\":true,\"oauth2AIAgentsEnabled\":false}" + }, + "cookies": [], + "headers": [ + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "content-security-policy-report-only", + "value": "frame-ancestors 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "cache-control", + "value": "no-store" + }, + { + "name": "content-api-version", + "value": "resource=1.1" + }, + { + "name": "content-security-policy", + "value": "default-src 'none';frame-ancestors 'none';sandbox" + }, + { + "name": "cross-origin-opener-policy", + "value": "same-origin" + }, + { + "name": "cross-origin-resource-policy", + "value": "same-origin" + }, + { + "name": "etag", + "value": "\"1955877839\"" + }, + { + "name": "expires", + "value": "0" + }, + { + "name": "pragma", + "value": "no-cache" + }, + { + "name": "content-type", + "value": "application/json;charset=UTF-8" + }, + { + "name": "content-length", + "value": "615" + }, + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:08:48 GMT" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-ad5f9e58-5e47-43c9-ad9f-0280162d7cbf" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000" + } + ], + "headersSize": 762, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:08:47.896Z", + "time": 194, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 194 + } + }, + { + "_id": "6125d0328ad0dcaee55f73fd8b22ca14", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-ad5f9e58-5e47-43c9-ad9f-0280162d7cbf" + }, + { + "name": "accept-api-version", + "value": "resource=1.0" + }, + { + "name": "authorization", + "value": "Bearer " + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 1959, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://openam-frodo-dev.forgeblocks.com/am/json/serverinfo/version" + }, + "response": { + "bodySize": 276, + "content": { + "mimeType": "application/json;charset=UTF-8", + "size": 276, + "text": "{\"_id\":\"version\",\"_rev\":\"-1876078088\",\"version\":\"9.0.0-SNAPSHOT\",\"fullVersion\":\"ForgeRock Access Management 9.0.0-SNAPSHOT Build 2a2686af9631bd8d8866c92ea2411814899acefd (2026-March-30 15:23)\",\"revision\":\"2a2686af9631bd8d8866c92ea2411814899acefd\",\"date\":\"2026-March-30 15:23\"}" + }, + "cookies": [], + "headers": [ + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "content-security-policy-report-only", + "value": "frame-ancestors 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "cache-control", + "value": "no-store" + }, + { + "name": "content-api-version", + "value": "resource=1.0" + }, + { + "name": "content-security-policy", + "value": "default-src 'none';frame-ancestors 'none';sandbox" + }, + { + "name": "cross-origin-opener-policy", + "value": "same-origin" + }, + { + "name": "cross-origin-resource-policy", + "value": "same-origin" + }, + { + "name": "etag", + "value": "\"-1876078088\"" + }, + { + "name": "expires", + "value": "0" + }, + { + "name": "pragma", + "value": "no-cache" + }, + { + "name": "content-type", + "value": "application/json;charset=UTF-8" + }, + { + "name": "content-length", + "value": "276" + }, + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:08:48 GMT" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-ad5f9e58-5e47-43c9-ad9f-0280162d7cbf" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000" + } + ], + "headersSize": 763, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:08:48.735Z", + "time": 114, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 114 + } + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/environment_1072573434/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/environment_1072573434/recording.har new file mode 100644 index 000000000..e92f65d79 --- /dev/null +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/environment_1072573434/recording.har @@ -0,0 +1,331 @@ +{ + "log": { + "_recordingName": "config-manager/push/restart/0_s/environment", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.6" + }, + "entries": [ + { + "_id": "ccc7ec61c2094114d7917814bb19b83b", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "accept-api-version", + "value": "protocol=1.0,resource=1.0" + }, + { + "name": "authorization", + "value": "Bearer " + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 1910, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://openam-frodo-dev.forgeblocks.com/environment/scopes/service-accounts" + }, + "response": { + "bodySize": 1975, + "content": { + "mimeType": "application/json; charset=utf-8", + "size": 1975, + "text": "[{\"scope\":\"fr:am:*\",\"description\":\"All Access Management APIs\"},{\"scope\":\"fr:autoaccess:*\",\"description\":\"All Auto Access APIs\"},{\"scope\":\"fr:idc:analytics:*\",\"description\":\"All Analytics APIs\"},{\"scope\":\"fr:idc:certificate:*\",\"description\":\"All TLS certificate APIs\",\"childScopes\":[{\"scope\":\"fr:idc:certificate:read\",\"description\":\"Read TLS certificates\"}]},{\"scope\":\"fr:idc:content-security-policy:*\",\"description\":\"All content security policy APIs\",\"childScopes\":[{\"scope\":\"fr:idc:content-security-policy:read\",\"description\":\"Read content security policy\"}]},{\"scope\":\"fr:idc:cookie-domain:*\",\"description\":\"All cookie domain APIs\",\"childScopes\":[{\"scope\":\"fr:idc:cookie-domain:read\",\"description\":\"Read cookie domains\"}]},{\"scope\":\"fr:idc:custom-domain:*\",\"description\":\"All custom domain APIs\",\"childScopes\":[{\"scope\":\"fr:idc:custom-domain:read\",\"description\":\"Read custom domains\"}]},{\"scope\":\"fr:idc:dataset:*\",\"description\":\"All dataset deletion APIs\",\"childScopes\":[{\"scope\":\"fr:idc:dataset:read\",\"description\":\"Read dataset deletions\"}]},{\"scope\":\"fr:idc:esv:*\",\"description\":\"All ESV APIs\",\"childScopes\":[{\"scope\":\"fr:idc:esv:read\",\"description\":\"Read ESVs, excluding values of secrets\"},{\"scope\":\"fr:idc:esv:update\",\"description\":\"Create, modify, and delete ESVs\"},{\"scope\":\"fr:idc:esv:restart\",\"description\":\"Restart workloads that consume ESVs\"}]},{\"scope\":\"fr:idc:promotion:*\",\"description\":\"All configuration promotion APIs\",\"childScopes\":[{\"scope\":\"fr:idc:promotion:read\",\"description\":\"Read configuration promotion\"}]},{\"scope\":\"fr:idc:release:*\",\"description\":\"All product release APIs\",\"childScopes\":[{\"scope\":\"fr:idc:release:read\",\"description\":\"Read product release\"}]},{\"scope\":\"fr:idc:sso-cookie:*\",\"description\":\"All SSO cookie APIs\",\"childScopes\":[{\"scope\":\"fr:idc:sso-cookie:read\",\"description\":\"Read SSO cookie\"}]},{\"scope\":\"fr:idc:ws:admin\",\"description\":\"All PingFederate APIs\"},{\"scope\":\"fr:idm:*\",\"description\":\"All Identity Management APIs\"}]" + }, + "cookies": [], + "headers": [ + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "content-type", + "value": "application/json; charset=utf-8" + }, + { + "name": "content-length", + "value": "1975" + }, + { + "name": "etag", + "value": "W/\"7b7-9oeZSONSS8Sn+SSr15TXAygvvcE\"" + }, + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:08:48 GMT" + }, + { + "name": "x-forgerock-transactionid", + "value": "78773741-1120-4ac5-92b2-c63d63d6cc23" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000" + } + ], + "headersSize": 388, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:08:48.854Z", + "time": 88, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 88 + } + }, + { + "_id": "a24d647eb74a9e69a6b0bd9ed23dc6ce", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "accept-api-version", + "value": "protocol=1.0,resource=1.0" + }, + { + "name": "authorization", + "value": "Bearer " + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 1894, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://openam-frodo-dev.forgeblocks.com/environment/secrets" + }, + "response": { + "bodySize": 802, + "content": { + "mimeType": "application/json", + "size": 802, + "text": "{\"pagedResultsCookie\":null,\"remainingPagedResults\":-1,\"result\":[{\"_id\":\"esv-test\",\"activeVersion\":\"3\",\"description\":\"test\",\"encoding\":\"generic\",\"lastChangeDate\":\"2026-04-13T17:24:40.840844Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"loadedVersion\":\"3\",\"useInPlaceholders\":true},{\"_id\":\"esv-test-2\",\"activeVersion\":\"2\",\"description\":\"\",\"encoding\":\"generic\",\"lastChangeDate\":\"2026-04-15T20:02:34.484574Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"loadedVersion\":\"2\",\"useInPlaceholders\":true},{\"_id\":\"esv-test-3\",\"activeVersion\":\"3\",\"description\":\"\",\"encoding\":\"generic\",\"lastChangeDate\":\"2026-04-15T20:05:34.35818Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"loadedVersion\":\"3\",\"useInPlaceholders\":true}],\"resultCount\":3,\"totalPagedResults\":-1,\"totalPagedResultsPolicy\":\"NONE\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:08:49 GMT" + }, + { + "name": "content-length", + "value": "802" + }, + { + "name": "x-forgerock-transactionid", + "value": "94d08a2c-15f3-4262-b846-179a9d760044" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000" + } + ], + "headersSize": 300, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:08:49.045Z", + "time": 191, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 191 + } + }, + { + "_id": "3e8d5f28d2136edf1b00c2f955eaa5fa", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "accept-api-version", + "value": "protocol=1.0,resource=1.0" + }, + { + "name": "authorization", + "value": "Bearer " + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 1896, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://openam-frodo-dev.forgeblocks.com/environment/variables" + }, + "response": { + "bodySize": 1154, + "content": { + "mimeType": "application/json", + "size": 1154, + "text": "{\"pagedResultsCookie\":null,\"remainingPagedResults\":-1,\"result\":[{\"_id\":\"esv-frodo-test-variable-1\",\"description\":\"description1\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-03-11T21:03:06.985865Z\",\"lastChangedBy\":\"Frodo-SA-1773261131370\",\"loaded\":true,\"valueBase64\":\"dmFsdWUx\"},{\"_id\":\"esv-frodo-test-variable-2\",\"description\":\"description2\",\"expressionType\":\"int\",\"lastChangeDate\":\"2026-03-11T21:03:09.552101Z\",\"lastChangedBy\":\"Frodo-SA-1773261131370\",\"loaded\":true,\"valueBase64\":\"NDI=\"},{\"_id\":\"esv-test-variable\",\"description\":\"test\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-03-25T21:11:19.814977Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"valueBase64\":\"dGVzdA==\"},{\"_id\":\"esv-test-variable-3\",\"description\":\"\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-04-15T19:21:33.037658Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"valueBase64\":\"dGVzdA==\"},{\"_id\":\"esv-test-variable-4\",\"description\":\"\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-04-15T19:23:26.107957Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"valueBase64\":\"dGVzdA==\"}],\"resultCount\":5,\"totalPagedResults\":-1,\"totalPagedResultsPolicy\":\"NONE\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:08:49 GMT" + }, + { + "name": "content-length", + "value": "1154" + }, + { + "name": "x-forgerock-transactionid", + "value": "fafa6d99-7e13-4694-950f-96886578e13e" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000" + } + ], + "headersSize": 301, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:08:49.242Z", + "time": 254, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 254 + } + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/oauth2_393036114/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/oauth2_393036114/recording.har new file mode 100644 index 000000000..538cdc73a --- /dev/null +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/oauth2_393036114/recording.har @@ -0,0 +1,146 @@ +{ + "log": { + "_recordingName": "config-manager/push/restart/0_s/oauth2", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.6" + }, + "entries": [ + { + "_id": "ff75519a93ccab829f8ee8cf5e92b49f", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 1362, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/x-www-form-urlencoded" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-ad5f9e58-5e47-43c9-ad9f-0280162d7cbf" + }, + { + "name": "accept-api-version", + "value": "protocol=2.1,resource=1.0" + }, + { + "name": "content-length", + "value": "1362" + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 443, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/x-www-form-urlencoded", + "params": [], + "text": "assertion=&client_id=service-account&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer&scope=fr:idc:ws:admin fr:am:* fr:autoaccess:* fr:idc:esv:* fr:idc:analytics:* fr:idc:custom-domain:* fr:idc:release:* fr:idc:sso-cookie:* fr:idc:content-security-policy:* fr:idc:certificate:* fr:idm:* fr:idc:dataset:* fr:idc:cookie-domain:* fr:idc:promotion:*" + }, + "queryString": [], + "url": "https://openam-frodo-dev.forgeblocks.com/am/oauth2/access_token" + }, + "response": { + "bodySize": 1863, + "content": { + "mimeType": "application/json;charset=UTF-8", + "size": 1863, + "text": "{\"access_token\":\"\",\"scope\":\"fr:idc:ws:admin fr:am:* fr:autoaccess:* fr:idc:esv:* fr:idc:analytics:* fr:idc:custom-domain:* fr:idc:release:* fr:idc:sso-cookie:* fr:idc:content-security-policy:* fr:idc:certificate:* fr:idm:* fr:idc:dataset:* fr:idc:cookie-domain:* fr:idc:promotion:*\",\"token_type\":\"Bearer\",\"expires_in\":899}" + }, + "cookies": [], + "headers": [ + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "content-security-policy-report-only", + "value": "frame-ancestors 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "cache-control", + "value": "no-store" + }, + { + "name": "pragma", + "value": "no-cache" + }, + { + "name": "content-type", + "value": "application/json;charset=UTF-8" + }, + { + "name": "content-length", + "value": "1863" + }, + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:08:48 GMT" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-ad5f9e58-5e47-43c9-ad9f-0280162d7cbf" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000" + } + ], + "headersSize": 536, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:08:48.103Z", + "time": 625, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 625 + } + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/openidm_3290118515/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/openidm_3290118515/recording.har new file mode 100644 index 000000000..ac373a119 --- /dev/null +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/openidm_3290118515/recording.har @@ -0,0 +1,310 @@ +{ + "log": { + "_recordingName": "config-manager/push/restart/0_s/openidm", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.6" + }, + "entries": [ + { + "_id": "9cb8561357870863838a9948da32d1e8", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-ad5f9e58-5e47-43c9-ad9f-0280162d7cbf" + }, + { + "name": "authorization", + "value": "Bearer " + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 1971, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [ + { + "name": "_fields", + "value": "*" + } + ], + "url": "https://openam-frodo-dev.forgeblocks.com/openidm/managed/svcacct/810dd2f4-874b-4aad-9e0a-f8a57789f182?_fields=%2A" + }, + "response": { + "bodySize": 1408, + "content": { + "mimeType": "application/json;charset=utf-8", + "size": 1408, + "text": "{\"_id\":\"810dd2f4-874b-4aad-9e0a-f8a57789f182\",\"_rev\":\"4773460a-f4b4-4472-a12b-8c7b7ad4fd76-9686\",\"accountStatus\":\"active\",\"name\":\"Frodo-SA-1773261131370\",\"description\":\"phales@trivir.com's Frodo Service Account\",\"scopes\":[\"fr:am:*\",\"fr:idc:analytics:*\",\"fr:autoaccess:*\",\"fr:idc:certificate:*\",\"fr:idc:content-security-policy:*\",\"fr:idc:cookie-domain:*\",\"fr:idc:custom-domain:*\",\"fr:idc:dataset:*\",\"fr:idc:esv:*\",\"fr:idm:*\",\"fr:idc:promotion:*\",\"fr:idc:release:*\",\"fr:idc:sso-cookie:*\",\"fr:idc:ws:admin\"],\"jwks\":\"{\\\"keys\\\":[{\\\"kty\\\":\\\"RSA\\\",\\\"kid\\\":\\\"GIyq6foAjk7VGtM7NyJQZMEUxtAgSe02sjjgp4ey4go\\\",\\\"alg\\\":\\\"RS256\\\",\\\"e\\\":\\\"AQAB\\\",\\\"n\\\":\\\"rBa78YjWw5-Hkd2rP8uuY2fikjMf9FVeP2AUabFL2qqgVCJxs035yKQDlMAYAFnKaSUXME0vXhZKNkP5ZsWdYAl_sS-0o8HBO4AQk8dXSB--NnkPd0S-6c-sb01oy5tet1WFiKI8dfhzH9KZ65oy3ouzaSsnTjIpFQNMVaq1qQE3m2gPnmwMoRQZdP_hClkXMTtkdRapTL_cdxw7tYGGwpjFz2IJRX-fjFpE79NZdQ_dUaeWOm3tnoHAHjh01IrFu7qlT0o5Bf7-gDvoXU3eYAy5D9LcZAeXr8DiEqK-2aBltV43JSk-Z119DQhRUOFOVMlfbZzHYcWlMgPHBnneleAzChhaDnTxd3NGfqF329wfxQHUaGdj7-eVlXEEYIxmzVwFOiEK0ogEtyvkrlYqQiarxSGt1teNShBpb2QtKL4UPLh7ufxe6K961QuL-FmCkKbjGFxYY0PTegeIsf3rYTNKJRpADC9rGPDF67c5yuMbbBZU9G_GRq5Lj8yS5vG94oCM7PGmKzxxavS7neBu0BH6cqn_u6kuvbfcLtmszo7JqMnY6SqPIp0PU1wfizkjeXKG0s_6rtqQ57pH5IpZTUYwCrtkqcOLEColrUwort43MY12P-ELDuq-IaZFRxJWn8A9dqplVJzOQViUfHHtTVu5W2KiumLSXsxWUsQTb8E\\\"}]}\",\"maxCachingTime\":\"15\",\"maxIdleTime\":\"15\",\"maxSessionTime\":\"15\",\"quotaLimit\":\"5\"}" + }, + "cookies": [], + "headers": [ + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:08:48 GMT" + }, + { + "name": "vary", + "value": "Origin" + }, + { + "name": "cache-control", + "value": "no-store" + }, + { + "name": "content-security-policy", + "value": "default-src 'none';frame-ancestors 'none';sandbox" + }, + { + "name": "content-type", + "value": "application/json;charset=utf-8" + }, + { + "name": "cross-origin-opener-policy", + "value": "same-origin" + }, + { + "name": "cross-origin-resource-policy", + "value": "same-origin" + }, + { + "name": "etag", + "value": "\"4773460a-f4b4-4472-a12b-8c7b7ad4fd76-9686\"" + }, + { + "name": "expires", + "value": "0" + }, + { + "name": "pragma", + "value": "no-cache" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "x-frame-options", + "value": "DENY" + }, + { + "name": "content-length", + "value": "1408" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-ad5f9e58-5e47-43c9-ad9f-0280162d7cbf" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000" + } + ], + "headersSize": 657, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:08:48.771Z", + "time": 189, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 189 + } + }, + { + "_id": "9cb8561357870863838a9948da32d1e8", + "_order": 1, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-ad5f9e58-5e47-43c9-ad9f-0280162d7cbf" + }, + { + "name": "authorization", + "value": "Bearer " + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 1971, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [ + { + "name": "_fields", + "value": "*" + } + ], + "url": "https://openam-frodo-dev.forgeblocks.com/openidm/managed/svcacct/810dd2f4-874b-4aad-9e0a-f8a57789f182?_fields=%2A" + }, + "response": { + "bodySize": 1408, + "content": { + "mimeType": "application/json;charset=utf-8", + "size": 1408, + "text": "{\"_id\":\"810dd2f4-874b-4aad-9e0a-f8a57789f182\",\"_rev\":\"4773460a-f4b4-4472-a12b-8c7b7ad4fd76-9686\",\"accountStatus\":\"active\",\"name\":\"Frodo-SA-1773261131370\",\"description\":\"phales@trivir.com's Frodo Service Account\",\"scopes\":[\"fr:am:*\",\"fr:idc:analytics:*\",\"fr:autoaccess:*\",\"fr:idc:certificate:*\",\"fr:idc:content-security-policy:*\",\"fr:idc:cookie-domain:*\",\"fr:idc:custom-domain:*\",\"fr:idc:dataset:*\",\"fr:idc:esv:*\",\"fr:idm:*\",\"fr:idc:promotion:*\",\"fr:idc:release:*\",\"fr:idc:sso-cookie:*\",\"fr:idc:ws:admin\"],\"jwks\":\"{\\\"keys\\\":[{\\\"kty\\\":\\\"RSA\\\",\\\"kid\\\":\\\"GIyq6foAjk7VGtM7NyJQZMEUxtAgSe02sjjgp4ey4go\\\",\\\"alg\\\":\\\"RS256\\\",\\\"e\\\":\\\"AQAB\\\",\\\"n\\\":\\\"rBa78YjWw5-Hkd2rP8uuY2fikjMf9FVeP2AUabFL2qqgVCJxs035yKQDlMAYAFnKaSUXME0vXhZKNkP5ZsWdYAl_sS-0o8HBO4AQk8dXSB--NnkPd0S-6c-sb01oy5tet1WFiKI8dfhzH9KZ65oy3ouzaSsnTjIpFQNMVaq1qQE3m2gPnmwMoRQZdP_hClkXMTtkdRapTL_cdxw7tYGGwpjFz2IJRX-fjFpE79NZdQ_dUaeWOm3tnoHAHjh01IrFu7qlT0o5Bf7-gDvoXU3eYAy5D9LcZAeXr8DiEqK-2aBltV43JSk-Z119DQhRUOFOVMlfbZzHYcWlMgPHBnneleAzChhaDnTxd3NGfqF329wfxQHUaGdj7-eVlXEEYIxmzVwFOiEK0ogEtyvkrlYqQiarxSGt1teNShBpb2QtKL4UPLh7ufxe6K961QuL-FmCkKbjGFxYY0PTegeIsf3rYTNKJRpADC9rGPDF67c5yuMbbBZU9G_GRq5Lj8yS5vG94oCM7PGmKzxxavS7neBu0BH6cqn_u6kuvbfcLtmszo7JqMnY6SqPIp0PU1wfizkjeXKG0s_6rtqQ57pH5IpZTUYwCrtkqcOLEColrUwort43MY12P-ELDuq-IaZFRxJWn8A9dqplVJzOQViUfHHtTVu5W2KiumLSXsxWUsQTb8E\\\"}]}\",\"maxCachingTime\":\"15\",\"maxIdleTime\":\"15\",\"maxSessionTime\":\"15\",\"quotaLimit\":\"5\"}" + }, + "cookies": [], + "headers": [ + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:08:48 GMT" + }, + { + "name": "vary", + "value": "Origin" + }, + { + "name": "cache-control", + "value": "no-store" + }, + { + "name": "content-security-policy", + "value": "default-src 'none';frame-ancestors 'none';sandbox" + }, + { + "name": "content-type", + "value": "application/json;charset=utf-8" + }, + { + "name": "cross-origin-opener-policy", + "value": "same-origin" + }, + { + "name": "cross-origin-resource-policy", + "value": "same-origin" + }, + { + "name": "etag", + "value": "\"4773460a-f4b4-4472-a12b-8c7b7ad4fd76-9686\"" + }, + { + "name": "expires", + "value": "0" + }, + { + "name": "pragma", + "value": "no-cache" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "x-frame-options", + "value": "DENY" + }, + { + "name": "content-length", + "value": "1408" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-ad5f9e58-5e47-43c9-ad9f-0280162d7cbf" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000" + } + ], + "headersSize": 657, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:08:48.950Z", + "time": 87, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 87 + } + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/am_1076162899/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/am_1076162899/recording.har new file mode 100644 index 000000000..5cca10b6e --- /dev/null +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/am_1076162899/recording.har @@ -0,0 +1,312 @@ +{ + "log": { + "_recordingName": "config-manager/push/restart/0_w/am", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.6" + }, + "entries": [ + { + "_id": "ccd7a5defd0fdeaa986a2b54642d911a", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-b043f6fb-81f8-413a-80c6-5c029684c12d" + }, + { + "name": "accept-api-version", + "value": "resource=1.1" + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 388, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://openam-frodo-dev.forgeblocks.com/am/json/serverinfo/*" + }, + "response": { + "bodySize": 615, + "content": { + "mimeType": "application/json;charset=UTF-8", + "size": 615, + "text": "{\"_id\":\"*\",\"_rev\":\"1955877839\",\"domains\":[],\"protectedUserAttributes\":[\"telephoneNumber\",\"mail\"],\"cookieName\":\"6ac6499e9da2071\",\"secureCookie\":true,\"forgotPassword\":\"false\",\"forgotUsername\":\"false\",\"kbaEnabled\":\"false\",\"selfRegistration\":\"false\",\"lang\":\"en-US\",\"successfulUserRegistrationDestination\":\"default\",\"socialImplementations\":[],\"referralsEnabled\":\"false\",\"zeroPageLogin\":{\"enabled\":false,\"refererWhitelist\":[],\"allowedWithoutReferer\":true},\"realm\":\"/\",\"xuiUserSessionValidationEnabled\":true,\"fileBasedConfiguration\":true,\"userIdAttributes\":[],\"cloudOnlyFeaturesEnabled\":true,\"oauth2AIAgentsEnabled\":false}" + }, + "cookies": [], + "headers": [ + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "content-security-policy-report-only", + "value": "frame-ancestors 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "cache-control", + "value": "no-store" + }, + { + "name": "content-api-version", + "value": "resource=1.1" + }, + { + "name": "content-security-policy", + "value": "default-src 'none';frame-ancestors 'none';sandbox" + }, + { + "name": "cross-origin-opener-policy", + "value": "same-origin" + }, + { + "name": "cross-origin-resource-policy", + "value": "same-origin" + }, + { + "name": "etag", + "value": "\"1955877839\"" + }, + { + "name": "expires", + "value": "0" + }, + { + "name": "pragma", + "value": "no-cache" + }, + { + "name": "content-type", + "value": "application/json;charset=UTF-8" + }, + { + "name": "content-length", + "value": "615" + }, + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:10:37 GMT" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-b043f6fb-81f8-413a-80c6-5c029684c12d" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + } + ], + "headersSize": 787, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:10:37.514Z", + "time": 269, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 269 + } + }, + { + "_id": "6125d0328ad0dcaee55f73fd8b22ca14", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-b043f6fb-81f8-413a-80c6-5c029684c12d" + }, + { + "name": "accept-api-version", + "value": "resource=1.0" + }, + { + "name": "authorization", + "value": "Bearer " + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 1959, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://openam-frodo-dev.forgeblocks.com/am/json/serverinfo/version" + }, + "response": { + "bodySize": 276, + "content": { + "mimeType": "application/json;charset=UTF-8", + "size": 276, + "text": "{\"_id\":\"version\",\"_rev\":\"-1876078088\",\"version\":\"9.0.0-SNAPSHOT\",\"fullVersion\":\"ForgeRock Access Management 9.0.0-SNAPSHOT Build 2a2686af9631bd8d8866c92ea2411814899acefd (2026-March-30 15:23)\",\"revision\":\"2a2686af9631bd8d8866c92ea2411814899acefd\",\"date\":\"2026-March-30 15:23\"}" + }, + "cookies": [], + "headers": [ + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "content-security-policy-report-only", + "value": "frame-ancestors 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "cache-control", + "value": "no-store" + }, + { + "name": "content-api-version", + "value": "resource=1.0" + }, + { + "name": "content-security-policy", + "value": "default-src 'none';frame-ancestors 'none';sandbox" + }, + { + "name": "cross-origin-opener-policy", + "value": "same-origin" + }, + { + "name": "cross-origin-resource-policy", + "value": "same-origin" + }, + { + "name": "etag", + "value": "\"-1876078088\"" + }, + { + "name": "expires", + "value": "0" + }, + { + "name": "pragma", + "value": "no-cache" + }, + { + "name": "content-type", + "value": "application/json;charset=UTF-8" + }, + { + "name": "content-length", + "value": "276" + }, + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:10:38 GMT" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-b043f6fb-81f8-413a-80c6-5c029684c12d" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + } + ], + "headersSize": 788, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:10:37.942Z", + "time": 90, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 90 + } + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/environment_1072573434/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/environment_1072573434/recording.har new file mode 100644 index 000000000..b2f5b9a3f --- /dev/null +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/environment_1072573434/recording.har @@ -0,0 +1,344 @@ +{ + "log": { + "_recordingName": "config-manager/push/restart/0_w/environment", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.6" + }, + "entries": [ + { + "_id": "ccc7ec61c2094114d7917814bb19b83b", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "accept-api-version", + "value": "protocol=1.0,resource=1.0" + }, + { + "name": "authorization", + "value": "Bearer " + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 1910, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://openam-frodo-dev.forgeblocks.com/environment/scopes/service-accounts" + }, + "response": { + "bodySize": 1975, + "content": { + "mimeType": "application/json; charset=utf-8", + "size": 1975, + "text": "[{\"scope\":\"fr:am:*\",\"description\":\"All Access Management APIs\"},{\"scope\":\"fr:autoaccess:*\",\"description\":\"All Auto Access APIs\"},{\"scope\":\"fr:idc:analytics:*\",\"description\":\"All Analytics APIs\"},{\"scope\":\"fr:idc:certificate:*\",\"description\":\"All TLS certificate APIs\",\"childScopes\":[{\"scope\":\"fr:idc:certificate:read\",\"description\":\"Read TLS certificates\"}]},{\"scope\":\"fr:idc:content-security-policy:*\",\"description\":\"All content security policy APIs\",\"childScopes\":[{\"scope\":\"fr:idc:content-security-policy:read\",\"description\":\"Read content security policy\"}]},{\"scope\":\"fr:idc:cookie-domain:*\",\"description\":\"All cookie domain APIs\",\"childScopes\":[{\"scope\":\"fr:idc:cookie-domain:read\",\"description\":\"Read cookie domains\"}]},{\"scope\":\"fr:idc:custom-domain:*\",\"description\":\"All custom domain APIs\",\"childScopes\":[{\"scope\":\"fr:idc:custom-domain:read\",\"description\":\"Read custom domains\"}]},{\"scope\":\"fr:idc:dataset:*\",\"description\":\"All dataset deletion APIs\",\"childScopes\":[{\"scope\":\"fr:idc:dataset:read\",\"description\":\"Read dataset deletions\"}]},{\"scope\":\"fr:idc:esv:*\",\"description\":\"All ESV APIs\",\"childScopes\":[{\"scope\":\"fr:idc:esv:read\",\"description\":\"Read ESVs, excluding values of secrets\"},{\"scope\":\"fr:idc:esv:update\",\"description\":\"Create, modify, and delete ESVs\"},{\"scope\":\"fr:idc:esv:restart\",\"description\":\"Restart workloads that consume ESVs\"}]},{\"scope\":\"fr:idc:promotion:*\",\"description\":\"All configuration promotion APIs\",\"childScopes\":[{\"scope\":\"fr:idc:promotion:read\",\"description\":\"Read configuration promotion\"}]},{\"scope\":\"fr:idc:release:*\",\"description\":\"All product release APIs\",\"childScopes\":[{\"scope\":\"fr:idc:release:read\",\"description\":\"Read product release\"}]},{\"scope\":\"fr:idc:sso-cookie:*\",\"description\":\"All SSO cookie APIs\",\"childScopes\":[{\"scope\":\"fr:idc:sso-cookie:read\",\"description\":\"Read SSO cookie\"}]},{\"scope\":\"fr:idc:ws:admin\",\"description\":\"All PingFederate APIs\"},{\"scope\":\"fr:idm:*\",\"description\":\"All Identity Management APIs\"}]" + }, + "cookies": [], + "headers": [ + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "content-type", + "value": "application/json; charset=utf-8" + }, + { + "name": "content-length", + "value": "1975" + }, + { + "name": "etag", + "value": "W/\"7b7-9oeZSONSS8Sn+SSr15TXAygvvcE\"" + }, + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:10:38 GMT" + }, + { + "name": "x-forgerock-transactionid", + "value": "b5dadb55-2376-46bd-9ce1-8f98e17e008c" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + } + ], + "headersSize": 413, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:10:38.037Z", + "time": 89, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 89 + } + }, + { + "_id": "b5680c863538492bb4fa6020d2e8e068", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "accept-api-version", + "value": "protocol=1.0,resource=1.0" + }, + { + "name": "authorization", + "value": "Bearer " + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 1894, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://openam-frodo-dev.forgeblocks.com/environment/startup" + }, + "response": { + "bodySize": 26, + "content": { + "mimeType": "application/json", + "size": 26, + "text": "{\"restartStatus\":\"ready\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:10:38 GMT" + }, + { + "name": "content-length", + "value": "26" + }, + { + "name": "x-forgerock-transactionid", + "value": "84eab368-de00-421b-8240-0bd36f186adc" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + } + ], + "headersSize": 324, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:10:38.215Z", + "time": 237, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 237 + } + }, + { + "_id": "3b77ccc66e1a72d4eb051085c282ed9f", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 4, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "accept-api-version", + "value": "protocol=1.0,resource=1.0" + }, + { + "name": "authorization", + "value": "Bearer " + }, + { + "name": "content-length", + "value": "4" + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 1930, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [] + }, + "queryString": [ + { + "name": "_action", + "value": "restart" + } + ], + "url": "https://openam-frodo-dev.forgeblocks.com/environment/startup?_action=restart" + }, + "response": { + "bodySize": 31, + "content": { + "mimeType": "application/json", + "size": 31, + "text": "{\"restartStatus\":\"restarting\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:10:38 GMT" + }, + { + "name": "content-length", + "value": "31" + }, + { + "name": "x-forgerock-transactionid", + "value": "e891d270-37d3-46cf-986c-0fd091f159a2" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + } + ], + "headersSize": 324, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:10:38.458Z", + "time": 209, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 209 + } + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/oauth2_393036114/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/oauth2_393036114/recording.har new file mode 100644 index 000000000..08eaee9d3 --- /dev/null +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/oauth2_393036114/recording.har @@ -0,0 +1,146 @@ +{ + "log": { + "_recordingName": "config-manager/push/restart/0_w/oauth2", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.6" + }, + "entries": [ + { + "_id": "ff75519a93ccab829f8ee8cf5e92b49f", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 1362, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/x-www-form-urlencoded" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-b043f6fb-81f8-413a-80c6-5c029684c12d" + }, + { + "name": "accept-api-version", + "value": "protocol=2.1,resource=1.0" + }, + { + "name": "content-length", + "value": "1362" + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 443, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/x-www-form-urlencoded", + "params": [], + "text": "assertion=&client_id=service-account&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer&scope=fr:idc:ws:admin fr:am:* fr:autoaccess:* fr:idc:esv:* fr:idc:analytics:* fr:idc:custom-domain:* fr:idc:release:* fr:idc:sso-cookie:* fr:idc:content-security-policy:* fr:idc:certificate:* fr:idm:* fr:idc:dataset:* fr:idc:cookie-domain:* fr:idc:promotion:*" + }, + "queryString": [], + "url": "https://openam-frodo-dev.forgeblocks.com/am/oauth2/access_token" + }, + "response": { + "bodySize": 1863, + "content": { + "mimeType": "application/json;charset=UTF-8", + "size": 1863, + "text": "{\"access_token\":\"\",\"scope\":\"fr:idc:ws:admin fr:am:* fr:autoaccess:* fr:idc:esv:* fr:idc:analytics:* fr:idc:custom-domain:* fr:idc:release:* fr:idc:sso-cookie:* fr:idc:content-security-policy:* fr:idc:certificate:* fr:idm:* fr:idc:dataset:* fr:idc:cookie-domain:* fr:idc:promotion:*\",\"token_type\":\"Bearer\",\"expires_in\":899}" + }, + "cookies": [], + "headers": [ + { + "name": "x-frame-options", + "value": "SAMEORIGIN" + }, + { + "name": "content-security-policy-report-only", + "value": "frame-ancestors 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "cache-control", + "value": "no-store" + }, + { + "name": "pragma", + "value": "no-cache" + }, + { + "name": "content-type", + "value": "application/json;charset=UTF-8" + }, + { + "name": "content-length", + "value": "1863" + }, + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:10:37 GMT" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-b043f6fb-81f8-413a-80c6-5c029684c12d" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + } + ], + "headersSize": 561, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:10:37.797Z", + "time": 138, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 138 + } + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/openidm_3290118515/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/openidm_3290118515/recording.har new file mode 100644 index 000000000..dbb7dd432 --- /dev/null +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/openidm_3290118515/recording.har @@ -0,0 +1,310 @@ +{ + "log": { + "_recordingName": "config-manager/push/restart/0_w/openidm", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.6" + }, + "entries": [ + { + "_id": "9cb8561357870863838a9948da32d1e8", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-b043f6fb-81f8-413a-80c6-5c029684c12d" + }, + { + "name": "authorization", + "value": "Bearer " + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 1971, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [ + { + "name": "_fields", + "value": "*" + } + ], + "url": "https://openam-frodo-dev.forgeblocks.com/openidm/managed/svcacct/810dd2f4-874b-4aad-9e0a-f8a57789f182?_fields=%2A" + }, + "response": { + "bodySize": 1408, + "content": { + "mimeType": "application/json;charset=utf-8", + "size": 1408, + "text": "{\"_id\":\"810dd2f4-874b-4aad-9e0a-f8a57789f182\",\"_rev\":\"4773460a-f4b4-4472-a12b-8c7b7ad4fd76-9686\",\"accountStatus\":\"active\",\"name\":\"Frodo-SA-1773261131370\",\"description\":\"phales@trivir.com's Frodo Service Account\",\"scopes\":[\"fr:am:*\",\"fr:idc:analytics:*\",\"fr:autoaccess:*\",\"fr:idc:certificate:*\",\"fr:idc:content-security-policy:*\",\"fr:idc:cookie-domain:*\",\"fr:idc:custom-domain:*\",\"fr:idc:dataset:*\",\"fr:idc:esv:*\",\"fr:idm:*\",\"fr:idc:promotion:*\",\"fr:idc:release:*\",\"fr:idc:sso-cookie:*\",\"fr:idc:ws:admin\"],\"jwks\":\"{\\\"keys\\\":[{\\\"kty\\\":\\\"RSA\\\",\\\"kid\\\":\\\"GIyq6foAjk7VGtM7NyJQZMEUxtAgSe02sjjgp4ey4go\\\",\\\"alg\\\":\\\"RS256\\\",\\\"e\\\":\\\"AQAB\\\",\\\"n\\\":\\\"rBa78YjWw5-Hkd2rP8uuY2fikjMf9FVeP2AUabFL2qqgVCJxs035yKQDlMAYAFnKaSUXME0vXhZKNkP5ZsWdYAl_sS-0o8HBO4AQk8dXSB--NnkPd0S-6c-sb01oy5tet1WFiKI8dfhzH9KZ65oy3ouzaSsnTjIpFQNMVaq1qQE3m2gPnmwMoRQZdP_hClkXMTtkdRapTL_cdxw7tYGGwpjFz2IJRX-fjFpE79NZdQ_dUaeWOm3tnoHAHjh01IrFu7qlT0o5Bf7-gDvoXU3eYAy5D9LcZAeXr8DiEqK-2aBltV43JSk-Z119DQhRUOFOVMlfbZzHYcWlMgPHBnneleAzChhaDnTxd3NGfqF329wfxQHUaGdj7-eVlXEEYIxmzVwFOiEK0ogEtyvkrlYqQiarxSGt1teNShBpb2QtKL4UPLh7ufxe6K961QuL-FmCkKbjGFxYY0PTegeIsf3rYTNKJRpADC9rGPDF67c5yuMbbBZU9G_GRq5Lj8yS5vG94oCM7PGmKzxxavS7neBu0BH6cqn_u6kuvbfcLtmszo7JqMnY6SqPIp0PU1wfizkjeXKG0s_6rtqQ57pH5IpZTUYwCrtkqcOLEColrUwort43MY12P-ELDuq-IaZFRxJWn8A9dqplVJzOQViUfHHtTVu5W2KiumLSXsxWUsQTb8E\\\"}]}\",\"maxCachingTime\":\"15\",\"maxIdleTime\":\"15\",\"maxSessionTime\":\"15\",\"quotaLimit\":\"5\"}" + }, + "cookies": [], + "headers": [ + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:10:38 GMT" + }, + { + "name": "vary", + "value": "Origin" + }, + { + "name": "cache-control", + "value": "no-store" + }, + { + "name": "content-security-policy", + "value": "default-src 'none';frame-ancestors 'none';sandbox" + }, + { + "name": "content-type", + "value": "application/json;charset=utf-8" + }, + { + "name": "cross-origin-opener-policy", + "value": "same-origin" + }, + { + "name": "cross-origin-resource-policy", + "value": "same-origin" + }, + { + "name": "etag", + "value": "\"4773460a-f4b4-4472-a12b-8c7b7ad4fd76-9686\"" + }, + { + "name": "expires", + "value": "0" + }, + { + "name": "pragma", + "value": "no-cache" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "x-frame-options", + "value": "DENY" + }, + { + "name": "content-length", + "value": "1408" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-b043f6fb-81f8-413a-80c6-5c029684c12d" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000" + } + ], + "headersSize": 657, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:10:37.977Z", + "time": 169, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 169 + } + }, + { + "_id": "9cb8561357870863838a9948da32d1e8", + "_order": 1, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "accept", + "value": "application/json, text/plain, */*" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "user-agent", + "value": "@rockcarver/frodo-lib/4.0.0-34" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-b043f6fb-81f8-413a-80c6-5c029684c12d" + }, + { + "name": "authorization", + "value": "Bearer " + }, + { + "name": "accept-encoding", + "value": "gzip, compress, deflate, br" + }, + { + "name": "host", + "value": "openam-frodo-dev.forgeblocks.com" + } + ], + "headersSize": 1971, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [ + { + "name": "_fields", + "value": "*" + } + ], + "url": "https://openam-frodo-dev.forgeblocks.com/openidm/managed/svcacct/810dd2f4-874b-4aad-9e0a-f8a57789f182?_fields=%2A" + }, + "response": { + "bodySize": 1408, + "content": { + "mimeType": "application/json;charset=utf-8", + "size": 1408, + "text": "{\"_id\":\"810dd2f4-874b-4aad-9e0a-f8a57789f182\",\"_rev\":\"4773460a-f4b4-4472-a12b-8c7b7ad4fd76-9686\",\"accountStatus\":\"active\",\"name\":\"Frodo-SA-1773261131370\",\"description\":\"phales@trivir.com's Frodo Service Account\",\"scopes\":[\"fr:am:*\",\"fr:idc:analytics:*\",\"fr:autoaccess:*\",\"fr:idc:certificate:*\",\"fr:idc:content-security-policy:*\",\"fr:idc:cookie-domain:*\",\"fr:idc:custom-domain:*\",\"fr:idc:dataset:*\",\"fr:idc:esv:*\",\"fr:idm:*\",\"fr:idc:promotion:*\",\"fr:idc:release:*\",\"fr:idc:sso-cookie:*\",\"fr:idc:ws:admin\"],\"jwks\":\"{\\\"keys\\\":[{\\\"kty\\\":\\\"RSA\\\",\\\"kid\\\":\\\"GIyq6foAjk7VGtM7NyJQZMEUxtAgSe02sjjgp4ey4go\\\",\\\"alg\\\":\\\"RS256\\\",\\\"e\\\":\\\"AQAB\\\",\\\"n\\\":\\\"rBa78YjWw5-Hkd2rP8uuY2fikjMf9FVeP2AUabFL2qqgVCJxs035yKQDlMAYAFnKaSUXME0vXhZKNkP5ZsWdYAl_sS-0o8HBO4AQk8dXSB--NnkPd0S-6c-sb01oy5tet1WFiKI8dfhzH9KZ65oy3ouzaSsnTjIpFQNMVaq1qQE3m2gPnmwMoRQZdP_hClkXMTtkdRapTL_cdxw7tYGGwpjFz2IJRX-fjFpE79NZdQ_dUaeWOm3tnoHAHjh01IrFu7qlT0o5Bf7-gDvoXU3eYAy5D9LcZAeXr8DiEqK-2aBltV43JSk-Z119DQhRUOFOVMlfbZzHYcWlMgPHBnneleAzChhaDnTxd3NGfqF329wfxQHUaGdj7-eVlXEEYIxmzVwFOiEK0ogEtyvkrlYqQiarxSGt1teNShBpb2QtKL4UPLh7ufxe6K961QuL-FmCkKbjGFxYY0PTegeIsf3rYTNKJRpADC9rGPDF67c5yuMbbBZU9G_GRq5Lj8yS5vG94oCM7PGmKzxxavS7neBu0BH6cqn_u6kuvbfcLtmszo7JqMnY6SqPIp0PU1wfizkjeXKG0s_6rtqQ57pH5IpZTUYwCrtkqcOLEColrUwort43MY12P-ELDuq-IaZFRxJWn8A9dqplVJzOQViUfHHtTVu5W2KiumLSXsxWUsQTb8E\\\"}]}\",\"maxCachingTime\":\"15\",\"maxIdleTime\":\"15\",\"maxSessionTime\":\"15\",\"quotaLimit\":\"5\"}" + }, + "cookies": [], + "headers": [ + { + "name": "date", + "value": "Wed, 15 Apr 2026 20:10:38 GMT" + }, + { + "name": "vary", + "value": "Origin" + }, + { + "name": "cache-control", + "value": "no-store" + }, + { + "name": "content-security-policy", + "value": "default-src 'none';frame-ancestors 'none';sandbox" + }, + { + "name": "content-type", + "value": "application/json;charset=utf-8" + }, + { + "name": "cross-origin-opener-policy", + "value": "same-origin" + }, + { + "name": "cross-origin-resource-policy", + "value": "same-origin" + }, + { + "name": "etag", + "value": "\"4773460a-f4b4-4472-a12b-8c7b7ad4fd76-9686\"" + }, + { + "name": "expires", + "value": "0" + }, + { + "name": "pragma", + "value": "no-cache" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "x-frame-options", + "value": "DENY" + }, + { + "name": "content-length", + "value": "1408" + }, + { + "name": "x-forgerock-transactionid", + "value": "frodo-b043f6fb-81f8-413a-80c6-5c029684c12d" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload;" + }, + { + "name": "x-robots-tag", + "value": "none" + }, + { + "name": "via", + "value": "1.1 google" + }, + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + } + ], + "headersSize": 682, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-04-15T20:10:38.132Z", + "time": 76, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 76 + } + } + ], + "pages": [], + "version": "1.2" + } +} From ce01d1acf0228231de89cd0a93e021c84f958f87 Mon Sep 17 00:00:00 2001 From: Dallin Sevy Date: Thu, 16 Apr 2026 14:41:13 -0600 Subject: [PATCH 2/3] Update restart function to use updated getStatus function. Update tests --- .../config-manager-push-restart.ts | 23 +-- ...figRestart.ts => FrConfigRestartOps.ts.ts} | 29 ++-- .../config-manager-pus-restart.test.js.snap | 28 ---- ...js => config-manager-push-restart.test.js} | 0 .../0_890022063/am_1076162899/recording.har | 30 ++-- .../environment_1072573434/recording.har | 36 ++--- .../oauth2_393036114/recording.har | 16 +- .../openidm_3290118515/recording.har | 32 ++-- .../am_1076162899/recording.har | 30 ++-- .../environment_1072573434/recording.har | 54 +++---- .../oauth2_393036114/recording.har | 14 +- .../openidm_3290118515/recording.har | 32 ++-- .../am_1076162899/recording.har | 38 ++--- .../environment_1072573434/recording.har | 147 +++--------------- .../oauth2_393036114/recording.har | 18 +-- .../openidm_3290118515/recording.har | 32 ++-- .../am_1076162899/recording.har | 30 ++-- .../environment_1072573434/recording.har | 36 ++--- .../oauth2_393036114/recording.har | 14 +- .../openidm_3290118515/recording.har | 32 ++-- 20 files changed, 263 insertions(+), 408 deletions(-) rename src/configManagerOps/{FRConfigRestart.ts => FrConfigRestartOps.ts.ts} (54%) delete mode 100644 test/client_cli/en/__snapshots__/config-manager-pus-restart.test.js.snap rename test/client_cli/en/{config-manager-pus-restart.test.js => config-manager-push-restart.test.js} (100%) diff --git a/src/cli/config-manager/config-manager-push/config-manager-push-restart.ts b/src/cli/config-manager/config-manager-push/config-manager-push-restart.ts index de2ef69fb..14e8de0ce 100644 --- a/src/cli/config-manager/config-manager-push/config-manager-push-restart.ts +++ b/src/cli/config-manager/config-manager-push/config-manager-push-restart.ts @@ -1,16 +1,15 @@ import { frodo } from '@rockcarver/frodo-lib'; -import { configManagerRestart } from '../../../configManagerOps/FRConfigRestart'; +import { configManagerRestart } from '../../../configManagerOps/FrConfigRestartOps.ts'; import { getTokens } from '../../../ops/AuthenticateOps'; import { printMessage, verboseMessage } from '../../../utils/Console'; import { FrodoCommand } from '../../FrodoCommand'; -const { CLOUD_DEPLOYMENT_TYPE_KEY, FORGEOPS_DEPLOYMENT_TYPE_KEY } = +const { CLOUD_DEPLOYMENT_TYPE_KEY } = frodo.utils.constants; const deploymentTypes = [ - CLOUD_DEPLOYMENT_TYPE_KEY, - FORGEOPS_DEPLOYMENT_TYPE_KEY, + CLOUD_DEPLOYMENT_TYPE_KEY ]; export default function setup() { @@ -42,22 +41,12 @@ export default function setup() { if (await getTokens(false, true, deploymentTypes)) { verboseMessage('Restarting Tenant'); const outcome = await configManagerRestart( - options.check, + options.status, + options.check, options.wait ); if (!outcome) process.exitCode = 1; - } - // unrecognized combination of options or no options - else { - printMessage( - 'Unrecognized combination of options or no options...', - 'error' - ); - - process.exitCode = 1; - program.help(); - } - }); + }}); return program; } diff --git a/src/configManagerOps/FRConfigRestart.ts b/src/configManagerOps/FrConfigRestartOps.ts.ts similarity index 54% rename from src/configManagerOps/FRConfigRestart.ts rename to src/configManagerOps/FrConfigRestartOps.ts.ts index 197307c23..fad63fb4c 100644 --- a/src/configManagerOps/FRConfigRestart.ts +++ b/src/configManagerOps/FrConfigRestartOps.ts.ts @@ -1,28 +1,25 @@ import { frodo } from '@rockcarver/frodo-lib'; - import { printError, printMessage } from '../utils/Console'; +const { checkForUpdates, applyUpdates, getStatus } = frodo.cloud.startup; -const { checkForUpdates, applyUpdates } = frodo.cloud.startup; - +/** + * Restart the environment to apply pending ESV updates. + * @param {boolean} status if true, only report the current restart status without restarting + * @param {boolean} check if true, only restart if there are ESVs that need loading + * @param {boolean} wait if true, wait for the restart to complete before returning + * @return {Promise} a promise that resolves to true if successful, false otherwise + */ export async function configManagerRestart( status?: boolean, check?: boolean, wait?: boolean ): Promise { try { - if (check) { - const updates = await checkForUpdates(); - const updateCount = - (updates.secrets?.length || 0) + (updates.variables?.length || 0); - if (updateCount > 0) { - printMessage(`${updateCount} update(s) need to be applied`); - } else { - printMessage('No updates need to be applied'); - } + if (status) { + printMessage(await getStatus()); return true; } - - if (status) { + if (check) { const updates = await checkForUpdates(); const updateCount = (updates.secrets?.length || 0) + (updates.variables?.length || 0); @@ -31,10 +28,10 @@ export async function configManagerRestart( return true; } } - const outcome = await applyUpdates(wait || false); + const outcome = await applyUpdates(!!wait); return outcome; } catch (error) { printError(error, 'Error restarting environment'); return false; } -} +} \ No newline at end of file diff --git a/test/client_cli/en/__snapshots__/config-manager-pus-restart.test.js.snap b/test/client_cli/en/__snapshots__/config-manager-pus-restart.test.js.snap deleted file mode 100644 index ced03ba74..000000000 --- a/test/client_cli/en/__snapshots__/config-manager-pus-restart.test.js.snap +++ /dev/null @@ -1,28 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`CLI help interface for 'config-manager push restart' should be expected english 1`] = ` -"Usage: frodo config-manager push restart [options] [host] [realm] [username] [password] - -[Experimental] Restart the environment. - -Arguments: - host AM base URL, e.g.: https://cdk.iam.example.com/am. To use a - connection profile, just specify a unique substring or - alias. - realm Realm. Specify realm as '/' for the root realm or 'realm' or - '/parent/child' otherwise. (default: "alpha" for Identity - Cloud tenants, "/" otherwise.) - username Username to login with. Must be an admin user with - appropriate rights to manage authentication journeys/trees. - password Password. - -Options: - -c, --check Only restart if ESVs need loading. - -s, --status Check restart status only. - -w, --wait Wait for restart to complete. - -h, --help Help - -hh, --help-more Help with all options. - -hhh, --help-all Help with all options, environment variables, and usage - examples. -" -`; diff --git a/test/client_cli/en/config-manager-pus-restart.test.js b/test/client_cli/en/config-manager-push-restart.test.js similarity index 100% rename from test/client_cli/en/config-manager-pus-restart.test.js rename to test/client_cli/en/config-manager-push-restart.test.js diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/am_1076162899/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/am_1076162899/recording.har index 8bc438638..ad1c084ef 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/am_1076162899/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/am_1076162899/recording.har @@ -25,11 +25,11 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "x-forgerock-transactionid", - "value": "frodo-e8142cb6-6afd-44a5-8baa-a31885868e5a" + "value": "frodo-b3f3120c-6852-44ea-9bf1-f6b1c3214bd6" }, { "name": "accept-api-version", @@ -55,7 +55,7 @@ "content": { "mimeType": "application/json;charset=UTF-8", "size": 615, - "text": "{\"_id\":\"*\",\"_rev\":\"1955877839\",\"domains\":[],\"protectedUserAttributes\":[\"telephoneNumber\",\"mail\"],\"cookieName\":\"6ac6499e9da2071\",\"secureCookie\":true,\"forgotPassword\":\"false\",\"forgotUsername\":\"false\",\"kbaEnabled\":\"false\",\"selfRegistration\":\"false\",\"lang\":\"en-US\",\"successfulUserRegistrationDestination\":\"default\",\"socialImplementations\":[],\"referralsEnabled\":\"false\",\"zeroPageLogin\":{\"enabled\":false,\"refererWhitelist\":[],\"allowedWithoutReferer\":true},\"realm\":\"/\",\"xuiUserSessionValidationEnabled\":true,\"fileBasedConfiguration\":true,\"userIdAttributes\":[],\"cloudOnlyFeaturesEnabled\":true,\"oauth2AIAgentsEnabled\":false}" + "text": "{\"_id\":\"*\",\"_rev\":\"1955877839\",\"domains\":[],\"protectedUserAttributes\":[\"telephoneNumber\",\"mail\"],\"cookieName\":\"6ac6499e9da2071\",\"secureCookie\":true,\"forgotPassword\":\"false\",\"forgotUsername\":\"false\",\"kbaEnabled\":\"false\",\"selfRegistration\":\"false\",\"lang\":\"en-US\",\"successfulUserRegistrationDestination\":\"default\",\"socialImplementations\":[],\"referralsEnabled\":\"false\",\"zeroPageLogin\":{\"enabled\":false,\"allowedWithoutReferer\":true,\"refererWhitelist\":[]},\"realm\":\"/\",\"xuiUserSessionValidationEnabled\":true,\"fileBasedConfiguration\":true,\"userIdAttributes\":[],\"cloudOnlyFeaturesEnabled\":true,\"oauth2AIAgentsEnabled\":false}" }, "cookies": [], "headers": [ @@ -113,11 +113,11 @@ }, { "name": "date", - "value": "Wed, 15 Apr 2026 20:08:05 GMT" + "value": "Thu, 16 Apr 2026 20:34:40 GMT" }, { "name": "x-forgerock-transactionid", - "value": "frodo-e8142cb6-6afd-44a5-8baa-a31885868e5a" + "value": "frodo-b3f3120c-6852-44ea-9bf1-f6b1c3214bd6" }, { "name": "strict-transport-security", @@ -142,8 +142,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:08:05.677Z", - "time": 251, + "startedDateTime": "2026-04-16T20:34:40.551Z", + "time": 128, "timings": { "blocked": -1, "connect": -1, @@ -151,7 +151,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 251 + "wait": 128 } }, { @@ -172,11 +172,11 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "x-forgerock-transactionid", - "value": "frodo-e8142cb6-6afd-44a5-8baa-a31885868e5a" + "value": "frodo-b3f3120c-6852-44ea-9bf1-f6b1c3214bd6" }, { "name": "accept-api-version", @@ -264,11 +264,11 @@ }, { "name": "date", - "value": "Wed, 15 Apr 2026 20:08:07 GMT" + "value": "Thu, 16 Apr 2026 20:34:40 GMT" }, { "name": "x-forgerock-transactionid", - "value": "frodo-e8142cb6-6afd-44a5-8baa-a31885868e5a" + "value": "frodo-b3f3120c-6852-44ea-9bf1-f6b1c3214bd6" }, { "name": "strict-transport-security", @@ -293,8 +293,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:08:07.384Z", - "time": 118, + "startedDateTime": "2026-04-16T20:34:40.856Z", + "time": 85, "timings": { "blocked": -1, "connect": -1, @@ -302,7 +302,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 118 + "wait": 85 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/environment_1072573434/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/environment_1072573434/recording.har index 21232da64..c99928ca6 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/environment_1072573434/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/environment_1072573434/recording.har @@ -25,7 +25,7 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "accept-api-version", @@ -77,11 +77,11 @@ }, { "name": "date", - "value": "Wed, 15 Apr 2026 20:08:07 GMT" + "value": "Thu, 16 Apr 2026 20:34:41 GMT" }, { "name": "x-forgerock-transactionid", - "value": "2d1dc42c-5f61-4701-a606-29d2cda85fde" + "value": "221e93a6-839f-41e9-9349-1842c9cdb33a" }, { "name": "strict-transport-security", @@ -106,8 +106,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:08:07.507Z", - "time": 111, + "startedDateTime": "2026-04-16T20:34:40.949Z", + "time": 72, "timings": { "blocked": -1, "connect": -1, @@ -115,7 +115,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 111 + "wait": 72 } }, { @@ -136,7 +136,7 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "accept-api-version", @@ -176,7 +176,7 @@ }, { "name": "date", - "value": "Wed, 15 Apr 2026 20:08:07 GMT" + "value": "Thu, 16 Apr 2026 20:34:41 GMT" }, { "name": "content-length", @@ -184,7 +184,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "81b81e61-5902-4bfc-9d0a-03ab294a347e" + "value": "e9f5fcd0-1852-41a6-af16-742dab76e471" }, { "name": "strict-transport-security", @@ -209,8 +209,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:08:07.710Z", - "time": 277, + "startedDateTime": "2026-04-16T20:34:41.116Z", + "time": 250, "timings": { "blocked": -1, "connect": -1, @@ -218,7 +218,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 277 + "wait": 250 } }, { @@ -239,7 +239,7 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "accept-api-version", @@ -292,7 +292,7 @@ }, { "name": "date", - "value": "Wed, 15 Apr 2026 20:08:08 GMT" + "value": "Thu, 16 Apr 2026 20:34:41 GMT" }, { "name": "content-length", @@ -300,7 +300,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "e2819b66-c79e-46f3-810c-fd6d8a884c2c" + "value": "a1a69d0d-2279-43de-90bf-438a185ba206" }, { "name": "strict-transport-security", @@ -325,8 +325,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:08:07.994Z", - "time": 260, + "startedDateTime": "2026-04-16T20:34:41.374Z", + "time": 275, "timings": { "blocked": -1, "connect": -1, @@ -334,7 +334,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 260 + "wait": 275 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/oauth2_393036114/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/oauth2_393036114/recording.har index 898ee105a..fd192a5ef 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/oauth2_393036114/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/oauth2_393036114/recording.har @@ -25,11 +25,11 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "x-forgerock-transactionid", - "value": "frodo-e8142cb6-6afd-44a5-8baa-a31885868e5a" + "value": "frodo-b3f3120c-6852-44ea-9bf1-f6b1c3214bd6" }, { "name": "accept-api-version", @@ -64,7 +64,7 @@ "content": { "mimeType": "application/json;charset=UTF-8", "size": 1863, - "text": "{\"access_token\":\"\",\"scope\":\"fr:idc:ws:admin fr:am:* fr:autoaccess:* fr:idc:esv:* fr:idc:analytics:* fr:idc:custom-domain:* fr:idc:release:* fr:idc:sso-cookie:* fr:idc:content-security-policy:* fr:idc:certificate:* fr:idm:* fr:idc:dataset:* fr:idc:cookie-domain:* fr:idc:promotion:*\",\"token_type\":\"Bearer\",\"expires_in\":898}" + "text": "{\"access_token\":\"\",\"scope\":\"fr:idc:ws:admin fr:am:* fr:autoaccess:* fr:idc:esv:* fr:idc:analytics:* fr:idc:custom-domain:* fr:idc:release:* fr:idc:sso-cookie:* fr:idc:content-security-policy:* fr:idc:certificate:* fr:idm:* fr:idc:dataset:* fr:idc:cookie-domain:* fr:idc:promotion:*\",\"token_type\":\"Bearer\",\"expires_in\":899}" }, "cookies": [], "headers": [ @@ -98,11 +98,11 @@ }, { "name": "date", - "value": "Wed, 15 Apr 2026 20:08:07 GMT" + "value": "Thu, 16 Apr 2026 20:34:40 GMT" }, { "name": "x-forgerock-transactionid", - "value": "frodo-e8142cb6-6afd-44a5-8baa-a31885868e5a" + "value": "frodo-b3f3120c-6852-44ea-9bf1-f6b1c3214bd6" }, { "name": "strict-transport-security", @@ -127,8 +127,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:08:05.940Z", - "time": 1438, + "startedDateTime": "2026-04-16T20:34:40.717Z", + "time": 133, "timings": { "blocked": -1, "connect": -1, @@ -136,7 +136,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1438 + "wait": 133 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/openidm_3290118515/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/openidm_3290118515/recording.har index f83ed6db5..978fd781b 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/openidm_3290118515/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/openidm_3290118515/recording.har @@ -25,11 +25,11 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "x-forgerock-transactionid", - "value": "frodo-e8142cb6-6afd-44a5-8baa-a31885868e5a" + "value": "frodo-b3f3120c-6852-44ea-9bf1-f6b1c3214bd6" }, { "name": "authorization", @@ -66,7 +66,7 @@ "headers": [ { "name": "date", - "value": "Wed, 15 Apr 2026 20:08:07 GMT" + "value": "Thu, 16 Apr 2026 20:34:41 GMT" }, { "name": "vary", @@ -118,7 +118,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-e8142cb6-6afd-44a5-8baa-a31885868e5a" + "value": "frodo-b3f3120c-6852-44ea-9bf1-f6b1c3214bd6" }, { "name": "strict-transport-security", @@ -134,17 +134,17 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "value": "h3=\":443\"; ma=2592000" } ], - "headersSize": 682, + "headersSize": 657, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:08:07.420Z", - "time": 187, + "startedDateTime": "2026-04-16T20:34:40.895Z", + "time": 168, "timings": { "blocked": -1, "connect": -1, @@ -152,7 +152,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 187 + "wait": 168 } }, { @@ -173,11 +173,11 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "x-forgerock-transactionid", - "value": "frodo-e8142cb6-6afd-44a5-8baa-a31885868e5a" + "value": "frodo-b3f3120c-6852-44ea-9bf1-f6b1c3214bd6" }, { "name": "authorization", @@ -214,7 +214,7 @@ "headers": [ { "name": "date", - "value": "Wed, 15 Apr 2026 20:08:07 GMT" + "value": "Thu, 16 Apr 2026 20:34:41 GMT" }, { "name": "vary", @@ -266,7 +266,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-e8142cb6-6afd-44a5-8baa-a31885868e5a" + "value": "frodo-b3f3120c-6852-44ea-9bf1-f6b1c3214bd6" }, { "name": "strict-transport-security", @@ -291,8 +291,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:08:07.625Z", - "time": 75, + "startedDateTime": "2026-04-16T20:34:41.031Z", + "time": 76, "timings": { "blocked": -1, "connect": -1, @@ -300,7 +300,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 75 + "wait": 76 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/am_1076162899/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/am_1076162899/recording.har index cf54e6212..7cb42ccca 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/am_1076162899/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/am_1076162899/recording.har @@ -25,11 +25,11 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "x-forgerock-transactionid", - "value": "frodo-d9b4d27e-da28-4c92-856e-15822ed96806" + "value": "frodo-27ba046c-827c-42dc-875d-0fbda865337f" }, { "name": "accept-api-version", @@ -55,7 +55,7 @@ "content": { "mimeType": "application/json;charset=UTF-8", "size": 615, - "text": "{\"_id\":\"*\",\"_rev\":\"1955877839\",\"domains\":[],\"protectedUserAttributes\":[\"telephoneNumber\",\"mail\"],\"cookieName\":\"6ac6499e9da2071\",\"secureCookie\":true,\"forgotPassword\":\"false\",\"forgotUsername\":\"false\",\"kbaEnabled\":\"false\",\"selfRegistration\":\"false\",\"lang\":\"en-US\",\"successfulUserRegistrationDestination\":\"default\",\"socialImplementations\":[],\"referralsEnabled\":\"false\",\"zeroPageLogin\":{\"enabled\":false,\"refererWhitelist\":[],\"allowedWithoutReferer\":true},\"realm\":\"/\",\"xuiUserSessionValidationEnabled\":true,\"fileBasedConfiguration\":true,\"userIdAttributes\":[],\"cloudOnlyFeaturesEnabled\":true,\"oauth2AIAgentsEnabled\":false}" + "text": "{\"_id\":\"*\",\"_rev\":\"1955877839\",\"domains\":[],\"protectedUserAttributes\":[\"telephoneNumber\",\"mail\"],\"cookieName\":\"6ac6499e9da2071\",\"secureCookie\":true,\"forgotPassword\":\"false\",\"forgotUsername\":\"false\",\"kbaEnabled\":\"false\",\"selfRegistration\":\"false\",\"lang\":\"en-US\",\"successfulUserRegistrationDestination\":\"default\",\"socialImplementations\":[],\"referralsEnabled\":\"false\",\"zeroPageLogin\":{\"enabled\":false,\"allowedWithoutReferer\":true,\"refererWhitelist\":[]},\"realm\":\"/\",\"xuiUserSessionValidationEnabled\":true,\"fileBasedConfiguration\":true,\"userIdAttributes\":[],\"cloudOnlyFeaturesEnabled\":true,\"oauth2AIAgentsEnabled\":false}" }, "cookies": [], "headers": [ @@ -113,11 +113,11 @@ }, { "name": "date", - "value": "Wed, 15 Apr 2026 20:09:11 GMT" + "value": "Thu, 16 Apr 2026 20:37:10 GMT" }, { "name": "x-forgerock-transactionid", - "value": "frodo-d9b4d27e-da28-4c92-856e-15822ed96806" + "value": "frodo-27ba046c-827c-42dc-875d-0fbda865337f" }, { "name": "strict-transport-security", @@ -142,8 +142,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:09:11.066Z", - "time": 119, + "startedDateTime": "2026-04-16T20:37:10.183Z", + "time": 130, "timings": { "blocked": -1, "connect": -1, @@ -151,7 +151,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 119 + "wait": 130 } }, { @@ -172,11 +172,11 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "x-forgerock-transactionid", - "value": "frodo-d9b4d27e-da28-4c92-856e-15822ed96806" + "value": "frodo-27ba046c-827c-42dc-875d-0fbda865337f" }, { "name": "accept-api-version", @@ -264,11 +264,11 @@ }, { "name": "date", - "value": "Wed, 15 Apr 2026 20:09:11 GMT" + "value": "Thu, 16 Apr 2026 20:37:10 GMT" }, { "name": "x-forgerock-transactionid", - "value": "frodo-d9b4d27e-da28-4c92-856e-15822ed96806" + "value": "frodo-27ba046c-827c-42dc-875d-0fbda865337f" }, { "name": "strict-transport-security", @@ -293,8 +293,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:09:11.379Z", - "time": 93, + "startedDateTime": "2026-04-16T20:37:10.460Z", + "time": 111, "timings": { "blocked": -1, "connect": -1, @@ -302,7 +302,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 93 + "wait": 111 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/environment_1072573434/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/environment_1072573434/recording.har index 438c61eba..001420d37 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/environment_1072573434/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/environment_1072573434/recording.har @@ -25,7 +25,7 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "accept-api-version", @@ -77,11 +77,11 @@ }, { "name": "date", - "value": "Wed, 15 Apr 2026 20:09:11 GMT" + "value": "Thu, 16 Apr 2026 20:37:10 GMT" }, { "name": "x-forgerock-transactionid", - "value": "5832725f-8ed1-4892-91c2-1e1163d6eab3" + "value": "10057e28-d118-483e-8463-9b33c63544f9" }, { "name": "strict-transport-security", @@ -106,8 +106,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:09:11.482Z", - "time": 83, + "startedDateTime": "2026-04-16T20:37:10.578Z", + "time": 69, "timings": { "blocked": -1, "connect": -1, @@ -115,7 +115,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 83 + "wait": 69 } }, { @@ -136,7 +136,7 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "accept-api-version", @@ -162,11 +162,11 @@ "url": "https://openam-frodo-dev.forgeblocks.com/environment/secrets" }, "response": { - "bodySize": 802, + "bodySize": 1023, "content": { "mimeType": "application/json", - "size": 802, - "text": "{\"pagedResultsCookie\":null,\"remainingPagedResults\":-1,\"result\":[{\"_id\":\"esv-test\",\"activeVersion\":\"3\",\"description\":\"test\",\"encoding\":\"generic\",\"lastChangeDate\":\"2026-04-13T17:24:40.840844Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"loadedVersion\":\"3\",\"useInPlaceholders\":true},{\"_id\":\"esv-test-2\",\"activeVersion\":\"2\",\"description\":\"\",\"encoding\":\"generic\",\"lastChangeDate\":\"2026-04-15T20:02:34.484574Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"loadedVersion\":\"2\",\"useInPlaceholders\":true},{\"_id\":\"esv-test-3\",\"activeVersion\":\"3\",\"description\":\"\",\"encoding\":\"generic\",\"lastChangeDate\":\"2026-04-15T20:05:34.35818Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"loadedVersion\":\"3\",\"useInPlaceholders\":true}],\"resultCount\":3,\"totalPagedResults\":-1,\"totalPagedResultsPolicy\":\"NONE\"}" + "size": 1023, + "text": "{\"pagedResultsCookie\":null,\"remainingPagedResults\":-1,\"result\":[{\"_id\":\"esv-test\",\"activeVersion\":\"3\",\"description\":\"test\",\"encoding\":\"generic\",\"lastChangeDate\":\"2026-04-13T17:24:40.840844Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"loadedVersion\":\"3\",\"useInPlaceholders\":true},{\"_id\":\"esv-test-2\",\"activeVersion\":\"2\",\"description\":\"\",\"encoding\":\"generic\",\"lastChangeDate\":\"2026-04-15T20:02:34.484574Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"loadedVersion\":\"2\",\"useInPlaceholders\":true},{\"_id\":\"esv-test-3\",\"activeVersion\":\"3\",\"description\":\"\",\"encoding\":\"generic\",\"lastChangeDate\":\"2026-04-15T20:05:34.35818Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"loadedVersion\":\"3\",\"useInPlaceholders\":true},{\"_id\":\"esv-test-4\",\"activeVersion\":\"1\",\"description\":\"\",\"encoding\":\"generic\",\"lastChangeDate\":\"2026-04-16T17:05:35.720334Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"loadedVersion\":\"1\",\"useInPlaceholders\":true}],\"resultCount\":4,\"totalPagedResults\":-1,\"totalPagedResultsPolicy\":\"NONE\"}" }, "cookies": [], "headers": [ @@ -176,15 +176,15 @@ }, { "name": "date", - "value": "Wed, 15 Apr 2026 20:09:11 GMT" + "value": "Thu, 16 Apr 2026 20:37:10 GMT" }, { "name": "content-length", - "value": "802" + "value": "1023" }, { "name": "x-forgerock-transactionid", - "value": "b5775021-4d8d-4f28-8afa-323713f805e0" + "value": "f254eb94-b247-43fe-8d19-7e426ac3f661" }, { "name": "strict-transport-security", @@ -203,14 +203,14 @@ "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" } ], - "headersSize": 325, + "headersSize": 326, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:09:11.689Z", - "time": 207, + "startedDateTime": "2026-04-16T20:37:10.737Z", + "time": 145, "timings": { "blocked": -1, "connect": -1, @@ -218,7 +218,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 207 + "wait": 145 } }, { @@ -239,7 +239,7 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "accept-api-version", @@ -265,11 +265,11 @@ "url": "https://openam-frodo-dev.forgeblocks.com/environment/variables" }, "response": { - "bodySize": 1154, + "bodySize": 1349, "content": { "mimeType": "application/json", - "size": 1154, - "text": "{\"pagedResultsCookie\":null,\"remainingPagedResults\":-1,\"result\":[{\"_id\":\"esv-frodo-test-variable-1\",\"description\":\"description1\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-03-11T21:03:06.985865Z\",\"lastChangedBy\":\"Frodo-SA-1773261131370\",\"loaded\":true,\"valueBase64\":\"dmFsdWUx\"},{\"_id\":\"esv-frodo-test-variable-2\",\"description\":\"description2\",\"expressionType\":\"int\",\"lastChangeDate\":\"2026-03-11T21:03:09.552101Z\",\"lastChangedBy\":\"Frodo-SA-1773261131370\",\"loaded\":true,\"valueBase64\":\"NDI=\"},{\"_id\":\"esv-test-variable\",\"description\":\"test\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-03-25T21:11:19.814977Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"valueBase64\":\"dGVzdA==\"},{\"_id\":\"esv-test-variable-3\",\"description\":\"\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-04-15T19:21:33.037658Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"valueBase64\":\"dGVzdA==\"},{\"_id\":\"esv-test-variable-4\",\"description\":\"\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-04-15T19:23:26.107957Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"valueBase64\":\"dGVzdA==\"}],\"resultCount\":5,\"totalPagedResults\":-1,\"totalPagedResultsPolicy\":\"NONE\"}" + "size": 1349, + "text": "{\"pagedResultsCookie\":null,\"remainingPagedResults\":-1,\"result\":[{\"_id\":\"esv-frodo-test-variable-1\",\"description\":\"description1\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-03-11T21:03:06.985865Z\",\"lastChangedBy\":\"Frodo-SA-1773261131370\",\"loaded\":true,\"valueBase64\":\"dmFsdWUx\"},{\"_id\":\"esv-frodo-test-variable-2\",\"description\":\"description2\",\"expressionType\":\"int\",\"lastChangeDate\":\"2026-03-11T21:03:09.552101Z\",\"lastChangedBy\":\"Frodo-SA-1773261131370\",\"loaded\":true,\"valueBase64\":\"NDI=\"},{\"_id\":\"esv-test-variable\",\"description\":\"test\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-03-25T21:11:19.814977Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"valueBase64\":\"dGVzdA==\"},{\"_id\":\"esv-test-variable-3\",\"description\":\"\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-04-15T19:21:33.037658Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"valueBase64\":\"dGVzdA==\"},{\"_id\":\"esv-test-variable-4\",\"description\":\"\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-04-15T19:23:26.107957Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"valueBase64\":\"dGVzdA==\"},{\"_id\":\"esv-test-variable-5\",\"description\":\"\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-04-16T17:05:51.444072Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"valueBase64\":\"dGVzdA==\"}],\"resultCount\":6,\"totalPagedResults\":-1,\"totalPagedResultsPolicy\":\"NONE\"}" }, "cookies": [], "headers": [ @@ -279,15 +279,15 @@ }, { "name": "date", - "value": "Wed, 15 Apr 2026 20:09:12 GMT" + "value": "Thu, 16 Apr 2026 20:37:11 GMT" }, { "name": "content-length", - "value": "1154" + "value": "1349" }, { "name": "x-forgerock-transactionid", - "value": "8c6ce929-8f76-4638-8240-cf1fbbc94847" + "value": "62e75eef-fdea-4ab9-bfa8-f20c3c29e329" }, { "name": "strict-transport-security", @@ -312,8 +312,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:09:11.903Z", - "time": 277, + "startedDateTime": "2026-04-16T20:37:10.889Z", + "time": 585, "timings": { "blocked": -1, "connect": -1, @@ -321,7 +321,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 277 + "wait": 585 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/oauth2_393036114/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/oauth2_393036114/recording.har index f86cd9550..f702fde68 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/oauth2_393036114/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/oauth2_393036114/recording.har @@ -25,11 +25,11 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "x-forgerock-transactionid", - "value": "frodo-d9b4d27e-da28-4c92-856e-15822ed96806" + "value": "frodo-27ba046c-827c-42dc-875d-0fbda865337f" }, { "name": "accept-api-version", @@ -98,11 +98,11 @@ }, { "name": "date", - "value": "Wed, 15 Apr 2026 20:09:11 GMT" + "value": "Thu, 16 Apr 2026 20:37:10 GMT" }, { "name": "x-forgerock-transactionid", - "value": "frodo-d9b4d27e-da28-4c92-856e-15822ed96806" + "value": "frodo-27ba046c-827c-42dc-875d-0fbda865337f" }, { "name": "strict-transport-security", @@ -127,8 +127,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:09:11.198Z", - "time": 174, + "startedDateTime": "2026-04-16T20:37:10.329Z", + "time": 119, "timings": { "blocked": -1, "connect": -1, @@ -136,7 +136,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 174 + "wait": 119 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/openidm_3290118515/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/openidm_3290118515/recording.har index 96bf5ac0f..50a1d3cf6 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/openidm_3290118515/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/openidm_3290118515/recording.har @@ -25,11 +25,11 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "x-forgerock-transactionid", - "value": "frodo-d9b4d27e-da28-4c92-856e-15822ed96806" + "value": "frodo-27ba046c-827c-42dc-875d-0fbda865337f" }, { "name": "authorization", @@ -66,7 +66,7 @@ "headers": [ { "name": "date", - "value": "Wed, 15 Apr 2026 20:09:11 GMT" + "value": "Thu, 16 Apr 2026 20:37:10 GMT" }, { "name": "vary", @@ -118,7 +118,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-d9b4d27e-da28-4c92-856e-15822ed96806" + "value": "frodo-27ba046c-827c-42dc-875d-0fbda865337f" }, { "name": "strict-transport-security", @@ -134,17 +134,17 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "value": "h3=\":443\"; ma=2592000" } ], - "headersSize": 682, + "headersSize": 657, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:09:11.425Z", - "time": 201, + "startedDateTime": "2026-04-16T20:37:10.518Z", + "time": 164, "timings": { "blocked": -1, "connect": -1, @@ -152,7 +152,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 201 + "wait": 164 } }, { @@ -173,11 +173,11 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "x-forgerock-transactionid", - "value": "frodo-d9b4d27e-da28-4c92-856e-15822ed96806" + "value": "frodo-27ba046c-827c-42dc-875d-0fbda865337f" }, { "name": "authorization", @@ -214,7 +214,7 @@ "headers": [ { "name": "date", - "value": "Wed, 15 Apr 2026 20:09:11 GMT" + "value": "Thu, 16 Apr 2026 20:37:10 GMT" }, { "name": "vary", @@ -266,7 +266,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-d9b4d27e-da28-4c92-856e-15822ed96806" + "value": "frodo-27ba046c-827c-42dc-875d-0fbda865337f" }, { "name": "strict-transport-security", @@ -291,8 +291,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:09:11.572Z", - "time": 109, + "startedDateTime": "2026-04-16T20:37:10.655Z", + "time": 73, "timings": { "blocked": -1, "connect": -1, @@ -300,7 +300,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 109 + "wait": 73 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/am_1076162899/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/am_1076162899/recording.har index 7a8b59181..a406058d5 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/am_1076162899/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/am_1076162899/recording.har @@ -25,11 +25,11 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "x-forgerock-transactionid", - "value": "frodo-ad5f9e58-5e47-43c9-ad9f-0280162d7cbf" + "value": "frodo-5c257f84-63db-49b0-b5a8-90a9b841276a" }, { "name": "accept-api-version", @@ -55,7 +55,7 @@ "content": { "mimeType": "application/json;charset=UTF-8", "size": 615, - "text": "{\"_id\":\"*\",\"_rev\":\"1955877839\",\"domains\":[],\"protectedUserAttributes\":[\"telephoneNumber\",\"mail\"],\"cookieName\":\"6ac6499e9da2071\",\"secureCookie\":true,\"forgotPassword\":\"false\",\"forgotUsername\":\"false\",\"kbaEnabled\":\"false\",\"selfRegistration\":\"false\",\"lang\":\"en-US\",\"successfulUserRegistrationDestination\":\"default\",\"socialImplementations\":[],\"referralsEnabled\":\"false\",\"zeroPageLogin\":{\"enabled\":false,\"refererWhitelist\":[],\"allowedWithoutReferer\":true},\"realm\":\"/\",\"xuiUserSessionValidationEnabled\":true,\"fileBasedConfiguration\":true,\"userIdAttributes\":[],\"cloudOnlyFeaturesEnabled\":true,\"oauth2AIAgentsEnabled\":false}" + "text": "{\"_id\":\"*\",\"_rev\":\"1955877839\",\"domains\":[],\"protectedUserAttributes\":[\"telephoneNumber\",\"mail\"],\"cookieName\":\"6ac6499e9da2071\",\"secureCookie\":true,\"forgotPassword\":\"false\",\"forgotUsername\":\"false\",\"kbaEnabled\":\"false\",\"selfRegistration\":\"false\",\"lang\":\"en-US\",\"successfulUserRegistrationDestination\":\"default\",\"socialImplementations\":[],\"referralsEnabled\":\"false\",\"zeroPageLogin\":{\"enabled\":false,\"allowedWithoutReferer\":true,\"refererWhitelist\":[]},\"realm\":\"/\",\"xuiUserSessionValidationEnabled\":true,\"fileBasedConfiguration\":true,\"userIdAttributes\":[],\"cloudOnlyFeaturesEnabled\":true,\"oauth2AIAgentsEnabled\":false}" }, "cookies": [], "headers": [ @@ -113,11 +113,11 @@ }, { "name": "date", - "value": "Wed, 15 Apr 2026 20:08:48 GMT" + "value": "Thu, 16 Apr 2026 20:36:45 GMT" }, { "name": "x-forgerock-transactionid", - "value": "frodo-ad5f9e58-5e47-43c9-ad9f-0280162d7cbf" + "value": "frodo-5c257f84-63db-49b0-b5a8-90a9b841276a" }, { "name": "strict-transport-security", @@ -133,17 +133,17 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" } ], - "headersSize": 762, + "headersSize": 787, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:08:47.896Z", - "time": 194, + "startedDateTime": "2026-04-16T20:36:45.212Z", + "time": 136, "timings": { "blocked": -1, "connect": -1, @@ -151,7 +151,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 194 + "wait": 136 } }, { @@ -172,11 +172,11 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "x-forgerock-transactionid", - "value": "frodo-ad5f9e58-5e47-43c9-ad9f-0280162d7cbf" + "value": "frodo-5c257f84-63db-49b0-b5a8-90a9b841276a" }, { "name": "accept-api-version", @@ -264,11 +264,11 @@ }, { "name": "date", - "value": "Wed, 15 Apr 2026 20:08:48 GMT" + "value": "Thu, 16 Apr 2026 20:36:45 GMT" }, { "name": "x-forgerock-transactionid", - "value": "frodo-ad5f9e58-5e47-43c9-ad9f-0280162d7cbf" + "value": "frodo-5c257f84-63db-49b0-b5a8-90a9b841276a" }, { "name": "strict-transport-security", @@ -284,17 +284,17 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" } ], - "headersSize": 763, + "headersSize": 788, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:08:48.735Z", - "time": 114, + "startedDateTime": "2026-04-16T20:36:45.610Z", + "time": 105, "timings": { "blocked": -1, "connect": -1, @@ -302,7 +302,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 114 + "wait": 105 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/environment_1072573434/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/environment_1072573434/recording.har index e92f65d79..05eba0dcd 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/environment_1072573434/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/environment_1072573434/recording.har @@ -25,7 +25,7 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "accept-api-version", @@ -77,11 +77,11 @@ }, { "name": "date", - "value": "Wed, 15 Apr 2026 20:08:48 GMT" + "value": "Thu, 16 Apr 2026 20:36:45 GMT" }, { "name": "x-forgerock-transactionid", - "value": "78773741-1120-4ac5-92b2-c63d63d6cc23" + "value": "e5cb8099-d486-40e2-918e-0526af32b100" }, { "name": "strict-transport-security", @@ -97,17 +97,17 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" } ], - "headersSize": 388, + "headersSize": 413, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:08:48.854Z", - "time": 88, + "startedDateTime": "2026-04-16T20:36:45.725Z", + "time": 92, "timings": { "blocked": -1, "connect": -1, @@ -115,11 +115,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 88 + "wait": 92 } }, { - "_id": "a24d647eb74a9e69a6b0bd9ed23dc6ce", + "_id": "b5680c863538492bb4fa6020d2e8e068", "_order": 0, "cache": {}, "request": { @@ -136,7 +136,7 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "accept-api-version", @@ -159,14 +159,14 @@ "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://openam-frodo-dev.forgeblocks.com/environment/secrets" + "url": "https://openam-frodo-dev.forgeblocks.com/environment/startup" }, "response": { - "bodySize": 802, + "bodySize": 26, "content": { "mimeType": "application/json", - "size": 802, - "text": "{\"pagedResultsCookie\":null,\"remainingPagedResults\":-1,\"result\":[{\"_id\":\"esv-test\",\"activeVersion\":\"3\",\"description\":\"test\",\"encoding\":\"generic\",\"lastChangeDate\":\"2026-04-13T17:24:40.840844Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"loadedVersion\":\"3\",\"useInPlaceholders\":true},{\"_id\":\"esv-test-2\",\"activeVersion\":\"2\",\"description\":\"\",\"encoding\":\"generic\",\"lastChangeDate\":\"2026-04-15T20:02:34.484574Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"loadedVersion\":\"2\",\"useInPlaceholders\":true},{\"_id\":\"esv-test-3\",\"activeVersion\":\"3\",\"description\":\"\",\"encoding\":\"generic\",\"lastChangeDate\":\"2026-04-15T20:05:34.35818Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"loadedVersion\":\"3\",\"useInPlaceholders\":true}],\"resultCount\":3,\"totalPagedResults\":-1,\"totalPagedResultsPolicy\":\"NONE\"}" + "size": 26, + "text": "{\"restartStatus\":\"ready\"}" }, "cookies": [], "headers": [ @@ -176,15 +176,15 @@ }, { "name": "date", - "value": "Wed, 15 Apr 2026 20:08:49 GMT" + "value": "Thu, 16 Apr 2026 20:36:46 GMT" }, { "name": "content-length", - "value": "802" + "value": "26" }, { "name": "x-forgerock-transactionid", - "value": "94d08a2c-15f3-4262-b846-179a9d760044" + "value": "8cfcc286-07d9-4507-9ca4-6fd3dd60d8b1" }, { "name": "strict-transport-security", @@ -200,17 +200,17 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" } ], - "headersSize": 300, + "headersSize": 324, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:08:49.045Z", - "time": 191, + "startedDateTime": "2026-04-16T20:36:45.918Z", + "time": 252, "timings": { "blocked": -1, "connect": -1, @@ -218,110 +218,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 191 - } - }, - { - "_id": "3e8d5f28d2136edf1b00c2f955eaa5fa", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "name": "accept", - "value": "application/json, text/plain, */*" - }, - { - "name": "content-type", - "value": "application/json" - }, - { - "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" - }, - { - "name": "accept-api-version", - "value": "protocol=1.0,resource=1.0" - }, - { - "name": "authorization", - "value": "Bearer " - }, - { - "name": "accept-encoding", - "value": "gzip, compress, deflate, br" - }, - { - "name": "host", - "value": "openam-frodo-dev.forgeblocks.com" - } - ], - "headersSize": 1896, - "httpVersion": "HTTP/1.1", - "method": "GET", - "queryString": [], - "url": "https://openam-frodo-dev.forgeblocks.com/environment/variables" - }, - "response": { - "bodySize": 1154, - "content": { - "mimeType": "application/json", - "size": 1154, - "text": "{\"pagedResultsCookie\":null,\"remainingPagedResults\":-1,\"result\":[{\"_id\":\"esv-frodo-test-variable-1\",\"description\":\"description1\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-03-11T21:03:06.985865Z\",\"lastChangedBy\":\"Frodo-SA-1773261131370\",\"loaded\":true,\"valueBase64\":\"dmFsdWUx\"},{\"_id\":\"esv-frodo-test-variable-2\",\"description\":\"description2\",\"expressionType\":\"int\",\"lastChangeDate\":\"2026-03-11T21:03:09.552101Z\",\"lastChangedBy\":\"Frodo-SA-1773261131370\",\"loaded\":true,\"valueBase64\":\"NDI=\"},{\"_id\":\"esv-test-variable\",\"description\":\"test\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-03-25T21:11:19.814977Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"valueBase64\":\"dGVzdA==\"},{\"_id\":\"esv-test-variable-3\",\"description\":\"\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-04-15T19:21:33.037658Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"valueBase64\":\"dGVzdA==\"},{\"_id\":\"esv-test-variable-4\",\"description\":\"\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-04-15T19:23:26.107957Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"valueBase64\":\"dGVzdA==\"}],\"resultCount\":5,\"totalPagedResults\":-1,\"totalPagedResultsPolicy\":\"NONE\"}" - }, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json" - }, - { - "name": "date", - "value": "Wed, 15 Apr 2026 20:08:49 GMT" - }, - { - "name": "content-length", - "value": "1154" - }, - { - "name": "x-forgerock-transactionid", - "value": "fafa6d99-7e13-4694-950f-96886578e13e" - }, - { - "name": "strict-transport-security", - "value": "max-age=31536000; includeSubDomains; preload;" - }, - { - "name": "x-robots-tag", - "value": "none" - }, - { - "name": "via", - "value": "1.1 google" - }, - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000" - } - ], - "headersSize": 301, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2026-04-15T20:08:49.242Z", - "time": 254, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 254 + "wait": 252 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/oauth2_393036114/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/oauth2_393036114/recording.har index 538cdc73a..83e9850fc 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/oauth2_393036114/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/oauth2_393036114/recording.har @@ -25,11 +25,11 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "x-forgerock-transactionid", - "value": "frodo-ad5f9e58-5e47-43c9-ad9f-0280162d7cbf" + "value": "frodo-5c257f84-63db-49b0-b5a8-90a9b841276a" }, { "name": "accept-api-version", @@ -98,11 +98,11 @@ }, { "name": "date", - "value": "Wed, 15 Apr 2026 20:08:48 GMT" + "value": "Thu, 16 Apr 2026 20:36:45 GMT" }, { "name": "x-forgerock-transactionid", - "value": "frodo-ad5f9e58-5e47-43c9-ad9f-0280162d7cbf" + "value": "frodo-5c257f84-63db-49b0-b5a8-90a9b841276a" }, { "name": "strict-transport-security", @@ -118,17 +118,17 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" } ], - "headersSize": 536, + "headersSize": 561, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:08:48.103Z", - "time": 625, + "startedDateTime": "2026-04-16T20:36:45.372Z", + "time": 204, "timings": { "blocked": -1, "connect": -1, @@ -136,7 +136,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 625 + "wait": 204 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/openidm_3290118515/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/openidm_3290118515/recording.har index ac373a119..0bc60ce1c 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/openidm_3290118515/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/openidm_3290118515/recording.har @@ -25,11 +25,11 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "x-forgerock-transactionid", - "value": "frodo-ad5f9e58-5e47-43c9-ad9f-0280162d7cbf" + "value": "frodo-5c257f84-63db-49b0-b5a8-90a9b841276a" }, { "name": "authorization", @@ -66,7 +66,7 @@ "headers": [ { "name": "date", - "value": "Wed, 15 Apr 2026 20:08:48 GMT" + "value": "Thu, 16 Apr 2026 20:36:45 GMT" }, { "name": "vary", @@ -118,7 +118,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-ad5f9e58-5e47-43c9-ad9f-0280162d7cbf" + "value": "frodo-5c257f84-63db-49b0-b5a8-90a9b841276a" }, { "name": "strict-transport-security", @@ -143,8 +143,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:08:48.771Z", - "time": 189, + "startedDateTime": "2026-04-16T20:36:45.644Z", + "time": 198, "timings": { "blocked": -1, "connect": -1, @@ -152,7 +152,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 189 + "wait": 198 } }, { @@ -173,11 +173,11 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "x-forgerock-transactionid", - "value": "frodo-ad5f9e58-5e47-43c9-ad9f-0280162d7cbf" + "value": "frodo-5c257f84-63db-49b0-b5a8-90a9b841276a" }, { "name": "authorization", @@ -214,7 +214,7 @@ "headers": [ { "name": "date", - "value": "Wed, 15 Apr 2026 20:08:48 GMT" + "value": "Thu, 16 Apr 2026 20:36:45 GMT" }, { "name": "vary", @@ -266,7 +266,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-ad5f9e58-5e47-43c9-ad9f-0280162d7cbf" + "value": "frodo-5c257f84-63db-49b0-b5a8-90a9b841276a" }, { "name": "strict-transport-security", @@ -282,17 +282,17 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" } ], - "headersSize": 657, + "headersSize": 682, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:08:48.950Z", - "time": 87, + "startedDateTime": "2026-04-16T20:36:45.822Z", + "time": 90, "timings": { "blocked": -1, "connect": -1, @@ -300,7 +300,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 87 + "wait": 90 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/am_1076162899/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/am_1076162899/recording.har index 5cca10b6e..9c1e3e41b 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/am_1076162899/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/am_1076162899/recording.har @@ -25,11 +25,11 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "x-forgerock-transactionid", - "value": "frodo-b043f6fb-81f8-413a-80c6-5c029684c12d" + "value": "frodo-6e7f0d33-22ce-44fc-897f-b0ca49f93a3b" }, { "name": "accept-api-version", @@ -55,7 +55,7 @@ "content": { "mimeType": "application/json;charset=UTF-8", "size": 615, - "text": "{\"_id\":\"*\",\"_rev\":\"1955877839\",\"domains\":[],\"protectedUserAttributes\":[\"telephoneNumber\",\"mail\"],\"cookieName\":\"6ac6499e9da2071\",\"secureCookie\":true,\"forgotPassword\":\"false\",\"forgotUsername\":\"false\",\"kbaEnabled\":\"false\",\"selfRegistration\":\"false\",\"lang\":\"en-US\",\"successfulUserRegistrationDestination\":\"default\",\"socialImplementations\":[],\"referralsEnabled\":\"false\",\"zeroPageLogin\":{\"enabled\":false,\"refererWhitelist\":[],\"allowedWithoutReferer\":true},\"realm\":\"/\",\"xuiUserSessionValidationEnabled\":true,\"fileBasedConfiguration\":true,\"userIdAttributes\":[],\"cloudOnlyFeaturesEnabled\":true,\"oauth2AIAgentsEnabled\":false}" + "text": "{\"_id\":\"*\",\"_rev\":\"1955877839\",\"domains\":[],\"protectedUserAttributes\":[\"telephoneNumber\",\"mail\"],\"cookieName\":\"6ac6499e9da2071\",\"secureCookie\":true,\"forgotPassword\":\"false\",\"forgotUsername\":\"false\",\"kbaEnabled\":\"false\",\"selfRegistration\":\"false\",\"lang\":\"en-US\",\"successfulUserRegistrationDestination\":\"default\",\"socialImplementations\":[],\"referralsEnabled\":\"false\",\"zeroPageLogin\":{\"enabled\":false,\"allowedWithoutReferer\":true,\"refererWhitelist\":[]},\"realm\":\"/\",\"xuiUserSessionValidationEnabled\":true,\"fileBasedConfiguration\":true,\"userIdAttributes\":[],\"cloudOnlyFeaturesEnabled\":true,\"oauth2AIAgentsEnabled\":false}" }, "cookies": [], "headers": [ @@ -113,11 +113,11 @@ }, { "name": "date", - "value": "Wed, 15 Apr 2026 20:10:37 GMT" + "value": "Thu, 16 Apr 2026 20:37:35 GMT" }, { "name": "x-forgerock-transactionid", - "value": "frodo-b043f6fb-81f8-413a-80c6-5c029684c12d" + "value": "frodo-6e7f0d33-22ce-44fc-897f-b0ca49f93a3b" }, { "name": "strict-transport-security", @@ -142,8 +142,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:10:37.514Z", - "time": 269, + "startedDateTime": "2026-04-16T20:37:35.203Z", + "time": 126, "timings": { "blocked": -1, "connect": -1, @@ -151,7 +151,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 269 + "wait": 126 } }, { @@ -172,11 +172,11 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "x-forgerock-transactionid", - "value": "frodo-b043f6fb-81f8-413a-80c6-5c029684c12d" + "value": "frodo-6e7f0d33-22ce-44fc-897f-b0ca49f93a3b" }, { "name": "accept-api-version", @@ -264,11 +264,11 @@ }, { "name": "date", - "value": "Wed, 15 Apr 2026 20:10:38 GMT" + "value": "Thu, 16 Apr 2026 20:37:35 GMT" }, { "name": "x-forgerock-transactionid", - "value": "frodo-b043f6fb-81f8-413a-80c6-5c029684c12d" + "value": "frodo-6e7f0d33-22ce-44fc-897f-b0ca49f93a3b" }, { "name": "strict-transport-security", @@ -293,8 +293,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:10:37.942Z", - "time": 90, + "startedDateTime": "2026-04-16T20:37:35.468Z", + "time": 87, "timings": { "blocked": -1, "connect": -1, @@ -302,7 +302,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 90 + "wait": 87 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/environment_1072573434/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/environment_1072573434/recording.har index b2f5b9a3f..acaf9c843 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/environment_1072573434/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/environment_1072573434/recording.har @@ -25,7 +25,7 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "accept-api-version", @@ -77,11 +77,11 @@ }, { "name": "date", - "value": "Wed, 15 Apr 2026 20:10:38 GMT" + "value": "Thu, 16 Apr 2026 20:37:35 GMT" }, { "name": "x-forgerock-transactionid", - "value": "b5dadb55-2376-46bd-9ce1-8f98e17e008c" + "value": "8c8a3682-5961-4eda-b964-b66b8215f02f" }, { "name": "strict-transport-security", @@ -106,8 +106,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:10:38.037Z", - "time": 89, + "startedDateTime": "2026-04-16T20:37:35.567Z", + "time": 79, "timings": { "blocked": -1, "connect": -1, @@ -115,7 +115,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 89 + "wait": 79 } }, { @@ -136,7 +136,7 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "accept-api-version", @@ -176,7 +176,7 @@ }, { "name": "date", - "value": "Wed, 15 Apr 2026 20:10:38 GMT" + "value": "Thu, 16 Apr 2026 20:37:35 GMT" }, { "name": "content-length", @@ -184,7 +184,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "84eab368-de00-421b-8240-0bd36f186adc" + "value": "ae4e25de-bde2-4d4f-8dd5-62a78e9e47a3" }, { "name": "strict-transport-security", @@ -209,8 +209,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:10:38.215Z", - "time": 237, + "startedDateTime": "2026-04-16T20:37:35.729Z", + "time": 197, "timings": { "blocked": -1, "connect": -1, @@ -218,7 +218,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 237 + "wait": 197 } }, { @@ -239,7 +239,7 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "accept-api-version", @@ -292,7 +292,7 @@ }, { "name": "date", - "value": "Wed, 15 Apr 2026 20:10:38 GMT" + "value": "Thu, 16 Apr 2026 20:37:36 GMT" }, { "name": "content-length", @@ -300,7 +300,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "e891d270-37d3-46cf-986c-0fd091f159a2" + "value": "102f1a95-3751-4280-b749-5aab7e2e9756" }, { "name": "strict-transport-security", @@ -325,8 +325,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:10:38.458Z", - "time": 209, + "startedDateTime": "2026-04-16T20:37:35.936Z", + "time": 225, "timings": { "blocked": -1, "connect": -1, @@ -334,7 +334,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 209 + "wait": 225 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/oauth2_393036114/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/oauth2_393036114/recording.har index 08eaee9d3..4b921b153 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/oauth2_393036114/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/oauth2_393036114/recording.har @@ -25,11 +25,11 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "x-forgerock-transactionid", - "value": "frodo-b043f6fb-81f8-413a-80c6-5c029684c12d" + "value": "frodo-6e7f0d33-22ce-44fc-897f-b0ca49f93a3b" }, { "name": "accept-api-version", @@ -98,11 +98,11 @@ }, { "name": "date", - "value": "Wed, 15 Apr 2026 20:10:37 GMT" + "value": "Thu, 16 Apr 2026 20:37:35 GMT" }, { "name": "x-forgerock-transactionid", - "value": "frodo-b043f6fb-81f8-413a-80c6-5c029684c12d" + "value": "frodo-6e7f0d33-22ce-44fc-897f-b0ca49f93a3b" }, { "name": "strict-transport-security", @@ -127,8 +127,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:10:37.797Z", - "time": 138, + "startedDateTime": "2026-04-16T20:37:35.345Z", + "time": 113, "timings": { "blocked": -1, "connect": -1, @@ -136,7 +136,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 138 + "wait": 113 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/openidm_3290118515/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/openidm_3290118515/recording.har index dbb7dd432..7b763dc23 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/openidm_3290118515/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/openidm_3290118515/recording.har @@ -25,11 +25,11 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "x-forgerock-transactionid", - "value": "frodo-b043f6fb-81f8-413a-80c6-5c029684c12d" + "value": "frodo-6e7f0d33-22ce-44fc-897f-b0ca49f93a3b" }, { "name": "authorization", @@ -66,7 +66,7 @@ "headers": [ { "name": "date", - "value": "Wed, 15 Apr 2026 20:10:38 GMT" + "value": "Thu, 16 Apr 2026 20:37:35 GMT" }, { "name": "vary", @@ -118,7 +118,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-b043f6fb-81f8-413a-80c6-5c029684c12d" + "value": "frodo-6e7f0d33-22ce-44fc-897f-b0ca49f93a3b" }, { "name": "strict-transport-security", @@ -134,17 +134,17 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" } ], - "headersSize": 657, + "headersSize": 682, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:10:37.977Z", - "time": 169, + "startedDateTime": "2026-04-16T20:37:35.507Z", + "time": 158, "timings": { "blocked": -1, "connect": -1, @@ -152,7 +152,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 169 + "wait": 158 } }, { @@ -173,11 +173,11 @@ }, { "name": "user-agent", - "value": "@rockcarver/frodo-lib/4.0.0-34" + "value": "@rockcarver/frodo-lib/4.0.0-33" }, { "name": "x-forgerock-transactionid", - "value": "frodo-b043f6fb-81f8-413a-80c6-5c029684c12d" + "value": "frodo-6e7f0d33-22ce-44fc-897f-b0ca49f93a3b" }, { "name": "authorization", @@ -214,7 +214,7 @@ "headers": [ { "name": "date", - "value": "Wed, 15 Apr 2026 20:10:38 GMT" + "value": "Thu, 16 Apr 2026 20:37:35 GMT" }, { "name": "vary", @@ -266,7 +266,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-b043f6fb-81f8-413a-80c6-5c029684c12d" + "value": "frodo-6e7f0d33-22ce-44fc-897f-b0ca49f93a3b" }, { "name": "strict-transport-security", @@ -291,8 +291,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-15T20:10:38.132Z", - "time": 76, + "startedDateTime": "2026-04-16T20:37:35.653Z", + "time": 67, "timings": { "blocked": -1, "connect": -1, @@ -300,7 +300,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 76 + "wait": 67 } } ], From b2cca19df9cc0a12150aa367d6bfe304eb04f2c8 Mon Sep 17 00:00:00 2001 From: Dallin Sevy Date: Wed, 22 Apr 2026 11:01:13 -0600 Subject: [PATCH 3/3] Update restart command to use readStatus instead of getStatus --- src/configManagerOps/FrConfigRestartOps.ts.ts | 4 +- .../config-manager-push-restart.test.js.snap | 30 +++++++++++++ .../config-manager-push.test.js.snap | 3 ++ .../0_890022063/am_1076162899/recording.har | 38 ++++++++--------- .../environment_1072573434/recording.har | 30 ++++++------- .../oauth2_393036114/recording.har | 12 +++--- .../openidm_3290118515/recording.har | 28 ++++++------- .../am_1076162899/recording.har | 38 ++++++++--------- .../environment_1072573434/recording.har | 42 +++++++++---------- .../oauth2_393036114/recording.har | 14 +++---- .../openidm_3290118515/recording.har | 24 +++++------ .../am_1076162899/recording.har | 36 ++++++++-------- .../environment_1072573434/recording.har | 20 ++++----- .../oauth2_393036114/recording.har | 12 +++--- .../openidm_3290118515/recording.har | 24 +++++------ .../am_1076162899/recording.har | 38 ++++++++--------- .../environment_1072573434/recording.har | 30 ++++++------- .../oauth2_393036114/recording.har | 12 +++--- .../openidm_3290118515/recording.har | 28 ++++++------- 19 files changed, 248 insertions(+), 215 deletions(-) create mode 100644 test/client_cli/en/__snapshots__/config-manager-push-restart.test.js.snap diff --git a/src/configManagerOps/FrConfigRestartOps.ts.ts b/src/configManagerOps/FrConfigRestartOps.ts.ts index fad63fb4c..056b1e702 100644 --- a/src/configManagerOps/FrConfigRestartOps.ts.ts +++ b/src/configManagerOps/FrConfigRestartOps.ts.ts @@ -1,6 +1,6 @@ import { frodo } from '@rockcarver/frodo-lib'; import { printError, printMessage } from '../utils/Console'; -const { checkForUpdates, applyUpdates, getStatus } = frodo.cloud.startup; +const { checkForUpdates, applyUpdates, readStatus } = frodo.cloud.startup; /** * Restart the environment to apply pending ESV updates. @@ -16,7 +16,7 @@ export async function configManagerRestart( ): Promise { try { if (status) { - printMessage(await getStatus()); + printMessage(await readStatus()); return true; } if (check) { diff --git a/test/client_cli/en/__snapshots__/config-manager-push-restart.test.js.snap b/test/client_cli/en/__snapshots__/config-manager-push-restart.test.js.snap new file mode 100644 index 000000000..c551d2cf5 --- /dev/null +++ b/test/client_cli/en/__snapshots__/config-manager-push-restart.test.js.snap @@ -0,0 +1,30 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`CLI help interface for 'config-manager push restart' should be expected english 1`] = ` +"Usage: frodo config-manager push restart [options] [host] [realm] [username] [password] + +[Experimental] Restart the environment. + +Arguments: + host AM base URL, e.g.: https://cdk.iam.example.com/am. To use a + connection profile, just specify a unique substring or + alias. + realm Realm. Specify realm as '/' for the root realm or 'realm' or + '/parent/child' otherwise. (default: "alpha" for Identity + Cloud tenants, "/" otherwise.) + username Username to login with. Must be an admin user with + appropriate rights to manage authentication journeys/trees. + password Password. + +Deployment: Cloud-only + +Options: + -c, --check Only restart if ESVs need loading. + -s, --status Check restart status only. + -w, --wait Wait for restart to complete. + -h, --help Help + -hh, --help-more Help with all options. + -hhh, --help-all Help with all options, environment variables, and usage + examples. +" +`; diff --git a/test/client_cli/en/__snapshots__/config-manager-push.test.js.snap b/test/client_cli/en/__snapshots__/config-manager-push.test.js.snap index c079ca13f..1995495ec 100644 --- a/test/client_cli/en/__snapshots__/config-manager-push.test.js.snap +++ b/test/client_cli/en/__snapshots__/config-manager-push.test.js.snap @@ -33,5 +33,8 @@ Commands: terms-and-conditions [Experimental] Import terms and conditions. themes [Experimental] Import themes. ui-config [Experimental] Import UI configuration. + + (Cloud-only): + restart [Experimental] Restart the environment. " `; diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/am_1076162899/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/am_1076162899/recording.har index ad1c084ef..381ef3824 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/am_1076162899/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/am_1076162899/recording.har @@ -29,7 +29,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-b3f3120c-6852-44ea-9bf1-f6b1c3214bd6" + "value": "frodo-7a1178d1-471a-4877-9480-87708b48ebda" }, { "name": "accept-api-version", @@ -55,7 +55,7 @@ "content": { "mimeType": "application/json;charset=UTF-8", "size": 615, - "text": "{\"_id\":\"*\",\"_rev\":\"1955877839\",\"domains\":[],\"protectedUserAttributes\":[\"telephoneNumber\",\"mail\"],\"cookieName\":\"6ac6499e9da2071\",\"secureCookie\":true,\"forgotPassword\":\"false\",\"forgotUsername\":\"false\",\"kbaEnabled\":\"false\",\"selfRegistration\":\"false\",\"lang\":\"en-US\",\"successfulUserRegistrationDestination\":\"default\",\"socialImplementations\":[],\"referralsEnabled\":\"false\",\"zeroPageLogin\":{\"enabled\":false,\"allowedWithoutReferer\":true,\"refererWhitelist\":[]},\"realm\":\"/\",\"xuiUserSessionValidationEnabled\":true,\"fileBasedConfiguration\":true,\"userIdAttributes\":[],\"cloudOnlyFeaturesEnabled\":true,\"oauth2AIAgentsEnabled\":false}" + "text": "{\"_id\":\"*\",\"_rev\":\"1955877839\",\"domains\":[],\"protectedUserAttributes\":[\"telephoneNumber\",\"mail\"],\"cookieName\":\"6ac6499e9da2071\",\"secureCookie\":true,\"forgotPassword\":\"false\",\"forgotUsername\":\"false\",\"kbaEnabled\":\"false\",\"selfRegistration\":\"false\",\"lang\":\"en-US\",\"successfulUserRegistrationDestination\":\"default\",\"socialImplementations\":[],\"referralsEnabled\":\"false\",\"zeroPageLogin\":{\"enabled\":false,\"refererWhitelist\":[],\"allowedWithoutReferer\":true},\"realm\":\"/\",\"xuiUserSessionValidationEnabled\":true,\"fileBasedConfiguration\":true,\"userIdAttributes\":[],\"cloudOnlyFeaturesEnabled\":true,\"oauth2AIAgentsEnabled\":false}" }, "cookies": [], "headers": [ @@ -113,11 +113,11 @@ }, { "name": "date", - "value": "Thu, 16 Apr 2026 20:34:40 GMT" + "value": "Wed, 22 Apr 2026 16:44:49 GMT" }, { "name": "x-forgerock-transactionid", - "value": "frodo-b3f3120c-6852-44ea-9bf1-f6b1c3214bd6" + "value": "frodo-7a1178d1-471a-4877-9480-87708b48ebda" }, { "name": "strict-transport-security", @@ -142,8 +142,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:34:40.551Z", - "time": 128, + "startedDateTime": "2026-04-22T16:44:48.974Z", + "time": 163, "timings": { "blocked": -1, "connect": -1, @@ -151,7 +151,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 128 + "wait": 163 } }, { @@ -176,7 +176,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-b3f3120c-6852-44ea-9bf1-f6b1c3214bd6" + "value": "frodo-7a1178d1-471a-4877-9480-87708b48ebda" }, { "name": "accept-api-version", @@ -202,11 +202,11 @@ "url": "https://openam-frodo-dev.forgeblocks.com/am/json/serverinfo/version" }, "response": { - "bodySize": 276, + "bodySize": 275, "content": { "mimeType": "application/json;charset=UTF-8", - "size": 276, - "text": "{\"_id\":\"version\",\"_rev\":\"-1876078088\",\"version\":\"9.0.0-SNAPSHOT\",\"fullVersion\":\"ForgeRock Access Management 9.0.0-SNAPSHOT Build 2a2686af9631bd8d8866c92ea2411814899acefd (2026-March-30 15:23)\",\"revision\":\"2a2686af9631bd8d8866c92ea2411814899acefd\",\"date\":\"2026-March-30 15:23\"}" + "size": 275, + "text": "{\"_id\":\"version\",\"_rev\":\"1171477248\",\"version\":\"9.0.0-SNAPSHOT\",\"fullVersion\":\"ForgeRock Access Management 9.0.0-SNAPSHOT Build 304c60a9fe7797e1045c631600098d4465b73e4d (2026-April-15 10:21)\",\"revision\":\"304c60a9fe7797e1045c631600098d4465b73e4d\",\"date\":\"2026-April-15 10:21\"}" }, "cookies": [], "headers": [ @@ -244,7 +244,7 @@ }, { "name": "etag", - "value": "\"-1876078088\"" + "value": "\"1171477248\"" }, { "name": "expires", @@ -260,15 +260,15 @@ }, { "name": "content-length", - "value": "276" + "value": "275" }, { "name": "date", - "value": "Thu, 16 Apr 2026 20:34:40 GMT" + "value": "Wed, 22 Apr 2026 16:44:49 GMT" }, { "name": "x-forgerock-transactionid", - "value": "frodo-b3f3120c-6852-44ea-9bf1-f6b1c3214bd6" + "value": "frodo-7a1178d1-471a-4877-9480-87708b48ebda" }, { "name": "strict-transport-security", @@ -287,14 +287,14 @@ "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" } ], - "headersSize": 788, + "headersSize": 787, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:34:40.856Z", - "time": 85, + "startedDateTime": "2026-04-22T16:44:49.785Z", + "time": 108, "timings": { "blocked": -1, "connect": -1, @@ -302,7 +302,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 85 + "wait": 108 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/environment_1072573434/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/environment_1072573434/recording.har index c99928ca6..29a2d6a9f 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/environment_1072573434/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/environment_1072573434/recording.har @@ -77,11 +77,11 @@ }, { "name": "date", - "value": "Thu, 16 Apr 2026 20:34:41 GMT" + "value": "Wed, 22 Apr 2026 16:44:49 GMT" }, { "name": "x-forgerock-transactionid", - "value": "221e93a6-839f-41e9-9349-1842c9cdb33a" + "value": "5e6dc79d-e3f4-47a5-8c79-55f19f4772a0" }, { "name": "strict-transport-security", @@ -106,8 +106,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:34:40.949Z", - "time": 72, + "startedDateTime": "2026-04-22T16:44:49.899Z", + "time": 110, "timings": { "blocked": -1, "connect": -1, @@ -115,7 +115,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 72 + "wait": 110 } }, { @@ -176,7 +176,7 @@ }, { "name": "date", - "value": "Thu, 16 Apr 2026 20:34:41 GMT" + "value": "Wed, 22 Apr 2026 16:44:50 GMT" }, { "name": "content-length", @@ -184,7 +184,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "e9f5fcd0-1852-41a6-af16-742dab76e471" + "value": "c419e736-5fc3-4d88-a0cb-dca1266d0245" }, { "name": "strict-transport-security", @@ -209,8 +209,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:34:41.116Z", - "time": 250, + "startedDateTime": "2026-04-22T16:44:50.093Z", + "time": 241, "timings": { "blocked": -1, "connect": -1, @@ -218,7 +218,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 250 + "wait": 241 } }, { @@ -292,7 +292,7 @@ }, { "name": "date", - "value": "Thu, 16 Apr 2026 20:34:41 GMT" + "value": "Wed, 22 Apr 2026 16:44:50 GMT" }, { "name": "content-length", @@ -300,7 +300,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "a1a69d0d-2279-43de-90bf-438a185ba206" + "value": "db29ee6f-79bf-483f-b1f5-6f13df89fcea" }, { "name": "strict-transport-security", @@ -325,8 +325,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:34:41.374Z", - "time": 275, + "startedDateTime": "2026-04-22T16:44:50.345Z", + "time": 190, "timings": { "blocked": -1, "connect": -1, @@ -334,7 +334,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 275 + "wait": 190 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/oauth2_393036114/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/oauth2_393036114/recording.har index fd192a5ef..7aef28ed0 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/oauth2_393036114/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/oauth2_393036114/recording.har @@ -29,7 +29,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-b3f3120c-6852-44ea-9bf1-f6b1c3214bd6" + "value": "frodo-7a1178d1-471a-4877-9480-87708b48ebda" }, { "name": "accept-api-version", @@ -98,11 +98,11 @@ }, { "name": "date", - "value": "Thu, 16 Apr 2026 20:34:40 GMT" + "value": "Wed, 22 Apr 2026 16:44:49 GMT" }, { "name": "x-forgerock-transactionid", - "value": "frodo-b3f3120c-6852-44ea-9bf1-f6b1c3214bd6" + "value": "frodo-7a1178d1-471a-4877-9480-87708b48ebda" }, { "name": "strict-transport-security", @@ -127,8 +127,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:34:40.717Z", - "time": 133, + "startedDateTime": "2026-04-22T16:44:49.169Z", + "time": 591, "timings": { "blocked": -1, "connect": -1, @@ -136,7 +136,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 133 + "wait": 591 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/openidm_3290118515/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/openidm_3290118515/recording.har index 978fd781b..3790a451f 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/openidm_3290118515/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_890022063/openidm_3290118515/recording.har @@ -29,7 +29,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-b3f3120c-6852-44ea-9bf1-f6b1c3214bd6" + "value": "frodo-7a1178d1-471a-4877-9480-87708b48ebda" }, { "name": "authorization", @@ -66,7 +66,7 @@ "headers": [ { "name": "date", - "value": "Thu, 16 Apr 2026 20:34:41 GMT" + "value": "Wed, 22 Apr 2026 16:44:49 GMT" }, { "name": "vary", @@ -118,7 +118,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-b3f3120c-6852-44ea-9bf1-f6b1c3214bd6" + "value": "frodo-7a1178d1-471a-4877-9480-87708b48ebda" }, { "name": "strict-transport-security", @@ -134,17 +134,17 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" } ], - "headersSize": 657, + "headersSize": 682, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:34:40.895Z", - "time": 168, + "startedDateTime": "2026-04-22T16:44:49.820Z", + "time": 191, "timings": { "blocked": -1, "connect": -1, @@ -152,7 +152,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 168 + "wait": 191 } }, { @@ -177,7 +177,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-b3f3120c-6852-44ea-9bf1-f6b1c3214bd6" + "value": "frodo-7a1178d1-471a-4877-9480-87708b48ebda" }, { "name": "authorization", @@ -214,7 +214,7 @@ "headers": [ { "name": "date", - "value": "Thu, 16 Apr 2026 20:34:41 GMT" + "value": "Wed, 22 Apr 2026 16:44:50 GMT" }, { "name": "vary", @@ -266,7 +266,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-b3f3120c-6852-44ea-9bf1-f6b1c3214bd6" + "value": "frodo-7a1178d1-471a-4877-9480-87708b48ebda" }, { "name": "strict-transport-security", @@ -291,8 +291,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:34:41.031Z", - "time": 76, + "startedDateTime": "2026-04-22T16:44:50.014Z", + "time": 70, "timings": { "blocked": -1, "connect": -1, @@ -300,7 +300,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 76 + "wait": 70 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/am_1076162899/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/am_1076162899/recording.har index 7cb42ccca..085c9ce1c 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/am_1076162899/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/am_1076162899/recording.har @@ -29,7 +29,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-27ba046c-827c-42dc-875d-0fbda865337f" + "value": "frodo-8dee2236-958f-4ba6-816a-ce964f3f4ba7" }, { "name": "accept-api-version", @@ -55,7 +55,7 @@ "content": { "mimeType": "application/json;charset=UTF-8", "size": 615, - "text": "{\"_id\":\"*\",\"_rev\":\"1955877839\",\"domains\":[],\"protectedUserAttributes\":[\"telephoneNumber\",\"mail\"],\"cookieName\":\"6ac6499e9da2071\",\"secureCookie\":true,\"forgotPassword\":\"false\",\"forgotUsername\":\"false\",\"kbaEnabled\":\"false\",\"selfRegistration\":\"false\",\"lang\":\"en-US\",\"successfulUserRegistrationDestination\":\"default\",\"socialImplementations\":[],\"referralsEnabled\":\"false\",\"zeroPageLogin\":{\"enabled\":false,\"allowedWithoutReferer\":true,\"refererWhitelist\":[]},\"realm\":\"/\",\"xuiUserSessionValidationEnabled\":true,\"fileBasedConfiguration\":true,\"userIdAttributes\":[],\"cloudOnlyFeaturesEnabled\":true,\"oauth2AIAgentsEnabled\":false}" + "text": "{\"_id\":\"*\",\"_rev\":\"1955877839\",\"domains\":[],\"protectedUserAttributes\":[\"telephoneNumber\",\"mail\"],\"cookieName\":\"6ac6499e9da2071\",\"secureCookie\":true,\"forgotPassword\":\"false\",\"forgotUsername\":\"false\",\"kbaEnabled\":\"false\",\"selfRegistration\":\"false\",\"lang\":\"en-US\",\"successfulUserRegistrationDestination\":\"default\",\"socialImplementations\":[],\"referralsEnabled\":\"false\",\"zeroPageLogin\":{\"enabled\":false,\"refererWhitelist\":[],\"allowedWithoutReferer\":true},\"realm\":\"/\",\"xuiUserSessionValidationEnabled\":true,\"fileBasedConfiguration\":true,\"userIdAttributes\":[],\"cloudOnlyFeaturesEnabled\":true,\"oauth2AIAgentsEnabled\":false}" }, "cookies": [], "headers": [ @@ -113,11 +113,11 @@ }, { "name": "date", - "value": "Thu, 16 Apr 2026 20:37:10 GMT" + "value": "Wed, 22 Apr 2026 16:51:30 GMT" }, { "name": "x-forgerock-transactionid", - "value": "frodo-27ba046c-827c-42dc-875d-0fbda865337f" + "value": "frodo-8dee2236-958f-4ba6-816a-ce964f3f4ba7" }, { "name": "strict-transport-security", @@ -142,8 +142,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:37:10.183Z", - "time": 130, + "startedDateTime": "2026-04-22T16:51:30.233Z", + "time": 224, "timings": { "blocked": -1, "connect": -1, @@ -151,7 +151,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 130 + "wait": 224 } }, { @@ -176,7 +176,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-27ba046c-827c-42dc-875d-0fbda865337f" + "value": "frodo-8dee2236-958f-4ba6-816a-ce964f3f4ba7" }, { "name": "accept-api-version", @@ -202,11 +202,11 @@ "url": "https://openam-frodo-dev.forgeblocks.com/am/json/serverinfo/version" }, "response": { - "bodySize": 276, + "bodySize": 275, "content": { "mimeType": "application/json;charset=UTF-8", - "size": 276, - "text": "{\"_id\":\"version\",\"_rev\":\"-1876078088\",\"version\":\"9.0.0-SNAPSHOT\",\"fullVersion\":\"ForgeRock Access Management 9.0.0-SNAPSHOT Build 2a2686af9631bd8d8866c92ea2411814899acefd (2026-March-30 15:23)\",\"revision\":\"2a2686af9631bd8d8866c92ea2411814899acefd\",\"date\":\"2026-March-30 15:23\"}" + "size": 275, + "text": "{\"_id\":\"version\",\"_rev\":\"1171477248\",\"version\":\"9.0.0-SNAPSHOT\",\"fullVersion\":\"ForgeRock Access Management 9.0.0-SNAPSHOT Build 304c60a9fe7797e1045c631600098d4465b73e4d (2026-April-15 10:21)\",\"revision\":\"304c60a9fe7797e1045c631600098d4465b73e4d\",\"date\":\"2026-April-15 10:21\"}" }, "cookies": [], "headers": [ @@ -244,7 +244,7 @@ }, { "name": "etag", - "value": "\"-1876078088\"" + "value": "\"1171477248\"" }, { "name": "expires", @@ -260,15 +260,15 @@ }, { "name": "content-length", - "value": "276" + "value": "275" }, { "name": "date", - "value": "Thu, 16 Apr 2026 20:37:10 GMT" + "value": "Wed, 22 Apr 2026 16:51:31 GMT" }, { "name": "x-forgerock-transactionid", - "value": "frodo-27ba046c-827c-42dc-875d-0fbda865337f" + "value": "frodo-8dee2236-958f-4ba6-816a-ce964f3f4ba7" }, { "name": "strict-transport-security", @@ -287,14 +287,14 @@ "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" } ], - "headersSize": 788, + "headersSize": 787, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:37:10.460Z", - "time": 111, + "startedDateTime": "2026-04-22T16:51:31.514Z", + "time": 270, "timings": { "blocked": -1, "connect": -1, @@ -302,7 +302,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 111 + "wait": 270 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/environment_1072573434/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/environment_1072573434/recording.har index 001420d37..57bf690a5 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/environment_1072573434/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/environment_1072573434/recording.har @@ -77,11 +77,11 @@ }, { "name": "date", - "value": "Thu, 16 Apr 2026 20:37:10 GMT" + "value": "Wed, 22 Apr 2026 16:51:31 GMT" }, { "name": "x-forgerock-transactionid", - "value": "10057e28-d118-483e-8463-9b33c63544f9" + "value": "e2dc39dc-d58c-41b8-ac98-708e4789c059" }, { "name": "strict-transport-security", @@ -106,8 +106,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:37:10.578Z", - "time": 69, + "startedDateTime": "2026-04-22T16:51:31.792Z", + "time": 127, "timings": { "blocked": -1, "connect": -1, @@ -115,7 +115,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 69 + "wait": 127 } }, { @@ -166,7 +166,7 @@ "content": { "mimeType": "application/json", "size": 1023, - "text": "{\"pagedResultsCookie\":null,\"remainingPagedResults\":-1,\"result\":[{\"_id\":\"esv-test\",\"activeVersion\":\"3\",\"description\":\"test\",\"encoding\":\"generic\",\"lastChangeDate\":\"2026-04-13T17:24:40.840844Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"loadedVersion\":\"3\",\"useInPlaceholders\":true},{\"_id\":\"esv-test-2\",\"activeVersion\":\"2\",\"description\":\"\",\"encoding\":\"generic\",\"lastChangeDate\":\"2026-04-15T20:02:34.484574Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"loadedVersion\":\"2\",\"useInPlaceholders\":true},{\"_id\":\"esv-test-3\",\"activeVersion\":\"3\",\"description\":\"\",\"encoding\":\"generic\",\"lastChangeDate\":\"2026-04-15T20:05:34.35818Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"loadedVersion\":\"3\",\"useInPlaceholders\":true},{\"_id\":\"esv-test-4\",\"activeVersion\":\"1\",\"description\":\"\",\"encoding\":\"generic\",\"lastChangeDate\":\"2026-04-16T17:05:35.720334Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"loadedVersion\":\"1\",\"useInPlaceholders\":true}],\"resultCount\":4,\"totalPagedResults\":-1,\"totalPagedResultsPolicy\":\"NONE\"}" + "text": "{\"pagedResultsCookie\":null,\"remainingPagedResults\":-1,\"result\":[{\"_id\":\"esv-test\",\"activeVersion\":\"4\",\"description\":\"test\",\"encoding\":\"generic\",\"lastChangeDate\":\"2026-04-22T16:48:51.392636Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"loadedVersion\":\"4\",\"useInPlaceholders\":true},{\"_id\":\"esv-test-2\",\"activeVersion\":\"2\",\"description\":\"\",\"encoding\":\"generic\",\"lastChangeDate\":\"2026-04-15T20:02:34.484574Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"loadedVersion\":\"2\",\"useInPlaceholders\":true},{\"_id\":\"esv-test-3\",\"activeVersion\":\"3\",\"description\":\"\",\"encoding\":\"generic\",\"lastChangeDate\":\"2026-04-15T20:05:34.35818Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"loadedVersion\":\"3\",\"useInPlaceholders\":true},{\"_id\":\"esv-test-4\",\"activeVersion\":\"1\",\"description\":\"\",\"encoding\":\"generic\",\"lastChangeDate\":\"2026-04-16T17:05:35.720334Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"loadedVersion\":\"1\",\"useInPlaceholders\":true}],\"resultCount\":4,\"totalPagedResults\":-1,\"totalPagedResultsPolicy\":\"NONE\"}" }, "cookies": [], "headers": [ @@ -176,7 +176,7 @@ }, { "name": "date", - "value": "Thu, 16 Apr 2026 20:37:10 GMT" + "value": "Wed, 22 Apr 2026 16:51:32 GMT" }, { "name": "content-length", @@ -184,7 +184,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "f254eb94-b247-43fe-8d19-7e426ac3f661" + "value": "075d4a1d-0f9e-4cca-b917-f97a9cacb9f6" }, { "name": "strict-transport-security", @@ -209,8 +209,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:37:10.737Z", - "time": 145, + "startedDateTime": "2026-04-22T16:51:32.009Z", + "time": 225, "timings": { "blocked": -1, "connect": -1, @@ -218,7 +218,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 145 + "wait": 225 } }, { @@ -265,11 +265,11 @@ "url": "https://openam-frodo-dev.forgeblocks.com/environment/variables" }, "response": { - "bodySize": 1349, + "bodySize": 920, "content": { "mimeType": "application/json", - "size": 1349, - "text": "{\"pagedResultsCookie\":null,\"remainingPagedResults\":-1,\"result\":[{\"_id\":\"esv-frodo-test-variable-1\",\"description\":\"description1\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-03-11T21:03:06.985865Z\",\"lastChangedBy\":\"Frodo-SA-1773261131370\",\"loaded\":true,\"valueBase64\":\"dmFsdWUx\"},{\"_id\":\"esv-frodo-test-variable-2\",\"description\":\"description2\",\"expressionType\":\"int\",\"lastChangeDate\":\"2026-03-11T21:03:09.552101Z\",\"lastChangedBy\":\"Frodo-SA-1773261131370\",\"loaded\":true,\"valueBase64\":\"NDI=\"},{\"_id\":\"esv-test-variable\",\"description\":\"test\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-03-25T21:11:19.814977Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"valueBase64\":\"dGVzdA==\"},{\"_id\":\"esv-test-variable-3\",\"description\":\"\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-04-15T19:21:33.037658Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"valueBase64\":\"dGVzdA==\"},{\"_id\":\"esv-test-variable-4\",\"description\":\"\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-04-15T19:23:26.107957Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"valueBase64\":\"dGVzdA==\"},{\"_id\":\"esv-test-variable-5\",\"description\":\"\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-04-16T17:05:51.444072Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"valueBase64\":\"dGVzdA==\"}],\"resultCount\":6,\"totalPagedResults\":-1,\"totalPagedResultsPolicy\":\"NONE\"}" + "size": 920, + "text": "{\"pagedResultsCookie\":null,\"remainingPagedResults\":-1,\"result\":[{\"_id\":\"esv-test-variable\",\"description\":\"test\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-03-25T21:11:19.814977Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"valueBase64\":\"dGVzdA==\"},{\"_id\":\"esv-test-variable-3\",\"description\":\"\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-04-15T19:21:33.037658Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"valueBase64\":\"dGVzdA==\"},{\"_id\":\"esv-test-variable-4\",\"description\":\"\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-04-15T19:23:26.107957Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"valueBase64\":\"dGVzdA==\"},{\"_id\":\"esv-test-variable-5\",\"description\":\"\",\"expressionType\":\"string\",\"lastChangeDate\":\"2026-04-16T17:05:51.444072Z\",\"lastChangedBy\":\"phales@trivir.com\",\"loaded\":true,\"valueBase64\":\"dGVzdA==\"}],\"resultCount\":4,\"totalPagedResults\":-1,\"totalPagedResultsPolicy\":\"NONE\"}" }, "cookies": [], "headers": [ @@ -279,15 +279,15 @@ }, { "name": "date", - "value": "Thu, 16 Apr 2026 20:37:11 GMT" + "value": "Wed, 22 Apr 2026 16:51:32 GMT" }, { "name": "content-length", - "value": "1349" + "value": "920" }, { "name": "x-forgerock-transactionid", - "value": "62e75eef-fdea-4ab9-bfa8-f20c3c29e329" + "value": "2dccaae5-3007-420c-ade2-e21d15cae3c5" }, { "name": "strict-transport-security", @@ -306,14 +306,14 @@ "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" } ], - "headersSize": 326, + "headersSize": 325, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:37:10.889Z", - "time": 585, + "startedDateTime": "2026-04-22T16:51:32.239Z", + "time": 334, "timings": { "blocked": -1, "connect": -1, @@ -321,7 +321,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 585 + "wait": 334 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/oauth2_393036114/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/oauth2_393036114/recording.har index f702fde68..0b6ec11cc 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/oauth2_393036114/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/oauth2_393036114/recording.har @@ -29,7 +29,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-27ba046c-827c-42dc-875d-0fbda865337f" + "value": "frodo-8dee2236-958f-4ba6-816a-ce964f3f4ba7" }, { "name": "accept-api-version", @@ -64,7 +64,7 @@ "content": { "mimeType": "application/json;charset=UTF-8", "size": 1863, - "text": "{\"access_token\":\"\",\"scope\":\"fr:idc:ws:admin fr:am:* fr:autoaccess:* fr:idc:esv:* fr:idc:analytics:* fr:idc:custom-domain:* fr:idc:release:* fr:idc:sso-cookie:* fr:idc:content-security-policy:* fr:idc:certificate:* fr:idm:* fr:idc:dataset:* fr:idc:cookie-domain:* fr:idc:promotion:*\",\"token_type\":\"Bearer\",\"expires_in\":899}" + "text": "{\"access_token\":\"\",\"scope\":\"fr:idc:ws:admin fr:am:* fr:autoaccess:* fr:idc:esv:* fr:idc:analytics:* fr:idc:custom-domain:* fr:idc:release:* fr:idc:sso-cookie:* fr:idc:content-security-policy:* fr:idc:certificate:* fr:idm:* fr:idc:dataset:* fr:idc:cookie-domain:* fr:idc:promotion:*\",\"token_type\":\"Bearer\",\"expires_in\":898}" }, "cookies": [], "headers": [ @@ -98,11 +98,11 @@ }, { "name": "date", - "value": "Thu, 16 Apr 2026 20:37:10 GMT" + "value": "Wed, 22 Apr 2026 16:51:31 GMT" }, { "name": "x-forgerock-transactionid", - "value": "frodo-27ba046c-827c-42dc-875d-0fbda865337f" + "value": "frodo-8dee2236-958f-4ba6-816a-ce964f3f4ba7" }, { "name": "strict-transport-security", @@ -127,8 +127,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:37:10.329Z", - "time": 119, + "startedDateTime": "2026-04-22T16:51:30.472Z", + "time": 1023, "timings": { "blocked": -1, "connect": -1, @@ -136,7 +136,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 119 + "wait": 1023 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/openidm_3290118515/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/openidm_3290118515/recording.har index 50a1d3cf6..51d3d2be0 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/openidm_3290118515/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_c_2677243081/openidm_3290118515/recording.har @@ -29,7 +29,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-27ba046c-827c-42dc-875d-0fbda865337f" + "value": "frodo-8dee2236-958f-4ba6-816a-ce964f3f4ba7" }, { "name": "authorization", @@ -66,7 +66,7 @@ "headers": [ { "name": "date", - "value": "Thu, 16 Apr 2026 20:37:10 GMT" + "value": "Wed, 22 Apr 2026 16:51:31 GMT" }, { "name": "vary", @@ -118,7 +118,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-27ba046c-827c-42dc-875d-0fbda865337f" + "value": "frodo-8dee2236-958f-4ba6-816a-ce964f3f4ba7" }, { "name": "strict-transport-security", @@ -134,17 +134,17 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000" + "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" } ], - "headersSize": 657, + "headersSize": 682, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:37:10.518Z", - "time": 164, + "startedDateTime": "2026-04-22T16:51:31.567Z", + "time": 213, "timings": { "blocked": -1, "connect": -1, @@ -152,7 +152,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 164 + "wait": 213 } }, { @@ -177,7 +177,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-27ba046c-827c-42dc-875d-0fbda865337f" + "value": "frodo-8dee2236-958f-4ba6-816a-ce964f3f4ba7" }, { "name": "authorization", @@ -214,7 +214,7 @@ "headers": [ { "name": "date", - "value": "Thu, 16 Apr 2026 20:37:10 GMT" + "value": "Wed, 22 Apr 2026 16:51:31 GMT" }, { "name": "vary", @@ -266,7 +266,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-27ba046c-827c-42dc-875d-0fbda865337f" + "value": "frodo-8dee2236-958f-4ba6-816a-ce964f3f4ba7" }, { "name": "strict-transport-security", @@ -291,7 +291,7 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:37:10.655Z", + "startedDateTime": "2026-04-22T16:51:31.928Z", "time": 73, "timings": { "blocked": -1, diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/am_1076162899/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/am_1076162899/recording.har index a406058d5..ff905ef0f 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/am_1076162899/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/am_1076162899/recording.har @@ -29,7 +29,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-5c257f84-63db-49b0-b5a8-90a9b841276a" + "value": "frodo-b8b857ee-4642-4ac7-834f-bab71e2840da" }, { "name": "accept-api-version", @@ -113,11 +113,11 @@ }, { "name": "date", - "value": "Thu, 16 Apr 2026 20:36:45 GMT" + "value": "Wed, 22 Apr 2026 16:48:26 GMT" }, { "name": "x-forgerock-transactionid", - "value": "frodo-5c257f84-63db-49b0-b5a8-90a9b841276a" + "value": "frodo-b8b857ee-4642-4ac7-834f-bab71e2840da" }, { "name": "strict-transport-security", @@ -142,8 +142,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:36:45.212Z", - "time": 136, + "startedDateTime": "2026-04-22T16:48:26.041Z", + "time": 198, "timings": { "blocked": -1, "connect": -1, @@ -151,7 +151,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 136 + "wait": 198 } }, { @@ -176,7 +176,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-5c257f84-63db-49b0-b5a8-90a9b841276a" + "value": "frodo-b8b857ee-4642-4ac7-834f-bab71e2840da" }, { "name": "accept-api-version", @@ -202,11 +202,11 @@ "url": "https://openam-frodo-dev.forgeblocks.com/am/json/serverinfo/version" }, "response": { - "bodySize": 276, + "bodySize": 275, "content": { "mimeType": "application/json;charset=UTF-8", - "size": 276, - "text": "{\"_id\":\"version\",\"_rev\":\"-1876078088\",\"version\":\"9.0.0-SNAPSHOT\",\"fullVersion\":\"ForgeRock Access Management 9.0.0-SNAPSHOT Build 2a2686af9631bd8d8866c92ea2411814899acefd (2026-March-30 15:23)\",\"revision\":\"2a2686af9631bd8d8866c92ea2411814899acefd\",\"date\":\"2026-March-30 15:23\"}" + "size": 275, + "text": "{\"_id\":\"version\",\"_rev\":\"1171477248\",\"version\":\"9.0.0-SNAPSHOT\",\"fullVersion\":\"ForgeRock Access Management 9.0.0-SNAPSHOT Build 304c60a9fe7797e1045c631600098d4465b73e4d (2026-April-15 10:21)\",\"revision\":\"304c60a9fe7797e1045c631600098d4465b73e4d\",\"date\":\"2026-April-15 10:21\"}" }, "cookies": [], "headers": [ @@ -244,7 +244,7 @@ }, { "name": "etag", - "value": "\"-1876078088\"" + "value": "\"1171477248\"" }, { "name": "expires", @@ -260,15 +260,15 @@ }, { "name": "content-length", - "value": "276" + "value": "275" }, { "name": "date", - "value": "Thu, 16 Apr 2026 20:36:45 GMT" + "value": "Wed, 22 Apr 2026 16:48:26 GMT" }, { "name": "x-forgerock-transactionid", - "value": "frodo-5c257f84-63db-49b0-b5a8-90a9b841276a" + "value": "frodo-b8b857ee-4642-4ac7-834f-bab71e2840da" }, { "name": "strict-transport-security", @@ -287,14 +287,14 @@ "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" } ], - "headersSize": 788, + "headersSize": 787, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:36:45.610Z", - "time": 105, + "startedDateTime": "2026-04-22T16:48:26.728Z", + "time": 114, "timings": { "blocked": -1, "connect": -1, @@ -302,7 +302,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 105 + "wait": 114 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/environment_1072573434/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/environment_1072573434/recording.har index 05eba0dcd..79c33a363 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/environment_1072573434/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/environment_1072573434/recording.har @@ -77,11 +77,11 @@ }, { "name": "date", - "value": "Thu, 16 Apr 2026 20:36:45 GMT" + "value": "Wed, 22 Apr 2026 16:48:26 GMT" }, { "name": "x-forgerock-transactionid", - "value": "e5cb8099-d486-40e2-918e-0526af32b100" + "value": "ee0ca2aa-4eb5-405e-a2c0-e6be064491cf" }, { "name": "strict-transport-security", @@ -106,8 +106,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:36:45.725Z", - "time": 92, + "startedDateTime": "2026-04-22T16:48:26.850Z", + "time": 94, "timings": { "blocked": -1, "connect": -1, @@ -115,7 +115,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 92 + "wait": 94 } }, { @@ -176,7 +176,7 @@ }, { "name": "date", - "value": "Thu, 16 Apr 2026 20:36:46 GMT" + "value": "Wed, 22 Apr 2026 16:48:27 GMT" }, { "name": "content-length", @@ -184,7 +184,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "8cfcc286-07d9-4507-9ca4-6fd3dd60d8b1" + "value": "25b736dc-d2a2-44fe-828f-8b21bd077c75" }, { "name": "strict-transport-security", @@ -209,8 +209,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:36:45.918Z", - "time": 252, + "startedDateTime": "2026-04-22T16:48:27.053Z", + "time": 269, "timings": { "blocked": -1, "connect": -1, @@ -218,7 +218,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 252 + "wait": 269 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/oauth2_393036114/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/oauth2_393036114/recording.har index 83e9850fc..89758242a 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/oauth2_393036114/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/oauth2_393036114/recording.har @@ -29,7 +29,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-5c257f84-63db-49b0-b5a8-90a9b841276a" + "value": "frodo-b8b857ee-4642-4ac7-834f-bab71e2840da" }, { "name": "accept-api-version", @@ -98,11 +98,11 @@ }, { "name": "date", - "value": "Thu, 16 Apr 2026 20:36:45 GMT" + "value": "Wed, 22 Apr 2026 16:48:26 GMT" }, { "name": "x-forgerock-transactionid", - "value": "frodo-5c257f84-63db-49b0-b5a8-90a9b841276a" + "value": "frodo-b8b857ee-4642-4ac7-834f-bab71e2840da" }, { "name": "strict-transport-security", @@ -127,8 +127,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:36:45.372Z", - "time": 204, + "startedDateTime": "2026-04-22T16:48:26.271Z", + "time": 444, "timings": { "blocked": -1, "connect": -1, @@ -136,7 +136,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 204 + "wait": 444 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/openidm_3290118515/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/openidm_3290118515/recording.har index 0bc60ce1c..e2a455104 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/openidm_3290118515/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_s_2408801177/openidm_3290118515/recording.har @@ -29,7 +29,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-5c257f84-63db-49b0-b5a8-90a9b841276a" + "value": "frodo-b8b857ee-4642-4ac7-834f-bab71e2840da" }, { "name": "authorization", @@ -66,7 +66,7 @@ "headers": [ { "name": "date", - "value": "Thu, 16 Apr 2026 20:36:45 GMT" + "value": "Wed, 22 Apr 2026 16:48:26 GMT" }, { "name": "vary", @@ -118,7 +118,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-5c257f84-63db-49b0-b5a8-90a9b841276a" + "value": "frodo-b8b857ee-4642-4ac7-834f-bab71e2840da" }, { "name": "strict-transport-security", @@ -143,8 +143,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:36:45.644Z", - "time": 198, + "startedDateTime": "2026-04-22T16:48:26.765Z", + "time": 201, "timings": { "blocked": -1, "connect": -1, @@ -152,7 +152,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 198 + "wait": 201 } }, { @@ -177,7 +177,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-5c257f84-63db-49b0-b5a8-90a9b841276a" + "value": "frodo-b8b857ee-4642-4ac7-834f-bab71e2840da" }, { "name": "authorization", @@ -214,7 +214,7 @@ "headers": [ { "name": "date", - "value": "Thu, 16 Apr 2026 20:36:45 GMT" + "value": "Wed, 22 Apr 2026 16:48:27 GMT" }, { "name": "vary", @@ -266,7 +266,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-5c257f84-63db-49b0-b5a8-90a9b841276a" + "value": "frodo-b8b857ee-4642-4ac7-834f-bab71e2840da" }, { "name": "strict-transport-security", @@ -291,8 +291,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:36:45.822Z", - "time": 90, + "startedDateTime": "2026-04-22T16:48:26.964Z", + "time": 82, "timings": { "blocked": -1, "connect": -1, @@ -300,7 +300,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 90 + "wait": 82 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/am_1076162899/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/am_1076162899/recording.har index 9c1e3e41b..309c9eaea 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/am_1076162899/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/am_1076162899/recording.har @@ -29,7 +29,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-6e7f0d33-22ce-44fc-897f-b0ca49f93a3b" + "value": "frodo-202cf377-d047-404e-b793-18e8e026737e" }, { "name": "accept-api-version", @@ -55,7 +55,7 @@ "content": { "mimeType": "application/json;charset=UTF-8", "size": 615, - "text": "{\"_id\":\"*\",\"_rev\":\"1955877839\",\"domains\":[],\"protectedUserAttributes\":[\"telephoneNumber\",\"mail\"],\"cookieName\":\"6ac6499e9da2071\",\"secureCookie\":true,\"forgotPassword\":\"false\",\"forgotUsername\":\"false\",\"kbaEnabled\":\"false\",\"selfRegistration\":\"false\",\"lang\":\"en-US\",\"successfulUserRegistrationDestination\":\"default\",\"socialImplementations\":[],\"referralsEnabled\":\"false\",\"zeroPageLogin\":{\"enabled\":false,\"allowedWithoutReferer\":true,\"refererWhitelist\":[]},\"realm\":\"/\",\"xuiUserSessionValidationEnabled\":true,\"fileBasedConfiguration\":true,\"userIdAttributes\":[],\"cloudOnlyFeaturesEnabled\":true,\"oauth2AIAgentsEnabled\":false}" + "text": "{\"_id\":\"*\",\"_rev\":\"1955877839\",\"domains\":[],\"protectedUserAttributes\":[\"telephoneNumber\",\"mail\"],\"cookieName\":\"6ac6499e9da2071\",\"secureCookie\":true,\"forgotPassword\":\"false\",\"forgotUsername\":\"false\",\"kbaEnabled\":\"false\",\"selfRegistration\":\"false\",\"lang\":\"en-US\",\"successfulUserRegistrationDestination\":\"default\",\"socialImplementations\":[],\"referralsEnabled\":\"false\",\"zeroPageLogin\":{\"enabled\":false,\"refererWhitelist\":[],\"allowedWithoutReferer\":true},\"realm\":\"/\",\"xuiUserSessionValidationEnabled\":true,\"fileBasedConfiguration\":true,\"userIdAttributes\":[],\"cloudOnlyFeaturesEnabled\":true,\"oauth2AIAgentsEnabled\":false}" }, "cookies": [], "headers": [ @@ -113,11 +113,11 @@ }, { "name": "date", - "value": "Thu, 16 Apr 2026 20:37:35 GMT" + "value": "Wed, 22 Apr 2026 16:52:38 GMT" }, { "name": "x-forgerock-transactionid", - "value": "frodo-6e7f0d33-22ce-44fc-897f-b0ca49f93a3b" + "value": "frodo-202cf377-d047-404e-b793-18e8e026737e" }, { "name": "strict-transport-security", @@ -142,8 +142,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:37:35.203Z", - "time": 126, + "startedDateTime": "2026-04-22T16:52:38.345Z", + "time": 121, "timings": { "blocked": -1, "connect": -1, @@ -151,7 +151,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 126 + "wait": 121 } }, { @@ -176,7 +176,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-6e7f0d33-22ce-44fc-897f-b0ca49f93a3b" + "value": "frodo-202cf377-d047-404e-b793-18e8e026737e" }, { "name": "accept-api-version", @@ -202,11 +202,11 @@ "url": "https://openam-frodo-dev.forgeblocks.com/am/json/serverinfo/version" }, "response": { - "bodySize": 276, + "bodySize": 275, "content": { "mimeType": "application/json;charset=UTF-8", - "size": 276, - "text": "{\"_id\":\"version\",\"_rev\":\"-1876078088\",\"version\":\"9.0.0-SNAPSHOT\",\"fullVersion\":\"ForgeRock Access Management 9.0.0-SNAPSHOT Build 2a2686af9631bd8d8866c92ea2411814899acefd (2026-March-30 15:23)\",\"revision\":\"2a2686af9631bd8d8866c92ea2411814899acefd\",\"date\":\"2026-March-30 15:23\"}" + "size": 275, + "text": "{\"_id\":\"version\",\"_rev\":\"1171477248\",\"version\":\"9.0.0-SNAPSHOT\",\"fullVersion\":\"ForgeRock Access Management 9.0.0-SNAPSHOT Build 304c60a9fe7797e1045c631600098d4465b73e4d (2026-April-15 10:21)\",\"revision\":\"304c60a9fe7797e1045c631600098d4465b73e4d\",\"date\":\"2026-April-15 10:21\"}" }, "cookies": [], "headers": [ @@ -244,7 +244,7 @@ }, { "name": "etag", - "value": "\"-1876078088\"" + "value": "\"1171477248\"" }, { "name": "expires", @@ -260,15 +260,15 @@ }, { "name": "content-length", - "value": "276" + "value": "275" }, { "name": "date", - "value": "Thu, 16 Apr 2026 20:37:35 GMT" + "value": "Wed, 22 Apr 2026 16:52:38 GMT" }, { "name": "x-forgerock-transactionid", - "value": "frodo-6e7f0d33-22ce-44fc-897f-b0ca49f93a3b" + "value": "frodo-202cf377-d047-404e-b793-18e8e026737e" }, { "name": "strict-transport-security", @@ -287,14 +287,14 @@ "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" } ], - "headersSize": 788, + "headersSize": 787, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:37:35.468Z", - "time": 87, + "startedDateTime": "2026-04-22T16:52:38.715Z", + "time": 117, "timings": { "blocked": -1, "connect": -1, @@ -302,7 +302,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 87 + "wait": 117 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/environment_1072573434/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/environment_1072573434/recording.har index acaf9c843..6c76dd4a6 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/environment_1072573434/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/environment_1072573434/recording.har @@ -77,11 +77,11 @@ }, { "name": "date", - "value": "Thu, 16 Apr 2026 20:37:35 GMT" + "value": "Wed, 22 Apr 2026 16:52:38 GMT" }, { "name": "x-forgerock-transactionid", - "value": "8c8a3682-5961-4eda-b964-b66b8215f02f" + "value": "6f212ad9-a2f2-4b8c-9ff8-1d66829ddc40" }, { "name": "strict-transport-security", @@ -106,8 +106,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:37:35.567Z", - "time": 79, + "startedDateTime": "2026-04-22T16:52:38.845Z", + "time": 85, "timings": { "blocked": -1, "connect": -1, @@ -115,7 +115,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 79 + "wait": 85 } }, { @@ -176,7 +176,7 @@ }, { "name": "date", - "value": "Thu, 16 Apr 2026 20:37:35 GMT" + "value": "Wed, 22 Apr 2026 16:52:39 GMT" }, { "name": "content-length", @@ -184,7 +184,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "ae4e25de-bde2-4d4f-8dd5-62a78e9e47a3" + "value": "c9b807e0-317a-4788-95b8-ae08cf53849e" }, { "name": "strict-transport-security", @@ -209,8 +209,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:37:35.729Z", - "time": 197, + "startedDateTime": "2026-04-22T16:52:39.025Z", + "time": 225, "timings": { "blocked": -1, "connect": -1, @@ -218,7 +218,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 197 + "wait": 225 } }, { @@ -292,7 +292,7 @@ }, { "name": "date", - "value": "Thu, 16 Apr 2026 20:37:36 GMT" + "value": "Wed, 22 Apr 2026 16:52:39 GMT" }, { "name": "content-length", @@ -300,7 +300,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "102f1a95-3751-4280-b749-5aab7e2e9756" + "value": "d08a5309-6204-4a13-b1d7-cbaba9b9457b" }, { "name": "strict-transport-security", @@ -325,8 +325,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:37:35.936Z", - "time": 225, + "startedDateTime": "2026-04-22T16:52:39.258Z", + "time": 230, "timings": { "blocked": -1, "connect": -1, @@ -334,7 +334,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 225 + "wait": 230 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/oauth2_393036114/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/oauth2_393036114/recording.har index 4b921b153..67e09177e 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/oauth2_393036114/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/oauth2_393036114/recording.har @@ -29,7 +29,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-6e7f0d33-22ce-44fc-897f-b0ca49f93a3b" + "value": "frodo-202cf377-d047-404e-b793-18e8e026737e" }, { "name": "accept-api-version", @@ -98,11 +98,11 @@ }, { "name": "date", - "value": "Thu, 16 Apr 2026 20:37:35 GMT" + "value": "Wed, 22 Apr 2026 16:52:38 GMT" }, { "name": "x-forgerock-transactionid", - "value": "frodo-6e7f0d33-22ce-44fc-897f-b0ca49f93a3b" + "value": "frodo-202cf377-d047-404e-b793-18e8e026737e" }, { "name": "strict-transport-security", @@ -127,8 +127,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:37:35.345Z", - "time": 113, + "startedDateTime": "2026-04-22T16:52:38.484Z", + "time": 195, "timings": { "blocked": -1, "connect": -1, @@ -136,7 +136,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 113 + "wait": 195 } } ], diff --git a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/openidm_3290118515/recording.har b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/openidm_3290118515/recording.har index 7b763dc23..174938672 100644 --- a/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/openidm_3290118515/recording.har +++ b/test/e2e/mocks/config-manager_4167095917/push_2272264157/restart_4271641068/0_w_2475911653/openidm_3290118515/recording.har @@ -29,7 +29,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-6e7f0d33-22ce-44fc-897f-b0ca49f93a3b" + "value": "frodo-202cf377-d047-404e-b793-18e8e026737e" }, { "name": "authorization", @@ -66,7 +66,7 @@ "headers": [ { "name": "date", - "value": "Thu, 16 Apr 2026 20:37:35 GMT" + "value": "Wed, 22 Apr 2026 16:52:38 GMT" }, { "name": "vary", @@ -118,7 +118,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-6e7f0d33-22ce-44fc-897f-b0ca49f93a3b" + "value": "frodo-202cf377-d047-404e-b793-18e8e026737e" }, { "name": "strict-transport-security", @@ -134,17 +134,17 @@ }, { "name": "alt-svc", - "value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "value": "h3=\":443\"; ma=2592000" } ], - "headersSize": 682, + "headersSize": 657, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:37:35.507Z", - "time": 158, + "startedDateTime": "2026-04-22T16:52:38.750Z", + "time": 178, "timings": { "blocked": -1, "connect": -1, @@ -152,7 +152,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 158 + "wait": 178 } }, { @@ -177,7 +177,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-6e7f0d33-22ce-44fc-897f-b0ca49f93a3b" + "value": "frodo-202cf377-d047-404e-b793-18e8e026737e" }, { "name": "authorization", @@ -214,7 +214,7 @@ "headers": [ { "name": "date", - "value": "Thu, 16 Apr 2026 20:37:35 GMT" + "value": "Wed, 22 Apr 2026 16:52:38 GMT" }, { "name": "vary", @@ -266,7 +266,7 @@ }, { "name": "x-forgerock-transactionid", - "value": "frodo-6e7f0d33-22ce-44fc-897f-b0ca49f93a3b" + "value": "frodo-202cf377-d047-404e-b793-18e8e026737e" }, { "name": "strict-transport-security", @@ -291,8 +291,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2026-04-16T20:37:35.653Z", - "time": 67, + "startedDateTime": "2026-04-22T16:52:38.941Z", + "time": 75, "timings": { "blocked": -1, "connect": -1, @@ -300,7 +300,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 67 + "wait": 75 } } ],