Skip to content

Pr test #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1,694 commits into
base: trivir
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1694 commits
Select commit Hold shift + click to select a range
a7561ee
migrate VariableApi tests to Polly
vscheuber Dec 20, 2022
0c68590
increase timeout for tests
vscheuber Dec 20, 2022
8304c69
added test:record_noauth script to record AuthenticateOps
vscheuber Dec 21, 2022
8c8b1a0
updated test and recordings
vscheuber Dec 21, 2022
95c744d
updated test
vscheuber Dec 21, 2022
71cd28f
added default output handlers
vscheuber Dec 21, 2022
5c47041
allow overriding of request matching
vscheuber Dec 21, 2022
34b29be
migrate AuthenticateOps tests to Polly
vscheuber Dec 21, 2022
029d26f
added instructions
vscheuber Dec 21, 2022
33bd948
Merge pull request #197 from vscheuber/main
vscheuber Dec 21, 2022
a9131bf
Updated changelog for release v0.17.2-0
gh-action-bump-version Dec 21, 2022
a10210a
ci: version bump to v0.17.2-0
gh-action-bump-version Dec 21, 2022
8469bbd
remove excessive debug logging
vscheuber Dec 22, 2022
093386b
migrate SecretsApi tests to Polly
vscheuber Dec 22, 2022
b9f702e
added test setup code and updated recordings with final test data
vscheuber Dec 22, 2022
7b8335d
updated TreeApi tests to create test data when recording
vscheuber Dec 22, 2022
ee97ae8
added code to tear down test data after recording and updated snapshots
vscheuber Dec 22, 2022
656d6ba
added code to remove down test data after recording and updated snaps…
vscheuber Dec 22, 2022
2fea3f7
added code to setup test data before recording and clean up after and…
vscheuber Dec 23, 2022
cab5605
cleanup code comments
vscheuber Dec 23, 2022
bc7f833
expect assertions whith exceptions
vscheuber Dec 23, 2022
1df3c2b
cleanup code comments
vscheuber Dec 23, 2022
c680f2b
migrate NodeApi tests to Polly
vscheuber Dec 23, 2022
996e0cc
sort output of list commands
vscheuber Dec 23, 2022
56573a0
move helper method from AuthenticateApi to ApiUtils and update ApiUti…
vscheuber Dec 23, 2022
af5f8af
add support for env var FRODO_AUTHENTICATION_SERVICE
vscheuber Dec 23, 2022
5f92395
migrate AuthenticateApi tests to Polly
vscheuber Dec 23, 2022
cda7473
update comments
vscheuber Dec 24, 2022
c3f6378
fix getAgentTypes to use post, not get
vscheuber Dec 24, 2022
1fcd18d
migrate AgentApi tests to Polly
vscheuber Dec 24, 2022
d45ffde
fixes #198 - frodo esv variable list and frodo esv secret list sendin…
vscheuber Dec 26, 2022
51d270a
migrate AgentOps tests to Polly
vscheuber Dec 26, 2022
3f3ddf2
Merge pull request #199 from vscheuber/main
vscheuber Dec 26, 2022
347d7b1
Updated changelog for release v0.17.2
gh-action-bump-version Dec 26, 2022
6345548
ci: version bump to v0.17.2
gh-action-bump-version Dec 26, 2022
1da319e
removed agent mock functions
vscheuber Dec 26, 2022
4b3ff3e
add code to setup and clean-up test data (connection profile files)
vscheuber Dec 26, 2022
1d0b675
update code comment
vscheuber Dec 26, 2022
c1adcfa
add function to delete a config entity
vscheuber Dec 26, 2022
2080093
migrate EmailTemplateOps to tests to Polly
vscheuber Dec 26, 2022
1a9582d
minor type declaration
vscheuber Dec 27, 2022
d3f2608
migrate IdmOps tests to Polly
vscheuber Dec 27, 2022
408b85a
split cli ops from library ops
vscheuber Dec 30, 2022
618797e
await staging calls
vscheuber Dec 30, 2022
4dff7f4
additional debug logging
vscheuber Dec 30, 2022
6e8ef8a
migrate IdpOps tests to Polly
vscheuber Dec 30, 2022
e30a574
Merge branch 'rockcarver:main' into main
vscheuber Dec 30, 2022
ca60ec3
Merge pull request #201 from vscheuber/main
vscheuber Dec 30, 2022
5713907
Updated changelog for release v0.17.3
gh-action-bump-version Dec 30, 2022
cc734bc
ci: version bump to v0.17.3
gh-action-bump-version Dec 30, 2022
4bb8524
update contributors
vscheuber Jan 3, 2023
030a3a3
split API and OPS and library and cli
vscheuber Jan 3, 2023
c423350
url-encode name in search filter
vscheuber Jan 3, 2023
ef1d214
create new tests for ScriptOps using Polly and snapshots
vscheuber Jan 3, 2023
cd784a6
remove secrets and tokens from snapshots and mock data
vscheuber Jan 3, 2023
5613b13
update api
vscheuber Jan 4, 2023
b5421b3
migrate JourneyOps tests to Polly and snapshots
vscheuber Jan 4, 2023
37bb862
minor code comment update
vscheuber Jan 5, 2023
2e20bf1
fix type import
vscheuber Jan 5, 2023
effa406
added function to delete providers using the new APIs and renamed exi…
vscheuber Jan 5, 2023
7791e4e
exposed delete provider API using new REST APIs and jsdoc updates
vscheuber Jan 5, 2023
5cdb399
migrate Saml2Ops tests to Polly and snapshots
vscheuber Jan 5, 2023
1ab4068
add meta data to ops layer export functions and update tests and snap…
vscheuber Jan 5, 2023
524beee
Merge pull request #203 from vscheuber/main
vscheuber Jan 5, 2023
396765b
Updated changelog for release v0.17.4
gh-action-bump-version Jan 5, 2023
27fcb5c
ci: version bump to v0.17.4
gh-action-bump-version Jan 5, 2023
73eff85
update instructions
vscheuber Jan 5, 2023
881aca5
added function to provide rcs status
Dec 10, 2022
af82c96
restructured RCS status contribution
vscheuber Jan 7, 2023
46a2316
Updated changelog for release v0.17.5-0
gh-action-bump-version Jan 7, 2023
c4466ba
ci: version bump to v0.17.5-0
gh-action-bump-version Jan 7, 2023
7c729d7
Merge branch 'main' of https://github.com/vscheuber/frodo-lib
vscheuber Jan 7, 2023
961610b
list Nick as a contributor
vscheuber Jan 7, 2023
5e9c4ce
Merge pull request #204 from vscheuber/main
vscheuber Jan 7, 2023
754a470
Updated changelog for release v0.17.5
gh-action-bump-version Jan 7, 2023
f8654b3
ci: version bump to v0.17.5
gh-action-bump-version Jan 7, 2023
4979ec8
add jsdoc comments and allow explicit override of authentication service
vscheuber Jan 9, 2023
33425a8
add default values for fields and pageCookie param
vscheuber Jan 9, 2023
1a976fb
fix detection if env supports service accounts and add jsdoc comments
vscheuber Jan 9, 2023
3229702
migrate ServiceAccountOps tests to polly and snapshots
vscheuber Jan 9, 2023
b04b58f
Merge pull request #205 from vscheuber/main
vscheuber Jan 9, 2023
634d6e7
Updated changelog for release v0.17.6
gh-action-bump-version Jan 9, 2023
ca333d2
ci: version bump to v0.17.6
gh-action-bump-version Jan 9, 2023
ce4fa53
last minute changes to support service accounts in cloud
vscheuber Jan 10, 2023
0a18ff7
set jest global test timeout to 30s
vscheuber Jan 11, 2023
5a9dd0b
with polly we no longer need the mock engine
vscheuber Jan 11, 2023
2d4f39b
remove custom test suite timeout setting and use global setting in pa…
vscheuber Jan 11, 2023
5c3b647
replace mock engine with polly
vscheuber Jan 11, 2023
ceeafcb
initial recordings for cli e2e tests
vscheuber Jan 11, 2023
64d99cb
Merge pull request #206 from vscheuber/main
vscheuber Jan 11, 2023
945a1bd
Updated changelog for release v0.17.7
gh-action-bump-version Jan 11, 2023
73f93d9
ci: version bump to v0.17.7
gh-action-bump-version Jan 11, 2023
b1bf952
make polly a runtime dependency for runtime mocking
vscheuber Jan 11, 2023
91c6542
Merge pull request #207 from vscheuber/main
vscheuber Jan 11, 2023
a444e93
Updated changelog for release v0.17.8-0
gh-action-bump-version Jan 11, 2023
23e0824
ci: version bump to v0.17.8-0
gh-action-bump-version Jan 11, 2023
0c38c16
move runtime mocks
vscheuber Jan 12, 2023
db62a23
add runtime mocks to npm and remove mock engine mocks
vscheuber Jan 12, 2023
a0d9f5b
delete files
vscheuber Jan 12, 2023
d6d5cff
update test suite structure and minor updates to tests
vscheuber Jan 12, 2023
504275d
run recordings sequentially
vscheuber Jan 12, 2023
42a32a8
migrate ThemeOps tests to Polly and snapshots
vscheuber Jan 12, 2023
6440d9e
remove unused mock engine data files
vscheuber Jan 12, 2023
c193b21
Merge branch 'rockcarver:main' into main
vscheuber Jan 12, 2023
02472a6
Merge pull request #208 from vscheuber/main
vscheuber Jan 12, 2023
a696b60
Updated changelog for release v0.17.8-1
gh-action-bump-version Jan 12, 2023
ade64b2
ci: version bump to v0.17.8-1
gh-action-bump-version Jan 12, 2023
441727e
allow polly log level override using FRODO_POLLY_LOG_LEVEL env var
vscheuber Jan 12, 2023
00143bb
Merge pull request #209 from vscheuber/main
vscheuber Jan 12, 2023
c3b9f87
Updated changelog for release v0.17.8-2
gh-action-bump-version Jan 12, 2023
ffd0a33
ci: version bump to v0.17.8-2
gh-action-bump-version Jan 12, 2023
9351f4e
log polly config in debug mode
vscheuber Jan 12, 2023
33adcc1
Merge pull request #210 from vscheuber/main
vscheuber Jan 12, 2023
8698a89
Updated changelog for release v0.17.8-3
gh-action-bump-version Jan 12, 2023
88f74a6
ci: version bump to v0.17.8-3
gh-action-bump-version Jan 12, 2023
9a5e91a
update changelog
vscheuber Jan 13, 2023
b372762
Merge pull request #211 from vscheuber/main
vscheuber Jan 13, 2023
df9466f
Updated changelog for release v0.18.0
gh-action-bump-version Jan 13, 2023
ab1d764
ci: version bump to v0.18.0
gh-action-bump-version Jan 13, 2023
21d5adf
changelog corrections
vscheuber Jan 13, 2023
6b7577b
fixed handling of migration from .frodorc to Connection.json and thei…
atomicsamurai Jan 16, 2023
adfbd76
Merge pull request #212 from atomicsamurai/main
atomicsamurai Jan 16, 2023
c08cb86
Updated changelog for release v0.18.1-0
gh-action-bump-version Jan 16, 2023
d9ea856
ci: version bump to v0.18.1-0
gh-action-bump-version Jan 16, 2023
dbb2fcb
Merge branch 'rockcarver:main' into main
vscheuber Jan 17, 2023
efe5fa7
update changelog
vscheuber Jan 20, 2023
5bf10bf
add debug output
vscheuber Jan 20, 2023
062ed8e
add service account name to `conn list -l` and `conn describe`
vscheuber Jan 20, 2023
146ab87
update recordings for existing e2e tests and optimize polly configura…
vscheuber Jan 20, 2023
d281cc7
update changelog
vscheuber Jan 20, 2023
2ddec60
update changelog
vscheuber Jan 20, 2023
e1caa7a
Merge pull request #213 from vscheuber/main
vscheuber Jan 20, 2023
5d2b6bd
Updated changelog for release v0.18.1
gh-action-bump-version Jan 20, 2023
f90660a
ci: version bump to v0.18.1
gh-action-bump-version Jan 20, 2023
c197a41
fix typo in changelog
vscheuber Jan 20, 2023
fbcdffc
Squashed commit of the following:
Jan 23, 2023
5deae81
Update README.md to reflect supported node versions
vscheuber Jan 24, 2023
fefc266
Merge branch 'rockcarver:main' into main
vscheuber Jan 24, 2023
6159ef1
Merge pull request #214 from meesvandongen/extract-squash
vscheuber Jan 24, 2023
56ea17a
Updated changelog for release v0.18.2-0
gh-action-bump-version Jan 24, 2023
2490ca9
ci: version bump to v0.18.2-0
gh-action-bump-version Jan 24, 2023
56bdedf
Merge branch 'rockcarver:main' into main
vscheuber Jan 24, 2023
7c99f82
fix rockcarver/frodo-cli#160
vscheuber Jan 25, 2023
740f1f9
update changelog
vscheuber Jan 25, 2023
22c3109
Merge pull request #216 from vscheuber/main
vscheuber Jan 25, 2023
2b664ca
Updated changelog for release v0.18.2
gh-action-bump-version Jan 25, 2023
0dec4a3
ci: version bump to v0.18.2
gh-action-bump-version Jan 25, 2023
f16fde5
rockcarver/frodo-cli#192: Backend support for better error handling a…
vscheuber Jan 27, 2023
19c1c06
Merge pull request #218 from vscheuber/main
vscheuber Jan 27, 2023
e366c03
Updated changelog for release v0.18.3
gh-action-bump-version Jan 27, 2023
e47cdd6
ci: version bump to v0.18.3
gh-action-bump-version Jan 27, 2023
3efb515
fixes rockcarver/frodo-cli#195
vscheuber Feb 11, 2023
f0f136f
Merge pull request #219 from vscheuber/main
vscheuber Feb 11, 2023
e837963
Updated changelog for release v0.18.4
gh-action-bump-version Feb 11, 2023
06c265d
ci: version bump to v0.18.4
gh-action-bump-version Feb 11, 2023
55060a0
fixes rockcarver/frodo-cli#196
vscheuber Feb 14, 2023
ed35453
Merge pull request #220 from vscheuber/main
vscheuber Feb 14, 2023
582bba7
Updated changelog for release v0.18.5
gh-action-bump-version Feb 14, 2023
f679ac4
ci: version bump to v0.18.5
gh-action-bump-version Feb 14, 2023
13fd7c1
minor changelog correction
vscheuber Feb 14, 2023
4b3ced3
fixes rockcarver/frodo-cli/security/dependabot/8
vscheuber Feb 16, 2023
48f53b1
update dependencies
vscheuber Feb 16, 2023
bd9c7b9
Merge pull request #221 from vscheuber/main
vscheuber Feb 16, 2023
e554e1a
Updated changelog for release v0.18.6
gh-action-bump-version Feb 16, 2023
b880e3c
ci: version bump to v0.18.6
gh-action-bump-version Feb 16, 2023
7e1511a
fixes #222 - pipeline issue: npm release failing
vscheuber Feb 16, 2023
a90e3e9
Merge branch 'rockcarver:main' into main
vscheuber Feb 16, 2023
2448cba
Merge pull request #223 from vscheuber/main
vscheuber Feb 16, 2023
f13f7a3
Updated changelog for release v0.18.7
gh-action-bump-version Feb 16, 2023
7a30df6
ci: version bump to v0.18.7
gh-action-bump-version Feb 16, 2023
c9832a5
fix frodo-lib mocking
vscheuber Feb 17, 2023
bf0aa5f
update changelog
vscheuber Feb 17, 2023
f076105
Merge pull request #224 from vscheuber/main
vscheuber Feb 17, 2023
85fae19
Updated changelog for release v0.18.8
gh-action-bump-version Feb 17, 2023
8ab0072
ci: version bump to v0.18.8
gh-action-bump-version Feb 17, 2023
9f9ec2e
Add option to output original JSON log
patrickdiligentforgerock Mar 7, 2023
25f02ef
no need to keep backward compatibility for tail output
patrickdiligentforgerock Mar 7, 2023
f7ec82f
progresses rockcarver/frodo-cli#213 - Cannot use unique substring for…
vscheuber Mar 23, 2023
5cba1f4
fixes rockcarver/frodo-cli#216 - frodo logs tail doesn't seem to be u…
vscheuber Mar 23, 2023
01ee274
Merge pull request #229 from vscheuber/main
vscheuber Mar 23, 2023
8a466b7
Updated changelog for release v0.18.9-0
gh-action-bump-version Mar 23, 2023
36cf216
ci: version bump to v0.18.9-0
gh-action-bump-version Mar 23, 2023
d53a303
rockcarver/frodo-cli#218 - ESV Apply, while waiting for restart, can …
vscheuber Mar 24, 2023
8a8ce33
Merge pull request #230 from vscheuber/main
vscheuber Mar 27, 2023
e171c5b
Updated changelog for release v0.18.9-1
gh-action-bump-version Mar 27, 2023
d50412b
ci: version bump to v0.18.9-1
gh-action-bump-version Mar 27, 2023
b31de88
Merge pull request #225 from patrickdiligentforgerock/tail-with-json-…
vscheuber Apr 5, 2023
7871da3
Updated changelog for release v0.18.9-2
gh-action-bump-version Apr 5, 2023
e81b788
ci: version bump to v0.18.9-2
gh-action-bump-version Apr 5, 2023
7175eef
resolves #234 - Split CLI from LIB (OAuth2Client)
vscheuber Apr 18, 2023
507f151
Merge branch 'rockcarver:main' into main
vscheuber Apr 18, 2023
a5dbd29
Merge pull request #235 from vscheuber/main
vscheuber Apr 18, 2023
4bf758d
Updated changelog for release v0.18.9-3
gh-action-bump-version Apr 18, 2023
6021244
ci: version bump to v0.18.9-3
gh-action-bump-version Apr 18, 2023
6de6db4
updated to use snapshots for methods that now return data instead of …
vscheuber Apr 18, 2023
58ca768
fixes #236 - Enabling admin federation breaks login
vscheuber Apr 20, 2023
f6aeaad
update changelog
vscheuber Apr 20, 2023
3f00737
Merge pull request #237 from vscheuber/main
vscheuber Apr 20, 2023
26e1a8e
Updated changelog for release v0.18.9-4
gh-action-bump-version Apr 20, 2023
39a0f17
ci: version bump to v0.18.9-4
gh-action-bump-version Apr 20, 2023
eaaff16
resolves rockcarver/frodo-cli#226
vscheuber May 17, 2023
603f7ab
resolves #228 - Support export/import of authorization policies
vscheuber May 17, 2023
e0fac87
minor JSDoc updates
vscheuber May 17, 2023
9aa08e1
Merge pull request #240 from vscheuber/main
vscheuber May 17, 2023
10e8a84
Updated changelog for release v0.18.9-5
gh-action-bump-version May 17, 2023
4555e5a
ci: version bump to v0.18.9-5
gh-action-bump-version May 17, 2023
bee0517
Change Saml2.getProviderMetadataUrl tests to work with any host
hfranklin May 15, 2023
05ef22e
Merge pull request #242 from trivir/bugfix/241-fix-getProviderMetadat…
vscheuber May 17, 2023
4666a7a
Updated changelog for release v0.18.9-6
gh-action-bump-version May 17, 2023
5d1afc4
ci: version bump to v0.18.9-6
gh-action-bump-version May 17, 2023
da4bfd6
resolves #219
vscheuber May 19, 2023
de5cac2
fixed testing instructions copy and paste error
vscheuber May 20, 2023
4011c2c
resolves #219
vscheuber May 20, 2023
8c28954
resolves #219
vscheuber May 20, 2023
1b54207
resolves #219
vscheuber May 20, 2023
dc157bc
resolves #219
vscheuber May 21, 2023
c11f694
resolves #219
vscheuber May 21, 2023
3978299
Merge pull request #243 from vscheuber/main
vscheuber May 21, 2023
efaed40
Updated changelog for release v0.18.9-7
gh-action-bump-version May 21, 2023
aa347ce
ci: version bump to v0.18.9-7
gh-action-bump-version May 21, 2023
e238aec
Allow tests to run without FRODO_HOST env var set
vscheuber May 21, 2023
066d9bf
update dependencies
vscheuber May 21, 2023
1b7fa70
update changelog
vscheuber May 21, 2023
96cb43a
Merge pull request #244 from vscheuber/main
vscheuber May 21, 2023
db7df6b
Updated changelog for release v0.19.0
gh-action-bump-version May 21, 2023
225ca8f
ci: version bump to v0.19.0
gh-action-bump-version May 21, 2023
7053393
split dependencies into prereqs and deps (hard and soft dependencies)
vscheuber May 21, 2023
6453b1a
Merge branch 'main' of https://github.com/vscheuber/frodo-lib
vscheuber May 21, 2023
318aca9
update changelog
vscheuber May 21, 2023
c14e001
Merge pull request #245 from vscheuber/main
vscheuber May 21, 2023
4269dde
Updated changelog for release v0.19.1
gh-action-bump-version May 21, 2023
2df6766
ci: version bump to v0.19.1
gh-action-bump-version May 21, 2023
f11a26a
resolves #248 - Refactor logging api/ops and move cli functions into …
vscheuber May 25, 2023
6319207
update changelog
vscheuber May 25, 2023
c30b9fb
Merge pull request #249 from vscheuber/main
vscheuber May 25, 2023
ba3e8d7
Updated changelog for release v0.19.2
gh-action-bump-version May 25, 2023
0137b76
ci: version bump to v0.19.2
gh-action-bump-version May 25, 2023
7334a25
MAJOR RELEASE
vscheuber Jun 5, 2023
26aedf0
Updated changelog for release v1.0.0
gh-action-bump-version Jun 5, 2023
560222b
ci: version bump to v1.0.0
gh-action-bump-version Jun 5, 2023
9f093d9
Update pipeline.yml
vscheuber Jun 5, 2023
1cb130a
resolves rockcarver/frodo-cli#218
vscheuber Jun 22, 2023
d2dfe7d
Updated changelog for release v1.0.1-0
gh-action-bump-version Jun 22, 2023
eabb8a0
ci: version bump to v1.0.1-0
gh-action-bump-version Jun 22, 2023
a19c915
Refactor build and pipeline
hfranklin Jun 24, 2023
7415dd3
Add script to run tests without build
hfranklin Jun 25, 2023
47f0772
Create TriVir release
hfranklin May 15, 2023
67134d0
Remove colons from slugs
brain-hol Jun 13, 2023
82b1623
Updated changelog and version for release v1.0.1-trivir.0
github-actions[bot] Jun 25, 2023
d3b27a8
PR test
hfranklin Jun 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
29 changes: 29 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"settings": {
"import/resolver": {
"node": {
"extensions": [".ts"]
}
}
},
"extends": [
"prettier",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"requireConfigFile": false
},
"plugins": ["prettier", "jest", "@typescript-eslint"],
"rules": {
"prettier/prettier": ["error"]
},
"env": {
"jest": true,
"jest/globals": true,
"node": true
},
"ignorePatterns": ["types", "cjs", "esm"]
}
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Feature request
about: Suggest an idea for frodo
title: ''
labels: enhancement
assignees: ''

---

## Describe the solution you'd like
A clear and concise description of what you want to happen.
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/issue-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Issue report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

## Frodo Library version
Provide output of getVersion or us the CLI to get the version `frodo -v`

## Describe the issue
A clear and concise description of what the issue is.
127 changes: 127 additions & 0 deletions .github/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
<!-- README.md for GitHub; the one for NPM is ../README.md. -->

# Frodo Library - @rockcarver/frodo-lib

ForgeROck DO library, frodo-lib, a library to manage ForgeRock Identity Cloud tenants, ForgeOps deployments, and classic deployments.

Frodo-lib powers [frodo-cli](https://github.com/rockcarver/frodo-cli), the command line tool to manage ForgeRock deployments.

## Quick Nav

- [Features](#features)
- [Limitations](#limitations)
- [Installing](#installing)
- [Request features or report issues](#feature-requests)
- [Contributing](#contributing)
- [Maintaining](#maintaining)

## Features

Frodo allows an administrator to easily connect to and manage any number of Identity Cloud tenants, ForgeOps deployment instances, or classic deployment instances from the command line. The following tasks are currently supported:

- User mode

Install and run pre-compiled single binaries without any dependencies for MacOS, Windows, and Linux.

- Manage journeys/trees.

Export, import and pruning of journeys. Frodo handles referenced scripts and email templates.

- Manage applications.

List, export, and import applications (OAuth2 clients).

- Manage connection profiles.

Saving and reading credentials (for multiple ForgeRock deployments) from a configuration file.

- Manage email templates.

List, export, and import email templates.

- Manage IDM configuration.

Export of IDM configuration. Import is coming.

- Print versions and tokens.

Obtain ForgeRock session token and admin access_tokens for a ForgeRock Identity Cloud or platform (ForgeOps) deployment

- View Identity Cloud logs.

List available log sources and tail them.

- Manage realms.

List realms and show realm details. Allow adding and removing of custom DNS names.

- Manage scripts.

List, export, and import scripts.

- Manage Identity Cloud environment specific variables and secrets.

List and view details of secrets and variables in Identity Cloud.

- Platform admin tasks.

Common tasks administrators need to perform daily that are tedious and repetitive. Advanced tasks, which used to be involved and potentially dangerous if performed manually, now made easy and safe.

- Create an oauth2 client with admin privileges.
- Get an access token using client credentials grant type.
- List oauth2 clients with admin privileges.
- Grant an oauth2 client admin privileges.
- Revoke admin privileges from an oauth2 client.
- List oauth2 clients with custom privileges.
- List all subjects of static user mappings that are not oauth2 clients.
- Remove a subject's static user mapping.
- Add AutoId static user mapping to enable dashboards and other AutoId-based functionality.
- Hide generic extension attributes.
- Show generic extension attributes.
- Repair org model (beta).

## Limitations

`frodo` can't export passwords (including API secrets, etc), so these need to be manually added back to imported configuration or alternatively, edit the export file to add the missing fields before importing.

## Installing

### Developer Mode

For those who want to contribute or are just curious about the build process.

- Make sure you have Node.js v14 or newer and npm.
- Clone this repo
```console
git clone https://github.com/rockcarver/frodo-lib.git
```
- Install dependencies via NPM
```console
cd frodo-lib
npm ci
```

### NPM package

If you are a node developer and want to use frodo-lib as a library for your own applications, you can install the npm package:

- To install the latest version as a dependency for you own application:
```console
npm i --save @rockcarver/frodo-lib
```
- To install the latest pre-release:
```console
npm i @rockcarver/frodo-lib@next
```

## Feature requests

Please use the repository's [issues](https://github.com/rockcarver/frodo-lib/issues) to request new features/enhancements or report bugs/issues.

## Contributing

If you would like to contribute to frodo, please refer to the [contributing instructions](../docs/CONTRIBUTE.md).

## Maintaining

If you are a maintainer of this repository, please refer to the [pipeline and release process instructions](../docs/PIPELINE.md).
Loading