This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fields: | |
| - id: host | |
| type: string | |
| label: Host | |
| default: localhost | |
| - id: port | |
| type: string | |
| label: Port | |
| default: '9092' | |
| help_text: The Kafka Port Number |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| file: | |
| template.cafile: '{{cafile}}' | |
| extra_vars: | |
| host: '{{host}}' | |
| port: '{{port}}' | |
| topic: '{{topic}}' | |
| offset: '{{offset}}' | |
| group_id: '{{group_id}}' | |
| verify_mode: '{{verify_mode}}' | |
| check_hostname: '{{check_hostname}}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fields: | |
| - id: host | |
| type: string | |
| label: Host | |
| default: localhost | |
| - id: port | |
| type: string | |
| label: Port | |
| help_text: The Kafka Port Number | |
| default: '9093' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| file: | |
| template.cafile: '{{cafile}}' | |
| template.keyfile: '{{keyfile}}' | |
| template.certfile: '{{certfile}}' | |
| extra_vars: | |
| host: '{{host}}' | |
| port: '{{port}}' | |
| topic: '{{topic}}' | |
| offset: '{{offset}}' | |
| group_id: '{{group_id}}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| version: '2' | |
| services: | |
| broker: | |
| image: apache/kafka:latest | |
| hostname: broker | |
| container_name: broker | |
| ports: | |
| - '9093:9093' | |
| - '49093:49093' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fields: | |
| - id: host | |
| type: string | |
| label: Host | |
| default: localhost | |
| help_text: The Kafka Server | |
| - id: port | |
| type: string | |
| label: Port | |
| default: '9093' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| file: | |
| template.cafile: '{{cafile}}' | |
| extra_vars: | |
| host: '{{host}}' | |
| port: '{{port}}' | |
| topic: '{{topic}}' | |
| offset: '{{offset}}' | |
| group_id: '{{group_id}}' | |
| verify_mode: '{{verify_mode}}' | |
| check_hostname: '{{check_hostname}}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| SAML authenticator migrator. | |
| This module handles the migration of SAML authenticators from AWX to Gateway. | |
| """ | |
| from django.conf import settings | |
| from gateway_mapping import org_map_to_gateway_format, team_map_to_gateway_format | |
| from base_migrator import BaseAuthenticatorMigrator |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Base authenticator migrator class. | |
| This module defines the contract that all specific authenticator migrators must follow. | |
| """ | |
| from urllib.parse import urlparse, parse_qs | |
| from django.conf import settings | |
| from gateway_client import GatewayAPIError |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Gateway API client for AAP Gateway interactions. | |
| This module provides a client class to interact with the AAP Gateway REST API, | |
| specifically for creating authenticators and mapping configurations. | |
| """ | |
| import requests | |
| import logging | |
| from typing import Dict, List, Optional, Any |