-
Notifications
You must be signed in to change notification settings - Fork 6
Basic Beta Cortex API + Employer Integration POC #513
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
Conversation
f43708d to
5091ea8
Compare
|
@arelia this seems to be a bug already present in |
|
I'm noticing the same error as Arelia when creating a media type. Not sure if this was addressed yet beyond the defect that will be created. |
|
@mrfantasticwonders per my previous comment:
|
MKwenhua
left a comment
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!

Purpose:
This PR implements a very rudimentary RESTful API for Beta Cortex's ContentItems and ContentTypes. This is by no means future-proofed and will be scrapped in a couple quarters - but it accomplishes the goal of liberating our data. Lacking are easy ways for the consuming application to query FieldItem data, retrieve related ContentItems<->ContentItems, etc. I've purposefully commented out some lines of code as placeholders - these will be implemented in another PR I plan on pushing this weekend or next (implementing tenancy, some very basic filtering and finding, etc). This PR also implements a POC for the Employer Integration ContentType. This was put together a few weeks back to demonstrate how quickly we can spin up new ContentTypes as needs arise.
JIRA:
N/A
Steps to Take On Prod
N/A - eventually, we'll want to seed the Employer Integration ContentType, but since it's a POC and is not complete, we will hold off on doing so.
Changes:
Changes to setup
Architectural changes
Migrations
reseedtask, as it is still a POC. You can manually seed via this command:bundle exec rake employer:integration:seedLibrary changes
Side effects
Screenshots
Before
N/A
After
N/A
QA Links:
http://web.cortex-1.development.c66.me/
How to Verify These Changes
Specific pages to visit
Steps to take
employer_blog,employer_integration,media)Responsive considerations
Relevant PRs/Dependencies:
This is 1/2 of the PRs (the other will be opened in
cortex-clientshortly) needed to implement #512Additional Information
N/A