Skip to content

Commit

Permalink
reference commit 8711c77 fix(apache#2944): Fix connection error in PL…
Browse files Browse the repository at this point in the history
…C S7 connector (apache#2946)
  • Loading branch information
Bruno Henrique Pastor committed Dec 18, 2024
1 parent 153e736 commit 559639f
Show file tree
Hide file tree
Showing 1,572 changed files with 48,602 additions and 15,600 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ body:
description: What Apache StreamPipes version are you using?
multiple: false
options:
- "0.92.0"
- "0.95.0"
- "dev (current development state)"
- "Other StreamPipes version (please specify below)"

Expand Down
11 changes: 5 additions & 6 deletions .github/ISSUE_TEMPLATE/doc_website_issue_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ body:
attributes:
value: "
<p align='center'>
<img src='https://streampipes.apache.org/img/sp-logo-color.png' alt='StreamPipes Logo' title='Apache StreamPipes Logo' width='50%' align='center'/>
</p>
<br>
Thank you for taking the time to report the issue!
We greatly appreciate the community's efforts to improve StreamPipes.
Expand All @@ -40,11 +40,10 @@ body:
- type: dropdown
attributes:
label: Where does your observation occur?
description: Please choose whether the issue you want to report occurs on the [website](https://streampipes.apache.org/), the [documentation](https://streampipes.apache.org/docs/user-guide-introduction/), or the [python client documentation](https://streampipes.apache.org/docs/docs/python/latest/).
description: Please choose whether the issue you want to report occurs on the [website](https://streampipes.apache.org/) or on the [documentation](https://streampipes.apache.org/docs/index.html).
multiple: false
options:
- StreamPipes Documentation
- StreamPipes Python Documentation
- StreamPipes Website

- type: textarea
Expand Down Expand Up @@ -90,4 +89,4 @@ body:

- type: markdown
attributes:
value: ":pray: Thanks a lot for completing our form!"
value: ":pray: Thanks a lot for completing our form!"
6 changes: 3 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
~ limitations under the License.
~
-->

<!--
Thanks for contributing! Here are some tips you can follow to help us incorporate your contribution quickly and easily:
1. If this is your first time, please read our contributor guidelines:
- https://streampipes.apache.org/community/get-involved/
- https://streampipes.apache.org/getinvolved.html
- https://cwiki.apache.org/confluence/display/STREAMPIPES/Getting+Started
2. Make sure the PR title is formatted like: `[#<GitHub issue id>] PR title ...`
3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., `[WIP][#<GitHub issue id>] PR title ...`.
4. Please write your PR title to summarize what this PR proposes/fixes.
5. Link the PR to the corresponding GitHub issue (if present) in the `Development` section in the right menu bar.
5. Link the PR to the corresponding GitHub issue (if present) in the `Development` section in the right menu bar.
6. Be sure to keep the PR description updated to reflect all changes.
7. If possible, provide a concise example to reproduce the issue for a faster review.
8. Make sure tests pass via `mvn clean install`.
Expand Down
2 changes: 0 additions & 2 deletions .github/pr-labeler-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ documentation:
- changed-files:
- any-glob-to-any-file:
- "**/*.md"
- "streampipes-client-python/docs/**/*"
- "streampipes-client-python/mkdocs.yml"

gh-actions:
- any:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and Push Docker Backend Image
uses: docker/build-push-action@v6
uses: docker/build-push-action@v5
with:
context: ./streampipes-service-core
platforms: linux/amd64,linux/arm64/v8,linux/arm/v7
push: true
tags: ${{ env.DOCKERHUB_APACHE_REPO }}/backend:${{ env.MVN_VERSION }}

- name: Build and Push Docker Core Minimal Image
uses: docker/build-push-action@v6
uses: docker/build-push-action@v5
with:
context: ./streampipes-service-core-minimal
platforms: linux/amd64,linux/arm64/v8,linux/arm/v7
Expand All @@ -85,39 +85,39 @@ jobs:
npm run build
- name: Build and Push Docker UI Image
uses: docker/build-push-action@v6
uses: docker/build-push-action@v5
with:
context: ./ui
platforms: linux/amd64,linux/arm64/v8,linux/arm/v7
push: true
tags: ${{ env.DOCKERHUB_APACHE_REPO }}/ui:${{ env.MVN_VERSION }}

- name: Build and Push Docker Image extensions-all-jvm
uses: docker/build-push-action@v6
uses: docker/build-push-action@v5
with:
context: ./streampipes-extensions/streampipes-extensions-all-jvm
platforms: linux/amd64,linux/arm64/v8,linux/arm/v7
push: true
tags: ${{ env.DOCKERHUB_APACHE_REPO }}/extensions-all-jvm:${{ env.MVN_VERSION }}

# - name: Build and Push Docker Image pipeline-elements-experimental-flink
# uses: docker/build-push-action@v6
# uses: docker/build-push-action@v5
# with:
# context: ./streampipes-extensions/streampipes-pipeline-elements-experimental-flink
# platforms: linux/amd64,linux/arm64/v8,linux/arm/v7
# push: true
# tags: ${{ env.DOCKERHUB_APACHE_REPO }}/pipeline-elements-experimental-flink:${{ env.MVN_VERSION }}

- name: Build and Push Docker Image extensions-all-iiot
uses: docker/build-push-action@v6
uses: docker/build-push-action@v5
with:
context: ./streampipes-extensions/streampipes-extensions-all-iiot
platforms: linux/amd64,linux/arm64/v8,linux/arm/v7
push: true
tags: ${{ env.DOCKERHUB_APACHE_REPO }}/extensions-all-iiot:${{ env.MVN_VERSION }}

- name: Build and Push Docker Image extensions-iiot-minimal
uses: docker/build-push-action@v6
uses: docker/build-push-action@v5
with:
context: ./streampipes-extensions/streampipes-extensions-iiot-minimal
platforms: linux/amd64,linux/arm64/v8,linux/arm/v7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cypress-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: mvn clean package

- name: Build and run streampipes
run: docker compose up --build -d
run: docker-compose up --build -d

- name: Wait 70 seconds
working-directory: ./installer/compose
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/extensions-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ name: "build-extensions-docs-and-share-as-artifact"
on:
workflow_dispatch:
schedule:
- cron: "0 3 * * 6" # runs every saturday at 03:00:00
- cron: "0 3 * * 6" # runs every saturday at 03:00:00

jobs:
extensions-docs-artifact-building:
Expand All @@ -36,29 +36,29 @@ jobs:
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "17"
cache: "maven"
distribution: 'temurin'
java-version: '17'
cache: 'maven'

- name: Build with Maven
run: mvn clean package

- name: Publish Extensions docs as artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: streampipes-extensions-docs
path: streampipes-extensions/streampipes-extensions-all-jvm/target/docs/pe/
retention-days: 5

- name: Publish Extensions image assets as artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: streampipes-extensions-docs-image-assets
path: streampipes-extensions/streampipes-extensions-all-jvm/target/docs/img/
retention-days: 5

- name: Publish Extensions sidebar
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: streampipes-extensions-docs-sidebar
path: streampipes-extensions/streampipes-extensions-all-jvm/target/docs/sidebars.json
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/go-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

name: go-client
name : go-client
on:
pull_request:
jobs:
Expand All @@ -22,18 +22,13 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: ["1.21.x"]
go-version: [ '1.21.x' ]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: GoImports check
working-directory: ./streampipes-client-go
run: |
go install golang.org/x/tools/cmd/goimports@latest
goimports -l .
- name: Run unit-tests
working-directory: ./streampipes-client-go
run: |
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/osv-scanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,17 @@
name: OSV Scanner

on:
workflow_dispatch:
schedule:
- cron: "0 0 1 * *"
- cron: '0 0 1 * *'

jobs:
run-osv-scanner:

name: Run OSV Scanner
runs-on: ubuntu-latest

steps:

- name: Checkout
uses: actions/checkout@v4

Expand All @@ -34,21 +35,21 @@ jobs:

- name: Scan for vulnerabilities
run: |
echo -e '<!--\n ~ Licensed to the Apache Software Foundation (ASF) under one or more\n ~ contributor license agreements. See the NOTICE file distributed with\n ~ this work for additional information regarding copyright ownership.\n ~ The ASF licenses this file to You under the Apache License, Version 2.0\n ~ (the "License"); you may not use this file except in compliance with\n ~ the License. You may obtain a copy of the License at\n ~\n ~ http://www.apache.org/licenses/LICENSE-2.0\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an "AS IS" BASIS,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n ~\n -->' > VULNERABILITY.md
echo '<!--\n ~ Licensed to the Apache Software Foundation (ASF) under one or more\n ~ contributor license agreements. See the NOTICE file distributed with\n ~ this work for additional information regarding copyright ownership.\n ~ The ASF licenses this file to You under the Apache License, Version 2.0\n ~ (the "License"); you may not use this file except in compliance with\n ~ the License. You may obtain a copy of the License at\n ~\n ~ http://www.apache.org/licenses/LICENSE-2.0\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an "AS IS" BASIS,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n ~\n -->' > VULNERABILITY.md
docker run --rm -v $PWD:/repo -w /repo ghcr.io/google/osv-scanner --format markdown -r . 2>&1 | grep -vE '^((Scanning|Scanned|Failed).*)$' >> VULNERABILITY.md
continue-on-error: true

- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v7
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
author: ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>
committer: ${{ github.actor }} <noreply@gmail.com>
author: ${{ github.actor }} <${{ github.actor }}@github.com>
signoff: true
title: Monthly update of vulnerability report
commit-message: monthly update of vulnerability report
body: |
Update *Vulnerablity* report
delete-branch: true
reviewers: "dominikriemer,tenthe,svenO3,smlabt,grainier,RobertIndie,bossenti"
reviewers: 'dominikriemer,tenthe,svenO3,smlabt,grainier,RobertIndie,bossenti'
2 changes: 1 addition & 1 deletion .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
run: mvn clean package

- name: Build and run streampipes
run: docker compose up --build -d
run: docker-compose up --build -d

- name: Wait 70 seconds
working-directory: ./installer/compose
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pypi-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ jobs:
git reset --hard # undo local changes that delete generated doc files
- name: Publish Python docs as artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: streampipes-python-docs
path: streampipes-client-python/docs-tmp/**/*
retention-days: 2
retention-days: 2
6 changes: 2 additions & 4 deletions .github/workflows/python-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,14 @@ name: "build-python-docs-and-share-as-artifact"
on:
workflow_dispatch:
schedule:
- cron: "0 2 * * 6" # runs every saturday at 00:00:00
- cron: "0 2 * * 6" # runs every saturday at 00:00:00

jobs:
python-docs-artifact-building:
runs-on: ubuntu-latest
steps:
- name: clone
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: create working branch & set GitHub config
run: |
Expand Down Expand Up @@ -66,7 +64,7 @@ jobs:
git reset --hard # undo local changes that delete generated doc files
- name: Publish Python docs as artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: streampipes-python-docs
path: |
Expand Down
30 changes: 30 additions & 0 deletions .idea/runConfigurations/all_extensions_jvm.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions .idea/runConfigurations/all_pipeline_elements_flink.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 31 additions & 0 deletions .idea/runConfigurations/all_pipeline_elements_jvm.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 559639f

Please sign in to comment.