@Component
Context for Jira Operations
Parameters
neoOperations
Neo4jOperations to access the database
tokenManager
Reference for the spring instance of JiraTokenManager
helper
Reference for the spring instance of JsonHelper
objectMapper
Reference for the spring instance of ObjectMapper
jsonNodeMapper
Reference for the spring instance of JsonNodeMapper
gropiusUserRepository
Reference for the spring instance of GropiusUserRepository
issueDataRepository
Reference for the spring instance of IssueDataRepository
Constructors
Link copied to clipboard
constructor(@Qualifier(value = "graphglueNeo4jOperations") neoOperations: ReactiveNeo4jOperations, tokenManager: JiraTokenManager, helper: JsonHelper, objectMapper: ObjectMapper, jsonNodeMapper: JsonNodeMapper, gropiusUserRepository: GropiusUserRepository, issueDataRepository: IssueDataRepository)
Properties
Functions
Link copied to clipboard
Collect list of users to request with using
Link copied to clipboard
private suspend fun generateNullUser(imsProject: IMSProject, name: String, displayName: String): IMSUser
Generate a new IMSUser to be a placeholder in erroneous situations
Link copied to clipboard
Get the default issue state
Get the named issue state
Link copied to clipboard
Find and ensure the IMSTemplate in the database
Link copied to clipboard
Find and ensure the IMSIssueTemplate in the database
Link copied to clipboard
Map a label from Jira to Gropius
Link copied to clipboard
Get a IMSUser for a Jira user
Link copied to clipboard
Link copied to clipboard
inline suspend fun <T> sendRequest(imsProject: IMSProject, requestMethod: HttpMethod, body: T? = null, crossinline urlBuilder: URLBuilder.(URLBuilder) -> Unit, token: JiraTokenResponse): Optional<HttpResponse>
Process the request for a single token