Review geoip-city-wsgi SOP

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
Michal Konečný 2021-08-24 12:37:16 +02:00
parent fd1e44f3f1
commit ca5382c238
2 changed files with 17 additions and 22 deletions

View file

@ -39,7 +39,7 @@
** xref:gather-easyfix.adoc[Fedora gather easyfix - SOP] ** xref:gather-easyfix.adoc[Fedora gather easyfix - SOP]
** xref:gdpr_delete.adoc[GDPR Delete - SOP] ** xref:gdpr_delete.adoc[GDPR Delete - SOP]
** xref:gdpr_sar.adoc[GDPR SAR - SOP] ** xref:gdpr_sar.adoc[GDPR SAR - SOP]
** xref:geoip-city-wsgi.adoc[geoip-city-wsgi - SOP in review ] ** xref:geoip-city-wsgi.adoc[geoip-city-wsgi - SOP]
** xref:github2fedmsg.adoc[github2fedmsg - SOP in review ] ** xref:github2fedmsg.adoc[github2fedmsg - SOP in review ]
** xref:github.adoc[github - SOP in review ] ** xref:github.adoc[github - SOP in review ]
** xref:greenwave.adoc[greenwave - SOP in review ] ** xref:greenwave.adoc[greenwave - SOP in review ]

View file

@ -6,12 +6,10 @@ most probable territory code, based on the public IP of the caller.
== Contents == Contents
[arabic] * <<_contact_information>>
. Contact Information * <<_basic_function>>
. Basic Function * <<_ansible_roles>>
. Ansible Roles * <<_documentation_links>>
. Apps depending of geoip-city-wsgi
. Documentation Links
== Contact Information == Contact Information
@ -25,8 +23,8 @@ Servers::
sundries*, sundries*-stg sundries*, sundries*-stg
Purpose:: Purpose::
A simple web service that return geoip information as JSON-formatted A simple web service that return geoip information as JSON-formatted
dictionary in utf-8. Particularly, it's used by anaconda[1] to get the dictionary in utf-8. Particularly, it's used by https://fedoraproject.org/wiki/Anaconda[anaconda]
most probable territory code, based on the public IP of the caller. to get the most probable territory code, based on the public IP of the caller.
== Basic Function == Basic Function
@ -35,28 +33,25 @@ Purpose::
`/etc/httpd/conf.d/geoip-city-wsgi-proxy.conf`. `/etc/httpd/conf.d/geoip-city-wsgi-proxy.conf`.
* Return a string with geoip information with syntax as JSON-formatted * Return a string with geoip information with syntax as JSON-formatted
dict in utf8 dict in utf8
* It also currently accepts one override: ?ip=xxx.xxx.xxx.xxx, e.g. * It also currently accepts one override: `?ip=xxx.xxx.xxx.xxx`, e.g.
https://geoip.fedoraproject.org/city?ip=18.0.0.1 which then uses the https://geoip.fedoraproject.org/city?ip=18.0.0.1 which then uses the
passed IP address instead of the determined IP address of the client. passed IP address instead of the determined IP address of the client.
== Ansible Roles == Ansible Roles
The geoip-city-wsgi role The geoip-city-wsgi role:
https://pagure.io/fedora-infra/ansible/blob/main/f/roles/geoip-city-wsgi https://pagure.io/fedora-infra/ansible/blob/main/f/roles/geoip-city-wsgi
is present in sundries playbook
is present in sundries playbook:
https://pagure.io/fedora-infra/ansible/blob/main/f/playbooks/groups/sundries.yml https://pagure.io/fedora-infra/ansible/blob/main/f/playbooks/groups/sundries.yml
the proxy task are present in the proxy tasks are present in:
https://pagure.io/fedora-infra/ansible/blob/main/f/playbooks/include/proxies-reverseproxy.yml https://pagure.io/fedora-infra/ansible/blob/main/f/playbooks/include/proxies-reverseproxy.yml
== Apps depending of geoip-city-wsgi
unknown
== Documentation Links == Documentation Links
app: https://geoip.fedoraproject.org source: App: https://geoip.fedoraproject.org
https://github.com/fedora-infra/geoip-city-wsgi bugs:
https://github.com/fedora-infra/geoip-city-wsgi/issues Role: Source: https://github.com/fedora-infra/geoip-city-wsgi
https://pagure.io/fedora-infra/ansible/blob/main/f/tree/roles/geoip-city-wsgi
[1] https://fedoraproject.org/wiki/Anaconda Bugs: https://github.com/fedora-infra/geoip-city-wsgi/issues