poc: consume the server as a library - #2016
Draft
gnugomez wants to merge 2 commits into
Draft
Conversation
gnugomez
force-pushed
the
poc/eclipse-extraction
branch
from
July 30, 2026 08:00
61056f0 to
1b25c53
Compare
Publish the java component (the plain jar, which the Spring Boot plugin already builds, plus real dependency metadata in the POM and Gradle module metadata) alongside the existing bootJar artifact, which is not consumable as a dependency. Mirror the dependency-management plugin's effective managed versions as dependency constraints: they apply only inside this project, so a consumer resolving the library would otherwise find versionless dependencies. No behavior change for this build; resolution is identical.
The org.eclipse.openvsx.eclipse package moves to EclipseFdn/open-vsx.org, which consumes this server as a library and registers the code through Spring Boot auto-configuration. Upstream keeps two small, generic seams any deployment could implement: PublisherAgreementService (publishing gate, user/admin profile enrichment, admin revocation; no-op by default) and OAuth2LoginHandler (per-registration login handling, post-login token capture and redirect), replacing the hardcoded 'eclipse' branches in the security package. The agreement-only POST /user/publisher-agreement endpoint moves out entirely. UserData's eclipse columns and the UserJson.PublisherAgreement DTO stay to avoid schema and API shape changes.
gnugomez
force-pushed
the
poc/eclipse-extraction
branch
from
July 30, 2026 08:06
1b25c53 to
b0cc7f2
Compare
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.
open-vsx.org runs as its own Spring Boot app consuming this server as a library, adding its deployment-specific code via auto-configuration.
javacomponent) and dependency versions as constraints, so the server is consumable as a dependency.org.eclipse.openvsx.eclipseto the instance repo. Upstream keeps two generic seams:PublisherAgreementService(no-op by default) andOAuth2LoginHandler. ThePOST /user/publisher-agreementendpoint moves out; no schema or API-shape changes.Test suite is green with the functionality absent. Paired instance branch with the relocated code, parity verification and full notes: EclipseFdn/open-vsx.org#12195