Skip to content
Fyzel edited this page Nov 4, 2020 · 3 revisions

Welcome

Welcome to the geolocation-data-flaskapi wiki!

The Swagger API documentation is available at http://localhost.localdomain:5000/geolocation/ by default. It provides a web based interface to test and use your microservices.

Interface methods

Please note that the code will auto-generate the database if the following GRANTS are provided in for the user in mariadb.

GRANT DELETE ON Geolocation.* TO 'geolocation-api'@'localhost';
GRANT INSERT ON Geolocation.* TO 'geolocation-api'@'localhost';
GRANT SELECT ON Geolocation.* TO 'geolocation-api'@'localhost';
GRANT UPDATE ON Geolocation.* TO 'geolocation-api'@'localhost';
GRANT CREATE ON Geolocation.* TO 'geolocation-api'@'localhost';
GRANT INDEX ON Geolocation.* TO 'geolocation-api'@'localhost';
GRANT LOCK TABLES ON Geolocation.* TO 'geolocation-api'@'localhost';
GRANT EXECUTE ON Geolocation.* TO 'geolocation-api'@'localhost';
GRANT CREATE TEMPORARY TABLES ON Geolocation.* TO 'geolocation-api'@'localhost';

GRANT DELETE ON Geolocation.* TO 'geolocation-api'@'%';
GRANT INSERT ON Geolocation.* TO 'geolocation-api'@'%';
GRANT SELECT ON Geolocation.* TO 'geolocation-api'@'%';
GRANT UPDATE ON Geolocation.* TO 'geolocation-api'@'%';
GRANT CREATE ON Geolocation.* TO 'geolocation-api'@'%';
GRANT INDEX ON Geolocation.* TO 'geolocation-api'@'%';
GRANT LOCK TABLES ON Geolocation.* TO 'geolocation-api'@'%';
GRANT EXECUTE ON Geolocation.* TO 'geolocation-api'@'%';
GRANT CREATE TEMPORARY TABLES ON Geolocation.* TO 'geolocation-api'@'%';
Clone this wiki locally