Skip to content
Snippets Groups Projects
  1. Sep 21, 2018
    • Benjamin Bertrand's avatar
      Fix TowerCLIError when ztp_stack is empty · 1d5f19ea
      Benjamin Bertrand authored
      ztp_stack can be empty.
      We pass it as extra vars only if it's not.
      The survey of the AWX_ZTP_CONFIGURATION template shall be updated to set
      the ztp_stack parameter as not required.
      
      JIRA INFRA-547
      1d5f19ea
  2. Aug 21, 2018
  3. Aug 08, 2018
    • Benjamin Bertrand's avatar
      Replace jwt decorators with flask-login · fb3f568e
      Benjamin Bertrand authored
      Using flask-login request_loader, we can validate jwt tokens.
      This allows to use the same decorators for the web UI (using cookies)
      and the API (using JWT) as well as the current_user local proxy.
      fb3f568e
  4. Jul 17, 2018
  5. Jul 09, 2018
    • Benjamin Bertrand's avatar
      Use sqlalchemy events hook to trigger tasks · d9516a98
      Benjamin Bertrand authored
      Use the before_flush hook to trigger the core services update.
      It's much nicer than having to call a method in several places.
      
      The core services update is triggered on creation/modification/deletion
      of an Interface.
      
      In the before_flush we can manipulate the session (add objects) but we
      shouldn't call commit.
      The db.session.commit() was removed from the launch_task method.
      d9516a98
  6. Jul 06, 2018
  7. Jul 03, 2018
  8. Jul 02, 2018
  9. May 23, 2018
  10. May 09, 2018
  11. Apr 27, 2018
Loading