diff --git a/.github/workflows/bump-version.yaml b/.github/workflows/bump-version.yaml index bbbc60f7b01..fb65301f74b 100644 --- a/.github/workflows/bump-version.yaml +++ b/.github/workflows/bump-version.yaml @@ -16,8 +16,8 @@ jobs: name: 'Update snapshot version' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 - - uses: sovity/core-edc-github/.github/actions/bump-version@0.14.0_2025-08-21_1 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: sovity/core-edc-github/.github/actions/bump-version@5ad1a49278025ebb93393ed891cbcebf2c481ecc #0.14.0_2025-08-21 name: Bump version with: target_branch: ${{ inputs.target_branch }} diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index 4ac88a2695c..9dd892b7180 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -10,7 +10,7 @@ on: jobs: Prepare-Release: - uses: sovity/core-edc-github/.github/workflows/prepare-release.yml@0.14.0_2025-08-21_1 + uses: sovity/core-edc-github/.github/workflows/prepare-release.yml@5ad1a49278025ebb93393ed891cbcebf2c481ecc #0.14.0_2025-08-21 secrets: inherit with: version: ${{ inputs.version }} diff --git a/.github/workflows/publish-autodoc.yml b/.github/workflows/publish-autodoc.yml index c39a304ff29..0b5a3184452 100644 --- a/.github/workflows/publish-autodoc.yml +++ b/.github/workflows/publish-autodoc.yml @@ -13,7 +13,7 @@ on: jobs: publish: - uses: sovity/core-edc-github/.github/workflows/publish-autodoc.yml@0.14.0_2025-08-21_1 + uses: sovity/core-edc-github/.github/workflows/publish-autodoc.yml@5ad1a49278025ebb93393ed891cbcebf2c481ecc #0.14.0_2025-08-21 secrets: inherit with: version: ${{ github.event.inputs.version }} diff --git a/.github/workflows/publish-context.yaml b/.github/workflows/publish-context.yaml index afcb89c9fdb..adeec1f4d86 100644 --- a/.github/workflows/publish-context.yaml +++ b/.github/workflows/publish-context.yaml @@ -36,7 +36,7 @@ jobs: contents: write pages: write steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: copy contexts into public folder run: | mkdir -p public/context diff --git a/.github/workflows/publish-openapi-ui.yml b/.github/workflows/publish-openapi-ui.yml index c8c974a0487..8de63b4507d 100644 --- a/.github/workflows/publish-openapi-ui.yml +++ b/.github/workflows/publish-openapi-ui.yml @@ -7,5 +7,5 @@ on: jobs: publish: - uses: sovity/core-edc-github/.github/workflows/publish-openapi-ui.yml@0.14.0_2025-08-21_1 + uses: sovity/core-edc-github/.github/workflows/publish-openapi-ui.yml@5ad1a49278025ebb93393ed891cbcebf2c481ecc #0.14.0_2025-08-21 secrets: inherit diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 93bbb7e0f06..a8c958c78fe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ on: jobs: Release: - uses: sovity/core-edc-github/.github/workflows/release.yml@0.14.0_2025-08-21_1 + uses: sovity/core-edc-github/.github/workflows/release.yml@5ad1a49278025ebb93393ed891cbcebf2c481ecc #0.14.0_2025-08-21 secrets: inherit with: publish-autodoc: true diff --git a/.github/workflows/scan-pull-request.yaml b/.github/workflows/scan-pull-request.yaml index 9ac960f4759..2c5c5e2e637 100644 --- a/.github/workflows/scan-pull-request.yaml +++ b/.github/workflows/scan-pull-request.yaml @@ -11,6 +11,6 @@ concurrency: jobs: trigger-workflow: - uses: sovity/core-edc-github/.github/workflows/scan-pull-request.yml@0.14.0_2025-08-21_1 + uses: sovity/core-edc-github/.github/workflows/scan-pull-request.yml@5ad1a49278025ebb93393ed891cbcebf2c481ecc #0.14.0_2025-08-21 secrets: envGH: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/trigger_snapshot.yml b/.github/workflows/trigger_snapshot.yml index 1883aa01420..878df49bfc5 100644 --- a/.github/workflows/trigger_snapshot.yml +++ b/.github/workflows/trigger_snapshot.yml @@ -9,9 +9,9 @@ on: jobs: Publish-Snapshot: # This workflow will abort if the required secrets don't exist - uses: sovity/core-edc-github/.github/workflows/publish-snapshot.yml@0.14.0_2025-08-21_1 + uses: sovity/core-edc-github/.github/workflows/publish-snapshot.yml@5ad1a49278025ebb93393ed891cbcebf2c481ecc #0.14.0_2025-08-21 secrets: inherit Publish-Dependencies: - uses: sovity/core-edc-github/.github/workflows/publish-dependencies.yml@0.14.0_2025-08-21_1 + uses: sovity/core-edc-github/.github/workflows/publish-dependencies.yml@5ad1a49278025ebb93393ed891cbcebf2c481ecc #0.14.0_2025-08-21 secrets: inherit diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml index 11ab366cb46..6a75e8018f0 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/verify.yaml @@ -24,76 +24,76 @@ concurrency: jobs: CodeQL: - uses: sovity/core-edc-github/.github/workflows/codeql-analysis.yml@0.14.0_2025-08-21_1 + uses: sovity/core-edc-github/.github/workflows/codeql-analysis.yml@5ad1a49278025ebb93393ed891cbcebf2c481ecc #0.14.0_2025-08-21 secrets: inherit Checkstyle: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 - - uses: sovity/core-edc-github/.github/actions/setup-build@0.14.0_2025-08-21_1 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: sovity/core-edc-github/.github/actions/setup-build@5ad1a49278025ebb93393ed891cbcebf2c481ecc #0.14.0_2025-08-21 - name: Run Checkstyle run: ./gradlew checkstyleMain checkstyleTest checkstyleTestFixtures Javadoc: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 - - uses: sovity/core-edc-github/.github/actions/setup-build@0.14.0_2025-08-21_1 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: sovity/core-edc-github/.github/actions/setup-build@5ad1a49278025ebb93393ed891cbcebf2c481ecc #0.14.0_2025-08-21 - name: Run Javadoc run: ./gradlew javadoc Unit-Tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 - - uses: sovity/core-edc-github/.github/actions/setup-build@0.14.0_2025-08-21_1 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: sovity/core-edc-github/.github/actions/setup-build@5ad1a49278025ebb93393ed891cbcebf2c481ecc #0.14.0_2025-08-21 - name: Run unit tests run: ./gradlew test Postgresql-Integration-Tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 - - uses: sovity/core-edc-github/.github/actions/setup-build@0.14.0_2025-08-21_1 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: sovity/core-edc-github/.github/actions/setup-build@5ad1a49278025ebb93393ed891cbcebf2c481ecc #0.14.0_2025-08-21 - name: Postgresql Tests run: ./gradlew test -DincludeTags="PostgresqlIntegrationTest" End-To-End-Tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 - - uses: sovity/core-edc-github/.github/actions/setup-build@0.14.0_2025-08-21_1 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: sovity/core-edc-github/.github/actions/setup-build@5ad1a49278025ebb93393ed891cbcebf2c481ecc #0.14.0_2025-08-21 - name: End to End Integration Tests run: ./gradlew test -DincludeTags="EndToEndTest" Component-Tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 - - uses: sovity/core-edc-github/.github/actions/setup-build@0.14.0_2025-08-21_1 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: sovity/core-edc-github/.github/actions/setup-build@5ad1a49278025ebb93393ed891cbcebf2c481ecc #0.14.0_2025-08-21 - name: Component Tests run: ./gradlew test -DincludeTags="ComponentTest" API-Tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 - - uses: sovity/core-edc-github/.github/actions/setup-build@0.14.0_2025-08-21_1 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: sovity/core-edc-github/.github/actions/setup-build@5ad1a49278025ebb93393ed891cbcebf2c481ecc #0.14.0_2025-08-21 - name: Component Tests run: ./gradlew test -DincludeTags="ApiTest" Tck-Tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 - - uses: sovity/core-edc-github/.github/actions/setup-build@0.14.0_2025-08-21_1 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: sovity/core-edc-github/.github/actions/setup-build@5ad1a49278025ebb93393ed891cbcebf2c481ecc #0.14.0_2025-08-21 - name: TCK Tests run: ./gradlew compileJava compileTestJava test -DincludeTags="TckTest" -PverboseTest=true Verify-OpenApi: if: github.event_name == 'pull_request' - uses: sovity/core-edc-github/.github/workflows/verify-openapi.yml@0.14.0_2025-08-21_1 + uses: sovity/core-edc-github/.github/workflows/verify-openapi.yml@5ad1a49278025ebb93393ed891cbcebf2c481ecc #0.14.0_2025-08-21 secrets: inherit Publish-Artifacts: @@ -111,7 +111,7 @@ jobs: contents: read packages: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: "Gradle: Publish to Production" if: ${{ startsWith(github.ref, 'refs/tags/v') }} diff --git a/core/data-plane/data-plane-core/src/test/java/org/eclipse/edc/connector/dataplane/framework/manager/DataPlaneManagerImplTest.java b/core/data-plane/data-plane-core/src/test/java/org/eclipse/edc/connector/dataplane/framework/manager/DataPlaneManagerImplTest.java index bc5eb1a618d..c59a3f19f95 100644 --- a/core/data-plane/data-plane-core/src/test/java/org/eclipse/edc/connector/dataplane/framework/manager/DataPlaneManagerImplTest.java +++ b/core/data-plane/data-plane-core/src/test/java/org/eclipse/edc/connector/dataplane/framework/manager/DataPlaneManagerImplTest.java @@ -1164,28 +1164,6 @@ void shouldRestartFlows() { } } - @Nested - class UpdateFlowLease { - - @Test - void shouldUpdateFlow_whenFlowStartedAfterFlowLease() { - var dataFlow = dataFlowBuilder().state(RECEIVED.code()).build(); - when(store.nextNotLeased(anyInt(), startedFlowOwnedByThisRuntime())) - .thenReturn(List.of(dataFlow)).thenReturn(emptyList()); - - manager.start(); - - await().untilAsserted(() -> { - var captor = ArgumentCaptor.forClass(DataFlow.class); - verify(store).save(captor.capture()); - var storedDataFlow = captor.getValue(); - assertThat(storedDataFlow.getState()).isEqualTo(STARTED.code()); - assertThat(storedDataFlow.getRuntimeId()).isEqualTo(runtimeId); - assertThat(storedDataFlow.getStateCount()).isEqualTo(1); - }); - } - } - @Nested class RestartFlowOwnedByAnotherRuntime { @Test