-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Major version(s) bump Upgraded python version to 3.11.5, and also lifting dependencies to resonably modern versions. Dropped Flask-grapql as it was only a wrapper for grapql-server. Change-Id: I151ccd444393d5fcbd15f7ca9b45573db6b27f91 * Add docker compose file Add docker compose file(s), with dependency services defined, to aid in setting up a proper development environment. Change-Id: I20564878ba52b4215edb7eb945b37852912af59f * Update tox environment Bump version(s) of python as well as test environment dependencies Change-Id: I50632d04d65559e5d24a308e1218b89636b18122 * Update Python version for Github actions Change-Id: I966bb752dbc9c30e5b3ba30581efa9be2b062672
- Loading branch information
Showing
14 changed files
with
142 additions
and
41 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
RABBITMQ_HOST=rabbitmq | ||
RABBITMQ_EXCHANGE=amq.fanout | ||
RABBITMQ_USERNAME=guest | ||
RABBITMQ_PASSWORD=guest | ||
RABBITMQ_PORT=5672 | ||
RABBITMQ_VHOST= | ||
RABBITMQ_QUEUE=graphql-test | ||
RABBITMQ_DURABLE_QUEUE=true | ||
MONGODB_CONNSTRING=mongodb://root:pass@mongodb/admin | ||
MONGODB_DATABASE=admin | ||
MONGODB_INITDB_ROOT_USERNAME=root | ||
MONGODB_INITDB_ROOT_PASSWORD=pass |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
networks: | ||
eiffel-graphql-api-network: | ||
name: "eiffel-graphql-api-network" | ||
|
||
services: | ||
mongodb: | ||
image: "mongodb/mongodb-community-server" | ||
env_file: | ||
- development.env | ||
networks: | ||
- eiffel-graphql-api-network | ||
|
||
rabbitmq: | ||
image: "rabbitmq:3-management-alpine" | ||
networks: | ||
- eiffel-graphql-api-network | ||
ports: | ||
- 15672:15672 | ||
- 5672:5672 | ||
|
||
api: | ||
build: | ||
context: ../ | ||
dockerfile: Dockerfile.graphql-api | ||
ports: | ||
- 5000:5000 | ||
networks: | ||
- eiffel-graphql-api-network | ||
env_file: | ||
- development.env | ||
depends_on: | ||
- mongodb | ||
|
||
storage: | ||
build: | ||
context: ../ | ||
dockerfile: Dockerfile.storage | ||
networks: | ||
- eiffel-graphql-api-network | ||
env_file: | ||
- development.env | ||
depends_on: | ||
- rabbitmq | ||
- mongodb |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
sphinx<2 | ||
pyscaffold==2.5.10 | ||
mistune==0.8.4 | ||
m2r==0.2.1 | ||
sphinx-rtd-theme<0.5 | ||
sphinx~=6.2.1 | ||
m2r==0.3.1 | ||
sphinx-rtd-theme==1.3.0 |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,12 @@ | |
name = eiffel-graphql-api | ||
description = Eiffel GraphQL API and storage solution. | ||
author = Tobias Persson | ||
author-email = [email protected] | ||
author_email = [email protected] | ||
license = Apache License, Version 2.0 | ||
long-description = file: README.rst | ||
long-description-content-type = text/x-rst; charset=UTF-8 | ||
long_description = file: README.rst | ||
long_description_content_type = text/x-rst; charset=UTF-8 | ||
url = https://github.com/eiffel-community/eiffel-graphql-api | ||
project-urls = | ||
project_urls = | ||
Documentation = https://eiffel-graphql-api.readthedocs.io | ||
platforms = any | ||
classifiers = | ||
|
@@ -23,7 +23,18 @@ package_dir = | |
=src | ||
# DON'T CHANGE THE FOLLOWING LINE! IT WILL BE UPDATED BY PYSCAFFOLD! | ||
setup_requires = pyscaffold>=3.2a0,<3.3a0 | ||
install_requires = eiffellib==1.2.0;requests==2.22.0;pymongo[srv]==3.12.0;graphql-core==2.2.1;gql==0.1.0;Flask==1.1.1;Flask-GraphQL==2.0.0;graphene==2.1.8;gunicorn==20.0.4;greenlet==0.4.14;gevent==1.4.0 | ||
install_requires = | ||
eiffellib[rabbitmq]==2.4.1 | ||
requests==2.31.0 | ||
pymongo[srv]==3.12.0 | ||
graphql-core==3.2.3 | ||
gql[requests]==3.4.1 | ||
Flask==2.3.3 | ||
graphql-server==3.0.0b6 | ||
graphene==3.3 | ||
gunicorn==21.2.0 | ||
greenlet==2.0.2 | ||
gevent==22.10.2 | ||
|
||
[options.package_data] | ||
* = *.json | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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