@Component
class IssueCleaner(@Qualifier(value = "graphglueNeo4jOperations") val neoOperations: ReactiveNeo4jOperations)

Reconsturcts the fields of an issue from the timeline

Sync services using this can only zip the timelines together and clean it into a valid state to merge two issues

Constructors

Link copied to clipboard
constructor(@Qualifier(value = "graphglueNeo4jOperations") neoOperations: ReactiveNeo4jOperations)

Properties

Link copied to clipboard
val neoOperations: ReactiveNeo4jOperations

Functions

Link copied to clipboard
private suspend fun cleanAssignments(issue: Issue)

Clean all labels on this issue into a consistent state

Link copied to clipboard
private suspend fun cleanComments(issue: Issue)

Resort comments into comments list

Link copied to clipboard
suspend fun cleanIssue(issue: Issue)

Execute the cleaning process Does NOT save the issue

Link copied to clipboard
private suspend fun cleanLabels(issue: Issue)

Clean all labels on this issue into a consistent state

Link copied to clipboard
private suspend fun cleanState(issue: Issue)

Clean the open state on this issue into a consistent state

Link copied to clipboard
private suspend fun cleanTemplatedFields(issue: Issue)

Clean the templated fields on this issue into a consistent state

Link copied to clipboard
private suspend fun cleanTitle(issue: Issue)

Clean the title on this issue into a consistent state