├── .gitignore ├── .travis.yml ├── LICENSE ├── Procfile ├── README.md ├── dockerfiles └── postgresql │ ├── Dockerfile │ └── fix-acl.sh ├── manage.py ├── postgresapi ├── __init__.py ├── apis.py ├── application.cfg ├── database.py ├── manage.py ├── managers.py ├── models.py ├── plans.py ├── sqls │ ├── downgrade │ │ ├── 1_drop_schema.sql │ │ └── 2_drop_dedicated_feature.sql │ └── upgrade │ │ ├── 1_create_schema.sql │ │ └── 2_dedicated_feature.sql └── storage.py ├── requirements.apt ├── requirements.txt ├── service.yaml.example ├── test-requirements.txt ├── test.sh.example ├── tests ├── __init__.py ├── _base.py ├── test_apis.py ├── test_bind.py ├── test_create.py ├── test_database.py ├── test_delete.py └── test_unbind.py ├── venv-debian-install.sh └── venv-osx-install.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/LICENSE -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/Procfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/README.md -------------------------------------------------------------------------------- /dockerfiles/postgresql/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM postgres:9.3 2 | ADD fix-acl.sh /docker-entrypoint-initdb.d/ 3 | -------------------------------------------------------------------------------- /dockerfiles/postgresql/fix-acl.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/dockerfiles/postgresql/fix-acl.sh -------------------------------------------------------------------------------- /manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/manage.py -------------------------------------------------------------------------------- /postgresapi/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/postgresapi/__init__.py -------------------------------------------------------------------------------- /postgresapi/apis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/postgresapi/apis.py -------------------------------------------------------------------------------- /postgresapi/application.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/postgresapi/application.cfg -------------------------------------------------------------------------------- /postgresapi/database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/postgresapi/database.py -------------------------------------------------------------------------------- /postgresapi/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/postgresapi/manage.py -------------------------------------------------------------------------------- /postgresapi/managers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/postgresapi/managers.py -------------------------------------------------------------------------------- /postgresapi/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/postgresapi/models.py -------------------------------------------------------------------------------- /postgresapi/plans.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/postgresapi/plans.py -------------------------------------------------------------------------------- /postgresapi/sqls/downgrade/1_drop_schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/postgresapi/sqls/downgrade/1_drop_schema.sql -------------------------------------------------------------------------------- /postgresapi/sqls/downgrade/2_drop_dedicated_feature.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/postgresapi/sqls/downgrade/2_drop_dedicated_feature.sql -------------------------------------------------------------------------------- /postgresapi/sqls/upgrade/1_create_schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/postgresapi/sqls/upgrade/1_create_schema.sql -------------------------------------------------------------------------------- /postgresapi/sqls/upgrade/2_dedicated_feature.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/postgresapi/sqls/upgrade/2_dedicated_feature.sql -------------------------------------------------------------------------------- /postgresapi/storage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/postgresapi/storage.py -------------------------------------------------------------------------------- /requirements.apt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/requirements.apt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/requirements.txt -------------------------------------------------------------------------------- /service.yaml.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/service.yaml.example -------------------------------------------------------------------------------- /test-requirements.txt: -------------------------------------------------------------------------------- 1 | nose 2 | -------------------------------------------------------------------------------- /test.sh.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/test.sh.example -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/tests/_base.py -------------------------------------------------------------------------------- /tests/test_apis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/tests/test_apis.py -------------------------------------------------------------------------------- /tests/test_bind.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/tests/test_bind.py -------------------------------------------------------------------------------- /tests/test_create.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/tests/test_create.py -------------------------------------------------------------------------------- /tests/test_database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/tests/test_database.py -------------------------------------------------------------------------------- /tests/test_delete.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/tests/test_delete.py -------------------------------------------------------------------------------- /tests/test_unbind.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/tests/test_unbind.py -------------------------------------------------------------------------------- /venv-debian-install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/venv-debian-install.sh -------------------------------------------------------------------------------- /venv-osx-install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsuru/postgres-api/HEAD/venv-osx-install.sh --------------------------------------------------------------------------------