Repository navigation
chore: merge master into develop after release 4.1.0 - #295
Merged
Merged
Conversation
Release/4.0.18
Release/4.0.19
Release/4.0.20
Co-Authored-By: jason.han <hanhuijun@gmail.com>
* Decouples Federated Persistence layer from controller and service layers. Introduces a unified persistence layer interface with a federated implementation. Added msosa, view, and oauth modules * Remove redundant commit save * CodeQL updates * More CodeQL changes * Added timeout to database delete statement * Removing overarching transactional annotations * Removed transactional annotations from DefaultPermissionService * Removed @transactional annotation from modules that are not tasked with persistence implementation * Fixes for failing crud tests * Increased request delay for crud tests * Working on fixing permissions test failures * increased delay in permissions test * Fixing problem with bean creation for permissions delegates that was preventing them from getting transaction proxies created * Fixed artifacts behavior * extending artifacts test delay to 1000 ms * Fixing elastic test failures * Fixing groups test failures * fix NodePersistence.findById interface argument names * fix FederatedNodeChangeDomain superclass constructor call * change CommitPersistence.elementHistory interface so DefaultCommitService doesn't need to pass in commitIds (this is so it's not getting json just to get ids as getting entire commit json is expensive for federated persistence) * remove redundant groups read from CameoViewService * remove posted _childViews handling from CameoViewService, this was handling ve structural changes and has been taken out of ve (5+) * continue if no permission to change project org on project update * reduce amount of commits gotten to test for new project in DefaultCommitService and CameoCommitService * add commitId to node get responses in DefaultNodeService and CameoNodeService, * removed duplicated convertJsonToMap function in DefaultNodeService, moved filter to JsonDomain * prevent adding change info to commit if element isn't actually being updated * fix setting initial commit of added element, prefix deleted key with _ * fix processElementDeleted * use commitDAO interface in FederatedNodeChangeDomain instead of commitPersistence for better performance, change convertJsonToMap to accept collection * clean up unused things in FederatedNodeChangeDomain * uncomment child views handling so tests run for now * if searching by commit id doesn't work, try getting by id directly this fixes jupyter tests because in jupyter, it's doing a read in the same call as an update - the read now always gets the latest commit - which elastic may not have had time to index and results in an error * reduce test delay back to 500 * support updating existing ref's json properties, will resurrect if previously deleted, will not allow changing parentRef or parentCommit * fix updating org name * prevent project update from updating schema * fix setting commit id from commitJson id * sort commits by descending * check if commitId is latest for gets and pass in null if it is for performance * remove any _deleted flag in element to be updated * set returned elements refId to match requested refId * set refIds for cameo element gets * allow update even if previous element not found * handle if element json not found during gets * remove addChildViews delay * throw error if project can't hard delete * update project permissions after changing orgs if needed * continue with element delete even if json not found * add more tests for branching behavior * Added commands for generation of jacoco .xml report * Changed file path to gather classes * Fixed scan to depend on build_and_test, moved xml report to scan * Command to create directory to copy to * Changed Dockerfile; scan step to attach workspace * use returned instance from spring data repository save * fix branch not found behavior when init branch perms * remove unused things in FederatedPermissionUpdatesResponseBuilder fix argument in DefaultPermissionService.setProjectInherit * remove unneeded element delete processing * users list is available to authenticated users * tweak commit update in case twc module is used * commit fail cleanup * fix commit delete * in FederatedNodeChangeDomain.primeNodeChangeInfo, add to any existing info instead of reinit data * only further process transacted elements but keep other existing info from passed in nodeChangeInfo * fix commit retrieval loop * add missing set to delete * stronger comparison * fix for user creation when logging in via twc, updated twc readme * add config to optimize for federated persistance behavior * fix test * optimize more commit get * fix return commit id in cameo elements get * fix based on discussion in dev tagup * chore: restore the build and move the image to eclipse-temurin 17 JRE Drop the unused jfrog and bintray Gradle plugins, whose transitive http-builder 0.7.2 is no longer resolvable, so a clean build configures again. Build the image in two stages: compile on eclipse-temurin:17-jdk and run the boot jar on eclipse-temurin:17-jre as an unprivileged user. The JaCoCo agent is no longer hardcoded in the entrypoint; CircleCI enables it through JDK_JAVA_OPTIONS. Replace the minio/minio compose image, which is gone from Docker Hub, with cgr.dev/chainguard/minio, and bring the CodeQL workflow to JDK 17 and current action versions. Co-Authored-By: jason.han <hanhuijun@gmail.com> * chore: use Apache-2.0 S3Mock as the compose S3 service instead of MinIO Co-Authored-By: jason.han <hanhuijun@gmail.com> * chore: keep S3Mock objects across a restart of the compose service Co-Authored-By: jason.han <hanhuijun@gmail.com> * chore: patch-level dependency bumps within Spring Boot 2.7 Co-Authored-By: jason.han <hanhuijun@gmail.com> * feat: support Elasticsearch 9 and OpenSearch 3 through the shared REST API Replace the Elasticsearch 7 high-level client with the low-level REST client and JSON request bodies, so one code path serves both servers and the backend is chosen by elasticsearch.host/port alone. Drop the unused Elasticsearch dependency from twc, add a compose override for OpenSearch and run the search collections against it in CI. Co-Authored-By: jason.han <hanhuijun@gmail.com> * ci: trigger CircleCI through the GitHub App pipeline Co-Authored-By: jason.han <hanhuijun@gmail.com> * ci: use the sonarcloud orb 4.0.0, whose scanner bundles its own JRE SonarQube Cloud now rejects analysis from Java 17, which is what the 2.0.0 orb's scanner picked up from the executor. Co-Authored-By: jason.han <hanhuijun@gmail.com> * ci: check out a full clone so the SonarQube scan can blame files The GitHub App pipeline defaults to a blobless clone, and the scan job reads history from the persisted workspace without git credentials. Co-Authored-By: jason.han <hanhuijun@gmail.com> * test: repair the twc and crud unit tests that fail on develop TwcPermissionUtilsTest passed a Mockito mock of HttpHeaders to the ResponseEntity constructor. Spring Framework 5.3 reads the mock's null backing map there and throws 'MultiValueMap must not be null'; a real HttpHeaders instance is used instead. DefaultCommitServiceTest still stubbed the CommitPersistence calls that DefaultCommitService stopped making: getElementCommits now calls elementHistory(projectId, refId, elementId) and isProjectNew calls findByProjectAndRefAndTimestampAndLimit(projectId, "master", null, 1). Co-Authored-By: jason.han <hanhuijun@gmail.com> * Migrate to Spring Boot 3.5, Gradle 8, Jakarta EE, Hibernate 6 and AWS SDK v2 Co-Authored-By: jason.han <hanhuijun@gmail.com> * Close the S3 client when bucket initialization fails Co-Authored-By: jason.han <hanhuijun@gmail.com> * Add script and operator guide for migrating Elasticsearch 7 indices Copies the MMS indices of an Elasticsearch 7 deployment into Elasticsearch 9 or OpenSearch 3, creating each target index with the shipped mapping, and verifies the result by document count or content. Co-Authored-By: jason.han <hanhuijun@gmail.com> * Fail on partial shard answers and size bulk requests in bytes Co-Authored-By: jason.han <hanhuijun@gmail.com> * Register the ElementVersion schema referenced by Commit in the OpenAPI document Co-Authored-By: jason.han <hanhuijun@gmail.com> * fix: accept the wildcard CORS origin when credentials are allowed Co-Authored-By: jason.han <hanhuijun@gmail.com> * Make SpringDocRequestBuilder static and build the default AWS credentials provider Co-Authored-By: jason.han <hanhuijun@gmail.com> * ci: publish to Maven Central through the Central Portal oss.sonatype.org no longer accepts uploads. Releases are staged locally, zipped by the centralBundle task and uploaded through the Central Publisher API; snapshots go to the Central Portal snapshot repository. Credentials and the signing key come from the 'Maven Central' context. Co-Authored-By: jason.han <hanhuijun@gmail.com> * chore: update versions for release 4.1.0 Co-Authored-By: jason.han <hanhuijun@gmail.com> * fix: webhook project scoping, OAuth request state, no-op transactions, view child posts and delete events - Webhook lookups return the owning project, so a posted id that belongs to another project is refused; the persistence layer refuses it as well. - OAuthProcessor keeps the parsed token grants in a local variable instead of a field shared by all requests. - FederatedNodePersistence.commitChanges opens its transaction only when there is something to save, so a write that changes nothing leaves none open. - DefaultNodeService.createOrUpdate iterates a copy of the updated map, since view services add generated elements to it while processing. - DefaultNodeService.delete publishes the commit event like createOrUpdate. Co-Authored-By: jason.han <hanhuijun@gmail.com> --------- Co-authored-by: Ward Schweitzer <ward.a.schweitzer@boeing.com> Co-authored-by: Jason Han <jason.han@jpl.nasa.gov> Co-authored-by: Doris Lam <dlam@jpl.nasa.gov> Co-authored-by: Kari Cordes <kari_cordes@yahoo.com> Co-authored-by: dlamoris <dlamoris@gmail.com> Co-authored-by: Enquier <enquier@users.noreply.github.com> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: jason.han <hanhuijun@gmail.com>
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
HuiJun
approved these changes
Nov 19, 2026
This file contains hidden or 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
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.
Summary
Merges
masterback intodevelopafter the4.1.0release.The only content change is the version bump to
4.1.0ingradle.propertiesanddocs/conf.py; every other change onmasterwas already ondevelop. After this merge the tree ofdevelopis identical tomaster.Merge this with a merge commit, not squash or rebase, so that
developcontains the release merge commits frommaster(including the4.1.0tag's commit).Snapshots published from
developbecome4.1.0-SNAPSHOTuntil the next version bump.Link to Devin session: https://nasa-jpl-demo.devinenterprise.com/sessions/d9f10869eb3d4b268da3834fb1b42689
Open in Devin Desktop: https://nasa-jpl-demo.devinenterprise.com/desktop/session/d9f10869eb3d4b268da3834fb1b42689?variant=devin
Requested by: @HuiJun