Skip to content

Commit 1061e21

Browse files
refactor: move Azure-specific code from other components here
added common extensions added controlplane-store extensions added dataplane-store extensions added blob provisioner added dpf selector store added system-tests
1 parent 7416159 commit 1061e21

File tree

311 files changed

+26008
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

311 files changed

+26008
-1
lines changed
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
name: Adoption Request
3+
about: Submit your feature to the project
4+
title: 'Adoption Request'
5+
labels: 'adoption'
6+
assignees: ''
7+
8+
---
9+
10+
# Adoption Request
11+
12+
_Thank you for wanting to contribute to the project! We are very happy to see the functionalities of the EDC being extended. Providing this open-source is a great opportunity for others with similar requirements and to avoid additional work._
13+
14+
_For any details about the guidelines for submitting features, please take a look at the [contribution categories](https://github.com/eclipse-dataspaceconnector/DataSpaceConnector/blob/main/contribution_categories.md)._
15+
16+
17+
## General information
18+
19+
Please provide some information about your project or code contribution.
20+
21+
_If you choose to be referenced as a "friend", these will be added to the [known friends list](https://github.com/eclipse-dataspaceconnector/DataSpaceConnector/blob/main/known_friends.md)._
22+
_If you choose to add your feature as a core EDC component, links to your current code and correlated issues, discussions, and pull requests are of great importance._
23+
24+
| Title | Description | Contact | Links
25+
| :--- | :--- | :--- | :---
26+
| _My awesome project_ | _This is an example._ | _e-mail-address_ | _link to repository, homepage, discussion, etc._
27+
28+
29+
## Adoption level
30+
31+
Next, please tell us what level of adoption you intend to provide. _(pick only one)_
32+
33+
- [ ] Reference a feature as "friend"
34+
- [ ] Incorporate a feature as core EDC component
35+
36+
37+
38+
## Adoption in EDC core
39+
40+
_If you chose to add your feature as a core EDC component, please answer the following questions._
41+
42+
### Why should this contribution be adopted?
43+
_Please argue why this feature must be hosted upstream and be maintained by the EDC core team._
44+
45+
### Could it be achieved with existing functionality? If not, why?
46+
_If there is any existing code that can achieve the same thing with little modification, that is usually the preferable way for the EDC core team. We aim to keep the code succinct and want to avoid similar/duplicate code. Make sure you understand the EDC code base well!_
47+
48+
### Are there multiple use cases or applications who will benefit from the contribution?
49+
_Basically, we want you to motivate who will use that feature and why, thereby arguing the fact that it is well-suited to be adopted in the core code base. One-off features are better suited to be maintained externally._
50+
51+
### Can it be achieved without introducing third-party dependencies? If not, which ones?
52+
_EDC is a platform rather than an application, therefore we are extremely careful when it comes to introducing third party libraries. The reasons are diverse: security, license issues and over all JAR weight, just to mention a few important ones._
53+
54+
### Would this feature limit platform independence in any way? If so, how and why?
55+
_Features that do not work well in clustered environments are difficult to adopt, since EDC is designed from the ground up to be stateless and clusterable. Similarly, features, that have dependencies onto certain operating systems are difficult to argue._
56+
57+
### Is it going to be a self-contained feature, or would it cut across the entire code base?
58+
_Features that have a large impact on the code base are very complex to thoroughly test, they have a high chance to destabilize the code and require careful inspection. Self-contained features on the other hand are easier to isolate and test._
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
name: Bug Report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: 'bug'
6+
assignees: ''
7+
8+
---
9+
10+
# Bug Report
11+
12+
## Describe the Bug
13+
_A clear and concise description of the bug._
14+
15+
### Expected Behavior
16+
_A clear and concise description of what you expected to happen._
17+
18+
### Observed Behavior
19+
_A clear and concise description of what happened instead._
20+
21+
## Steps to Reproduce
22+
Steps to reproduce the behavior:
23+
1. Go to '...'
24+
2. Click on '....'
25+
3. Scroll down to '....'
26+
4. See error
27+
28+
## Context Information
29+
_Add any other context about the problem here._
30+
31+
- Used version [e.g. EDC v1.0.0]
32+
- OS: [e.g. iOS, Windows]
33+
- ...
34+
35+
## Detailed Description
36+
_If applicable, add screenshots and logs to help explain your problem._
37+
38+
## Possible Implementation
39+
_You already know the root cause of the erroneous state and how to fix it? Feel free to share your thoughts._

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
blank_issues_enabled: false
3+
contact_links:
4+
- name: Open up a blank issue
5+
url: https://github.com/eclipse-dataspaceconnector/DataSpaceConnector/issues/new
6+
about: Don’t see your issue here? Open up a blank one
7+
- name: Ask a question or get support
8+
url: https://github.com/eclipse-dataspaceconnector/DataSpaceConnector/discussions/categories/q-a
9+
about: Ask a question or request support for using the Eclipse Dataspace Connector
10+
- name: Take a look at the documentation
11+
url: https://github.com/eclipse-dataspaceconnector/DataSpaceConnector/tree/main/docs
12+
about: Browse the documentation for more information
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: Feature Request
3+
about: Help us with new ideas
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
# Feature Request
11+
12+
_If you are missing a feature or have an idea how to improve this project that should first be discussed, please feel free to open up a [discussion](https://github.com/eclipse-dataspaceconnector/DataSpaceConnector/discussions/categories/ideas)._
13+
14+
## Which Areas Would Be Affected?
15+
_e.g., DPF, CI, build, transfer, etc._
16+
17+
## Why Is the Feature Desired?
18+
_Are there any requirements?_
19+
20+
## Solution Proposal
21+
_If possible, provide a (brief!) solution proposal._

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## What this PR changes/adds
2+
3+
_Briefly describe WHAT your pr changes, which features it adds/modifies._
4+
5+
## Why it does that
6+
7+
_Briefly state why the change was necessary._
8+
9+
## Further notes
10+
11+
_List other areas of code that have changed but are not necessarily linked to the main feature. This could be method signature changes, package declarations, bugs that were encountered and were fixed inline, etc._
12+
13+
## Linked Issue(s)
14+
15+
Closes # <-- _insert Issue number if one exists_
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: "Bump version in gradle.properties"
2+
description: "Increments the patch version of the version found in gradle.properties, appends -SNAPSHOT"
3+
inputs:
4+
target_branch:
5+
default: 'main'
6+
description: "Branch on which the version bump is to be done."
7+
required: false
8+
9+
runs:
10+
using: "composite"
11+
steps:
12+
- uses: actions/checkout@v3
13+
- name: read version from gradle.properties
14+
shell: bash
15+
run: |
16+
# Prepare git env
17+
git config user.name "eclipse-edc-bot"
18+
git config user.email "[email protected]"
19+
20+
# checkout target
21+
git fetch origin
22+
git checkout ${{ inputs.target_branch }}
23+
24+
# determine current version
25+
oldVersion=$(grep "version" gradle.properties | awk -F= '{print $2}')
26+
27+
# read the major, minor, and patch components, consume -SNAPSHOT
28+
IFS=.- read -r RELEASE_VERSION_MAJOR RELEASE_VERSION_MINOR RELEASE_VERSION_PATCH SNAPSHOT<<<"$oldVersion"
29+
30+
# construct the new version
31+
newVersion="$RELEASE_VERSION_MAJOR.$RELEASE_VERSION_MINOR.$((RELEASE_VERSION_PATCH+1))"-SNAPSHOT
32+
33+
# replace every occurrence of =$oldVersion with =$newVersion
34+
grep -rlz "$oldVersion" . --exclude=\*.{sh,bin} | xargs sed -i "s/$oldVersion/$newVersion/g"
35+
36+
echo "Bumped the version from $oldVersion to $newVersion"
37+
38+
# Commit and push to the desired branch, defaults to 'main'
39+
git add .
40+
git commit --message "Bump version from $oldVersion to $newVersion [skip ci]"
41+
42+
git push origin ${{ inputs.target_branch }}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: "Run tests"
2+
description: "Run tests and archive test results for subsequent publication"
3+
inputs:
4+
command:
5+
required: true
6+
description: "The shell command to run tests"
7+
runs:
8+
using: "composite"
9+
steps:
10+
- name: Run Tests
11+
shell: bash
12+
run: ${{ inputs.command }}
13+
14+
- name: Upload Test Results
15+
uses: actions/upload-artifact@v3
16+
if: always()
17+
with:
18+
name: Test Results ${{ github.job }}
19+
path: |
20+
**/test-results/**/*.xml
21+
**/build/reports/jacoco/test/jacocoTestReport.xml
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: "Setup Gradle"
2+
description: "Setup Gradle"
3+
runs:
4+
using: "composite"
5+
steps:
6+
- uses: actions/setup-java@v3
7+
with:
8+
java-version: '17'
9+
distribution: 'temurin'
10+
11+
- name: Setup Gradle cache
12+
uses: gradle/gradle-build-action@v2

.github/dependabot.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
version: 2
2+
updates:
3+
# maintain dependencies for GitHub actions
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly" # default = monday
8+
open-pull-requests-limit: 5
9+
labels:
10+
- "dependencies"
11+
- "github_actions"
12+
13+
# maintain dependencies for Gradle
14+
- package-ecosystem: "gradle" # checks build.gradle(.kts) and settings.gradle(.kts)
15+
directory: "/"
16+
schedule:
17+
interval: "daily"
18+
open-pull-requests-limit: 5
19+
labels:
20+
- "dependencies"
21+
- "java"
22+
ignore:
23+
- dependency-name: "org.eclipse.edc:edc-versions"
24+

.github/release.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# This file determines how the auto-generated Release Notes in GitHub releases are structured.
2+
3+
changelog:
4+
exclude:
5+
labels:
6+
- no-changelog
7+
authors:
8+
- dependabot[bot]
9+
categories:
10+
- title: Bugfixes
11+
labels:
12+
- bug
13+
- title: New Features & Improvements
14+
labels:
15+
- "*"
16+
- title: Documentation
17+
labels:
18+
- documentation

0 commit comments

Comments
 (0)