Skip to content

Commit 4286d3c

Browse files
authored
Merge pull request rockcarver#204 from vscheuber/main
PATCH RELEASE
2 parents 3321df3 + d7bb2f0 commit 4286d3c

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- \#203: Frodo no longer outputs cosmetic error messages when exporting IDM config.
13+
1014
## [0.22.1] - 2023-02-14
1115

1216
### Changed

src/ops/IdmOps.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,28 @@ export async function exportAllRawConfigEntities(directory) {
111111
getConfigEntityError.response?.data?.message ===
112112
'This operation is not available in ForgeRock Identity Cloud.'
113113
) &&
114+
!(
115+
// list of config entities, which do not exist by default or ever.
116+
(
117+
[
118+
'script',
119+
'notificationFactory',
120+
'apiVersion',
121+
'metrics',
122+
'repo.init',
123+
'endpoint/validateQueryFilter',
124+
'endpoint/oauthproxy',
125+
'external.rest',
126+
'scheduler',
127+
'org.apache.felix.fileinstall/openidm',
128+
'cluster',
129+
'endpoint/mappingDetails',
130+
'fieldPolicy/teammember',
131+
].includes(configEntity._id) &&
132+
getConfigEntityError.response?.status === 404 &&
133+
getConfigEntityError.response?.data?.reason === 'Not Found'
134+
)
135+
) &&
114136
// https://bugster.forgerock.org/jira/browse/OPENIDM-18270
115137
!(
116138
getConfigEntityError.response?.status === 404 &&

0 commit comments

Comments
 (0)