This PR changes how full exports are done using the 'frodo config' command. Imports were updated accordingly, and updates made in the PR in frodo-lib under the same name as this PR update the library functions that this PR depends on. Changes for exports include:
Full export across all realms, and organization of exports by global and realms
Addition of mappings to full export
Filtering exports based on the deployment type
When exporting to files, files now end with a newline.
Additionally, various typos and bugs were fixed. A list of some of the notable bugs that were fixed include:
The -m and --type flags not working correctly.
Service listing not working when names didn't exist for a given service.
Config imports appeared to have a few bugs when generating the import json.
Some tests were additionally added to the config export/import tests in order to test classic deployments. The tests use the host "http://openam-frodo-dev.classic.com:8080/am" since I used a local instance for the tests, but in the future we may want a more official way to handle doing classic deployment tests as opposed to having to spin up a local instance each time we want to update the mocks, which instances may differ depending on who is updating the tests.
This PR changes how full exports are done using the 'frodo config' command. Imports were updated accordingly, and updates made in the PR in frodo-lib under the same name as this PR update the library functions that this PR depends on. Changes for exports include:
Additionally, various typos and bugs were fixed. A list of some of the notable bugs that were fixed include:
Some tests were additionally added to the config export/import tests in order to test classic deployments. The tests use the host "http://openam-frodo-dev.classic.com:8080/am" since I used a local instance for the tests, but in the future we may want a more official way to handle doing classic deployment tests as opposed to having to spin up a local instance each time we want to update the mocks, which instances may differ depending on who is updating the tests.