-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/app 47 read corpus type information via admin service #274
Feature/app 47 read corpus type information via admin service #274
Conversation
…via-admin-service
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.
Looks good, but I just wonder about using the corpus_type_name
as the identifier.
I don't think this API is used outside navigator-admin
ecosystem, so it shouldn't expose a breaking change outside of this scope, so maybe not a problem?
Corpus types don't have IDs believe it or not 😬 The name is the primary key. We won't be allowing the corpus type name to be changed in the admin service (at least at the moment) - just the corpus type description. |
Feels like something we should get to sooner rather than later - minting and IDing our objects. This is probably something that should percolate through the system too. But that's something that will need a more abstract design, outside the scope of this PR. |
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.
Fab - thanks for the insight from your answers!
Yeah very much agreed! |
Description
Add /all and /get routes for corpus types in the admin service.
Proposed version
Please select the option below that is most relevant from the list below. This
will be used to generate the next tag version name during auto-tagging.
Visit the Semver website to understand the
difference between
MAJOR
,MINOR
, andPATCH
versions.Notes:
used -- e.g. Major > Minor > Patch
sure your selected option is marked
[x]
with no spaces in between thebrackets and the
x
Type of change
Please select the option(s) below that are most relevant:
How Has This Been Tested?
Please describe the tests that you added to verify your changes.
Reviewer Checklist