Compile NeoJoin views into the generated VSUM

Aperta
#55 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Davit-Tsulaia ci sta già lavorando.

Dal 4/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Context

NeoJoinViewDefinitionProcessor is a stub. It copies the files to views/src/main/neojoin (not a
Maven module) and logs a warning. vsumMain.ftl:127-133 only registers identity view types.

Tasks
  • Replace the stub: put the .nj files on the classpath of the generated project, e.g. in
    vsum/src/main/resources/views/, or turn views into a real module in rootPom.ftl
  • vsumPom.ftl:
    • add the NeoJoin integration dependency (NJ-2) only when views are present
    • put the version in a property
  • vsumMain.ftl: register one NeoJoinViewTypeFactory.fromClasspath(...) per view in
    createViewTypes(), next to the identity view types
  • Map NeoJoin errors from the Maven build to Source.VIEWS problems
  • Docker image:
    • pre-load the NeoJoin dependencies in Dockerfile and VsumBuildWarmup (offline build)
    • add a .nj sample to resources/vsum-sample/
  • Update VsumProjectBuildServiceTest:
    • replace the "view stub" content with a real query
    • assert that the generated project builds and registers the view type
  • Update README (Features, viewFiles), WORKPLAN and the @Parameter descriptions in
    VsumController
Acceptance criteria
  • A VSUM built with a .nj file starts.
  • The view type appears in Vitruv-Server under GET /vsum/view/types, and a view can be fetched
    through /vsum/view.
Lingua principale
Java
Stelle
0
Fork
0
Merge medio
8h 5m
PR unite (30g)
15

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di vitruv-tools/Methodologist-SetupService

Tutte le issue di vitruv-tools/Methodologist-SetupService

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.