Types

Link copied to clipboard
@Serializable
data class JiraCloudId(val id: String, val url: String, val name: String, val scopes: List<String>)
Link copied to clipboard
@Component
class JiraDataService(@Qualifier(value = "graphglueNeo4jOperations") val neoOperations: ReactiveNeo4jOperations, val tokenManager: JiraTokenManager, val helper: JsonHelper, val objectMapper: ObjectMapper, val jsonNodeMapper: JsonNodeMapper, val gropiusUserRepository: GropiusUserRepository, val issueDataRepository: IssueDataRepository) : SyncDataService

Context for Jira Operations

Link copied to clipboard

A budget for the Jira resource walker.

An estimated budget for the Jira resource walker.

Link copied to clipboard

Condig for Jira Resozrce Walkers

Link copied to clipboard
@Component
class JiraSync(val jiraDataService: JiraDataService, val helper: JsonHelper, val cursorResourceWalkerDataService: CursorResourceWalkerDataService, val imsConfigManager: IMSConfigManager, collectedSyncInfo: CollectedSyncInfo, val loadBalancedDataFetcher: LoadBalancedDataFetcher = LoadBalancedDataFetcher(), val issueDataService: IssueDataService, val syncStatusService: SyncStatusService) : AbstractSync

Jira main sync class

Link copied to clipboard
@Component
class JiraTokenManager(@Qualifier(value = "graphglueNeo4jOperations") neoOperations: ReactiveNeo4jOperations, syncConfigurationProperties: SyncConfigurationProperties) : TokenManager<JiraTokenResponse>
Link copied to clipboard
@Serializable
data class JiraTokenResponse(val token: String?, val isImsUserKnown: Boolean, val cloudIds: List<JiraCloudId>? = null, val type: String? = null) : BaseResponseType

Response of the getIMSToken login endpoint

Link copied to clipboard
@Configuration
@EnableScheduling
class Scheduler(val githubSync: JiraSync, val syncConfigurationProperties: SyncConfigurationProperties, val jiraConfigurationProperties: JiraConfigurationProperties) : SchedulingConfigurer
Link copied to clipboard
@Serializable
data class StatusDetails(val id: String, val name: String)

Details of the issue status after the transition.

Link copied to clipboard
data class SyncStatus(val imsProject: String, var lastSuccessfulSync: OffsetDateTime?)

Base class for storing information about general sync status

Link copied to clipboard
@Repository
interface SyncStatusRepository : ReactiveMongoRepository<SyncStatus, ObjectId>

Repository for accessing the sync status

Link copied to clipboard
@Service
class SyncStatusService(val syncStatusRepository: SyncStatusRepository) : SyncStatusRepository

Service for modifying the sync status

Link copied to clipboard
@Serializable
data class Transition(val id: String, val name: String, val to: StatusDetails)

A transition that can be performed by the user on an issue

Link copied to clipboard
@Serializable
data class TransitionList(val transitions: List<Transition>)

all transitions or a transition that can be performed by the user on an issue, based on the issue's status.