Types

Link copied to clipboard
abstract class AbstractSync(val collectedSyncInfo: CollectedSyncInfo) : DataFetcher

Base class for sync

Link copied to clipboard

Base class for Login Service API responses

Link copied to clipboard
@Component
class CollectedSyncInfo(@Qualifier(value = "graphglueNeo4jOperations") val neoOperations: ReactiveNeo4jOperations, val issueConversionInformationService: IssueConversionInformationService, val issueRepository: IssueRepository, val timelineItemConversionInformationService: TimelineItemConversionInformationService, val syncNotificator: SyncNotificator, val issueCleaner: IssueCleaner, val nodeRepository: NodeRepository)

Bean accessor

Link copied to clipboard

Cursor Resource Walker#

Link copied to clipboard
data class CursorResourceWalkerConfig<BudgetUsageType, EstimatedBudgetUsageType>(val basePriority: Double, val priorityIncrease: Double, val estimatedBudget: EstimatedBudgetUsageType, val failureBudget: BudgetUsageType)

Config for a cursor resource walker

Link copied to clipboard
data class CursorResourceWalkerData(val imsProject: String, val resource: String, var currentPriority: Double)

Database data for a cursor resource walker

Link copied to clipboard
@Repository
interface CursorResourceWalkerDataRepository : ReactiveMongoRepository<CursorResourceWalkerData, ObjectId>

Repository for cursor resource walker data

Link copied to clipboard

Data service for cursor resource walker data

Link copied to clipboard
interface DataFetcher

Interface for syncing data

Link copied to clipboard

Dereplicator info

Link copied to clipboard

Dereplicator info

Link copied to clipboard

Dereplicator info

Link copied to clipboard

Fallback Timeline Item Conversion

Link copied to clipboard
Link copied to clipboard
class HeuristicDereplicator(val issueThreshold: Double, val commentThreshold: Double) : IssueDereplicator

Heuristic dereplicator

Link copied to clipboard
abstract class IncomingIssue

This class is used to store information about the conversion of an issue.

Link copied to clipboard
abstract class IncomingTimelineItem

This class is used to store information about the conversion of a timeline item.

Link copied to clipboard

Dereplicator that changes the title of issues to include a UUID

Link copied to clipboard
@Component
class IssueCleaner(@Qualifier(value = "graphglueNeo4jOperations") val neoOperations: ReactiveNeo4jOperations)

Reconsturcts the fields of an issue from the timeline

Link copied to clipboard
class IssueConversionInformation(val imsProject: String, val githubId: String, var gropiusId: String?)

This class is used to store information about the conversion of a issue

Link copied to clipboard
@Repository
interface IssueConversionInformationRepository : ReactiveMongoRepository<IssueConversionInformation, ObjectId>

This interface is used to acess stored information about the conversion of a issue

Link copied to clipboard

Service to access issue conversion information

Link copied to clipboard

Dereplicator for issues

Link copied to clipboard

Output of a dereplicator for an issue

Link copied to clipboard

Input for a dereplicator

Link copied to clipboard

Output of a dereplicator for a timeline item

Link copied to clipboard
@Component
class JsonHelper(val objectMapper: ObjectMapper)

Spring component containing helper function for GitHub sync related json operations

Link copied to clipboard
@Serializable
data class LinkImsUserQuery(val imsUserIds: List<String>)
Link copied to clipboard

Fetches data from the GitHub API

Link copied to clipboard

Budget for a resource walker

Link copied to clipboard

Exception thrown when no valid token is available

Link copied to clipboard

A simple implementation of IssueDereplicator that just returns the issue and the timeline items.

Link copied to clipboard
abstract class ResourceWalker

In terface for implementing a resource walker

Link copied to clipboard

A budget for a ResourceWalker that uses a BudgetUsageType to track the usage of the budget.

Link copied to clipboard
open class SimpleDereplicatorIssueResult(val issue: Issue, val fakeSyncedItems: List<TimelineItem>) : IssueDereplicatorIssueResult

A simple implementation of IssueDereplicatorIssueResult that just returns the issue and the fake synced items.

Link copied to clipboard

A simple implementation of IssueDereplicatorTimelineItemResult that just returns the timeline items.

Link copied to clipboard
class SimpleIssueDereplicatorRequest(val dummyUser: User, val neoOperations: ReactiveNeo4jOperations, val issueRepository: IssueRepository) : IssueDereplicatorRequest

Simple static issue dereplicator request implmeneation

Link copied to clipboard
@ConfigurationProperties(value = "gropius.sync")
data class SyncConfigurationProperties(val schedulerFallbackTime: Long, val loginServiceBase: URI, val apiSecret: String)

Configuration properties for the GitHub API

Link copied to clipboard
interface SyncDataService

Base interface for passing data through the sync

Link copied to clipboard
@Component
class SyncNotificator(@Qualifier(value = "graphglueNeo4jOperations") val neoOperations: ReactiveNeo4jOperations, val helper: JsonHelper)

Dummy class for the future notification center

Link copied to clipboard
abstract class TimelineItemConversionInformation(val imsProject: String, val githubId: String?, var gropiusId: String?)

Base class for storing information about the conversion of a timeline item

@Repository
interface TimelineItemConversionInformationRepository : ReactiveMongoRepository<TimelineItemConversionInformation, ObjectId>

Repository for accessing the timeline item conversion information

Link copied to clipboard

Service for modifying the timeline item conversion information

Link copied to clipboard
abstract class TokenManager<ResponseType : BaseResponseType>(@Qualifier(value = "graphglueNeo4jOperations") val neoOperations: ReactiveNeo4jOperations, val syncConfigurationProperties: SyncConfigurationProperties)

Manager for token from login service