-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/performance delete view #731
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tomvbe
requested review from
Yalz,
rorlic,
WLefever-Cegeka,
pj-cegeka and
jobulcke
as code owners
June 12, 2023 12:09
Kudos, SonarCloud Quality Gate passed! |
Yalz
approved these changes
Jun 12, 2023
Yalz
added a commit
that referenced
this pull request
Jun 19, 2023
* build: bumping to next development version * Use prefix for ids (#533) * Use prefix for ids * Start mongock * Only add testing * Add mongock * Remove properties * Add missing config * Use stream * Format * Add readme * fix: incorrect versioning * build(ci): Make github images always use latest tag * fix: broken openapi endpoint * fix: broken openapi endpoint (#635) * Feat/server v2 (#654) * Feature: VSDSPUB-668: Create Root Node for new View (#575) * Feature: VSDSPUB-645: Refragmentation of members when view is added (#576) * Feature: VSDSPUB-668: Create Root Node for new View (#575) * Feature: VSDSPUB-645: Refragmentation of members when view is added * Feat/add validation to ingest v2 (#577) * Start validation plugin * Add unit test * Remove exception * Validation proposal * Use listener * Implement basic validation * format * Add unit tests * Add validator testing * Format * Fix reviewnotes * cleanup dependency * Feat/server v2 add ingest to docker (#579) * Add new modules to Dockerfile * Add assembly plugin to new modules * Publish events in memoryShaclCollection (#578) * Add listener for delete event to validator * Implement mongock for ingest member (#586) * Add ingest v2 to documentation (#587) * Add ingest v2 to documentation * Remove v2 * Feature/handle deletion of view (#580) * Feature: VSDSPUB-667: Handle deletion of view * Update LdesFragmentRemoverImpl * PR remarks * PR remarks * Feature: Remove InMemoryViewCollection (#581) * Feature: VSDSPUB-667: Handle deletion of view * Update LdesFragmentRemoverImpl * Feature: Remove InMemoryViewCollection * rebase of develop * Feature: Remove LdesConfigModel (#584) (#591) * feat/ testing with viewservice * feat/ add correct list converter and change return type * Feature: Remove LdesConfigModel (#584) --------- Co-authored-by: pj-cegeka <pieterjan.livens@cegeka.com> * Feat/server v2 add member type to eventstream (#597) * temp * Fix compilation * Fix failing tests * fix codesmell * Add mincount * Fix failing tests * feat: Use of the ViewConverter in the EventStream Converter (#592) * feat: make use of the ViewSpecificationConverter in the EventStream converter * feat: tests updated to use of view converter * feat: rebase issues fixed * feat: deleted unnecessary files * feat: EventStreamService updated * feat: rebase * Feat/retrieve view correct name (#594) Feature: Updates on view handling Co-authored-by: pj-cegeka <pieterjan.livens@cegeka.com> * chore: rebase develop on server v2 * Feat/vsdspub 553/use eventstreamcollection (#605) * feat: EventStreamConverter added * feat: EventStreamHttpMessage created * feat: EventStream completely migrated from LdesConfigModel * feat: deletion of views in EventStream * feat: already some tests added to increase coverage * feat: implementing code review feedback * feat: get rid of LdesConfig * feat: LdesConfig is replaced at relevant places by EventStream * feat: prefix added to AppConfig * feat: rebase fixes + further removal of LdesConfig * feat: rebase fixes + further removal of LdesConfig * feat: deprecation removed + LdesConfig removed at all relevant places * feat: commit test * feat: rebase * feat: fix broken mongock changeset versions * feat: commit test * feat: rebase cleanup * Feat: VSDSPUB-674: Refactor Retention to act on members (#598) * VSDSPUB-674: Refactor Retention to act on members * PR remarks * Feat: VSDSPUB-674: Remove 410 Gone status for soft deleted fragments (#608) * Feat: VSDSPUB-675: Remove softDeleted and immutableTimestamp attributes on LdesFragment (#601) Feat: VSDSPUB-675: Remove softDeleted and immutableTimestamp attribute on LdesFragment * Feat: VSDSPUB-676: Mongock updates to remove softDeleted and immutableTimestamp from LdesFragmentEntity (#602) * Feat/vsdspub 553/eventstream deleted event (#607) * feat: EventStreamDeletedEvent added * feat: first tests added * chore: rebase fixes * feat: cleanup * Feat/rebase (#609) * Feature: Updates on view handling * feat/ use appconfig for hostname * feat/ use appconfig for hostname * test coverage * feat/ rebase and use hostname in view IRI * feat/ remove unused conversion in test * feat/ remove unused conversion in test * fix/ fixed exception message * Feat/vsdspub 553/use eventstreamcollection (#605) * feat: EventStreamConverter added * feat: EventStreamHttpMessage created * feat: EventStream completely migrated from LdesConfigModel * feat: deletion of views in EventStream * feat: already some tests added to increase coverage * feat: implementing code review feedback * feat: get rid of LdesConfig * feat: LdesConfig is replaced at relevant places by EventStream * feat: prefix added to AppConfig * feat: rebase fixes + further removal of LdesConfig * feat: rebase fixes + further removal of LdesConfig * feat: deprecation removed + LdesConfig removed at all relevant places * feat: commit test * feat: rebase * feat: fix broken mongock changeset versions * feat: commit test * feat: rebase cleanup * Feature: Updates on view handling * feat/ use appconfig for hostname * feat/ use appconfig for hostname * feat/ rebase and use hostname in view IRI * fix/ rebase and bean management * fix/ add open api * fix/ rebase --------- Co-authored-by: WLefever <wouter.lefever@cegeka.com> Co-authored-by: jobulcke <127748878+jobulcke@users.noreply.github.com> * Feat/eventstreamresponse cleanup (#610) * feat: clean up eventstreamresponse at some places to stay more in the bounded context * feat: failing test fixed * feat: rebase * feat: missing tests added * feat: create default pagination when new eventstream is created (#611) * feat: create default pagination when new eventstream is created * feat: format * feat: fix broken test * feat: tests added * feat: format * feat: code review feedback implemented * Fix: Delete In Memory Shacl Collection (#614) * fix/ use hostname in stream and shape iri and update tests (#612) * fix/ use hostname in stream and shape iri and update tests * fix/ remove unneeded conversion * fix/ review comments * Fix: Remove Debug code (#613) * Feat/unsupported media fix and cleanup (#617) * feat: fix unsupported media bug + cleanup ControllerTests * feat: further fixes and cleanup * feat: broken tests fixed * feat: first part of code review implemented * feat: removed @TestConfiguration and used @ContextConfiguration instead * feat: add extra test method + cleanup ResponseEntity * feat: broken test fix * feat: store hasDefaultView in EventStream (#620) * feat: store hasDefaultView in EventStream * feat: tests updated * feat: use has default view boolean at snapshot creation * feat: extra unit test added to cover uncovered case * feat: rebase * Feat/vsdspub 553/integration test (#623) * feat: init integration test * feat: integration test fully set up * feat: all scenarios finished * feat: rebase * feat: PR marks * feat: delete members when event stream is deleted (#625) * feat: delete members when event stream is deleted * feat: format * feat: increased coverage * chore: rebase of develop * Fix: Creating Retention Policies via the Admin API is Spec Compliant (Part 1) (#640) * Fix: Creating Retention Policies via the Admin API is Spec Compliant (Part 1) * rename RetentionModelExtractor * Fix: Creating Retention Policies via the Admin API is Spec Compliant (Part 2) (#639) * Feature: VSDSPUB-712: Implement Version Based Retention Policy (#638) * Feat/add dcat rebased (#642) * rebasing * Setup interface for dcat view svc * Test create * Add todos * Test dcat view controller * Implement svc and repo flow * Update todos * Setup controller interface for docs * Complete swagger * Implement working CUD flow * Add todos and delete trigger * Add testing of delete in viewsvc * Test dcatview * test delete * Test service * Add repository testing * create todo's * Fix compilation issue * Add prelim statements * Implement fetch flow for dcat * Implement fetch flow untested * Enable disabled test * Update treenode converter test * Test new svc method * Update viewconverter test * Fix testing * Fix failing tests * Fix failing tests * Fix codesmells * Fix reviewnotes * Refactor views equals * Fix broken test * Cleanup deprecated * Feat/dcat validation rebased (#643) * feat: Dcat Validators with strategy pattern * feat: DcatDataset tests added + other tests optimized * feat: format * feat: extracted String to external file * feat: increased coverage * feat: format * feat: code review * feat: interfaces cleaned up * feat: removal of multiple if-statements * feat: code review * Feat: VSDSPUB-713: RetentionPolicyFactoryImpl can create a VersionBasedRetention (#644) * Feat: VSDSPUB-713: RetentionPolicyFactoryImpl can create a VersionBasedRetention * remove unused field * PR remarks * Feat: VSDSPUB-717: Implementation and Integration of PointInTimeRetentionPolicy (#645) * Add two additional properties to dcat view (#649) * Add two additional properties to dcat view * Fix failing tests * Feat/vsdspub 659/server dcat implemantation (#641) * feat: ServerDcat with repo and service implemented * feat: init ServerDcatController * feat: open api documentation provided * feat: validator added to controller * feat: rebase + added nesting at test class * feat: disappeared ServerDcatRepository integration test added again * feat: format * feat: format * feat: delete only returns 200 * feat: code review * feat: broken test fixed * Feat/setup repo 2 (#648) * feat/ setup repository * feat/ rebase * feat/ add converter * feat/ rename id to collectionName and remove converter from test * Feat/server v2 remove todos (#653) * Convert todo's to github issues * FORMAT * feat: validator for requested dcat (#660) * Feat/dataset post (#659) * feat/ validator * feat/ validator * feat/ temp * feat/ temp * feat/ controllertest * feat/ check if dataset exists * feat/ rebase and use validator * Feat/dataset fetch identity (#662) * feat/ add dataset to httpEventstreamConverter * feat/ getStatementsWithIdentity * feat/ collectionName instead of id * Fix/#657/include mime in etag (#663) * feat: #657: include mime in etag * feat: #657: include mime in etag * feat: #657: include mime in etag * feat: #657: PR feedback * feat: #657: PR feedback * feat: #657: PR feedback * feat: #657: PR feedback * feat: #657: PR feedback * Feature: Delete In Memory Collection EvenStream (#655) Co-authored-by: jobulcke <jonas.bulcke@cegeka.com> * Feature: Added example to Open API Admin View (#658) Feature: Added examples to Open API Admin View * feat: open api docs provided (#669) * feat: open api docs provided for AdminEventStreamsRestController and AdminShapeRestController * feat: broken tests fixed * feat: code review * feat: broken open api examples fixed * feat: format --------- Co-authored-by: Wouter Lefever <wouter.lefever@cegeka.com> Co-authored-by: Jan Robert <jan.robert@cegeka.com> Co-authored-by: pj-cegeka <pieterjan.livens@cegeka.com> Co-authored-by: jobulcke <127748878+jobulcke@users.noreply.github.com> Co-authored-by: pj-cegeka <119848850+pj-cegeka@users.noreply.github.com> Co-authored-by: Jan Robert <15772440+Yalz@users.noreply.github.com> Co-authored-by: jobulcke <jonas.bulcke@cegeka.com> * Ci/prepare 1.0.0 release (#683) ci: prepare 1.0.0 release * Bump dependencies (#681) * fix: temporarily opening shacl shape to allow defining views along with collections at admin endpoint * feat: open api docs provided (#688) * Hide ingest v2 (#686) * Hide ingest v2 * Hide ingest v2 * Fix/duplicate bean (#685) * Add transient to exceptions * Fix duplicate beans * fix failing tests * Fix failing tests * Fix codesmell * Fix too much code added * bugfix: more performant way to delete all members of a collection (#689) Co-authored-by: Jonas Bulcke <jonas.bulcke@student.ehb.be> * feat/ add exception handling (#679) * feat/ add exception handling and remove unused imports * feat/ remove unused imports * Fix: consolidate fragment removers (#691) * fix: consolidate the 2 fragment removers * fix: consolidate the 2 fragment removers * Feat/add integration test dcatview (#692) * Refactor with base in dcatview * Add integration testing for dcat view rest * Remove validator * Remove comment * Rename validator class * Add static import * Remove empty columns * fix codesmell * Document api get dcat (#693) * Document api get dcat * Remove spring annotation * feat: DCAT Admin DataSet Integration test (#697) feat/ integration test * Use tree view instead of ldes view (#698) * Fix/tree view (#700) * Use tree view instead of ldes view * Fix failing test * Add type to view * ci: prepare for new version * Fix/dataset integratie test add files (#699) * feat/ fix file location * feat/ rename file location * build(deps): bump maven-release-plugin from 3.0.0 to 3.0.1 (#702) Bumps [maven-release-plugin](https://github.com/apache/maven-release) from 3.0.0 to 3.0.1. - [Release notes](https://github.com/apache/maven-release/releases) - [Commits](apache/maven-release@maven-release-3.0.0...maven-release-3.0.1) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-release-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump swagger-annotations-jakarta from 2.2.9 to 2.2.11 (#701) Bumps swagger-annotations-jakarta from 2.2.9 to 2.2.11. --- updated-dependencies: - dependency-name: io.swagger.core.v3:swagger-annotations-jakarta dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix/put to post (#694) Make eventstreams create only * build(deps): bump maven-surefire-plugin.version from 3.1.0 to 3.1.2 (#710) Bumps `maven-surefire-plugin.version` from 3.1.0 to 3.1.2. Updates `maven-surefire-plugin` from 3.1.0 to 3.1.2 - [Release notes](https://github.com/apache/maven-surefire/releases) - [Commits](apache/maven-surefire@surefire-3.1.0...surefire-3.1.2) Updates `maven-failsafe-plugin` from 3.1.0 to 3.1.2 - [Release notes](https://github.com/apache/maven-surefire/releases) - [Commits](apache/maven-surefire@surefire-3.1.0...surefire-3.1.2) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-surefire-plugin dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.apache.maven.plugins:maven-failsafe-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: CORS issue on AWS * Feature: Added fragmentation strategy examples to Open API Admin View (#684) * Feature: Added fragmentation strategy examples to Admin VIew API * chore: format * chore: format * fix: broken tests --------- Co-authored-by: jobulcke <jonas.bulcke@cegeka.com> Co-authored-by: Jan Robert <jan.robert@cegeka.com> Co-authored-by: Jan Robert <15772440+Yalz@users.noreply.github.com> * fix: formatting * Fix api response error logging (#712) * Fix api response error logging * Sync with develop * Fix failing test (#720) * Fix performance delete collection (#718) * Fix performance delete collection * Fix logging * Test new repository method * Add testing cases * Fix review comments * Make timestamp and versionOf optional (#724) * Make timestamp and versionOf optional * Add unit test * feat/ add missing statementException (#726) feat/ add missing statementexception * feat/ update readme with new rdf config (#722) * feat/ update readme for new admin api * feat/ use prefix and change endpoints to post in readme * Fix/performance delete view (#731) * Fix delete view performance issues * Remove unused code * Remove unused code * Fix/docker compose config (#733) * Fix outdated docker compose config * Fix random codesmell.. * feat: vsdspub-730/740: view shape (#732) * build(deps): bump dependency-check-maven from 8.2.1 to 8.3.1 (#734) Bumps [dependency-check-maven](https://github.com/jeremylong/DependencyCheck) from 8.2.1 to 8.3.1. - [Release notes](https://github.com/jeremylong/DependencyCheck/releases) - [Changelog](https://github.com/jeremylong/DependencyCheck/blob/main/CHANGELOG.md) - [Commits](jeremylong/DependencyCheck@v8.2.1...v8.3.1) --- updated-dependencies: - dependency-name: org.owasp:dependency-check-maven dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix/exception handling PropertyNotFoundException (#735) * feat/ add exception handling with custom message * feat/ add exception handling with custom message * Feat/add changeset for config db (#739) * Remove config classes from domain * Merge changesets * Fix compilation issues * Replace magic strings * Remove comment for Jan * fix/ prevent indexOutOfBoundsException in versionBasedRetention and add equals function to member (#740) * fix/ fix versionBasedRetention and add equals to member * fix/ add tests * Fix bug where views are not deleted when eventstream is deleted (#745) * Fix bug where views are not deleted when eventstream is deleted * Fix failing test * build(deps): bump mongock-bom from 5.3.0 to 5.3.1 (#743) Bumps [mongock-bom](https://github.com/mongock/mongock-bom) from 5.3.0 to 5.3.1. - [Commits](https://github.com/mongock/mongock-bom/commits) --- updated-dependencies: - dependency-name: io.mongock:mongock-bom dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump swagger-annotations-jakarta from 2.2.11 to 2.2.12 (#742) Bumps swagger-annotations-jakarta from 2.2.11 to 2.2.12. --- updated-dependencies: - dependency-name: io.swagger.core.v3:swagger-annotations-jakarta dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Feat/migrate server v1 (#747) * Add eventstream migration * Document decision for lifecycle on init * typos * implement todo * Fix broke config * Implement view update * Add readme * Implement view updater * Implement shape updater * Remove unused dependency * Remove unused event publisher * Format * Merge mongock maven modules into one (#750) * Fix codesmell (#755) * Remove no arg constructor from ViewSpecification (#752) Co-authored-by: Jan Robert <15772440+Yalz@users.noreply.github.com> * fix: update old spec references (#757) --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Jan Robert <jan.robert@cegeka.com> Co-authored-by: Jan Robert <15772440+Yalz@users.noreply.github.com> Co-authored-by: Wouter Lefever <wouter.lefever@cegeka.com> Co-authored-by: pj-cegeka <pieterjan.livens@cegeka.com> Co-authored-by: jobulcke <127748878+jobulcke@users.noreply.github.com> Co-authored-by: pj-cegeka <119848850+pj-cegeka@users.noreply.github.com> Co-authored-by: jobulcke <jonas.bulcke@cegeka.com> Co-authored-by: Jonas Bulcke <jonas.bulcke@student.ehb.be> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Tomvbe
added a commit
that referenced
this pull request
Jul 4, 2023
* build: bumping to next development version * Use prefix for ids (#533) * Use prefix for ids * Start mongock * Only add testing * Add mongock * Remove properties * Add missing config * Use stream * Format * Add readme * fix: incorrect versioning * build(ci): Make github images always use latest tag * fix: broken openapi endpoint * fix: broken openapi endpoint (#635) * Feat/server v2 (#654) * Feature: VSDSPUB-668: Create Root Node for new View (#575) * Feature: VSDSPUB-645: Refragmentation of members when view is added (#576) * Feature: VSDSPUB-668: Create Root Node for new View (#575) * Feature: VSDSPUB-645: Refragmentation of members when view is added * Feat/add validation to ingest v2 (#577) * Start validation plugin * Add unit test * Remove exception * Validation proposal * Use listener * Implement basic validation * format * Add unit tests * Add validator testing * Format * Fix reviewnotes * cleanup dependency * Feat/server v2 add ingest to docker (#579) * Add new modules to Dockerfile * Add assembly plugin to new modules * Publish events in memoryShaclCollection (#578) * Add listener for delete event to validator * Implement mongock for ingest member (#586) * Add ingest v2 to documentation (#587) * Add ingest v2 to documentation * Remove v2 * Feature/handle deletion of view (#580) * Feature: VSDSPUB-667: Handle deletion of view * Update LdesFragmentRemoverImpl * PR remarks * PR remarks * Feature: Remove InMemoryViewCollection (#581) * Feature: VSDSPUB-667: Handle deletion of view * Update LdesFragmentRemoverImpl * Feature: Remove InMemoryViewCollection * rebase of develop * Feature: Remove LdesConfigModel (#584) (#591) * feat/ testing with viewservice * feat/ add correct list converter and change return type * Feature: Remove LdesConfigModel (#584) --------- Co-authored-by: pj-cegeka <pieterjan.livens@cegeka.com> * Feat/server v2 add member type to eventstream (#597) * temp * Fix compilation * Fix failing tests * fix codesmell * Add mincount * Fix failing tests * feat: Use of the ViewConverter in the EventStream Converter (#592) * feat: make use of the ViewSpecificationConverter in the EventStream converter * feat: tests updated to use of view converter * feat: rebase issues fixed * feat: deleted unnecessary files * feat: EventStreamService updated * feat: rebase * Feat/retrieve view correct name (#594) Feature: Updates on view handling Co-authored-by: pj-cegeka <pieterjan.livens@cegeka.com> * chore: rebase develop on server v2 * Feat/vsdspub 553/use eventstreamcollection (#605) * feat: EventStreamConverter added * feat: EventStreamHttpMessage created * feat: EventStream completely migrated from LdesConfigModel * feat: deletion of views in EventStream * feat: already some tests added to increase coverage * feat: implementing code review feedback * feat: get rid of LdesConfig * feat: LdesConfig is replaced at relevant places by EventStream * feat: prefix added to AppConfig * feat: rebase fixes + further removal of LdesConfig * feat: rebase fixes + further removal of LdesConfig * feat: deprecation removed + LdesConfig removed at all relevant places * feat: commit test * feat: rebase * feat: fix broken mongock changeset versions * feat: commit test * feat: rebase cleanup * Feat: VSDSPUB-674: Refactor Retention to act on members (#598) * VSDSPUB-674: Refactor Retention to act on members * PR remarks * Feat: VSDSPUB-674: Remove 410 Gone status for soft deleted fragments (#608) * Feat: VSDSPUB-675: Remove softDeleted and immutableTimestamp attributes on LdesFragment (#601) Feat: VSDSPUB-675: Remove softDeleted and immutableTimestamp attribute on LdesFragment * Feat: VSDSPUB-676: Mongock updates to remove softDeleted and immutableTimestamp from LdesFragmentEntity (#602) * Feat/vsdspub 553/eventstream deleted event (#607) * feat: EventStreamDeletedEvent added * feat: first tests added * chore: rebase fixes * feat: cleanup * Feat/rebase (#609) * Feature: Updates on view handling * feat/ use appconfig for hostname * feat/ use appconfig for hostname * test coverage * feat/ rebase and use hostname in view IRI * feat/ remove unused conversion in test * feat/ remove unused conversion in test * fix/ fixed exception message * Feat/vsdspub 553/use eventstreamcollection (#605) * feat: EventStreamConverter added * feat: EventStreamHttpMessage created * feat: EventStream completely migrated from LdesConfigModel * feat: deletion of views in EventStream * feat: already some tests added to increase coverage * feat: implementing code review feedback * feat: get rid of LdesConfig * feat: LdesConfig is replaced at relevant places by EventStream * feat: prefix added to AppConfig * feat: rebase fixes + further removal of LdesConfig * feat: rebase fixes + further removal of LdesConfig * feat: deprecation removed + LdesConfig removed at all relevant places * feat: commit test * feat: rebase * feat: fix broken mongock changeset versions * feat: commit test * feat: rebase cleanup * Feature: Updates on view handling * feat/ use appconfig for hostname * feat/ use appconfig for hostname * feat/ rebase and use hostname in view IRI * fix/ rebase and bean management * fix/ add open api * fix/ rebase --------- Co-authored-by: WLefever <wouter.lefever@cegeka.com> Co-authored-by: jobulcke <127748878+jobulcke@users.noreply.github.com> * Feat/eventstreamresponse cleanup (#610) * feat: clean up eventstreamresponse at some places to stay more in the bounded context * feat: failing test fixed * feat: rebase * feat: missing tests added * feat: create default pagination when new eventstream is created (#611) * feat: create default pagination when new eventstream is created * feat: format * feat: fix broken test * feat: tests added * feat: format * feat: code review feedback implemented * Fix: Delete In Memory Shacl Collection (#614) * fix/ use hostname in stream and shape iri and update tests (#612) * fix/ use hostname in stream and shape iri and update tests * fix/ remove unneeded conversion * fix/ review comments * Fix: Remove Debug code (#613) * Feat/unsupported media fix and cleanup (#617) * feat: fix unsupported media bug + cleanup ControllerTests * feat: further fixes and cleanup * feat: broken tests fixed * feat: first part of code review implemented * feat: removed @TestConfiguration and used @ContextConfiguration instead * feat: add extra test method + cleanup ResponseEntity * feat: broken test fix * feat: store hasDefaultView in EventStream (#620) * feat: store hasDefaultView in EventStream * feat: tests updated * feat: use has default view boolean at snapshot creation * feat: extra unit test added to cover uncovered case * feat: rebase * Feat/vsdspub 553/integration test (#623) * feat: init integration test * feat: integration test fully set up * feat: all scenarios finished * feat: rebase * feat: PR marks * feat: delete members when event stream is deleted (#625) * feat: delete members when event stream is deleted * feat: format * feat: increased coverage * chore: rebase of develop * Fix: Creating Retention Policies via the Admin API is Spec Compliant (Part 1) (#640) * Fix: Creating Retention Policies via the Admin API is Spec Compliant (Part 1) * rename RetentionModelExtractor * Fix: Creating Retention Policies via the Admin API is Spec Compliant (Part 2) (#639) * Feature: VSDSPUB-712: Implement Version Based Retention Policy (#638) * Feat/add dcat rebased (#642) * rebasing * Setup interface for dcat view svc * Test create * Add todos * Test dcat view controller * Implement svc and repo flow * Update todos * Setup controller interface for docs * Complete swagger * Implement working CUD flow * Add todos and delete trigger * Add testing of delete in viewsvc * Test dcatview * test delete * Test service * Add repository testing * create todo's * Fix compilation issue * Add prelim statements * Implement fetch flow for dcat * Implement fetch flow untested * Enable disabled test * Update treenode converter test * Test new svc method * Update viewconverter test * Fix testing * Fix failing tests * Fix failing tests * Fix codesmells * Fix reviewnotes * Refactor views equals * Fix broken test * Cleanup deprecated * Feat/dcat validation rebased (#643) * feat: Dcat Validators with strategy pattern * feat: DcatDataset tests added + other tests optimized * feat: format * feat: extracted String to external file * feat: increased coverage * feat: format * feat: code review * feat: interfaces cleaned up * feat: removal of multiple if-statements * feat: code review * Feat: VSDSPUB-713: RetentionPolicyFactoryImpl can create a VersionBasedRetention (#644) * Feat: VSDSPUB-713: RetentionPolicyFactoryImpl can create a VersionBasedRetention * remove unused field * PR remarks * Feat: VSDSPUB-717: Implementation and Integration of PointInTimeRetentionPolicy (#645) * Add two additional properties to dcat view (#649) * Add two additional properties to dcat view * Fix failing tests * Feat/vsdspub 659/server dcat implemantation (#641) * feat: ServerDcat with repo and service implemented * feat: init ServerDcatController * feat: open api documentation provided * feat: validator added to controller * feat: rebase + added nesting at test class * feat: disappeared ServerDcatRepository integration test added again * feat: format * feat: format * feat: delete only returns 200 * feat: code review * feat: broken test fixed * Feat/setup repo 2 (#648) * feat/ setup repository * feat/ rebase * feat/ add converter * feat/ rename id to collectionName and remove converter from test * Feat/server v2 remove todos (#653) * Convert todo's to github issues * FORMAT * feat: validator for requested dcat (#660) * Feat/dataset post (#659) * feat/ validator * feat/ validator * feat/ temp * feat/ temp * feat/ controllertest * feat/ check if dataset exists * feat/ rebase and use validator * Feat/dataset fetch identity (#662) * feat/ add dataset to httpEventstreamConverter * feat/ getStatementsWithIdentity * feat/ collectionName instead of id * Fix/#657/include mime in etag (#663) * feat: #657: include mime in etag * feat: #657: include mime in etag * feat: #657: include mime in etag * feat: #657: PR feedback * feat: #657: PR feedback * feat: #657: PR feedback * feat: #657: PR feedback * feat: #657: PR feedback * Feature: Delete In Memory Collection EvenStream (#655) Co-authored-by: jobulcke <jonas.bulcke@cegeka.com> * Feature: Added example to Open API Admin View (#658) Feature: Added examples to Open API Admin View * feat: open api docs provided (#669) * feat: open api docs provided for AdminEventStreamsRestController and AdminShapeRestController * feat: broken tests fixed * feat: code review * feat: broken open api examples fixed * feat: format --------- Co-authored-by: Wouter Lefever <wouter.lefever@cegeka.com> Co-authored-by: Jan Robert <jan.robert@cegeka.com> Co-authored-by: pj-cegeka <pieterjan.livens@cegeka.com> Co-authored-by: jobulcke <127748878+jobulcke@users.noreply.github.com> Co-authored-by: pj-cegeka <119848850+pj-cegeka@users.noreply.github.com> Co-authored-by: Jan Robert <15772440+Yalz@users.noreply.github.com> Co-authored-by: jobulcke <jonas.bulcke@cegeka.com> * Ci/prepare 1.0.0 release (#683) ci: prepare 1.0.0 release * Bump dependencies (#681) * fix: temporarily opening shacl shape to allow defining views along with collections at admin endpoint * feat: open api docs provided (#688) * Hide ingest v2 (#686) * Hide ingest v2 * Hide ingest v2 * Fix/duplicate bean (#685) * Add transient to exceptions * Fix duplicate beans * fix failing tests * Fix failing tests * Fix codesmell * Fix too much code added * bugfix: more performant way to delete all members of a collection (#689) Co-authored-by: Jonas Bulcke <jonas.bulcke@student.ehb.be> * feat/ add exception handling (#679) * feat/ add exception handling and remove unused imports * feat/ remove unused imports * Fix: consolidate fragment removers (#691) * fix: consolidate the 2 fragment removers * fix: consolidate the 2 fragment removers * Feat/add integration test dcatview (#692) * Refactor with base in dcatview * Add integration testing for dcat view rest * Remove validator * Remove comment * Rename validator class * Add static import * Remove empty columns * fix codesmell * Document api get dcat (#693) * Document api get dcat * Remove spring annotation * feat: DCAT Admin DataSet Integration test (#697) feat/ integration test * Use tree view instead of ldes view (#698) * Fix/tree view (#700) * Use tree view instead of ldes view * Fix failing test * Add type to view * ci: prepare for new version * Fix/dataset integratie test add files (#699) * feat/ fix file location * feat/ rename file location * build(deps): bump maven-release-plugin from 3.0.0 to 3.0.1 (#702) Bumps [maven-release-plugin](https://github.com/apache/maven-release) from 3.0.0 to 3.0.1. - [Release notes](https://github.com/apache/maven-release/releases) - [Commits](apache/maven-release@maven-release-3.0.0...maven-release-3.0.1) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-release-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump swagger-annotations-jakarta from 2.2.9 to 2.2.11 (#701) Bumps swagger-annotations-jakarta from 2.2.9 to 2.2.11. --- updated-dependencies: - dependency-name: io.swagger.core.v3:swagger-annotations-jakarta dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix/put to post (#694) Make eventstreams create only * build(deps): bump maven-surefire-plugin.version from 3.1.0 to 3.1.2 (#710) Bumps `maven-surefire-plugin.version` from 3.1.0 to 3.1.2. Updates `maven-surefire-plugin` from 3.1.0 to 3.1.2 - [Release notes](https://github.com/apache/maven-surefire/releases) - [Commits](apache/maven-surefire@surefire-3.1.0...surefire-3.1.2) Updates `maven-failsafe-plugin` from 3.1.0 to 3.1.2 - [Release notes](https://github.com/apache/maven-surefire/releases) - [Commits](apache/maven-surefire@surefire-3.1.0...surefire-3.1.2) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-surefire-plugin dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.apache.maven.plugins:maven-failsafe-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: CORS issue on AWS * Feature: Added fragmentation strategy examples to Open API Admin View (#684) * Feature: Added fragmentation strategy examples to Admin VIew API * chore: format * chore: format * fix: broken tests --------- Co-authored-by: jobulcke <jonas.bulcke@cegeka.com> Co-authored-by: Jan Robert <jan.robert@cegeka.com> Co-authored-by: Jan Robert <15772440+Yalz@users.noreply.github.com> * fix: formatting * Fix api response error logging (#712) * Fix api response error logging * Sync with develop * Fix failing test (#720) * Fix performance delete collection (#718) * Fix performance delete collection * Fix logging * Test new repository method * Add testing cases * Fix review comments * Make timestamp and versionOf optional (#724) * Make timestamp and versionOf optional * Add unit test * feat/ add missing statementException (#726) feat/ add missing statementexception * feat/ update readme with new rdf config (#722) * feat/ update readme for new admin api * feat/ use prefix and change endpoints to post in readme * Fix/performance delete view (#731) * Fix delete view performance issues * Remove unused code * Remove unused code * Fix/docker compose config (#733) * Fix outdated docker compose config * Fix random codesmell.. * feat: vsdspub-730/740: view shape (#732) * build(deps): bump dependency-check-maven from 8.2.1 to 8.3.1 (#734) Bumps [dependency-check-maven](https://github.com/jeremylong/DependencyCheck) from 8.2.1 to 8.3.1. - [Release notes](https://github.com/jeremylong/DependencyCheck/releases) - [Changelog](https://github.com/jeremylong/DependencyCheck/blob/main/CHANGELOG.md) - [Commits](jeremylong/DependencyCheck@v8.2.1...v8.3.1) --- updated-dependencies: - dependency-name: org.owasp:dependency-check-maven dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix/exception handling PropertyNotFoundException (#735) * feat/ add exception handling with custom message * feat/ add exception handling with custom message * Feat/add changeset for config db (#739) * Remove config classes from domain * Merge changesets * Fix compilation issues * Replace magic strings * Remove comment for Jan * fix/ prevent indexOutOfBoundsException in versionBasedRetention and add equals function to member (#740) * fix/ fix versionBasedRetention and add equals to member * fix/ add tests * Fix bug where views are not deleted when eventstream is deleted (#745) * Fix bug where views are not deleted when eventstream is deleted * Fix failing test * build(deps): bump mongock-bom from 5.3.0 to 5.3.1 (#743) Bumps [mongock-bom](https://github.com/mongock/mongock-bom) from 5.3.0 to 5.3.1. - [Commits](https://github.com/mongock/mongock-bom/commits) --- updated-dependencies: - dependency-name: io.mongock:mongock-bom dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump swagger-annotations-jakarta from 2.2.11 to 2.2.12 (#742) Bumps swagger-annotations-jakarta from 2.2.11 to 2.2.12. --- updated-dependencies: - dependency-name: io.swagger.core.v3:swagger-annotations-jakarta dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Feat/migrate server v1 (#747) * Add eventstream migration * Document decision for lifecycle on init * typos * implement todo * Fix broke config * Implement view update * Add readme * Implement view updater * Implement shape updater * Remove unused dependency * Remove unused event publisher * Format * Merge mongock maven modules into one (#750) * Fix codesmell (#755) * Remove no arg constructor from ViewSpecification (#752) Co-authored-by: Jan Robert <15772440+Yalz@users.noreply.github.com> * fix: update old spec references (#757) * Trigger new image * build(deps-dev): bump mockito-core from 5.3.1 to 5.4.0 (#760) Bumps [mockito-core](https://github.com/mockito/mockito) from 5.3.1 to 5.4.0. - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](mockito/mockito@v5.3.1...v5.4.0) --- updated-dependencies: - dependency-name: org.mockito:mockito-core dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix/ reference the parent collection from all nodes (#775) fix/ add partOf statement to view node * build(deps): bump commons-codec from 1.15 to 1.16.0 (#763) Bumps [commons-codec](https://github.com/apache/commons-codec) from 1.15 to 1.16.0. - [Changelog](https://github.com/apache/commons-codec/blob/master/RELEASE-NOTES.txt) - [Commits](apache/commons-codec@rel/commons-codec-1.15...rel/commons-codec-1.16.0) --- updated-dependencies: - dependency-name: commons-codec:commons-codec dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump spring-boot.version from 3.1.0 to 3.1.1 (#768) Bumps `spring-boot.version` from 3.1.0 to 3.1.1. Updates `spring-boot-starter-parent` from 3.1.0 to 3.1.1 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](spring-projects/spring-boot@v3.1.0...v3.1.1) Updates `spring-boot-starter-test` from 3.1.0 to 3.1.1 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](spring-projects/spring-boot@v3.1.0...v3.1.1) Updates `spring-boot-maven-plugin` from 3.1.0 to 3.1.1 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](spring-projects/spring-boot@v3.1.0...v3.1.1) --- updated-dependencies: - dependency-name: org.springframework.boot:spring-boot-starter-parent dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.springframework.boot:spring-boot-starter-test dependency-type: direct:development update-type: version-update:semver-patch - dependency-name: org.springframework.boot:spring-boot-maven-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump swagger-annotations-jakarta from 2.2.12 to 2.2.14 (#773) Bumps swagger-annotations-jakarta from 2.2.12 to 2.2.14. --- updated-dependencies: - dependency-name: io.swagger.core.v3:swagger-annotations-jakarta dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Move ViewSpecification to entities package (#762) * Improve readme for the substring fragmentation (#781) * Feat/Remove index on non-existing softDeleted field (#783) * Remove index * Fix regression spring boot 3.1.1 * Add changeset to drop index of non existing field * Add more indices to changeset8 (#784) * Document auto index creation for mongodb (#782) * Fix issue where failing integration tests did not cause the maven workflow to fail (#761) * Break test * Rename test * Try with verify * Fix broken test * Fix failing test * Try with different setup restcontroller test * Remove annotation * Add exception advice * Final attempt * Remove imports * ci: fix release failure to sonatype * ci: fix release failure to sonatype * ci: fix release failure to sonatype * ci: prepare for new version --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Jan Robert <jan.robert@cegeka.com> Co-authored-by: Jan Robert <15772440+Yalz@users.noreply.github.com> Co-authored-by: Wouter Lefever <wouter.lefever@cegeka.com> Co-authored-by: pj-cegeka <pieterjan.livens@cegeka.com> Co-authored-by: jobulcke <127748878+jobulcke@users.noreply.github.com> Co-authored-by: pj-cegeka <119848850+pj-cegeka@users.noreply.github.com> Co-authored-by: jobulcke <jonas.bulcke@cegeka.com> Co-authored-by: Jonas Bulcke <jonas.bulcke@student.ehb.be> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.