A service for issue piles
Parameters
issuePileRepository
The issue pile repository
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun findByImsProjectAndGithubId(imsProject: String, githubId: String): IssuePileData?
Find an issue pile by IMS project ID and GitHub ID
Link copied to clipboard
open suspend override fun findByImsProjectAndHasUnsyncedData(imsProject: String, hasUnsyncedData: Boolean): List<IssuePileData>
Find all issue piles by IMS project ID and whether they have unsynced data
Link copied to clipboard
open suspend override fun findByImsProjectAndNeedsCommentRequest(imsProject: String, needsCommentRequest: Boolean): List<IssuePileData>
Find all issue piles by IMS project ID requiring a new Comment request
Link copied to clipboard
open suspend override fun findByImsProjectAndNeedsTimelineRequest(imsProject: String, needsTimelineRequest: Boolean): List<IssuePileData>
Find all issue piles by IMS project ID requiring a new Timeline request
Link copied to clipboard
open suspend override fun findFirstByImsProjectOrderByLastUpdateDesc(imsProject: String): IssuePileData?
Find an issue pile by IMS project ID and GitHub ID
Link copied to clipboard
suspend fun integrateIssue(imsProject: IMSProject, data: IssueReadQuery.Data.Repository.Issues.Node)
Integrate an issue into the database
Link copied to clipboard
suspend fun integrateTimelineItem(issue: ObjectId, data: TimelineReadQuery.Data.IssueNode.TimelineItems.Node)
Integrate a timeline item into the database
Link copied to clipboard
Map a TimelineItem from the API to the Database
Link copied to clipboard
suspend fun markCommentDone(issue: ObjectId, comment: String, updatedAt: OffsetDateTime, body: String)
Mark a comment as needing no new comment request
Link copied to clipboard
Mark an issue as done
Link copied to clipboard
Mark an issue as needing no new timeline request