Skip to content
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.

Add ability to change the sort used in a search #36

Open
wants to merge 19 commits into
base: development
Choose a base branch
from

Conversation

mariannemyers
Copy link

Support adding the sort to the operator-state.

For now this does use the legacy /v1/config/query route. I was not able to get the sample call using the defaultExtensionRoute (routes/api/index.js:65) to work; I kept getting a 405.

Relates to "sibling" PRs:
marklogic-community/grove-core-react-components#10
marklogic-community/grove-search-redux#9
marklogic-community/grove-core-react-redux-containers#10

Audarth and others added 19 commits November 11, 2019 12:00
And add tests around isAuthorized() while we are at it.

I note that the API spec prefers `errorMessage` to `message`, but I
proposed in Jira that we modify the spec instead.
getAuth is going to throw an Unauthorized error. If we don't care about
authentication, we send the request anyway.

Tests would be nice to maintain this behavior.
Let's be a bit more careful here and throw errors other than
"Unauthorized", so we don't accidentally swallow something.
for the proxy to MarkLogic. Both are viable prefixes for MarkLogic.
…ntage of built in features ie. rolling/refreshing sessions and expiration to replace custom code
…tore the hashed username:realm:password in the session securely
#25: added initial implementation of default route for rest extensions
#31: added default ping route, including call to backend ping extension
endpoint: '/config/query/*',
methods: ['get'],
authed: true
}
Copy link
Contributor

Choose a reason for hiding this comment

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

would be nice if we could get that addition of mine working with this instead..

@mariannemyers
Copy link
Author

Note to self @mariannemyers - you'll need to refactor this now that grove-react-ui had its related packages folded in.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants