keboola/syrup

This package is abandoned and no longer maintained. No replacement package was suggested.

Syrup

Maintainers

Details

github.com/keboola/syrup

Source

Issues

Installs: 41 926

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 13

Forks: 1

Open Issues: 0

Type:project

11.6.1 2021-07-29 11:21 UTC

README

Build Status Code Climate Test Coverage

Syrup is a framework for rapid development of Keboola Connection components (i.e. extractors). It is based on Symfony2 framework.

Development

Note: Elastic & MySQL non-persistent

  • Clone from GitHub
git clone https://github.com/keboola/syrup.git
  • Set up Docker Compose
docker-compose build
  • Create .env file with this content
SYRUP_APP_NAME=syrup-devel
DATABASE_HOST=mysql
DATABASE_USER=syrup
DATABASE_PASSWORD=syrup
DATABASE_NAME=syrup
DATABASE_PORT=3306
ELASTICSEARCH_HOST=elastic:9200
AWS_S3_BUCKET_LOGS_PATH=/debug-files
SAPI_URL=https://connection.keboola.com/

SAPI_TOKEN=

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_REGION=
AWS_S3_BUCKET=
AWS_SQS_DEFAULT_QUEUE=
AWS_SQS_TEST_QUEUE_NAME=

  • Create AWS resources from aws-services.json and fill AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION, AWS_S3_BUCKET, AWS_SQS_DEFAULT_QUEUE and AWS_SQS_TEST_QUEUE_NAME in .env
  • Insert a Storage API token into SAPI_TOKEN
  • Run elasticsearch and mysql
docker-compose up elastic mysql
  • Run tests
docker-compose run --rm tests

License

MIT licensed, see LICENSE file.