Skip to content
Michiel Kodde edited this page Nov 20, 2017 · 5 revisions

Console commands

Several applications in Openconext Stepup provide console commands to interact with the application. This section of the documentation describes these console actions in more detail.

Middleware

Most of the available console actions are performed on Middleware. In the code block below is an overview of the available console commands.

  middleware:bootstrap:identity-with-yubikey  
  middleware:cron:email-reminder              
  middleware:migrations:migrate               
  middleware:migrations:diff                  
  middleware:event:replay                     

Bootstrap

  • Summary: Bootstraps the SRAA user
  • Command: middleware:bootstrap:identity-with-yubikey

More information can be found in the dev docs.

Cron: Token registration reminder email message

  • Summary: Send email message to token registrants with unvetted tokens.
  • Command: middleware:cron:email-reminder
  • Arguments: [--dry-run] [--date [DATE]]

Warning: The command does not update a 'sent' state. So running the command multiple times will result in multiple email messages being sent.

When the date option is not passed the command will send reminders for registered tokens that where registered seven days ago.

Using the dry run flag prevents messages from being sent, but will output to the log.

Migrations

Migration related console commands are documented here.

Event sourcing

Todo

SelfSevice, RA, Gateway

For asset management, the assetic commands can be utilized.

 assetic
  assetic:dump
  assetic:watch

For more information read the Assetic docs