Thrift module: allocation_manager_cpi

ModuleServicesData typesConstants
allocation_manager_cpiAllocationRegistryService

Services

Service: AllocationRegistryService

Function: AllocationRegistryService.createAllocationRequest

string createAllocationRequest(allocation_manager_models.UserAllocationDetail allocDetail)

API method to create new allocation requests


Function: AllocationRegistryService.deleteAllocationRequest

bool deleteAllocationRequest(string projectId)

API method to delete allocation request


Function: AllocationRegistryService.getAllocationRequest

allocation_manager_models.UserAllocationDetail getAllocationRequest(string projectId)

API method to get an allocation Request


Function: AllocationRegistryService.updateAllocationRequest

bool updateAllocationRequest(allocation_manager_models.UserAllocationDetail allocDetail)

API method to update an allocation Request


Function: AllocationRegistryService.getAllocationRequestStatus

string getAllocationRequestStatus(string projectId)

API method to get an allocation Request status


Function: AllocationRegistryService.getAllocationRequestUserEmail

string getAllocationRequestUserEmail(string userName)

API method to get an allocation Request PI email


Function: AllocationRegistryService.getAllocationManagerAdminEmail

string getAllocationManagerAdminEmail(string userType)

API method to get an allocation Request Admin email


Function: AllocationRegistryService.getAllocationRequestUserName

string getAllocationRequestUserName(string projectId)

API method to get an allocation Request PI


Function: AllocationRegistryService.getAllRequestsForAdmin

list<allocation_manager_models.UserAllocationDetail> getAllRequestsForAdmin(string userName)

API method to get all requests for admin


Function: AllocationRegistryService.assignReviewers

bool assignReviewers(string projectId,
                     string reviewerId,
                     string adminId)

API method to assign reviewers


Function: AllocationRegistryService.updateRequestByReviewer

bool updateRequestByReviewer(allocation_manager_models.ReviewerAllocationDetail reviewerAllocationDetail)

API method to update request submitted by reviewer


Function: AllocationRegistryService.isAdmin

bool isAdmin(string userName)

API method to check if the logged in user is an Admin


Function: AllocationRegistryService.isReviewer

bool isReviewer(string userName)

API method to check if the logged in user is a Reviewer


Function: AllocationRegistryService.getAllRequestsForReviewers

list<allocation_manager_models.UserAllocationDetail> getAllRequestsForReviewers(string userName)

API method to get all requests assigned to the reviewers


Function: AllocationRegistryService.getUserDetails

allocation_manager_models.UserDetail getUserDetails(string userName)

API method to get a user details


Function: AllocationRegistryService.getAllReviewsForARequest

list<allocation_manager_models.ReviewerAllocationDetail> getAllReviewsForARequest(string projectId)

API method to get all the reviews for a request


Function: AllocationRegistryService.getAllReviewers

list<allocation_manager_models.UserDetail> getAllReviewers()

API method to get all reviewers


Function: AllocationRegistryService.getAllUnassignedReviewersForRequest

list<allocation_manager_models.UserDetail> getAllUnassignedReviewersForRequest(string projectId)

API method to get all unassigned reviewers for a request


Function: AllocationRegistryService.approveRequest

bool approveRequest(string projectId,
                    string adminId,
                    i64 startDate,
                    i64 endDate,
                    i64 awardAllocation)

API method to approve a request


Function: AllocationRegistryService.rejectRequest

bool rejectRequest(string projectId,
                   string adminId)

API method to reject a request


Function: AllocationRegistryService.createUser

bool createUser(allocation_manager_models.UserDetail userDetail)

API method to create a new user