HathiTrust JIRA feedback collector
Report Bug
-
Request Feature
- About the Project
- Built With
- Project Set Up
- Content Structure
- Functionality
- Usage
- Tests
- Hosting
- Resources
Allows the front-end to express the various form and data elements and send that to Jira. It needs to know what Jira needs so that it can effectively send it to Jira for ingest.
We wanted to use the Jira API but we couldnt do that directly from the browser because we couldn't put API keys in the HTML source code. It also abstracts the Jira API from the front-end.
-
Docker
-
Jira API key
- Jira Service Desk Instance for communication
-
JIRA_ENDPOINT Your Jira endpoint
-
JIRA_USERNAME = ''
-
JIRA_KEY = ''
-
HT_ACCOUNT_ID ID number that corresponds to the support email address user. A user of Jira.
- This section clearly outline the steps taken to get the project installed on the system. This is a great place to include commands that have been run and configuration files that have been changed.
git clone [email protected]:hathitrust/feedback-collector.git
cd feedback-collector
- add API info to
.env.example
and remove the.example
extension $ docker compose up
- use Postman to
GET
requesthttp://localhost:5000/api
- This section outlines how your project will work. For example, some sites have integrations with third-party APIs. These should be outlined in terms of how they’ll work and whatever other information is needed. This section may mirror/overalap/mingle with indepth code documentation.
- This section should clearly state the intended usecase for this project and how to interact with it. This section could aid in developing tests for the product as well as uncover un-intended use cases.
- Uses Nock and Sinon to mock the Jira API and tests that the expected feedback form parameters and expected issues getting posted to jira are present. The rest of it checks that the error conditions are passed back to the feedback form.
- For the HathiTrust production deployment, this is deployed using ArgoCD and Tanka; private control repository
- This section should be used to keep track of any 3rd party resources used to help aid in the creation of this project.