How to test Expire Authority requests

  1. Login as authorityAdmin/authorityAdmin
  2. Search for an entity and Grant EA via ‘Grant Authority – by Registrar’ to a user you can log in as
  3. Log in as the user you can log in with and ‘Grant Authority by Authorised User’ by entering an email
  4. Create a number of different requests for the same entity if you choose to
  5. After creation, they will be displayed in Manage Authority as ‘Authority invites awaiting activation’

Aging data in Compass

Note: Some databases structure are different, the following examples are out of the box examples.

  1. Start MongoDB Compass
  2. Select database from left menu > catalyst.ng_cluster_service_transactions
  3. Enter the one of the following filters changing the businessIdentifier and using the correct one based on if the entity is a business name or company
    {rootDomainName: ‘Company’, businessIdentifier: ‘C00000000212′, status:’activated’}
    {rootDomainName: ‘BusinessName’, businessIdentifier: ‘BN2019/8′, status:’activated’}
  4. Scroll to the last instance and view the domaintree > authority > authorities > > attributes > ExpiryDate
  5. Update this to yesterday if expiring today
  6. Press UPDATE button

Reset filter by pressing the Reset button

Force Schedules to run

  1. Find schedule using the following filters, use the correct one based on the entity type:
    {rootDomainName: ‘Schedule’, “domainTree.attributes.Identifier”: “companyExpireAwaitingActivationAuthority”}
    {rootDomainName: ‘Schedule’, “domainTree.attributes.Identifier”: “businessNameExpireAwaitingActivationAuthority”}
  2. View the domaintree > attributes > ExpiryDate > NextScheduledTime
  3. Update to today’s date and time 1-2 minutes in the future
  4. Wait for schedule to roll over
  5. The authority request will no longer show in the front end
  6. View the authority records in the database as per the first filter
  7. View the domaintree > authority > authorities > > attributes > Status and the status will be updated to “expired”
  8. Authority activation code can no longer be used by any user in ‘Accept Authority Invite’
0
0

Jump to Section