1. https://rawcdn.githack.com/rabbitmq/rabbitmq-server/v3.12.1/deps/rabbitmq_management/priv/www/api/index.html
2. https://www.rabbitmq.com/vhosts.html
1. https://rawcdn.githack.com/rabbitmq/rabbitmq-server/v3.12.1/deps/rabbitmq_management/priv/www/api/index.html
2. https://www.rabbitmq.com/vhosts.html
# seting the
airflow_api_auth_backends: 'airflow.api.auth.backend.basick_auth'
# Test
curl -X GET --user "airflow:1qaz2WSX" "https://airflow-dev.armor.hinet.net/api/v1/pools"
curl -X PATCH 'https://airflow-dev.armor.hinet.net/api/v1/dags/report_backup?update_mask=is_paused' \
-H 'Content-Type: application/json' \
--user "airflow:1qaz2WSX" \
-d '{
"is_paused": true
}'
# ref setting airflow.cfg
airflow_api_auth_backends: 'airflow.api.auth.backend.basick_auth
# https://stackoverflow.com/questions/61329923/apache-airflow-rest-api-authentication
# https://airflow.apache.org/docs/apache-airflow/1.10.12/howto/set-config.html'
#https://airflow-dev.armor.hinet.net/redoc
setenforce 0
# good
https://wiki.gentoo.org/wiki/SELinux/Tutorials/Where_to_find_SELinux_permission_denial_details
#
https://www.ltsplus.com/linux/disable-selinux
#network tools
sudo yum install telnet
# fireall stop
systemctl stop firewalld
systemctl status firewalld
#
# add the port
sudo firewall-cmd --zone=public --add-port=10050/tcp --permanent
sudo firewall-cmd --reload
sudo iptables-save | grep 10050
#ref
https://www.thegeekdiary.com/how-to-open-a-ports-in-centos-rhel-7/