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

Add staff info lookup to MIDAS app #16

Open
wants to merge 42 commits into
base: integration
Choose a base branch
from

Conversation

RayPlante
Copy link
Collaborator

The official NIST agency web service providing staff information does not permit browser-based applications to contact the service directly; instead, it only allows clients running on pre-approved servers within the NIST firewall. Thus, to give access to staff information in our MIDAS front ends (e.g. to provide on-the-fly suggestions), they must go through some form of proxy. This PR introduces such a proxy into the MIDAS web server app. In particular, we introduce the /midas/nsd/oar1 endpoint which provides a custom interface (i.e. not a replication of NIST service) that is optimized for use by the MIDAS front-ends. This includes downloading lightweight indexes based on the characters typed by a user into an input box that can be used to offer completion suggestions either for people or organizations.

The stand-alone midasserver and peopleserver docker applications were updated and documented (via READMEs). These allow developers to run private versions of these services to support development of the front-end components that need access to it.

  * service: add status() and load_from()
  * oar1, nsd1: return status/ready info; preauthorize; support ashead
  * midas.wsgi: don't attempt authentication if not configured
  * expand tests
of people data into database:
  * provide load functions to underlying apps
  * leverage load function at start-up time
  * add LOAD method to MIDAS app for updating people data into
    running system.
  * add JSONFormat
  * Ready*: make it possible to specify default format (like JSON)
  * fix use of Ready in midas.nsdi.wsgi.v1
@RayPlante
Copy link
Collaborator Author

@chuanlin2018 @Iskander54 @nikblonder, You don't have to do a full-on review, but I wanted to give you an opportunity to offer any comments about this PR, particularly regarding the documentation

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.

1 participant