-
Notifications
You must be signed in to change notification settings - Fork 842
Remove SAML IDP feature #2638
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
Remove SAML IDP feature #2638
Conversation
|
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/186632650 The labels on this github issue will be updated when the story is started. |
a7f4f5a to
dc428b5
Compare
804dd95 to
aa60f2c
Compare
07271e7 to
8507289
Compare
9b047f7 to
07c38ee
Compare
* Comment out / delete code to get the project to work * status: all unit tests passing (./gradlew test), local server starts (./gradlew run) successfully with the UAA login page working in browser [#182118433] Co-authored-by: Alicia Yingling <[email protected]> Co-authored-by: Bruce Ricard <[email protected]> Co-authored-by: Danny Faught <[email protected]> Co-authored-by: Peter Chen <[email protected]>
[#182118433] Co-authored-by: Bruce Ricard <[email protected]>
[#182118433] Co-authored-by: Bruce Ricard <[email protected]>
[#182118433] Co-authored-by: Bruce Ricard <[email protected]>
[#182118433] Co-authored-by: Bruce Ricard <[email protected]>
- Changed the doc test to use mocked-up data instead of making actual calls to the end-point that does not exist anymore. [#182118433] Co-authored-by: Alicia Yingling <[email protected]>
- The unit test was testing the idp endpoint which is removed, so the test is now removed. [#182118433] Co-authored-by: Hongchol Sinn <[email protected]>
- Disabled/removed test cases that depend on the removed SAML IDP feature. [#182118433] Co-authored-by: Bruce Ricard <[email protected]>
- Replaced the use of the removed SAML IDP endpoint call with mockup data. - Also, some clean-ups and refactoring [#182118433] Co-authored-by: Hongchol Sinn <[email protected]> Co-authored-by: Danny Faught <[email protected]> Co-authored-by: Bruce Ricard <[email protected]> Co-authored-by: Alicia Yingling <[email protected]>
- The integration test was getting the IDP metadata from actual UAA server, which needs be bypassed as UAA does not have the SAML IDP endpoint anymore. - With that, the existing integration test basically becomes the same as `TokenEndpointDocs.getTokenUsingSaml2BearerGrant()`. - So removed the existing integration test cases and created a new mock mvc test based on the `TokenEndpointDocs` code. [#182118433] Co-authored-by: Bruce Ricard <[email protected]>
- These inputs to the parameterized tests are testing "/saml/idp/metadata" endpoint which has been removed [#182118433] Co-authored-by: Peter Chen <[email protected]>
- the logic being tested in these two tests are already covered by Saml2BearerGrantMockMvcTests - since UAA-as-a-SAML-IDP feature has been removed, the difference between these two tests (same zone vs two zones) do not matter so they can both be covered by Saml2BearerGrantMockMvcTests [#182118433] Co-authored-by: Peter Chen <[email protected]>
- this 3 lines have no bearing on these 2 tests Co-authored-by: Peter Chen <[email protected]>
- to clarify things - and correct wrong comments [#182118433] Co-authored-by: Peter Chen <[email protected]>
strehle
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check and change Readme notice but the rest LGTM
|
As mentioned in slack , please wait until release 76.31.0, then merge this PR and increase major version, thanks |
- Remove the added section about the removed feature as that should be just mentioned in release notes. [#182118433]
Done |
- This table was added for the UAA-as-SAML-IDP feature (b93c87a) - This feature has been removed: #2638. Hence this table is now unused. - The "DROP TABLE IF EXISTS" syntax would not error out if the table does not exist, compared to just "DROP TABLE". - Also clean up docs and a test util that reference this table. [#182118433]
- This table was added for the UAA-as-SAML-IDP feature (b93c87a) - This feature has been removed: #2638. Hence this table is now unused. - The "DROP TABLE IF EXISTS" syntax would not error out if the table does not exist, compared to just "DROP TABLE". - Also clean up docs and a test util that reference this table. [#182118433]
Approve or disapprove but do not merge to develop yet.We want merge this todevelopnow. As this is a breaking change,we have to decide which UAA version this change should go with.we also want to bump UAA major version after the merge.