Skip to content
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

ref: migrate /spcp/redirect endpoint to TypeScript #635

Merged
merged 19 commits into from
Nov 16, 2020

Conversation

mantariksh
Copy link
Contributor

This PR migrates the /spcp/redirect endpoint to TypeScript. Note that the base branch is ref/ts-spcp, which will be eventually merged into develop after all the SPCP functionality has been migrated.

Copy link
Contributor

@karrui karrui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

src/app/modules/spcp/spcp.service.ts Outdated Show resolved Hide resolved
src/app/modules/spcp/__tests__/spcp.factory.spec.ts Outdated Show resolved Hide resolved
@mantariksh mantariksh merged this pull request into ref/ts-spcp Nov 16, 2020
mantariksh added a commit that referenced this pull request Nov 17, 2020
* ref: implement new redirect URL functions

* ref: combine sp and cp functions

* ref: implement factory

* ref: log error in service

* ref: implement mapRouteError

* ref: implement handleRedirect

* ref: implement routes

* docs: add docs for handleRedirect

* docs: add docs for routes

* ref: use new router

* ref: delete old redirect code

* test: add service tests

* test: add factory tests

* test: add controller tests

* test: add integration tests

* test: remove jasmine tests

* ref: initialise message in error ctor

* ref: defend against invalid authType

* test: use custom errors
@karrui karrui deleted the ref/ts-spcp-redirect branch November 18, 2020 07:24
mantariksh added a commit that referenced this pull request Nov 19, 2020
* ref: implement new redirect URL functions

* ref: combine sp and cp functions

* ref: implement factory

* ref: log error in service

* ref: implement mapRouteError

* ref: implement handleRedirect

* ref: implement routes

* docs: add docs for handleRedirect

* docs: add docs for routes

* ref: use new router

* ref: delete old redirect code

* test: add service tests

* test: add factory tests

* test: add controller tests

* test: add integration tests

* test: remove jasmine tests

* ref: initialise message in error ctor

* ref: defend against invalid authType

* test: use custom errors
mantariksh added a commit that referenced this pull request Nov 23, 2020
* ref: implement new redirect URL functions

* ref: combine sp and cp functions

* ref: implement factory

* ref: log error in service

* ref: implement mapRouteError

* ref: implement handleRedirect

* ref: implement routes

* docs: add docs for handleRedirect

* docs: add docs for routes

* ref: use new router

* ref: delete old redirect code

* test: add service tests

* test: add factory tests

* test: add controller tests

* test: add integration tests

* test: remove jasmine tests

* ref: initialise message in error ctor

* ref: defend against invalid authType

* test: use custom errors
mantariksh added a commit that referenced this pull request Nov 23, 2020
* refactor: standardise usage of getUniqueMyInfoAttrs (#636)

* ref: migrate /spcp/redirect endpoint to TypeScript (#635)

* refactor: migrate /spcp/validate to TypeScript (#656)

* refactor: migrate addSpcpSessionInfo to TypeScript (#664)

* refactor: migrate isSpcpAuthenticated to TypeScript (#666)

* refactor: create addLoginFromForm static method (#679)

* refactor: move passThroughSpcp business logic into service (#667)

* refactor: migrate SPCP /login endpoints to TypeScript (#680)

* refactor: migrate appendVerifiedSpcpResponses to TypeScript (#693)

* docs: add docs for all new functions (#696)

* test: add tests for SPCP login endpoints (#695)

* feat: log login HTML

* fix: change title check to null-only
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants