Skip to content

Commit

Permalink
symfony http foundation bridge - flow streamed response (#1234)
Browse files Browse the repository at this point in the history
* RM

* Added symfony-http-foundation-bridge

* Updated dependencies

* Fixed website

* Fixed failing tests

* Ignore first failure when removing container
  • Loading branch information
norberttech authored Sep 26, 2024
1 parent 5762bcc commit 1354e43
Show file tree
Hide file tree
Showing 42 changed files with 1,214 additions and 323 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/monorepo-split.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ jobs:
split_repository: 'filesystem-azure-bridge'
- local_path: 'src/bridge/monolog/http'
split_repository: 'monolog-http-bridge'
- local_path: 'src/bridge/symfony/http-foundation'
split_repository: 'symfony-http-foundation-bridge'

- local_path: 'src/tools/homebrew'
split_repository: 'homebrew-flow'
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ jobs:

- name: Start Azurite blob endpoint
shell: bash
run: azurite-blob --blobHost 0.0.0.0 --blobPort 10000 &
run: |
azurite-blob --blobHost 0.0.0.0 --blobPort 10000 &
sleep 5
env:
AZURITE_ACCOUNTS: flowphpaccount01:flowphpkey01

Expand Down
130 changes: 67 additions & 63 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "flow-php/flow",
"type": "library",
"description": "PHP ETL - Extract Transform Load - Data processing framework",
"license": "MIT",
"type": "library",
"keywords": [
"etl",
"extract",
"transform",
"load"
],
"license": "MIT",
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"ext-bcmath": "*",
Expand Down Expand Up @@ -36,6 +36,7 @@
"psr/log": "^2.0 || ^3.0",
"psr/simple-cache": "^1.0 || ^2.0 || ^3.0",
"symfony/console": "^6.3 || ^7.0",
"symfony/http-foundation": "~5.4.0 || ~6.4.0 || ~7",
"webmozart/glob": "^3.0 || ^4.0"
},
"require-dev": {
Expand All @@ -53,29 +54,41 @@
"symfony/finder": "^6.3 || ^7.0",
"symfony/uid": "^6.3 || ^7.0"
},
"replace": {
"flow-php/array-dot": "self.version",
"flow-php/azure-sdk": "self.version",
"flow-php/doctrine-dbal-bulk": "self.version",
"flow-php/doctrine-dbal-bulk-tools": "self.version",
"flow-php/dremel": "self.version",
"flow-php/etl": "self.version",
"flow-php/etl-adapter-avro": "self.version",
"flow-php/etl-adapter-chartjs": "self.version",
"flow-php/etl-adapter-csv": "self.version",
"flow-php/etl-adapter-dbal-tools": "self.version",
"flow-php/etl-adapter-doctrine": "self.version",
"flow-php/etl-adapter-elasticsearch": "self.version",
"flow-php/etl-adapter-filesystem": "self.version",
"flow-php/etl-adapter-google-sheet": "self.version",
"flow-php/etl-adapter-http": "self.version",
"flow-php/etl-adapter-json": "self.version",
"flow-php/etl-adapter-logger": "self.version",
"flow-php/etl-adapter-logger-tools": "self.version",
"flow-php/etl-adapter-meilisearch": "self.version",
"flow-php/etl-adapter-parquet": "self.version",
"flow-php/etl-adapter-text": "self.version",
"flow-php/etl-adapter-xml": "self.version",
"flow-php/filesystem": "self.version",
"flow-php/filesytem-azure-bridge": "self.version",
"flow-php/monolog-http-bridge": "self.version",
"flow-php/parquet": "self.version",
"flow-php/parquet-viewer": "self.version",
"flow-php/rdsl": "self.version",
"flow-php/snappy": "self.version",
"flow-php/symfony-http-foundation": "self.version"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"files": [
"src/adapter/etl-adapter-avro/src/Flow/ETL/Adapter/Avro/functions.php",
"src/adapter/etl-adapter-chartjs/src/Flow/ETL/Adapter/ChartJS/functions.php",
"src/adapter/etl-adapter-csv/src/Flow/ETL/Adapter/CSV/functions.php",
"src/adapter/etl-adapter-doctrine/src/Flow/ETL/Adapter/Doctrine/functions.php",
"src/adapter/etl-adapter-elasticsearch/src/Flow/ETL/Adapter/Elasticsearch/functions.php",
"src/adapter/etl-adapter-google-sheet/src/Flow/ETL/Adapter/GoogleSheet/functions.php",
"src/adapter/etl-adapter-json/src/Flow/ETL/Adapter/JSON/functions.php",
"src/adapter/etl-adapter-meilisearch/src/Flow/ETL/Adapter/Meilisearch/functions.php",
"src/adapter/etl-adapter-parquet/src/Flow/ETL/Adapter/Parquet/functions.php",
"src/adapter/etl-adapter-text/src/Flow/ETL/Adapter/Text/functions.php",
"src/adapter/etl-adapter-xml/src/Flow/ETL/Adapter/XML/functions.php",
"src/bridge/filesystem/azure/src/Flow/Filesystem/Bridge/Azure/DSL/functions.php",
"src/core/etl/src/Flow/ETL/DSL/functions.php",
"src/functions.php",
"src/lib/array-dot/src/Flow/ArrayDot/array_dot.php",
"src/lib/azure-sdk/src/Flow/Azure/SDK/DSL/functions.php",
"src/lib/filesystem/src/Flow/Filesystem/DSL/functions.php",
"src/lib/parquet/src/Flow/Parquet/functions.php",
"src/lib/parquet/src/stubs.php",
"src/lib/snappy/polyfill.php"
],
"psr-4": {
"Flow\\": [
"src/adapter/etl-adapter-avro/src/Flow",
Expand All @@ -93,6 +106,7 @@
"src/adapter/etl-adapter-xml/src/Flow",
"src/bridge/filesystem/azure/src/Flow",
"src/bridge/monolog/http/src/Flow",
"src/bridge/symfony/http-foundation/src/Flow",
"src/core/etl/src/Flow",
"src/lib/array-dot/src/Flow",
"src/lib/azure-sdk/src/Flow",
Expand All @@ -111,7 +125,29 @@
"Flow\\ETL\\Adapter\\Doctrine\\": [
"src/adapter/etl-adapter-doctrine/src/Flow/ETL/Adapter/Doctrine"
]
}
},
"files": [
"src/adapter/etl-adapter-avro/src/Flow/ETL/Adapter/Avro/functions.php",
"src/adapter/etl-adapter-chartjs/src/Flow/ETL/Adapter/ChartJS/functions.php",
"src/adapter/etl-adapter-csv/src/Flow/ETL/Adapter/CSV/functions.php",
"src/adapter/etl-adapter-doctrine/src/Flow/ETL/Adapter/Doctrine/functions.php",
"src/adapter/etl-adapter-elasticsearch/src/Flow/ETL/Adapter/Elasticsearch/functions.php",
"src/adapter/etl-adapter-google-sheet/src/Flow/ETL/Adapter/GoogleSheet/functions.php",
"src/adapter/etl-adapter-json/src/Flow/ETL/Adapter/JSON/functions.php",
"src/adapter/etl-adapter-meilisearch/src/Flow/ETL/Adapter/Meilisearch/functions.php",
"src/adapter/etl-adapter-parquet/src/Flow/ETL/Adapter/Parquet/functions.php",
"src/adapter/etl-adapter-text/src/Flow/ETL/Adapter/Text/functions.php",
"src/adapter/etl-adapter-xml/src/Flow/ETL/Adapter/XML/functions.php",
"src/bridge/filesystem/azure/src/Flow/Filesystem/Bridge/Azure/DSL/functions.php",
"src/core/etl/src/Flow/ETL/DSL/functions.php",
"src/functions.php",
"src/lib/array-dot/src/Flow/ArrayDot/array_dot.php",
"src/lib/azure-sdk/src/Flow/Azure/SDK/DSL/functions.php",
"src/lib/filesystem/src/Flow/Filesystem/DSL/functions.php",
"src/lib/parquet/src/Flow/Parquet/functions.php",
"src/lib/parquet/src/stubs.php",
"src/lib/snappy/polyfill.php"
]
},
"autoload-dev": {
"psr-4": {
Expand All @@ -131,6 +167,7 @@
"src/adapter/etl-adapter-xml/tests/Flow",
"src/bridge/filesystem/azure/tests/Flow",
"src/bridge/monolog/http/tests/Flow",
"src/bridge/symfony/http-foundation/tests/Flow",
"src/core/etl/tests/Flow",
"src/lib/array-dot/tests/Flow",
"src/lib/azure-sdk/tests/Flow",
Expand All @@ -156,36 +193,10 @@
"sort-packages": true,
"allow-plugins": false
},
"replace": {
"flow-php/array-dot": "self.version",
"flow-php/azure-sdk": "self.version",
"flow-php/doctrine-dbal-bulk": "self.version",
"flow-php/doctrine-dbal-bulk-tools": "self.version",
"flow-php/dremel": "self.version",
"flow-php/etl": "self.version",
"flow-php/etl-adapter-avro": "self.version",
"flow-php/etl-adapter-chartjs": "self.version",
"flow-php/etl-adapter-csv": "self.version",
"flow-php/etl-adapter-dbal-tools": "self.version",
"flow-php/etl-adapter-doctrine": "self.version",
"flow-php/etl-adapter-elasticsearch": "self.version",
"flow-php/etl-adapter-filesystem": "self.version",
"flow-php/etl-adapter-google-sheet": "self.version",
"flow-php/etl-adapter-http": "self.version",
"flow-php/etl-adapter-json": "self.version",
"flow-php/etl-adapter-logger": "self.version",
"flow-php/etl-adapter-logger-tools": "self.version",
"flow-php/etl-adapter-meilisearch": "self.version",
"flow-php/etl-adapter-parquet": "self.version",
"flow-php/etl-adapter-text": "self.version",
"flow-php/etl-adapter-xml": "self.version",
"flow-php/filesystem": "self.version",
"flow-php/filesytem-azure-bridge": "self.version",
"flow-php/monolog-http-bridge": "self.version",
"flow-php/parquet": "self.version",
"flow-php/parquet-viewer": "self.version",
"flow-php/rdsl": "self.version",
"flow-php/snappy": "self.version"
"extra": {
"google/apiclient-services": [
"Sheets"
]
},
"scripts": {
"build": [
Expand Down Expand Up @@ -278,12 +289,5 @@
"composer update --working-dir=./tools/psalm",
"composer update --working-dir=./tools/phpunit"
]
},
"extra": {
"google/apiclient-services": [
"Sheets"
]
},
"minimum-stability": "dev",
"prefer-stable": true
}
}
Loading

0 comments on commit 1354e43

Please sign in to comment.