Skip to content

Wren/feature/subtree flattening - #3

Merged
vharseko merged 16 commits into
OpenIdentityPlatform:masterfrom
GuyPaddock:wren/feature/subtree-flattening
Nov 22, 2017
Merged

Wren/feature/subtree flattening#3
vharseko merged 16 commits into
OpenIdentityPlatform:masterfrom
GuyPaddock:wren/feature/subtree-flattening

Conversation

@vharseko

Copy link
Copy Markdown
Member

No description provided.

Guy Elsmore-Paddockand others added 16 commits October 25, 2017 21:46
Corrects three obscure defects in the Rest2LDAP implementation of CREST descriptors:
- Read-only sub-resources were not appearing at all in the CREST API description JSON.
- When read-only sub-resources appeared in the API description alongside writable sub-resources for the same models, the generated service name for the sub-resources was the same, leading to an IllegalStateException. Now, we generate a unique service name for each sub-resource based on its writability.
- A top-level `create` request was still being rendered in the API description for read-only sub-resources.
…est-read-only-desc
Fix read-only sub-resource CREST API descr (WrenSecurity#6)
As we're going to be making a lot of changes in this area, the tests should at least be legible first.
This adds OUs to the in-memory data model being used by tests, then re-works the existing tests so they continue to pass now that we have that extra data. The next few commits will rely on these OUs to verify that subtree search is working.
Also adds a few accessors in order to faciliate accessors for tests. More work is needed in this area -- FR's code is an inconsistent mess of final classes, fluent factory methods, and accessors with the wrong access level.
Minor tweaks to Javadocs and a little formatting (this class needs a lot more).
Adds the internals needed to apply search filters to collection sub-resources.
- Adds logic to configure base search filter using the new `baseSearchFilter` option for collection sub-resources.
- Re-factors a bit of sub-resource configuration to make the code easier to follow and less of a mess.
Sign up for freeto 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

@vharseko@Kortanul