()
| 44 | |
| 45 | |
| 46 | def _setup(): |
| 47 | capabilities = { |
| 48 | "name": "auth", |
| 49 | "listen_host": cfg.CONF.auth.host, |
| 50 | "listen_port": cfg.CONF.auth.port, |
| 51 | "listen_ssl": cfg.CONF.auth.use_ssl, |
| 52 | "type": "active", |
| 53 | } |
| 54 | common_setup( |
| 55 | service=AUTH, |
| 56 | config=config, |
| 57 | setup_db=True, |
| 58 | register_mq_exchanges=False, |
| 59 | register_signal_handlers=True, |
| 60 | register_internal_trigger_types=False, |
| 61 | run_migrations=False, |
| 62 | service_registry=True, |
| 63 | capabilities=capabilities, |
| 64 | ) |
| 65 | |
| 66 | # Additional pre-run time checks |
| 67 | validate_auth_backend_is_correctly_configured() |
| 68 | |
| 69 | |
| 70 | def _run_server(): |
no test coverage detected