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

HATEOS #96

Merged
merged 4 commits into from
May 5, 2022
Merged

HATEOS #96

merged 4 commits into from
May 5, 2022

Conversation

BryceStevenWilley
Copy link
Collaborator

Adds a reflection-based class that gets all of the methods defined in a service object. Makes it easy to show all of the possible services / URLs from partially correct URLs, like the root of the server.

Can go to the root of the site, get a list of services,
go to those services, and then see what you can do with them.

Ideally, it would work like `https://api.github.com`. We aren't quite
there yet, because I don't want to solidify the attributes yet, but
we're getting closer. Biggest thing in the way there are GET query params
that shouldn't exist and end points on individual objects, like courts.
Bigger part: mini tests for the services are in and working now
Using the same process in the previous commits
@BryceStevenWilley
Copy link
Collaborator Author

Only additional thing that I want to document are:

  • I removed support for producing XML content type. It never really worked, and while it would be nice, trying to maintain and update a different XML type for every single list returned would be abysmal. It closes off communicating with A2J, that does use XML, but likely we can convince them to use JSON
  • also removed the password question. Was already deprecated by Tyler, but due to some confusion, I thought it would still be there for certification. It isn't, and can be removed.

@BryceStevenWilley BryceStevenWilley merged commit 3ed77e9 into main May 5, 2022
@BryceStevenWilley BryceStevenWilley deleted the hateos branch May 5, 2022 17:47
BryceStevenWilley added a commit to SuffolkLITLab/docassemble-EFSPIntegration that referenced this pull request May 6, 2022
Payment accounts can take courts now, I got rid of the password quesiton, and
added HATEOS in the Efile server (SuffolkLITLab/EfileProxyServer#96)
BryceStevenWilley added a commit to SuffolkLITLab/docassemble-EFSPIntegration that referenced this pull request May 6, 2022
Payment accounts can take courts now, I got rid of the password quesiton, and
added HATEOS in the Efile server (SuffolkLITLab/EfileProxyServer#96)
BryceStevenWilley added a commit to SuffolkLITLab/docassemble-EFSPIntegration that referenced this pull request May 24, 2022
Payment accounts can take courts now, I got rid of the password quesiton, and
added HATEOS in the Efile server (SuffolkLITLab/EfileProxyServer#96)
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