-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Spar Polysemy: Separate out Brig and Galley effects (#1810)
* Make sure to actually wrap the action in 'wrapMonadClientSem' * Implement wrapMonadClient in terms of wrapMonadClientSem * Pull out IdP effect * Push Member IdP constraints throughout * Pull application logic out of Data and into App * Use application-level functions instead * Remove deleteTeam from Data too * Get rid of wrapMonadClientWithEnvSem * Implement wrapSpar * Undo accidental formatting * Update cabal * make format * Update changelog * Get rid of the untouchable variable in liftSem * Be very careful about wrapping in the same places * Resort exports * Changelog * DefaultSsoCode effect * ScimTokenStore effect * wip BindCookie effect * Forgot some callsites * Get tests compiling again * Get everything compiling * remove runSparCassSem * Change the tests to use IdP * Finish all SAMLUser and IdP effects refs in tests * Excise all references to IdP and SAMLUser effects * make format * make format * Remove all references to new effects * make format * Add ScimUserTimesStore effect * ScimExternalIdStore effect * make format * Implement scimExternalIdStoreToCassandra * Use Members when appropriate * make format * Fixes. * Remove unwritten BindCookie effect modules * SAMLUser -> SAMLUserStore * Don't do extraneous lifting * Changelog.d * AReqIDStore effect * make format * AssIDStore effect * Update Spar/API * Fix tests * make format * Add store/getVerdictFormat to AReqIDStore * BindCookieStore effect * Remove runSparCass* * Remove cassandra-specific utils * make format * Add BrigAccess effect * Make tests compile * make format * GalleyAccess effect * Comments/formatting * make format * Remove MonadHttp instance * Tear Brig and Galley apart into effects * Implement HTTP handlers for Brig and Galley * Remove commented instances * make format * Get tests compiling again * Stale comment * Implement MonadLogger for RunHttp * Fix build for :spec target * Add changelog * make formt
- Loading branch information
Showing
20 changed files
with
619 additions
and
327 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This PR pulls apart the Spar.Intra.(Brig|Galley) modules into polysemy effects, as part of ongoing work to excise all IO from Spar. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.