AbsaOSS / AbsaOSS/enceladus

Make sure the Menas uses only one source of project version information

Aperta
#1,564 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Menas priority: low refactoring UX
Lingua principale
Scala
Stelle
33
Fork
16
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Background
Project version used in Spring (Menas UI) in different parts of code can theoretically diverge, which would break the UI

## Feature
`"/${enceladusVersion()}/**"` is supposed to be a root path to our sources. Which is set using `spring.resources.chain.strategy.fixed.version` from app properties. But here we "enable" it using `ProjectMetadata.enceladusVersion`. And in some other places of our project (`index.html`), we again use `ProjectMetadata.enceladusVersion`. If these two versions ever become different, Menas becomes unusable.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Trace the uses of ProjectMetadata.enceladusVersion, enceladusVersion(), spring.resources.chain.strategy.fixed.version, and the version reference in index.html. Determine where the project version is defined and how the Spring resource path and Menas UI consume it. Done means these consumers use one consistent source so the UI cannot break when versions diverge.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
scala, spring
Ambito
full-stack
Tipo di issue
Refactoring
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.