You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2023/02/23 11:42:16 UTC

[streampipes] branch 1207-improve-helm-charts updated (c6f79e2eb -> 3e95faa03)

This is an automated email from the ASF dual-hosted git repository.

riemer pushed a change to branch 1207-improve-helm-charts
in repository https://gitbox.apache.org/repos/asf/streampipes.git


    from c6f79e2eb Update helm configuration (#1207)
     add d1e523461 Bump docker/login-action from 1 to 2 (#1216)
     add 353127c04 Bump actions/setup-python from 2 to 4
     add c90a8d8e5 Bump actions/setup-node from 1 to 3
     add 111e155d8 Implementing possibility for reprojection Coordinates (#1044)
     add 34c1c5cbd Bump docker/setup-qemu-action from 1 to 2
     add b05e4fc13 Bump cypress-io/github-action from 4 to 5
     add 22f103e9b chore(gh-actions): improve pr labeling workflow (#1220)
     add 6e99587a8 Bump nimbus-jose-jwt from 7.9 to 9.30.1 (#1195)
     add d794899ad Bump jedis from 3.3.0 to 4.3.1 (#1202)
     add 8649aa311 Bump @typescript-eslint/parser from 5.48.0 to 5.51.0 in /ui (#1233)
     add 497362093 Bump actions/cache from 2 to 3 (#1232)
     add e73e19e0a Bump commons-compress from 1.21 to 1.22 (#1235)
     add c2d53d884 Bump maven-javadoc-plugin from 3.3.1 to 3.4.1 (#1234)
     add f9abb14cc Bump mypy from 0.991 to 1.0.0 in /streampipes-client-python (#1231)
     add b12724188 Bump maven-checkstyle-plugin from 3.1.2 to 3.2.1 (#1239)
     add f0da65dbe Bump @types/node from 18.11.18 to 18.13.0 in /ui (#1240)
     add 16686e1f2 [hotfix] Modify maven-release-plugin version
     add 7f4db355c Fix identification of the broker host
     add 3857f0b4c Merge branch 'apache:dev' into improving-sp-functions
     add e62137660 First structure for output data streams
     add bcdec31bb Add easy use for Online ML
     add 927b0eb92 Update python data model
     add f4279dc13 Add output data streams to functions
     add e2b1de34a Merge remote-tracking branch 'origin/dev' into improving-sp-functions
     add b9fe0e5ff Improve output data streams
     add b4a69cefc Add tests for Online ML
     add e9be4ce00 Merge branch 'apache:dev' into improving-sp-functions
     add a23892e0b Create function_zoo module
     add 2afea4169 chore(python-client): rename python package to `streampipes` (#1228)
     add 3d5db5bb4 chore(gh-actions): configure custom label for GitHub actions (#1229)
     add 8110bc379 chore(asf-yaml): add basic branch protection setup (#1227)
     add bd46678ed Bump @fortawesome/fontawesome-free from 6.2.1 to 6.3.0 in /ui (#1241)
     add c7fa4e519 Bump maven-resources-plugin from 3.0.2 to 3.3.0 (#1242)
     add 1b2d01ccd Merge branch 'upstream/dev' into improving-sp-functions
     add 6f15017ec Merge pull request #1181 from SvenO3/improving-sp-functions
     add 08c7614dd fix formatting
     add eace8d6b8 chore(naming): fix some references to `streampipes_client` (#1244)
     add bdd4e3f30 Merge branch 'dev' of github.com:apache/streampipes into dev
     add 3d1ce63f0 [maven-release-plugin] prepare branch @{releaseLabel}
     add 83a5a0c4e [maven-release-plugin] prepare for next development iteration
     add b13280df8 chore(release): revert version increase
     add 08cd9366a [maven-release-plugin] prepare branch @{releaseLabel}
     add 7b3872b84 [maven-release-plugin] prepare for next development iteration
     add ae3676232 chore(release): increase version of python module
     add 8351fa0a7 Bump commons-csv from 1.4 to 1.10.0 (#1238)
     add 649f666a2 [hotfix] Fix query result response after database uppgrade
     add 238c7cd08 chore(docs): describe official support of Java 17 (#1252)
     add abb7df163 Fix logging configuration (#1266) (#1267)
     add c8f800bd9 Properly override messaging protocol when importing resources (#1274) (#1275)
     add 72a1d0373 fix(python-docs): prevent mkdocs from loading gfonts (#1277)
     add c53598674 Bump eslint from 8.33.0 to 8.34.0 in /ui (#1279)
     add f599972b3 feature(gh-actions): create workflow that provides python docs as artifact weekly (#1263)
     add 116fe55b2 [#1245] provide a temporary workaround for inconsistency in eventGrounding (#1250)
     add 21491ef53 Bump maven-plugin-annotations from 3.6.0 to 3.7.1
     add 867148f10 Bump ddogleg from 0.16 to 0.22
     add d21351d7a [hotfix] Remove dependency ddogleg
     add 63989d029 Bump @typescript-eslint/eslint-plugin from 5.50.0 to 5.52.0 in /ui (#1284)
     add 4f463b690 Add pypi workflow
     add 59f6ca4e6 Change token name
     add 57becb11c Merge pull request #1280 from SvenO3/github-workflow-for-pypi
     add 0c90b2c77 chore: improve python docs and fix some minor inconsistencies (#1251)
     add 99f8111d3 Bump maven-compiler-plugin from 3.8.1 to 3.10.1 (#1282)
     add f891d1e01 Bump google-maps-services from 0.10.0 to 2.1.2
     add afded8eb6 Bump byte-buddy.version from 1.12.6 to 1.13.0
     add 83e8d1839 [hotfix] Remove dependency byte-buddy
     add e710ceef2 Bump @typescript-eslint/parser from 5.51.0 to 5.52.0 in /ui (#1299)
     add 14724af4d Provide environment variables via Environment provider (#1223) (#1224)
     add 762c0ab72 Bump maven-deploy-plugin from 2.8.2 to 3.1.0 (#1298)
     add 71b7b6f1d [hotfix] Add empty constructor to DataExplorerQuery
     add 46bca376b [SP-1102] - GET/v2/info/versions update and removement of deprecated endpoints  (#1192)
     add 0c35f6189 [#1308][CI] label-pr workflow fails on fork-based PRs (#1309)
     add 633cec8ab remove extentions management module name from its pom (#1295)
     add 0c51f2e0a Bump cypress from 12.3.0 to 12.5.1 in /ui (#1305)
     add 8d0aea2a4 [#1040] misc changes in runtime names, ad missing fields in schema
     add d6343dcdc [#1040] remove dead code
     add 495f0b9ca [#1040] remove supported code in declaire
     add c1317a25f [#1040] fix strings due naming changes
     add 8f0a3502b Merge pull request #1268 from apache/1040-change-event-runtime-name-of-geometry-field
     add bec082dc6 Bump @types/node from 18.13.0 to 18.14.0 in /ui (#1324)
     add 3f903ec61 chore(ui): provide some more references for support in the 'about' view (#1319)
     add 7b693a2fd Update data stream generator (#1258) (#1286)
     add c8318c5b3 chore(docs): add information on how to develop the UI locally (#1326)
     add 62037abdf [#1296] Swinging Door Trending (SDT) Filter Processor (#1306)
     add 417ac009b [hotfix] Use extensions-all-jvm module in backend environment
     add 0f6bcf55f Rename endpoint to fetch all pipelines from API (#1333) (#1334)
     add 72c5b6b9c Update all version to 0.92.0-SNAPSHOT (#1338)
     add b8b33370b [#1336] Add a builder to create SpQueryResult objects
     add d5789f74e Bump cypress from 12.5.1 to 12.6.0 in /ui
     add 5653e5e60 chore(python-docs): improve getting started section (#1310)
     add d70630c2d feat: Add input validation for API token name (#793)
     new 571f230ce Merge branch 'dev' into 1207-improve-helm-charts
     new 3e95faa03 Use non-root Dockerfile for nginx (#1207)(#454)

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .asf.yaml                                          |  10 +-
 .github/dependabot.yml                             |   3 +
 .github/pr-labeler-config.yml                      |   3 +
 .github/workflows/build.yml                        |   6 +-
 .github/workflows/cypress-test.yml                 |   4 +-
 .github/workflows/pr-labeler.yml                   |  14 +-
 .github/workflows/pr-validation.yml                |  20 +-
 .../{pr-labeler.yml => pypi-deployment.yml}        |  47 +-
 .github/workflows/python-docs.yml                  |  59 +++
 README.md                                          |   3 +-
 .../streampipes-archetype-extensions-jvm/pom.xml   |   2 +-
 .../src/main/resources/archetype-resources/pom.xml |   2 +-
 .../pom.xml                                        |   2 +-
 .../src/main/resources/archetype-resources/pom.xml |   2 +-
 .../streampipes-archetype-pe-sinks-flink/pom.xml   |   2 +-
 .../src/main/resources/archetype-resources/pom.xml |   2 +-
 docker-compose.yml                                 |   2 +-
 installer/cli/.env                                 |   6 +-
 installer/cli/README.md                            |   2 +-
 .../deploy/standalone/epsg/docker-compose.dev.yml  |   8 +-
 .../standalone/{ui => epsg}/docker-compose.yml     |  24 +-
 .../cli/deploy/standalone/ui/docker-compose.yml    |   2 +-
 installer/cli/environments/backend                 |   3 +-
 installer/compose/.env                             |   2 +-
 installer/compose/README.md                        |   2 +-
 installer/compose/docker-compose.full.yml          |   2 +-
 installer/compose/docker-compose.nats.yml          |   2 +-
 installer/compose/docker-compose.yml               |   2 +-
 installer/k8s/Chart.yaml                           |   4 +-
 installer/k8s/README.md                            |   2 +-
 installer/k8s/values.yaml                          |   2 +-
 installer/scripts/epsg/EPSG_FINISH.sql             |  17 +
 installer/scripts/epsg/PostgreSQL_Data_Script.sql  |  17 +
 installer/scripts/epsg/PostgreSQL_FKey_Script.sql  |  17 +
 installer/scripts/epsg/PostgreSQL_Table_Script.sql |  17 +
 installer/scripts/epsg/Readme.md                   | 140 +++++
 pom.xml                                            |  61 +--
 streampipes-client-python/.pre-commit-config.yaml  |   2 +-
 streampipes-client-python/Makefile                 |  14 +-
 streampipes-client-python/README.md                |  36 +-
 ...introduction-to-streampipes-python-client.ipynb |   8 +-
 ...cting-data-from-the-streampipes-data-lake.ipynb |  12 +-
 ...ive-data-from-the-streampipes-data-stream.ipynb |  70 ++-
 ...ine-learning-on-a-streampipes-data-stream.ipynb | 484 +++++++++++++++++
 .../docs/getting-started/developing.md             | 106 ++++
 .../docs/getting-started/first-steps.md            |  68 +++
 .../docs/getting-started/installation.md           |  41 --
 .../docs/getting-started/quickstart.md             |  22 +-
 streampipes-client-python/docs/index.md            |  39 +-
 .../docs/scripts/gen_ref_pages.py                  |   8 +-
 streampipes-client-python/mkdocs.yml               |   7 +-
 streampipes-client-python/setup.py                 |   8 +-
 .../__init__.py                                    |   0
 .../__version__.py                                 |   2 +-
 .../client/__init__.py                             |   0
 .../client/client.py                               |  12 +-
 .../client/config.py}                              |   2 +-
 .../client/credential_provider.py                  |   0
 .../endpoint/__init__.py                           |   0
 .../endpoint/api/__init__.py                       |   0
 .../endpoint/api/data_lake_measure.py              |  14 +-
 .../endpoint/api/data_stream.py                    |  12 +-
 .../endpoint/endpoint.py                           |  36 +-
 .../endpoint/exceptions.py                         |   0
 .../endpoint/messaging/__init__.py                 |   0
 .../function_zoo}/__init__.py                      |   0
 .../streampipes/function_zoo/river_function.py     | 184 +++++++
 .../utils => streampipes/functions}/__init__.py    |   0
 .../functions/broker/__init__.py                   |   5 +-
 .../functions/broker/broker.py                     |  55 +-
 .../streampipes/functions/broker/broker_handler.py |  53 ++
 .../functions/broker/nats_broker.py                |  31 +-
 .../functions/broker/output_collector.py           |  65 +++
 .../functions/function_handler.py                  |  57 +-
 .../functions/registration.py                      |   2 +-
 .../functions/streampipes_function.py              |  39 +-
 .../functions/utils}/__init__.py                   |   0
 .../functions/utils/async_iter_handler.py          |   0
 .../functions/utils/data_stream_context.py         |   6 +-
 .../functions/utils/data_stream_generator.py       |  73 +++
 .../functions/utils/function_context.py            |   4 +-
 .../model}/__init__.py                             |   0
 .../model/common.py                                |  68 +--
 .../model/container/__init__.py                    |   0
 .../model/container/data_lake_measures.py          |   6 +-
 .../model/container/data_streams.py                |   6 +-
 .../model/container/resource_container.py          |   2 +-
 .../model/resource/__init__.py                     |   0
 .../model/resource/data_lake_measure.py            |   4 +-
 .../model/resource/data_lake_series.py             |   2 +-
 .../model/resource/data_stream.py                  |  75 ++-
 .../model/resource/function_definition.py          |  35 +-
 .../model/resource/resource.py                     |   2 +-
 .../tests/client/test_client.py                    |  16 +-
 .../tests/client/test_credential_provider.py       |   2 +-
 .../tests/client/test_data_lake_series.py          |  12 +-
 .../tests/client/test_endpoint.py                  |  81 +--
 .../tests/functions/test_function_handler.py       | 110 +++-
 .../tests/functions/test_river_function.py         | 206 ++++++++
 .../model}/__init__.py                             |   0
 .../model/resource}/__init__.py                    |   0
 .../tests/model/resource/test_data_stream.py       |  73 +++
 streampipes-client/pom.xml                         |  21 +-
 .../streampipes/client/api/DataProcessorApi.java   |   3 +-
 .../apache/streampipes/client/api/DataSinkApi.java |   3 +-
 .../streampipes/client/api/DataStreamApi.java      |   3 +-
 .../apache/streampipes/client/api/PipelineApi.java |   2 +-
 streampipes-commons/pom.xml                        |   2 +-
 .../streampipes/commons/constants/CustomEnvs.java  |  20 +-
 .../commons/constants/DefaultEnvValues.java        |   9 +-
 .../apache/streampipes/commons/constants/Envs.java |  87 ++-
 .../commons/environment/DefaultEnvironment.java    |  80 +++
 .../commons/environment/Environment.java           |  40 ++
 .../commons/environment/Environments.java          |  16 +-
 .../environment/variable/EnvironmentVariable.java  |  20 +-
 .../streampipes/commons/networking/Networking.java |  21 +-
 streampipes-config/pom.xml                         |  13 +-
 .../streampipes/config/backend/BackendConfig.java  | 104 +---
 .../config/backend/BackendConfigKeys.java          |  11 -
 streampipes-connect-management/pom.xml             |  15 +-
 streampipes-data-explorer-commons/pom.xml          |  13 +-
 streampipes-data-explorer/pom.xml                  |  13 +-
 .../dataexplorer/DataLakeManagementV4.java         |  10 +-
 .../dataexplorer/query/DataExplorerQuery.java      |  10 +-
 .../dataexplorer/sdk/DataLakeQueryBuilder.java     |   8 +-
 .../dataexplorer/v4/query/DataExplorerQueryV4.java |  24 +-
 streampipes-data-export/pom.xml                    |  10 +-
 .../export/resolver/AbstractResolver.java          |   7 +
 .../export/resolver/AdapterResolver.java           |   3 +-
 .../export/resolver/DataSourceResolver.java        |   3 +-
 .../export/resolver/PipelineResolver.java          |   9 +-
 .../export/utils/EventGroundingProcessor.java      |  60 ++-
 streampipes-dataformat-cbor/pom.xml                |   9 +-
 streampipes-dataformat-fst/pom.xml                 |   9 +-
 streampipes-dataformat-json/pom.xml                |   9 +-
 streampipes-dataformat-smile/pom.xml               |   9 +-
 streampipes-dataformat/pom.xml                     |   7 +-
 streampipes-extensions-api/pom.xml                 |   9 +-
 streampipes-extensions-management/pom.xml          |  37 +-
 ...StreamPipesClientRuntimeConnectionResolver.java |  21 +-
 .../management/connect/adapter/Adapter.java        |  16 -
 .../elements/SendToBrokerAdapterSink.java          |  15 +-
 .../elements/SendToJmsAdapterSink.java             |   4 +-
 .../elements/SendToKafkaAdapterSink.java           |   6 +-
 .../elements/SendToMqttAdapterSink.java            |   4 +-
 .../elements/SendToNatsAdapterSink.java            |   4 +-
 streampipes-extensions/.github/workflows/build.yml | 587 ---------------------
 streampipes-extensions/pom.xml                     |   6 +-
 .../streampipes-connect-adapters-iiot/pom.xml      |   8 +-
 .../streampipes-connect-adapters/pom.xml           |   6 +-
 .../streampipes-connectors-influx/pom.xml          |  12 +-
 .../streampipes-extensions-all-iiot/pom.xml        |  26 +-
 .../streampipes-extensions-all-jvm/pom.xml         |  12 +-
 .../pom.xml                                        |  18 +-
 .../streampipes-pipeline-elements-all-jvm/pom.xml  |  28 +-
 .../pom.xml                                        |   2 +-
 .../streampipes-pipeline-elements-shared/pom.xml   |  10 +-
 .../pom.xml                                        |   8 +-
 .../pom.xml                                        |   6 +-
 .../streampipes-processors-enricher-flink/pom.xml  |   6 +-
 .../streampipes-processors-enricher-jvm/pom.xml    |   6 +-
 .../streampipes-processors-filters-jvm/pom.xml     |   6 +-
 .../processors/filters/jvm/FiltersJvmInit.java     |   4 +-
 .../processor/sdt/SwingingDoorTrendingFilter.java  | 182 +++++++
 .../sdt/SwingingDoorTrendingFilterProcessor.java   | 133 +++++
 .../documentation.md                               |  79 +++
 .../icon.png                                       | Bin 0 -> 107607 bytes
 .../strings.en                                     |  34 ++
 .../streampipes-processors-filters-siddhi/pom.xml  |   8 +-
 .../streampipes-processors-geo-flink/pom.xml       |   6 +-
 .../streampipes-processors-geo-jvm/pom.xml         |  20 +-
 .../streampipes/processors/geo/jvm/GeoJvmInit.java |  32 +-
 .../SpNotSupportedGeometryException.java           |  24 +-
 .../geo/jvm/jts/helper/SpGeometryBuilder.java      |  60 ++-
 .../geo/jvm/jts/helper/SpReprojectionBuilder.java  | 304 +++++++++++
 .../LatLngToJtsPointProcessor.java                 |   7 +-
 .../reprojection/ReprojectionProcessor.java        | 146 +++++
 .../trajectory/TrajectoryFromPointsProcessor.java  |  16 +-
 .../HaversineDistanceCalculatorProcessor.java      |  21 +-
 .../speedcalculator/SpeedCalculatorProcessor.java  |   6 +-
 .../documentation.md                               |  56 +-
 .../icon.png                                       | Bin 0 -> 20720 bytes
 .../strings.en                                     |  14 +-
 .../pom.xml                                        |  12 +-
 .../pom.xml                                        |  29 +-
 .../pom.xml                                        |   6 +-
 .../pom.xml                                        |   8 +-
 .../streampipes-processors-text-mining-jvm/pom.xml |  11 +-
 .../pom.xml                                        |  10 +-
 .../pom.xml                                        |   8 +-
 .../streampipes-sinks-brokers-jvm/pom.xml          |   8 +-
 .../streampipes-sinks-databases-flink/pom.xml      |  27 +-
 .../streampipes-sinks-databases-jvm/pom.xml        |   6 +-
 .../streampipes-sinks-internal-jvm/pom.xml         |  10 +-
 .../streampipes-sinks-notifications-jvm/pom.xml    |   8 +-
 .../streampipes-sources-vehicle-simulator/pom.xml  |  10 +-
 .../simulator/simulator/VehicleDataSimulator.java  |  13 +-
 .../pom.xml                                        |  13 +-
 .../simulator/utils/WatertankDataSimulator.java    |  13 +-
 streampipes-integration-tests/pom.xml              |   8 +-
 streampipes-logging/pom.xml                        |   5 +-
 streampipes-mail/pom.xml                           |   9 +-
 streampipes-maven-plugin/pom.xml                   |   9 +-
 streampipes-measurement-units/pom.xml              |   7 +-
 streampipes-messaging-jms/pom.xml                  |   4 +-
 streampipes-messaging-kafka/pom.xml                |   6 +-
 .../messaging/kafka/SpKafkaProducer.java           |   6 +-
 streampipes-messaging-mqtt/pom.xml                 |   4 +-
 streampipes-messaging-nats/pom.xml                 |   4 +-
 streampipes-messaging/pom.xml                      |   4 +-
 streampipes-model-client/pom.xml                   |   9 +-
 streampipes-model-shared/pom.xml                   |   2 +-
 streampipes-model/pom.xml                          |  13 +-
 .../streampipes/model/datalake/DataSeries.java     |  15 +
 .../{DataSeries.java => DataSeriesBuilder.java}    |  52 +-
 .../model/datalake/SpQueryResultBuilder.java       |  73 +++
 .../model/datalake/DataSeriesBuilderTest.java      |  90 ++++
 .../model/datalake/SpQueryResultBuilderTest.java   | 116 ++++
 streampipes-pipeline-management/pom.xml            |  42 +-
 .../provider/StoredPipelineElementProvider.java    |  13 +-
 .../runtime/PipelineElementRuntimeInfoFetcher.java |  13 +-
 .../manager/setup/AutoInstallation.java            |  56 +-
 streampipes-platform-services/pom.xml              |  15 +-
 streampipes-resource-management/pom.xml            |  11 +-
 .../AbstractPipelineElementResourceManager.java    |   9 +-
 .../resource/management/UserResourceManager.java   |  11 +-
 streampipes-rest-core-base/pom.xml                 |  13 +-
 streampipes-rest-extensions/pom.xml                |  10 +-
 .../pe/InvocablePipelineElementResource.java       |   4 +-
 streampipes-rest-shared/pom.xml                    |   9 +-
 streampipes-rest/pom.xml                           |  42 +-
 .../streampipes/rest/impl/PipelineResource.java    |  37 --
 .../org/apache/streampipes/rest/impl/Setup.java    |   3 +
 .../org/apache/streampipes/rest/impl/Version.java  |   3 +
 .../rest/impl/pe/DataProcessorResource.java        |  12 +-
 .../streampipes/rest/impl/pe/DataSinkResource.java |  12 +-
 .../rest/impl/pe/DataStreamResource.java           |  31 +-
 streampipes-sdk-bundle/pom.xml                     |  25 +-
 streampipes-sdk/pom.xml                            |  11 +-
 ...AbstractConfigurablePipelineElementBuilder.java |  18 +
 streampipes-security-jwt/pom.xml                   |   7 +-
 .../streampipes/security/jwt/KeyGenerator.java     |   5 +-
 streampipes-serializers-json/pom.xml               |  11 +-
 streampipes-service-base/pom.xml                   |   6 +-
 .../resources/{logback-spring.xml => logback.xml}  |   0
 streampipes-service-core/pom.xml                   |  17 +-
 .../service/core/StreamPipesEnvChecker.java        |  40 +-
 .../src/main/resources/application.properties      |   2 +-
 streampipes-service-discovery-api/pom.xml          |   2 +-
 streampipes-service-discovery-consul/pom.xml       |   8 +-
 .../svcdiscovery/consul/ConsulProvider.java        |   2 +-
 streampipes-service-discovery/pom.xml              |   6 +-
 streampipes-service-extensions/pom.xml             |   6 +-
 .../extensions/security/WebSecurityConfig.java     |  12 +-
 .../src/main/resources/application.properties      |   2 +-
 streampipes-sources/pom.xml                        |   7 +-
 streampipes-storage-api/pom.xml                    |   9 +-
 streampipes-storage-couchdb/pom.xml                |  15 +-
 .../storage/couchdb/utils/CouchDbConfig.java       |  55 --
 .../streampipes/storage/couchdb/utils/Utils.java   |  27 +-
 streampipes-storage-management/pom.xml             |   9 +-
 streampipes-test-utils/pom.xml                     |   7 +-
 streampipes-user-management/pom.xml                |  13 +-
 .../encryption/SecretEncryptionManager.java        |   7 +-
 .../user/management/jwt/JwtTokenProvider.java      |   7 +-
 streampipes-vocabulary/pom.xml                     |   5 +-
 streampipes-wrapper-distributed/pom.xml            |  13 +-
 streampipes-wrapper-flink/pom.xml                  |   7 +-
 streampipes-wrapper-kafka-streams/pom.xml          |   7 +-
 streampipes-wrapper-python/pom.xml                 |   5 +-
 streampipes-wrapper-siddhi/pom.xml                 |   4 +-
 streampipes-wrapper-standalone/pom.xml             |   7 +-
 .../standalone/function/StreamPipesFunction.java   |  10 +-
 streampipes-wrapper/pom.xml                        |  17 +-
 ui/Dockerfile                                      |  12 +-
 ui/README.md                                       |  11 +-
 ui/nginx_config/default.conf                       |  23 +-
 ui/nginx_config/ssl.conf                           |   2 +-
 ui/package-lock.json                               | 343 ++++--------
 ui/package.json                                    |  14 +-
 .../src/lib/apis/pipeline-element.service.ts       |   6 +-
 .../src/lib/apis/pipeline.service.ts               |  12 +-
 .../assets/dialog/base-asset-links.directive.ts    |   2 +-
 ui/src/app/home/components/status.component.ts     |   2 +-
 ui/src/app/info/about/about.component.html         |  23 +
 .../app/notifications/notifications.component.ts   |   2 +-
 ui/src/app/pipelines/pipelines.component.ts        |   2 +-
 .../token/token-management-settings.component.html |  23 +-
 .../token/token-management-settings.component.scss |   4 +
 .../token/token-management-settings.component.ts   |   8 +
 290 files changed, 4908 insertions(+), 2456 deletions(-)
 copy .github/workflows/{pr-labeler.yml => pypi-deployment.yml} (52%)
 create mode 100644 .github/workflows/python-docs.yml
 copy streampipes-client-python/streampipes_client/functions/utils/__init__.py => installer/cli/deploy/standalone/epsg/docker-compose.dev.yml (92%)
 copy installer/cli/deploy/standalone/{ui => epsg}/docker-compose.yml (59%)
 mode change 100644 => 100755
 create mode 100644 installer/scripts/epsg/EPSG_FINISH.sql
 create mode 100644 installer/scripts/epsg/PostgreSQL_Data_Script.sql
 create mode 100644 installer/scripts/epsg/PostgreSQL_FKey_Script.sql
 create mode 100644 installer/scripts/epsg/PostgreSQL_Table_Script.sql
 create mode 100644 installer/scripts/epsg/Readme.md
 create mode 100644 streampipes-client-python/docs/examples/4-using-online-machine-learning-on-a-streampipes-data-stream.ipynb
 create mode 100644 streampipes-client-python/docs/getting-started/developing.md
 create mode 100644 streampipes-client-python/docs/getting-started/first-steps.md
 delete mode 100644 streampipes-client-python/docs/getting-started/installation.md
 copy streampipes-client-python/{streampipes_client => streampipes}/__init__.py (100%)
 rename streampipes-client-python/{streampipes_client => streampipes}/__version__.py (95%)
 rename streampipes-client-python/{streampipes_client => streampipes}/client/__init__.py (100%)
 rename streampipes-client-python/{streampipes_client => streampipes}/client/client.py (94%)
 rename streampipes-client-python/{streampipes_client/client/client_config.py => streampipes/client/config.py} (96%)
 rename streampipes-client-python/{streampipes_client => streampipes}/client/credential_provider.py (100%)
 copy streampipes-client-python/{streampipes_client => streampipes}/endpoint/__init__.py (100%)
 rename streampipes-client-python/{streampipes_client => streampipes}/endpoint/api/__init__.py (100%)
 rename streampipes-client-python/{streampipes_client => streampipes}/endpoint/api/data_lake_measure.py (88%)
 rename streampipes-client-python/{streampipes_client => streampipes}/endpoint/api/data_stream.py (84%)
 rename streampipes-client-python/{streampipes_client => streampipes}/endpoint/endpoint.py (90%)
 rename streampipes-client-python/{streampipes_client => streampipes}/endpoint/exceptions.py (100%)
 rename streampipes-client-python/{streampipes_client => streampipes}/endpoint/messaging/__init__.py (100%)
 rename streampipes-client-python/{streampipes_client/functions => streampipes/function_zoo}/__init__.py (100%)
 create mode 100644 streampipes-client-python/streampipes/function_zoo/river_function.py
 rename streampipes-client-python/{streampipes_client/functions/utils => streampipes/functions}/__init__.py (100%)
 rename streampipes-client-python/{streampipes_client => streampipes}/functions/broker/__init__.py (88%)
 rename streampipes-client-python/{streampipes_client => streampipes}/functions/broker/broker.py (63%)
 create mode 100644 streampipes-client-python/streampipes/functions/broker/broker_handler.py
 rename streampipes-client-python/{streampipes_client => streampipes}/functions/broker/nats_broker.py (70%)
 create mode 100644 streampipes-client-python/streampipes/functions/broker/output_collector.py
 rename streampipes-client-python/{streampipes_client => streampipes}/functions/function_handler.py (79%)
 rename streampipes-client-python/{streampipes_client => streampipes}/functions/registration.py (95%)
 rename streampipes-client-python/{streampipes_client => streampipes}/functions/streampipes_function.py (69%)
 rename streampipes-client-python/{streampipes_client/model => streampipes/functions/utils}/__init__.py (100%)
 rename streampipes-client-python/{streampipes_client => streampipes}/functions/utils/async_iter_handler.py (100%)
 rename streampipes-client-python/{streampipes_client => streampipes}/functions/utils/data_stream_context.py (88%)
 create mode 100644 streampipes-client-python/streampipes/functions/utils/data_stream_generator.py
 rename streampipes-client-python/{streampipes_client => streampipes}/functions/utils/function_context.py (93%)
 copy streampipes-client-python/{streampipes_client => streampipes/model}/__init__.py (100%)
 rename streampipes-client-python/{streampipes_client => streampipes}/model/common.py (66%)
 rename streampipes-client-python/{streampipes_client => streampipes}/model/container/__init__.py (100%)
 rename streampipes-client-python/{streampipes_client => streampipes}/model/container/data_lake_measures.py (88%)
 rename streampipes-client-python/{streampipes_client => streampipes}/model/container/data_streams.py (88%)
 rename streampipes-client-python/{streampipes_client => streampipes}/model/container/resource_container.py (99%)
 rename streampipes-client-python/{streampipes_client => streampipes}/model/resource/__init__.py (100%)
 rename streampipes-client-python/{streampipes_client => streampipes}/model/resource/data_lake_measure.py (94%)
 rename streampipes-client-python/{streampipes_client => streampipes}/model/resource/data_lake_series.py (98%)
 rename streampipes-client-python/{streampipes_client => streampipes}/model/resource/data_stream.py (55%)
 rename streampipes-client-python/{streampipes_client => streampipes}/model/resource/function_definition.py (66%)
 rename streampipes-client-python/{streampipes_client => streampipes}/model/resource/resource.py (97%)
 create mode 100644 streampipes-client-python/tests/functions/test_river_function.py
 copy streampipes-client-python/{streampipes_client => tests/model}/__init__.py (100%)
 rename streampipes-client-python/{streampipes_client => tests/model/resource}/__init__.py (100%)
 create mode 100644 streampipes-client-python/tests/model/resource/test_data_stream.py
 delete mode 100644 streampipes-extensions/.github/workflows/build.yml
 create mode 100644 streampipes-extensions/streampipes-processors-filters-jvm/src/main/java/org/apache/streampipes/processors/filters/jvm/processor/sdt/SwingingDoorTrendingFilter.java
 create mode 100644 streampipes-extensions/streampipes-processors-filters-jvm/src/main/java/org/apache/streampipes/processors/filters/jvm/processor/sdt/SwingingDoorTrendingFilterProcessor.java
 create mode 100644 streampipes-extensions/streampipes-processors-filters-jvm/src/main/resources/org.apache.streampipes.processors.filters.jvm.sdt/documentation.md
 create mode 100644 streampipes-extensions/streampipes-processors-filters-jvm/src/main/resources/org.apache.streampipes.processors.filters.jvm.sdt/icon.png
 create mode 100644 streampipes-extensions/streampipes-processors-filters-jvm/src/main/resources/org.apache.streampipes.processors.filters.jvm.sdt/strings.en
 copy streampipes-commons/src/main/java/org/apache/streampipes/commons/constants/CustomEnvs.java => streampipes-extensions/streampipes-processors-geo-jvm/src/main/java/org/apache/streampipes/processors/geo/jvm/jts/exceptions/SpNotSupportedGeometryException.java (54%)
 mode change 100644 => 100755
 create mode 100755 streampipes-extensions/streampipes-processors-geo-jvm/src/main/java/org/apache/streampipes/processors/geo/jvm/jts/helper/SpReprojectionBuilder.java
 create mode 100644 streampipes-extensions/streampipes-processors-geo-jvm/src/main/java/org/apache/streampipes/processors/geo/jvm/jts/processor/reprojection/ReprojectionProcessor.java
 copy streampipes-service-base/src/main/resources/logback-spring.xml => streampipes-extensions/streampipes-processors-geo-jvm/src/main/resources/org.apache.streampipes.processors.geo.jvm.jts.processor.reprojection/documentation.md (56%)
 mode change 100644 => 100755
 create mode 100644 streampipes-extensions/streampipes-processors-geo-jvm/src/main/resources/org.apache.streampipes.processors.geo.jvm.jts.processor.reprojection/icon.png
 rename streampipes-client-python/streampipes_client/endpoint/__init__.py => streampipes-extensions/streampipes-processors-geo-jvm/src/main/resources/org.apache.streampipes.processors.geo.jvm.jts.processor.reprojection/strings.en (63%)
 mode change 100644 => 100755
 copy streampipes-model/src/main/java/org/apache/streampipes/model/datalake/{DataSeries.java => DataSeriesBuilder.java} (51%)
 create mode 100644 streampipes-model/src/main/java/org/apache/streampipes/model/datalake/SpQueryResultBuilder.java
 create mode 100644 streampipes-model/src/test/java/org/apache/streampipes/model/datalake/DataSeriesBuilderTest.java
 create mode 100644 streampipes-model/src/test/java/org/apache/streampipes/model/datalake/SpQueryResultBuilderTest.java
 rename streampipes-service-base/src/main/resources/{logback-spring.xml => logback.xml} (100%)
 delete mode 100644 streampipes-storage-couchdb/src/main/java/org/apache/streampipes/storage/couchdb/utils/CouchDbConfig.java


[streampipes] 01/02: Merge branch 'dev' into 1207-improve-helm-charts

Posted by ri...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

riemer pushed a commit to branch 1207-improve-helm-charts
in repository https://gitbox.apache.org/repos/asf/streampipes.git

commit 571f230ce4f562fc92ce6bc1463468a77a349fd9
Merge: c6f79e2eb d70630c2d
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Thu Feb 23 11:25:04 2023 +0100

    Merge branch 'dev' into 1207-improve-helm-charts

 .asf.yaml                                          |  10 +-
 .github/dependabot.yml                             |   3 +
 .github/pr-labeler-config.yml                      |   3 +
 .github/workflows/build.yml                        |   6 +-
 .github/workflows/cypress-test.yml                 |   4 +-
 .github/workflows/pr-labeler.yml                   |  14 +-
 .github/workflows/pr-validation.yml                |  20 +-
 .../{pr-labeler.yml => pypi-deployment.yml}        |  47 +-
 .github/workflows/python-docs.yml                  |  59 +++
 README.md                                          |   3 +-
 .../streampipes-archetype-extensions-jvm/pom.xml   |   2 +-
 .../src/main/resources/archetype-resources/pom.xml |   2 +-
 .../pom.xml                                        |   2 +-
 .../src/main/resources/archetype-resources/pom.xml |   2 +-
 .../streampipes-archetype-pe-sinks-flink/pom.xml   |   2 +-
 .../src/main/resources/archetype-resources/pom.xml |   2 +-
 installer/cli/.env                                 |   6 +-
 installer/cli/README.md                            |   2 +-
 .../deploy/standalone/epsg/docker-compose.dev.yml  |   8 +-
 .../cli/deploy/standalone/epsg/docker-compose.yml  |  44 ++
 installer/cli/environments/backend                 |   3 +-
 installer/compose/.env                             |   2 +-
 installer/compose/README.md                        |   2 +-
 installer/k8s/Chart.yaml                           |   4 +-
 installer/k8s/README.md                            |   2 +-
 installer/k8s/values.yaml                          |   2 +-
 installer/scripts/epsg/EPSG_FINISH.sql             |  17 +
 installer/scripts/epsg/PostgreSQL_Data_Script.sql  |  17 +
 installer/scripts/epsg/PostgreSQL_FKey_Script.sql  |  17 +
 installer/scripts/epsg/PostgreSQL_Table_Script.sql |  17 +
 installer/scripts/epsg/Readme.md                   | 140 +++++
 pom.xml                                            |  61 +--
 streampipes-client-python/.pre-commit-config.yaml  |   2 +-
 streampipes-client-python/Makefile                 |  14 +-
 streampipes-client-python/README.md                |  36 +-
 ...introduction-to-streampipes-python-client.ipynb |   8 +-
 ...cting-data-from-the-streampipes-data-lake.ipynb |  12 +-
 ...ive-data-from-the-streampipes-data-stream.ipynb |  70 ++-
 ...ine-learning-on-a-streampipes-data-stream.ipynb | 484 +++++++++++++++++
 .../docs/getting-started/developing.md             | 106 ++++
 .../docs/getting-started/first-steps.md            |  68 +++
 .../docs/getting-started/installation.md           |  41 --
 .../docs/getting-started/quickstart.md             |  22 +-
 streampipes-client-python/docs/index.md            |  39 +-
 .../docs/scripts/gen_ref_pages.py                  |   8 +-
 streampipes-client-python/mkdocs.yml               |   7 +-
 streampipes-client-python/setup.py                 |   8 +-
 .../__init__.py                                    |   0
 .../__version__.py                                 |   2 +-
 .../client/__init__.py                             |   0
 .../client/client.py                               |  12 +-
 .../client/config.py}                              |   2 +-
 .../client/credential_provider.py                  |   0
 .../endpoint/__init__.py                           |   0
 .../endpoint/api/__init__.py                       |   0
 .../endpoint/api/data_lake_measure.py              |  14 +-
 .../endpoint/api/data_stream.py                    |  12 +-
 .../endpoint/endpoint.py                           |  36 +-
 .../endpoint/exceptions.py                         |   0
 .../endpoint/messaging/__init__.py                 |   0
 .../function_zoo}/__init__.py                      |   0
 .../streampipes/function_zoo/river_function.py     | 184 +++++++
 .../utils => streampipes/functions}/__init__.py    |   0
 .../functions/broker/__init__.py                   |   5 +-
 .../functions/broker/broker.py                     |  55 +-
 .../streampipes/functions/broker/broker_handler.py |  53 ++
 .../functions/broker/nats_broker.py                |  31 +-
 .../functions/broker/output_collector.py           |  65 +++
 .../functions/function_handler.py                  |  57 +-
 .../functions/registration.py                      |   2 +-
 .../functions/streampipes_function.py              |  39 +-
 .../functions/utils}/__init__.py                   |   0
 .../functions/utils/async_iter_handler.py          |   0
 .../functions/utils/data_stream_context.py         |   6 +-
 .../functions/utils/data_stream_generator.py       |  73 +++
 .../functions/utils/function_context.py            |   4 +-
 .../model}/__init__.py                             |   0
 .../model/common.py                                |  68 +--
 .../model/container/__init__.py                    |   0
 .../model/container/data_lake_measures.py          |   6 +-
 .../model/container/data_streams.py                |   6 +-
 .../model/container/resource_container.py          |   2 +-
 .../model/resource/__init__.py                     |   0
 .../model/resource/data_lake_measure.py            |   4 +-
 .../model/resource/data_lake_series.py             |   2 +-
 .../model/resource/data_stream.py                  |  75 ++-
 .../model/resource/function_definition.py          |  35 +-
 .../model/resource/resource.py                     |   2 +-
 .../tests/client/test_client.py                    |  16 +-
 .../tests/client/test_credential_provider.py       |   2 +-
 .../tests/client/test_data_lake_series.py          |  12 +-
 .../tests/client/test_endpoint.py                  |  81 +--
 .../tests/functions/test_function_handler.py       | 110 +++-
 .../tests/functions/test_river_function.py         | 206 ++++++++
 .../model}/__init__.py                             |   0
 .../model/resource}/__init__.py                    |   0
 .../tests/model/resource/test_data_stream.py       |  73 +++
 streampipes-client/pom.xml                         |  21 +-
 .../streampipes/client/api/DataProcessorApi.java   |   3 +-
 .../apache/streampipes/client/api/DataSinkApi.java |   3 +-
 .../streampipes/client/api/DataStreamApi.java      |   3 +-
 .../apache/streampipes/client/api/PipelineApi.java |   2 +-
 streampipes-commons/pom.xml                        |   2 +-
 .../streampipes/commons/constants/CustomEnvs.java  |  20 +-
 .../commons/constants/DefaultEnvValues.java        |   9 +-
 .../apache/streampipes/commons/constants/Envs.java |  87 ++-
 .../commons/environment/DefaultEnvironment.java    |  80 +++
 .../commons/environment/Environment.java           |  40 ++
 .../commons/environment/Environments.java          |  16 +-
 .../environment/variable/EnvironmentVariable.java  |  20 +-
 .../streampipes/commons/networking/Networking.java |  21 +-
 streampipes-config/pom.xml                         |  13 +-
 .../streampipes/config/backend/BackendConfig.java  | 104 +---
 .../config/backend/BackendConfigKeys.java          |  11 -
 streampipes-connect-management/pom.xml             |  15 +-
 streampipes-data-explorer-commons/pom.xml          |  13 +-
 streampipes-data-explorer/pom.xml                  |  13 +-
 .../dataexplorer/DataLakeManagementV4.java         |  10 +-
 .../dataexplorer/query/DataExplorerQuery.java      |  10 +-
 .../dataexplorer/sdk/DataLakeQueryBuilder.java     |   8 +-
 .../dataexplorer/v4/query/DataExplorerQueryV4.java |  24 +-
 streampipes-data-export/pom.xml                    |  10 +-
 .../export/resolver/AbstractResolver.java          |   7 +
 .../export/resolver/AdapterResolver.java           |   3 +-
 .../export/resolver/DataSourceResolver.java        |   3 +-
 .../export/resolver/PipelineResolver.java          |   9 +-
 .../export/utils/EventGroundingProcessor.java      |  60 ++-
 streampipes-dataformat-cbor/pom.xml                |   9 +-
 streampipes-dataformat-fst/pom.xml                 |   9 +-
 streampipes-dataformat-json/pom.xml                |   9 +-
 streampipes-dataformat-smile/pom.xml               |   9 +-
 streampipes-dataformat/pom.xml                     |   7 +-
 streampipes-extensions-api/pom.xml                 |   9 +-
 streampipes-extensions-management/pom.xml          |  37 +-
 ...StreamPipesClientRuntimeConnectionResolver.java |  21 +-
 .../management/connect/adapter/Adapter.java        |  16 -
 .../elements/SendToBrokerAdapterSink.java          |  15 +-
 .../elements/SendToJmsAdapterSink.java             |   4 +-
 .../elements/SendToKafkaAdapterSink.java           |   6 +-
 .../elements/SendToMqttAdapterSink.java            |   4 +-
 .../elements/SendToNatsAdapterSink.java            |   4 +-
 streampipes-extensions/.github/workflows/build.yml | 587 ---------------------
 streampipes-extensions/pom.xml                     |   6 +-
 .../streampipes-connect-adapters-iiot/pom.xml      |   8 +-
 .../streampipes-connect-adapters/pom.xml           |   6 +-
 .../streampipes-connectors-influx/pom.xml          |  12 +-
 .../streampipes-extensions-all-iiot/pom.xml        |  26 +-
 .../streampipes-extensions-all-jvm/pom.xml         |  12 +-
 .../pom.xml                                        |  18 +-
 .../streampipes-pipeline-elements-all-jvm/pom.xml  |  28 +-
 .../pom.xml                                        |   2 +-
 .../streampipes-pipeline-elements-shared/pom.xml   |  10 +-
 .../pom.xml                                        |   8 +-
 .../pom.xml                                        |   6 +-
 .../streampipes-processors-enricher-flink/pom.xml  |   6 +-
 .../streampipes-processors-enricher-jvm/pom.xml    |   6 +-
 .../streampipes-processors-filters-jvm/pom.xml     |   6 +-
 .../processors/filters/jvm/FiltersJvmInit.java     |   4 +-
 .../processor/sdt/SwingingDoorTrendingFilter.java  | 182 +++++++
 .../sdt/SwingingDoorTrendingFilterProcessor.java   | 133 +++++
 .../documentation.md                               |  79 +++
 .../icon.png                                       | Bin 0 -> 107607 bytes
 .../strings.en                                     |  34 ++
 .../streampipes-processors-filters-siddhi/pom.xml  |   8 +-
 .../streampipes-processors-geo-flink/pom.xml       |   6 +-
 .../streampipes-processors-geo-jvm/pom.xml         |  20 +-
 .../streampipes/processors/geo/jvm/GeoJvmInit.java |  32 +-
 .../SpNotSupportedGeometryException.java           |  24 +-
 .../geo/jvm/jts/helper/SpGeometryBuilder.java      |  60 ++-
 .../geo/jvm/jts/helper/SpReprojectionBuilder.java  | 304 +++++++++++
 .../LatLngToJtsPointProcessor.java                 |   7 +-
 .../reprojection/ReprojectionProcessor.java        | 146 +++++
 .../trajectory/TrajectoryFromPointsProcessor.java  |  16 +-
 .../HaversineDistanceCalculatorProcessor.java      |  21 +-
 .../speedcalculator/SpeedCalculatorProcessor.java  |   6 +-
 .../documentation.md                               |  56 +-
 .../icon.png                                       | Bin 0 -> 20720 bytes
 .../strings.en                                     |  14 +-
 .../pom.xml                                        |  12 +-
 .../pom.xml                                        |  29 +-
 .../pom.xml                                        |   6 +-
 .../pom.xml                                        |   8 +-
 .../streampipes-processors-text-mining-jvm/pom.xml |  11 +-
 .../pom.xml                                        |  10 +-
 .../pom.xml                                        |   8 +-
 .../streampipes-sinks-brokers-jvm/pom.xml          |   8 +-
 .../streampipes-sinks-databases-flink/pom.xml      |  27 +-
 .../streampipes-sinks-databases-jvm/pom.xml        |   6 +-
 .../streampipes-sinks-internal-jvm/pom.xml         |  10 +-
 .../streampipes-sinks-notifications-jvm/pom.xml    |   8 +-
 .../streampipes-sources-vehicle-simulator/pom.xml  |  10 +-
 .../simulator/simulator/VehicleDataSimulator.java  |  13 +-
 .../pom.xml                                        |  13 +-
 .../simulator/utils/WatertankDataSimulator.java    |  13 +-
 streampipes-integration-tests/pom.xml              |   8 +-
 streampipes-logging/pom.xml                        |   5 +-
 streampipes-mail/pom.xml                           |   9 +-
 streampipes-maven-plugin/pom.xml                   |   9 +-
 streampipes-measurement-units/pom.xml              |   7 +-
 streampipes-messaging-jms/pom.xml                  |   4 +-
 streampipes-messaging-kafka/pom.xml                |   6 +-
 .../messaging/kafka/SpKafkaProducer.java           |   6 +-
 streampipes-messaging-mqtt/pom.xml                 |   4 +-
 streampipes-messaging-nats/pom.xml                 |   4 +-
 streampipes-messaging/pom.xml                      |   4 +-
 streampipes-model-client/pom.xml                   |   9 +-
 streampipes-model-shared/pom.xml                   |   2 +-
 streampipes-model/pom.xml                          |  13 +-
 .../streampipes/model/datalake/DataSeries.java     |  15 +
 .../{DataSeries.java => DataSeriesBuilder.java}    |  52 +-
 .../model/datalake/SpQueryResultBuilder.java       |  73 +++
 .../model/datalake/DataSeriesBuilderTest.java      |  90 ++++
 .../model/datalake/SpQueryResultBuilderTest.java   | 116 ++++
 streampipes-pipeline-management/pom.xml            |  42 +-
 .../provider/StoredPipelineElementProvider.java    |  13 +-
 .../runtime/PipelineElementRuntimeInfoFetcher.java |  13 +-
 .../manager/setup/AutoInstallation.java            |  56 +-
 streampipes-platform-services/pom.xml              |  15 +-
 streampipes-resource-management/pom.xml            |  11 +-
 .../AbstractPipelineElementResourceManager.java    |   9 +-
 .../resource/management/UserResourceManager.java   |  11 +-
 streampipes-rest-core-base/pom.xml                 |  13 +-
 streampipes-rest-extensions/pom.xml                |  10 +-
 .../pe/InvocablePipelineElementResource.java       |   4 +-
 streampipes-rest-shared/pom.xml                    |   9 +-
 streampipes-rest/pom.xml                           |  42 +-
 .../streampipes/rest/impl/PipelineResource.java    |  37 --
 .../org/apache/streampipes/rest/impl/Setup.java    |   3 +
 .../org/apache/streampipes/rest/impl/Version.java  |   3 +
 .../rest/impl/pe/DataProcessorResource.java        |  12 +-
 .../streampipes/rest/impl/pe/DataSinkResource.java |  12 +-
 .../rest/impl/pe/DataStreamResource.java           |  31 +-
 streampipes-sdk-bundle/pom.xml                     |  25 +-
 streampipes-sdk/pom.xml                            |  11 +-
 ...AbstractConfigurablePipelineElementBuilder.java |  18 +
 streampipes-security-jwt/pom.xml                   |   7 +-
 .../streampipes/security/jwt/KeyGenerator.java     |   5 +-
 streampipes-serializers-json/pom.xml               |  11 +-
 streampipes-service-base/pom.xml                   |   6 +-
 .../resources/{logback-spring.xml => logback.xml}  |   0
 streampipes-service-core/pom.xml                   |  17 +-
 .../service/core/StreamPipesEnvChecker.java        |  40 +-
 .../src/main/resources/application.properties      |   2 +-
 streampipes-service-discovery-api/pom.xml          |   2 +-
 streampipes-service-discovery-consul/pom.xml       |   8 +-
 .../svcdiscovery/consul/ConsulProvider.java        |   2 +-
 streampipes-service-discovery/pom.xml              |   6 +-
 streampipes-service-extensions/pom.xml             |   6 +-
 .../extensions/security/WebSecurityConfig.java     |  12 +-
 .../src/main/resources/application.properties      |   2 +-
 streampipes-sources/pom.xml                        |   7 +-
 streampipes-storage-api/pom.xml                    |   9 +-
 streampipes-storage-couchdb/pom.xml                |  15 +-
 .../storage/couchdb/utils/CouchDbConfig.java       |  55 --
 .../streampipes/storage/couchdb/utils/Utils.java   |  27 +-
 streampipes-storage-management/pom.xml             |   9 +-
 streampipes-test-utils/pom.xml                     |   7 +-
 streampipes-user-management/pom.xml                |  13 +-
 .../encryption/SecretEncryptionManager.java        |   7 +-
 .../user/management/jwt/JwtTokenProvider.java      |   7 +-
 streampipes-vocabulary/pom.xml                     |   5 +-
 streampipes-wrapper-distributed/pom.xml            |  13 +-
 streampipes-wrapper-flink/pom.xml                  |   7 +-
 streampipes-wrapper-kafka-streams/pom.xml          |   7 +-
 streampipes-wrapper-python/pom.xml                 |   5 +-
 streampipes-wrapper-siddhi/pom.xml                 |   4 +-
 streampipes-wrapper-standalone/pom.xml             |   7 +-
 .../standalone/function/StreamPipesFunction.java   |  10 +-
 streampipes-wrapper/pom.xml                        |  17 +-
 ui/README.md                                       |  11 +-
 ui/package-lock.json                               | 343 ++++--------
 ui/package.json                                    |  14 +-
 .../src/lib/apis/pipeline-element.service.ts       |   6 +-
 .../src/lib/apis/pipeline.service.ts               |  12 +-
 .../assets/dialog/base-asset-links.directive.ts    |   2 +-
 ui/src/app/home/components/status.component.ts     |   2 +-
 ui/src/app/info/about/about.component.html         |  23 +
 .../app/notifications/notifications.component.ts   |   2 +-
 ui/src/app/pipelines/pipelines.component.ts        |   2 +-
 .../token/token-management-settings.component.html |  23 +-
 .../token/token-management-settings.component.scss |   4 +
 .../token/token-management-settings.component.ts   |   8 +
 282 files changed, 4921 insertions(+), 2416 deletions(-)

diff --cc installer/k8s/values.yaml
index 81fa886e3,07edd3dbf..7a71e2733
--- a/installer/k8s/values.yaml
+++ b/installer/k8s/values.yaml
@@@ -21,67 -21,30 +21,67 @@@ persistentVolumeReclaimPolicy: "Delete
  persistentVolumeAccessModes: "ReadWriteOnce"
  
  streampipes:
-   version: "0.91.0-SNAPSHOT"
+   version: "0.92.0-SNAPSHOT"
    registry: "apachestreampipes"
 +  core:
 +    appName: "backend"
 +    port: 8030
 +    persistence:
 +      storageClassName: ""
 +      claimName: "backend-pvc"
 +      pvName: "backend-pv"
 +    service:
 +      name: "backend"
 +      port: 8030
 +  ui:
 +    appName: "ui"
 +    service:
 +      type: "LoadBalancer"
 +      nodePort: 8088
 +      port: 8088
 +    port: 8088
  
  external:
 -  consulVersion: 1.14.3
 -  couchdbVersion: 3.3.1
 -  flinkVersion: 1.13.5-scala_2.11
 +  consul:
 +    appName: "consul"
 +    version: 1.14.3
 +    persistence:
 +      storageClassName: ""
 +      claimName: "consul-pvc"
 +      pvName: "consul-pv"
 +  couchdb:
 +    appName: "couchdb"
 +    version: 3.3.1
 +    user: "admin"
 +    password: "admin"
 +    persistence:
 +      storageClassName: ""
 +      claimName: "couchdb-pvc"
 +      pvName: "couchdb-pv"
 +  influxdb:
 +    appName: "influxdb"
 +    version: 2.6
 +    username: "admin"
 +    password: "sp-admin"
 +    adminToken: "sp-admin"
 +    initOrg: "sp"
 +    initBucket: "sp"
 +    # For database migration in v0.91.0 - set init mode to 'upgrade' to migrate an existing installation
 +    initMode: "setup"
 +    persistence:
 +      storageClassName: ""
 +      claimName: "influxdb2-pvc"
 +      claimNameV1: "influxdb-pvc"
 +      pvName: "influxdb2-pv"
 +      pvNameV1: "influxdb-pv"
 +  nats:
 +    appName: "nats"
 +    service:
 +      type: "LoadBalancer"
 +      externalTrafficPolicy: "Local"
 +    version:
    kafkaVersion: 2.2.0
    zookeeperVersion: 3.4.13
 -  influxdbVersion: 2.6
  
 -# For database migration in v0.91.0 - set init mode to 'upgrade' to migrate an existing installation
  
 -influxdb:
 -  username: "admin"
 -  password: "sp-admin"
 -  adminToken: "sp-admin"
 -  initOrg: "sp"
 -  initBucket: "sp"
 -  initMode: "setup"
  
 -
 -
 -# NOTE: Local testing only!
 -# minikube start --mount-string ${HOME}/streampipes-k8s:/streampipes-k8s --mount --memory=4g --cpus=4
 -# Specify minikube directory:
 -hostPath: "/streampipes-k8s"


[streampipes] 02/02: Use non-root Dockerfile for nginx (#1207)(#454)

Posted by ri...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

riemer pushed a commit to branch 1207-improve-helm-charts
in repository https://gitbox.apache.org/repos/asf/streampipes.git

commit 3e95faa039600f80008f47574e13707e1755eafc
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Thu Feb 23 12:41:58 2023 +0100

    Use non-root Dockerfile for nginx (#1207)(#454)
---
 docker-compose.yml                                 |  2 +-
 .../cli/deploy/standalone/ui/docker-compose.yml    |  2 +-
 installer/compose/docker-compose.full.yml          |  2 +-
 installer/compose/docker-compose.nats.yml          |  2 +-
 installer/compose/docker-compose.yml               |  2 +-
 ui/Dockerfile                                      | 12 +++++++++--
 ui/nginx_config/default.conf                       | 23 +---------------------
 ui/nginx_config/ssl.conf                           |  2 +-
 8 files changed, 17 insertions(+), 30 deletions(-)

diff --git a/docker-compose.yml b/docker-compose.yml
index bdf4d4e30..5570b5f3d 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -55,7 +55,7 @@ services:
       dockerfile: Dockerfile
     image: streampipes_ui:release-validation
     ports:
-      - "80:80"
+      - "80:8088"
     depends_on:
       - couchdb
       - consul
diff --git a/installer/cli/deploy/standalone/ui/docker-compose.yml b/installer/cli/deploy/standalone/ui/docker-compose.yml
index c52698d01..bd88b873d 100644
--- a/installer/cli/deploy/standalone/ui/docker-compose.yml
+++ b/installer/cli/deploy/standalone/ui/docker-compose.yml
@@ -18,7 +18,7 @@ services:
   ui:
     image: ${SP_DOCKER_REGISTRY}/ui:${SP_VERSION}
     ports:
-      - "80:80"
+      - "80:8088"
     depends_on:
       - couchdb
       - consul
diff --git a/installer/compose/docker-compose.full.yml b/installer/compose/docker-compose.full.yml
index af8efbe18..3dae15baa 100644
--- a/installer/compose/docker-compose.full.yml
+++ b/installer/compose/docker-compose.full.yml
@@ -69,7 +69,7 @@ services:
   ui:
     image: "${SP_DOCKER_REGISTRY}/ui:${SP_VERSION}"
     ports:
-      - "80:80"
+      - "80:8088"
     depends_on:
       - couchdb
       - consul
diff --git a/installer/compose/docker-compose.nats.yml b/installer/compose/docker-compose.nats.yml
index 10e30d6c2..210532139 100644
--- a/installer/compose/docker-compose.nats.yml
+++ b/installer/compose/docker-compose.nats.yml
@@ -42,7 +42,7 @@ services:
   ui:
     image: "${SP_DOCKER_REGISTRY}/ui:${SP_VERSION}"
     ports:
-      - "80:80"
+      - "80:8088"
     depends_on:
       - couchdb
       - consul
diff --git a/installer/compose/docker-compose.yml b/installer/compose/docker-compose.yml
index 2bc0469df..102fd87cc 100644
--- a/installer/compose/docker-compose.yml
+++ b/installer/compose/docker-compose.yml
@@ -41,7 +41,7 @@ services:
   ui:
     image: "${SP_DOCKER_REGISTRY}/ui:${SP_VERSION}"
     ports:
-      - "80:80"
+      - "80:8088"
     depends_on:
       - couchdb
       - consul
diff --git a/ui/Dockerfile b/ui/Dockerfile
index e89d89332..0bbc4af52 100644
--- a/ui/Dockerfile
+++ b/ui/Dockerfile
@@ -17,13 +17,21 @@ FROM nginx
 
 COPY dist/streampipes/ui/ /usr/share/nginx/html/
 
+
+RUN chown -R nginx:nginx /usr/share/nginx/html && chmod -R 755 /usr/share/nginx/html && \
+        chown -R nginx:nginx /var/cache/nginx && \
+        chown -R nginx:nginx /var/log/nginx && \
+        chown -R nginx:nginx /etc/nginx/conf.d
+RUN touch /var/run/nginx.pid && \
+        chown -R nginx:nginx /var/run/nginx.pid
+
+USER nginx
+
 COPY nginx_config/nginx.conf /etc/nginx/nginx.conf
 COPY nginx_config/default.conf /etc/nginx/conf.d/default.conf
 COPY nginx_config/ssl.conf /app/nginx-confs/ssl.conf
 
 COPY docker-entrypoint.sh /
 
-RUN chown -R nginx:nginx /usr/share/nginx/html/
-
 ENTRYPOINT ["sh", "/docker-entrypoint.sh"]
 CMD ["nginx", "-g", "daemon off;"]
diff --git a/ui/nginx_config/default.conf b/ui/nginx_config/default.conf
index 90002a6fe..5dd4447c2 100644
--- a/ui/nginx_config/default.conf
+++ b/ui/nginx_config/default.conf
@@ -14,7 +14,7 @@
 # limitations under the License.
 
 server {
-  listen       80 default_server;
+  listen       8088 default_server;
   resolver 127.0.0.11;
 
   root /usr/share/nginx/html;
@@ -43,17 +43,6 @@ server {
     proxy_redirect off;
   }
 
-  location /streampipes-connect/ {
-    set $upstream backend:8030;
-
-    proxy_set_header X-Real-IP $remote_addr;
-    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
-    proxy_set_header X-NginX-Proxy true;
-    proxy_pass http://$upstream;
-    proxy_ssl_session_reuse off;
-    proxy_set_header Host $http_host;
-  }
-  
   location ~/endpoints/(?<endpointName>.*)$ {
     set $upstream connect-adapters-iiot:8001/api/v1/worker/live/$endpointName;
 
@@ -64,14 +53,4 @@ server {
     proxy_ssl_session_reuse off;
     proxy_set_header Host $http_host;
   }
-  
-  #error_page  404              /404.html;
-
-  # redirect server error pages to the static page /50x.html
-  #
-  #error_page   500 502 503 504  /50x.html;
-  #location = /50x.html {
-  #    root   /usr/share/nginx/html;
-  #}
-
 }
diff --git a/ui/nginx_config/ssl.conf b/ui/nginx_config/ssl.conf
index 8279fa586..c3a5fc133 100644
--- a/ui/nginx_config/ssl.conf
+++ b/ui/nginx_config/ssl.conf
@@ -14,7 +14,7 @@
 # limitations under the License.
 
 server {
-  listen 80;
+  listen 8088;
   return 301 https://$host$request_uri;
 }