Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
bfa5af5
WI 706016 [706023] Removed secrets.
ihussainbadshah Apr 21, 2025
676fd84
WI 706016 [706023] Added Javadoc to test cases.
ihussainbadshah Apr 21, 2025
1c4e838
WI 706016 [706023] Added Javadoc to test case.
ihussainbadshah Apr 21, 2025
e51e5f9
WI 706016 Fixed test cases, added Redis server files from redis-jar, …
ihussainbadshah Apr 22, 2025
dbab7a3
WI 706016 Replaced username and password values with dummy ones.
ihussainbadshah Apr 22, 2025
e14c408
WI 706016 Update ubuntu version in maven-build.yml
ihussainbadshah Apr 22, 2025
d9180a1
WI 706016 Update maven-build.yml
ihussainbadshah Apr 22, 2025
ce62fba
WI 706061 Update ubuntu version in maven-build.yml
ihussainbadshah Apr 22, 2025
46bf7c4
WI 706016 Updated EmbeddedMongoDB server from flapdoodle embed mongod…
ihussainbadshah Apr 23, 2025
7cf7b77
Merge remote-tracking branch 'refs/remotes/origin/main'
ihussainbadshah Apr 23, 2025
54263ea
WI 706016 Updated ubuntu version in maven-build.yml
ihussainbadshah Apr 23, 2025
e64148a
WI 706016 Updated local MongoDB's username.
ihussainbadshah Apr 23, 2025
ad058a7
WI 706016 Updated Embedded MQTT server's username & password for inte…
ihussainbadshah Apr 23, 2025
b7d8f9b
WI 706016 Fixed test case.
ihussainbadshah Apr 24, 2025
1898be8
WI 706016 Skipping dash check as it's not responding.
ihussainbadshah Apr 24, 2025
d4f7cff
WI 706016Update pom.xml
ihussainbadshah Apr 24, 2025
ee7db93
WI 706016 Resolved conflict for slf4j-api dependency.
ihussainbadshah Apr 24, 2025
357d4ac
Merge remote-tracking branch 'refs/remotes/origin/main'
ihussainbadshah Apr 24, 2025
0d6fa37
WI 706016 Temporarily removed dash plugin repo
ihussainbadshah Apr 25, 2025
7fd1b9a
WI 706016 Temporarily removed dash plugin
ihussainbadshah Apr 25, 2025
91b8b78
WI 706016 Fixed a test case where Kafka Streams was being launched mu…
ihussainbadshah Apr 27, 2025
2312484
Merge remote-tracking branch 'refs/remotes/origin/main'
ihussainbadshah Apr 27, 2025
8b573cf
WI 706016 Fixed test case and updated a version in pom.xml.
ihussainbadshah Apr 27, 2025
9775c15
WI 706016 Changed log level of a log.
ihussainbadshah Apr 28, 2025
7d27516
WI 706016 Updated a config
ihussainbadshah Apr 28, 2025
e394395
WI 706016 Included only .github for running workflows.
ihussainbadshah Apr 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Bug
description: File a bug report
title: "[BUG]: "
labels: ["Type: Bug", "Status: Triage"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: what-happened
attributes:
label: What happened?
description: What did you do? What happened? What did you expect to happen?
placeholder: Put your description of the bug here.
validations:
required: true
- type: textarea
id: versions
attributes:
label: Versions
description: What versions of the relevant software are you running?
placeholder: 1.0.0
validations:
required: true
- type: textarea
id: logs
attributes:
label: Relevant log output
description: |
Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
Please check your logs before submission to ensure sensitive information is redacted.
render: shell
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](./CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Documentation
description: Update or add documentation
title: "[DOCS]: "
labels: ["Type: Documentation", "Status: Triage"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill this out!
- type: textarea
id: describe-need
attributes:
label: Describe the need
description: What do you wish was different about our docs?
placeholder: Describe the need for documentation updates here.
validations:
required: true
- type: input
id: library_version
attributes:
label: Version
description: Do these docs apply to a specific version?
placeholder: 1.1.1
validations:
required: false
- type: textarea
id: logs
attributes:
label: Relevant log output
description: |
Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
Please check your logs before submission to ensure sensitive information is redacted.
render: shell
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this documentation issue, you agree to follow our [Code of Conduct](CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Feature
description: Suggest an idea for a new feature or enhancement
title: "[FEAT]: "
labels: ["Type: Feature", "Status: Triage"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill this out!
- type: textarea
id: describe-need
attributes:
label: Describe the need
description: What do you want to happen? What problem are you trying to solve?
placeholder: Describe the need for the feature.
validations:
required: true
- type: input
id: library_version
attributes:
label: Library Version
description: Does this feature suggestion apply to a specific version?
placeholder: 1.0.0
validations:
required: false
- type: textarea
id: logs
attributes:
label: Relevant log output
description: |
Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
Please check your logs before submission to ensure sensitive information is redacted.
render: shell
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this feature request, you agree to follow our [Code of Conduct](CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/maintenance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Maintenance
description: Dependencies, cleanup, refactoring, reworking of code
title: "[MAINT]: "
labels: ["Type: Maintenance", "Status: Triage"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill this out!
- type: textarea
id: describe-need
attributes:
label: Describe the need
description: What do you want to happen?
placeholder: Describe the maintenance need here.
validations:
required: true
- type: input
id: library_version
attributes:
label: Library Version
description: Does this maintenance apply to a specific version?
placeholder: v1.0.0
validations:
required: false
- type: textarea
id: logs
attributes:
label: Relevant log output
description: |
Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
Please check your logs before submission to ensure sensitive information is redacted.
render: shell
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this request, you agree to follow our [Code of Conduct](CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
24 changes: 24 additions & 0 deletions .github/actions/import-gpg-key/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "Import GPG Key"
description: "Imports a GPG key given in the input"
inputs:
gpg-private-key:
required: true
description: "The GPG Private Key in plain text. Can be a sub-key."
runs:
using: "composite"
steps:
- name: List Keys
shell: bash
run: |
gpg -K --keyid-format=long

- name: Import GPG Private Key
shell: bash
run: |
echo "use-agent" >> ~/.gnupg/gpg.conf
echo "pinentry-mode loopback" >> ~/.gnupg/gpg.conf
echo -e "${{ inputs.gpg-private-key }}" | gpg --import --batch
for fpr in $(gpg --list-keys --with-colons | awk -F: '/fpr:/ {print $10}' | sort -u);
do
echo -e "5\\ny\\n" | gpg --batch --command-fd 0 --expert --edit-key $fpr trust;
done
58 changes: 58 additions & 0 deletions .github/workflows/dependencies-update.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: "Update DEPENDENCIES file"

on:
push:
branches: [ "*" ]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: read

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
cache: maven

- name: Generate Dependencies file
run: mvn org.eclipse.dash:license-tool-plugin:license-check -Ddash.summary=DEPENDENCIES -P dash

- name: Check if file was changed
run: |
if git diff --name-only ${{ github.base_ref }}...${{ github.sha }} | grep -e 'DEPENDENCIES'; then
echo "The file was changed"
echo "was_file_changed=true" >> "$GITHUB_ENV"
git
else
echo "The file was not changed"
echo "was_file_changed=false" >> "$GITHUB_ENV"
fi

- name: Configure Git
if: ${{ env.was_file_changed }} == 'true'
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"

- name: Create pull request
if: ${{ env.was_file_changed }} == 'true'
uses: peter-evans/create-pull-request@v6
with:
add-paths: |
DEPENDENCIES
token: ${{ secrets.ECSP_BOT_PAT }}
branch: chore/update-DEPENDENCIES
commit-message: "chore(dependencies): Update DEPENDENCIES"
delete-branch: true
title: Update DEPENDENCIES
body: |
This PR updates the DEPENDENCIES
44 changes: 44 additions & 0 deletions .github/workflows/license-compliance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: License Compliance

on:
push:
branches: [ "*" ]
paths-ignore:
- '**/NOTICE'
- '**/NOTICE.md'
- '**/CODE_OF_CONDUCT.md'
- '**/CONTRIBUTING.md'
- '**/SECURITY.md'
pull_request:
branches: [ "*" ]
workflow_dispatch:

permissions:
pull-requests: read
contents: write

jobs:
check-licenses:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
cache: maven
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
- name: Allow dash.sh to be executed
run: chmod +x ./eclipse-dash/dash.sh
- name: Generate List of dependencies
run: ./eclipse-dash/dash.sh
env:
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }}
- name: Archive DEPENDENCIES file
if: always()
uses: actions/upload-artifact@v4
with:
name: LICENSE_INFO
path: DEPENDENCIES
74 changes: 74 additions & 0 deletions .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# This workflow will build a package using Maven and run sonar scan on it

name: Maven Packaging and Sonar Analysis

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
pull-requests: read

steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'

- name: Build with Maven
run: mvn clean -B package --file pom.xml

check_sonar_configured:
runs-on: ubuntu-latest
steps:
- name: check_sonar_configured
run: |
echo "Checking if sonar is configured: ${{ env.SONAR_CONFIGURED }}"
env:
SONAR_CONFIGURED: ${{ secrets.SONAR_TOKEN != '' }}
outputs:
sonar_configured: ${{ env.SONAR_CONFIGURED }}


analysis_with_sonar_cloud:
needs: [check_sonar_configured]
# No need to run if we cannot use the sonar token
if: >-
needs.check_sonar_configured.outputs.sonar_configured == 'true'
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
pull-requests: read

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
server-id: github
settings-path: ${{ github.workspace }}

- name: Analyze with SonarCloud
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
mvn --update-snapshots verify \
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \
-Dsonar.projectKey=eclipse-ecsp_streambase -Dsonar.organization=eclipse-ecsp \
-Dcheckstyle.skip -Dpmd.skip=true
Loading
Loading