Thrift module: allocation_manager_models

Required allocation request details

  • id : (primary key) Ask the user to assign project ID, but this project should unique, we will need an API endpoint to check whether this ID is not used by other projects and the username
  • applicationsToBeUsed : Select the application that the user intends to use, according to application chosen here, resources that can be allocable will be fetch from resource discovery module. User will not be restricted to these application upon allocation grant, provided the resources allocated support the application.
  • diskUsageRangePerJob : An optional field to help reviewer and PI for allocation approval
  • documents : Resume, CV, PI’s portfolio etc
  • fieldOfScience :An optional field to help reviewer and PI for allocation approval
  • keywords : Keyword will be helpful in search
  • maxMemoryPerCpu :An optional field to help reviewer and PI for allocation approval
  • numberOfCpuPerJob : An optional field to help reviewer and PI for allocation approval
  • projectDescription :(Eg: Hypothesis, Model Systems, Methods, and Analysis)
  • projectReviewedAndFundedBy : (Eg., NSF, NIH, DOD, DOE, None etc...). An optional field to help reviewer and PI for allocation approval
  • requestedDate: The date the allocation was requested
  • serviceUnits : 1 SU is approximately 1 workstation CPU hour, if the user fails to give a value, default value will be chosen.
  • specificResourceSelection : This list will be fetched from resource discovery module, in case of community allocation, the request is subject to reviewers, PI discretion and availability
  • title : Assign a title to allocation request
  • typeOfAllocation : If the User has an exclusive allocation with third party organization and wants to use airavata middleware to manage jobs.
  • typicalSuPerJob : An optional field to help reviewer and PI for allocation approval

  • ModuleServicesData typesConstants
    allocation_manager_models AllocationManagerException
    ProjectReviewer
    ReviewerAllocationDetail
    UserAllocationDetail
    UserDetail

    Data structures

    Struct: UserAllocationDetail

    KeyFieldTypeDescriptionRequirednessDefault value
    1projectIdstringoptional
    2applicationsToBeUsedstringoptional
    3diskUsageRangePerJobi64optional
    4documentsbinaryoptional
    5fieldOfSciencestringoptional
    6keywordsstringoptional
    7maxMemoryPerCpui64optional
    8numberOfCpuPerJobi64optional
    9projectDescriptionstringoptional
    10projectReviewedAndFundedBystringoptional
    11requestedDatei64optional
    12serviceUnitsi64optional
    13specificResourceSelectionstringoptional
    14titlestringoptional
    15typeOfAllocationstringoptional
    16typicalSuPerJobi64optional
    17awardAllocationi64optional
    18startDatei64optional
    19endDatei64optional
    20statusstringoptional
    21usernamestringoptional

    Required allocation request details

  • id : (primary key) Ask the user to assign project ID, but this project should unique, we will need an API endpoint to check whether this ID is not used by other projects and the username
  • applicationsToBeUsed : Select the application that the user intends to use, according to application chosen here, resources that can be allocable will be fetch from resource discovery module. User will not be restricted to these application upon allocation grant, provided the resources allocated support the application.
  • diskUsageRangePerJob : An optional field to help reviewer and PI for allocation approval
  • documents : Resume, CV, PI’s portfolio etc
  • fieldOfScience :An optional field to help reviewer and PI for allocation approval
  • keywords : Keyword will be helpful in search
  • maxMemoryPerCpu :An optional field to help reviewer and PI for allocation approval
  • numberOfCpuPerJob : An optional field to help reviewer and PI for allocation approval
  • projectDescription :(Eg: Hypothesis, Model Systems, Methods, and Analysis)
  • projectReviewedAndFundedBy : (Eg., NSF, NIH, DOD, DOE, None etc...). An optional field to help reviewer and PI for allocation approval
  • requestedDate: The date the allocation was requested
  • serviceUnits : 1 SU is approximately 1 workstation CPU hour, if the user fails to give a value, default value will be chosen.
  • specificResourceSelection : This list will be fetched from resource discovery module, in case of community allocation, the request is subject to reviewers, PI discretion and availability
  • title : Assign a title to allocation request
  • typeOfAllocation : If the User has an exclusive allocation with third party organization and wants to use airavata middleware to manage jobs.
  • typicalSuPerJob : An optional field to help reviewer and PI for allocation approval

  • Struct: ReviewerAllocationDetail

    KeyFieldTypeDescriptionRequirednessDefault value
    1projectIdstringoptional
    2applicationsToBeUsedstringoptional
    3diskUsageRangePerJobi64optional
    4documentsbinaryoptional
    5fieldOfSciencestringoptional
    6keywordsstringoptional
    7maxMemoryPerCpui64optional
    8numberOfCpuPerJobi64optional
    9projectDescriptionstringoptional
    10projectReviewedAndFundedBystringoptional
    11requestedDatei64optional
    12serviceUnitsi64optional
    13specificResourceSelectionstringoptional
    14titlestringoptional
    15typeOfAllocationstringoptional
    16typicalSuPerJobi64optional
    17awardAllocationi64optional
    18startDatei64optional
    19endDatei64optional
    20statusstringoptional
    21usernamestringoptional
    22idi64optional

    Struct: ProjectReviewer

    KeyFieldTypeDescriptionRequirednessDefault value
    1projectIdstringoptional
    2reviewerstringoptional
    3idi64optional

    Allocation Request status details

  • projectId: Unique id of the project
  • awardAllocation: Allocation awarded
  • endDate: End date of the request
  • reviewers: reviewers of the request
  • startDate: Start date of the allocation
  • status: Status of the allocation request

  • Struct: UserDetail

    KeyFieldTypeDescriptionRequirednessDefault value
    1usernamestringoptional
    2emailstringoptional
    3fullNamestringoptional
    4passwordstringoptional
    5userTypestringoptional

    A user should have an account with airavata to request an allocation

  • username : Login Username
  • email :Login email
  • fullName: Full name of the user
  • Password: Password of the user
  • userType: Type of the user

  • Exception: AllocationManagerException

    KeyFieldTypeDescriptionRequirednessDefault value
    1messagestringrequired

    Exception model used in the allocation manager service